entry | meaning |
SOLVERINFO | |
|
|
| required
by
the
driver,
e.g. |
| must
be
|
|
|
|
|
| not read; the convective form is always used. |
|
|
|
|
TIMEINTEGRATIONSCHEME | |
|
|
PARAMETERS | |
| ν, default 1. |
| time step (must be positive), number of steps, final time. |
| cadence of the step and Courant-number reports, CFL safety factor. |
| anisotropic diffusion tensor, default identity. |
HOutflow parameters | Table 29.2. |
GLOBALSYSSOLNINFO (per variable) or PARAMETERS
| |
| default 10-9. |
| default 5000. |
|
|
|
|
| ignored:
the
pressure,
velocity
and
initial-condition
projection
solves
use
|
command line
| |
|
|
|
|
| override
a
SOLVERINFO
entry
or
a
parameter,
e.g. |
| verbose output, including linear-solver iteration counts. |
| |
Linear-solver settings. Each solve reads the GLOBALSYSSOLNINFO entry of its first
variable, falling back to the parameter of the same name: the velocity components are solved
together and use the setting of u, the pressure that of p. With the default relative criterion an
iteration stops when ∥r∥ < ϵ∥b -Ax0∥, with the previous solution as initial guess
x0. With AbsoluteTolerance=True it stops when ∥r∥ < ϵ. The right-hand sides
are scaled: the velocity forcing (29.5) contains ∕(νλΔt) and the pressure forcing
∇⋅
∕(λΔt). For small ν and Δt these are many orders of magnitude larger than the
velocity, so an absolute tolerance on them is far stricter than it looks and can prevent
convergence.
Example. A minimal conditions block, adapted from Tests/KovasznayFlow2D.xml: the
test sets ORDER to 1 and passes the formulation on the command line (-I Formulation=...).
1<SOLVERINFO> 2 <I PROPERTY="SolverType" VALUE="VelocityCorrectionScheme" /> 3 <I PROPERTY="EQTYPE" VALUE="UnsteadyNavierStokes" /> 4 <I PROPERTY="Projection" VALUE="Galerkin" /> 5 <I PROPERTY="Formulation" VALUE="SemiImplicit" /> 6</SOLVERINFO> 7<TIMEINTEGRATIONSCHEME> 8 <METHOD> IMEX </METHOD> 9 <ORDER> 2 </ORDER> 10</TIMEINTEGRATIONSCHEME> 11<PARAMETERS> 12 <P> TimeStep = 0.01 </P> 13 <P> NumSteps = 10 </P> 14 <P> IO_InfoSteps = NumSteps </P> 15 <P> Kinvis = 0.025 </P> 16 <P> IterativeSolverTolerance = 1e-12 </P> 17</PARAMETERS>
A wall with a higher-order pressure condition is declared as <N VAR="p" USERDEFINEDTYPE="H" VALUE="0" />
next to Dirichlet velocity conditions (see Tests/ChannelFlowHOPBC2D.xml). The solver is
run as
1IncNavierStokesSolverRedesign --opExecSpace=Serial --opImpl=SumFac \ 2 KovasznayFlow2D.xml