You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-[Default](@ref"DuctAPE.GridSolverOptions"): Default method compatible with ImplicitAD
73
73
74
-
The SLOR (successive line over relaxation) is the method employed by DFDC, and can be used by itself, or as a preconditioner to a Newton solve (using NLsolve.jl).
74
+
The SLOR (successive line over relaxation) is the method employed by DFDC.
75
75
76
76
Selection of solver and solver settings follows the same pattern as with the quadrature settings, in that the user must pass the appropriate `GridSolverOptionsType` into the `set_options` call.
77
77
@@ -80,16 +80,16 @@ For the SLOR method alone, the type is
80
80
DuctAPE.SLORGridSolverOptions
81
81
```
82
82
83
-
And for the SLOR+Newton method, the type is
83
+
And for the default method compatible with ImplicitAD, the type is
84
84
```@docs; canonical=false
85
85
DuctAPE.GridSolverOptions
86
86
```
87
87
88
-
As an example, this is the input that would be required to use the SLOR+Newton method with an absolute convergence tolerance of 1e-12, and also including the quadrature settings from above:
88
+
As an example, this is the input that would be required to use the default method with an absolute convergence tolerance of 1e-10, and also including the quadrature settings from above:
Note that the CSOR, FixedPoint.jl, and SpeedMapping.jl are all different fixed-point iteration solvers, MINPACK.jl and SIAMFANLEquations.jl are primarily quasi-newton solvers, and NLsolve.jl and SimpleNonlinearSolve.jl have various solver options.
117
+
Note that the CSOR, ModCSOR, FixedPoint.jl, and SpeedMapping.jl are all different fixed-point iteration solvers, MINPACK.jl and SIAMFANLEquations.jl are primarily quasi-newton solvers, and NLsolve.jl and SimpleNonlinearSolve.jl have various solver options.
117
118
118
119
DuctAPE also has some poly-algorithm solvers that employ more than one solver.
119
120
The [Chain Solver](@ref"DuctAPE.ChainSolverOptions") option is the default which starts with a fixed-point iteration, and if it doesn't converge, moves on to a quasi-, then full Newton solver until either convergence is reached, or no convergence is found.
@@ -154,10 +155,9 @@ Here is an example for setting options with the CSOR solver.
154
155
nop =3
155
156
156
157
options = DuctAPE.set_options(;
157
-
solver_options=DuctAPE.CSORSolverOptions(;
158
+
solver_options=DuctAPE.ModCSORSolverOptions(;
158
159
converged=fill(false, (1, nop)), # need a convergence flag for each operating point
159
160
iterations=zeros(Int, (1, nop)), # need a iteration count for each operating point
160
-
Vconv=ones(nop), # in this case, we need a reference velocity for each operating point
161
161
),
162
162
write_outputs=fill(false, nop), # we need to know which of the operating point outputs to write
163
163
outfile=fill("", nop), # we need to include names, even if they won't be used.
0 commit comments