The session file follows the structure described for the legacy solver; below we describe the options currently understood, and where they differ.
1<SOLVERINFO> 2 <I PROPERTY="EQTYPE" VALUE="UnsteadyAdvectionDiffusion" /> 3 <I PROPERTY="Projection" VALUE="DisContinuous" /> 4 <I PROPERTY="AdvectionType" VALUE="WeakDG" /> 5 <I PROPERTY="UpwindType" VALUE="Upwind" /> 6 <I PROPERTY="DiffusionType" VALUE="InteriorPenalty" /> 7 <I PROPERTY="AdvectionAdvancement" VALUE="Explicit" /> 8 <I PROPERTY="DiffusionAdvancement" VALUE="Explicit" /> 9</SOLVERINFO>
EQTYPE selects the system from Table 8.1. A reaction term enters any of them
through the parameter lambda.
Projection is Continuous or DisContinuous. The two projections have different
capabilities, set out under the two advancement properties below.
AdvectionType is WeakDG for a discontinuous projection and NonConservative for
a continuous one.
UpwindType names the trace flux of the weak-DG advection; Upwind is the one
available.
DiffusionType is InteriorPenalty, the scheme the discontinuous projection uses
for the diffusion term; a continuous projection needs no such choice.
AdvectionAdvancement must be Explicit: advection is not integrated implicitly.
DiffusionAdvancement is Explicit or Implicit. With a discontinuous projection
it must be Explicit; with a continuous one Implicit is available and solves
the diffusion operator with the iterative linear solvers below, under an IMEX or
diagonally implicit time integration scheme.
GLOBALSYSSOLN, LinSysIterSolver and Preconditioner configure the linear
solve of a continuous projection, for implicit diffusion and for the steady systems:
IterativeFull; ConjugateGradientLoc for a symmetric system or GMRES where
advection makes it non-symmetric (the solver switches to GMRES itself, with a
warning, if asked for conjugate gradients on an advection system); and Diagonal.
EQTYPE | Problem | Time dependence |
UnsteadyAdvection | advection | unsteady |
UnsteadyDiffusion | diffusion | unsteady |
UnsteadyAdvectionDiffusion | advection-diffusion | unsteady |
SteadyADR | advection-diffusion-reaction | steady |
Helmholtz | Helmholtz | steady |
Poisson | Poisson | steady |
1<PARAMETERS> 2 <P> TimeStep = 0.001 </P> 3 <P> NumSteps = 100 </P> 4 <P> FinTime = NumSteps*TimeStep </P> 5 <P> IO_InfoSteps = 10 </P> 6 <P> epsilon = 0.01 </P> 7 <P> lambda = 0.0 </P> 8 <P> IterativeSolverTolerance = 1e-12 </P> 9</PARAMETERS>
TimeStep, NumSteps, FinTime and IO_InfoSteps behave as in the legacy solver.
The step is fixed.
epsilon sets the diffusion coefficient ϵ. Default 1.
D00, D01, D11, D02, D12, D22 set the entries of a symmetric diffusion tensor D, as
many as the dimension needs; when any is given the tensor replaces ϵ. Default: the
identity.
lambda sets the reaction coefficient λ. Default 0.
IPPenaltyCoeff multiplies the interior-penalty jump term. With its value c, the
penalty across a trace is c max(p + 1)2∕h, with p + 1 the larger number of modes
of the two elements sharing it and h the element length normal to it. Default 1,
which is the penalty the legacy solver applies.
IPSymmFluxCoeff and IP2ndDervCoeff select the variant of the interior-penalty
scheme. Both default to 0, the incomplete scheme.
IterativeSolverTolerance is the residual tolerance of the iterative linear solve
of a continuous projection.
AdvectionVelocity specifies the advection velocity V, one component per
coordinate direction.
InitialConditions specifies the initial condition of an unsteady problem, as an
expression or as a checkpoint file to restart from.
BodyForce specifies the forcing function f. The legacy solver calls this function
Forcing.
ExactSolution is used to report the error at the end of the run.
The <TIMEINTEGRATIONSCHEME> block is unchanged from the legacy solver. A discontinuous
projection needs an explicit family (RungeKutta, including its SSP variants, ExplicitSDC); a
continuous projection with implicit diffusion takes IMEX when advection is present and a
diagonally implicit scheme such as BDFImplicit when it is not.