TRACE User Guide  TRACE Version 9.8.1
General Solver Control

LHSRecomputationCollective

A left-hand side matrix recomputation of a single block also triggers the recomputation of all other blocks. This command can only be set immediately and collectively for all blocks.

Usage
LHSRecomputationCollective <ON|OFF>
Parameters
ONtrigger left-hand side matrix recomputation collectively on all blocks
OFFtrigger left-hand side matrix recomputation separately on all blocks (default and recommended)
Domain
all
Example
all immediate LHSRecomputationCollective ON
Since
9.0.230

CorrectorCommunication

Trigger communication of flow state and gradients prior to the corrector step. Only has an effect for the Predictor-Corrector solution method. This can improve convergence rate. This option can only be set collectively for all blocks.

Usage
CorrectorCommunication <ON|OFF>
Parameters
ONactivate communication prior to corrector step
OFFdeactivate communication prior to corrector step (default)
Domain
all
Example
all immediate CorrectorCommunication ON
Since
9.4

UseLegacyLinearSolver

Since TRACE 9.6 the linear solver library Spliss is used per default for solving the implicit linear systems. If the user wants to use the old legacy solver implementation instead, he can do so by specifying this command.

Usage
UseLegacyLinearSolver
Domain
all
Example
all immediate UseLegacyLinearSolver
Since
9.6

IntervalGlobalMonitorAndReduction

Define an time step based interval for the computation and output of global monitors, e.g. \(L_n\)-residuals and cfl number. Residual files are only written when the global monitors are computed. Moreover, this controls also the broadcast of the wall-clock time depending output and finalize.

Only available in combination with explicit time integration and non-linear solver.

Usage
all immediate IntervalGlobalMonitorAndReduction <number-of-time-steps>
Parameters
number-of-time-stepsPerform computation of overall monitors every <number-of-time-steps> time step.
Domain
all
Example
all immediate IntervalGlobalMonitorAndReduction 10
Since
9.2

writePID

Prints the performance index (PID) onto the screen output. It is activated per default for LES and DG, but deactivated for all other modes. See Performance Index (PID) for the definition.

Usage
all immediate writePID
Domain
all
Example
all immediate writePID
Since
9.5

writeERT

Prints estimated remain wall clock time on screen. This is naive estimate based on the maximum number of time steps.

Usage
all immediate writeERT
Domain
all
Since
9.8

MTUSettings

Sets predefined values that are used by the MTU on a standard basis ImplicitSolverSweeps = 2 ImplicitSolverSweepCommunication ON

Calculations in MultiMode Model are performed with the calibrated functions, not with corrected functions

Usage
all immediate MTUSettings <ON|OFF>
Domain
all
Example
all immediate MTUSettings ON
Since
9.4

DeactivateCheckForFailure

Use this control command to deactivate the check for failure, i.e. check for an unphysical flow state, and, thus, disable the output before a crash will occur. By deactivating this, the parallel performance of the solver might be approved.

Usage
all immediate DeactivateCheckForFailure
Domain
all
Since
9.6

UseSurgeControl

Activate surge cycle control.

Usage
UseSurgeControl [options]
Long option Short option Description
--blockFamily -bf Block family containing nozzle.
--controlFile -cntl Tecplot ASCII file containing the prescribed piecewise nozzle deformation.
Domain
all

For the format specification of the control file see Piecewise Displacements

Example
all immediate UseSurgeControl --blockFamily nozzle --controlFile ../input/SurgeCycleSteps.dat
Precondition
Must be called at the immediate time level.
Since
9.2.141

AddSurgeControlSurfaceThrottle

Define throttle control surface and massflow threshold.

Usage
AddSurgeControlSurfaceThrottle [options]
Long option Short option Description
--panelFamily -pf Panel family to use as a control surface.
--type -t Type of panel: either inflow or outflow.
--threshold -th Mass flow threshold.
Domain
all
Example
all immediate AddSurgeControlSurfaceThrottle --panelFamily row01Inlet --type inflow --threshold 0.0
will create the control surface, with a mass flow threshold of 0.0, for the throttle phase of the surge cycle.
Precondition
Must be called at the immediate time level.
Since
9.2.141

AddSurgeControlSurfaceRelease

Define release control surface and massflow threshold.

Usage
AddSurgeControlSurfaceRelease [options]
Long option Short option Description
--panelFamily -pf Panel family to use as a control surface.
--type -t Type of panel: either inflow or outflow.
--threshold -th Mass flow threshold.
Domain
all
Example
all immediate AddSurgeControlSurfaceRelease --panelFamily nozzleOutlet --type outflow --threshold 5.5
will create the control surface, with a mass flow threshold of 5.5, for the release phase of the surge cycle.
Precondition
Must be called at the immediate time level.
Since
9.2.141

WriteCellFailedSolutions

Write out a 3D field NumberFailedSolutions that shows how many times a cell had a failed solution update. For structured blocks, boundary cells also contain the number of failed solutions in ghost cells.

Usage
all immediate WriteCellFailedSolutions
Domain
all, component, stage, group, blockGroup, block
Since
9.7

SetSolver

Set implicit solver method.
The default value when using SPLISS (default) is SGS_SOLVER for structured and unstructured blocks.
The default values when using the LegacyLinearSolver (see command UseLegacyLinearSolver) are ILU_SOLVER for structured and SGS_SOLVER for unstructured blocks.

This command sets the methods for both kinds of blocks.

Only available when using SPLISS (default):

ILU0_SOLVER using ILU(0) decomposition of sparse SolverMatrix.

ILU0_GMRES_SOLVER is a GMRES preconditioned by ILU0 decompositions. Optional positional parameters

  • nIterations (default = 1): Number of total GMRES iterations
  • krylovRestartInterval (default = nIterations): Number of iterations until the Krylov vectors are are rebuilt (<= nIterations) Chosing krylovRestartInterval smaller than nIterations helps keeping memory requirements and computational costs per iteration low, but may reduce convergence of GMRES.

SSOR_GMRES_SOLVER is a GMRES preconditioned by SSOR. Optional positional parameters:

  • nIterations: see above.
  • krylovRestartInterval: see above.
  • nSweepsSSOR (default = 1): Number of SSOR iterations performed during preconditioning.
Usage
SetSolver <ILU_SOLVER | ILU0_SOLVER | SGS_SOLVER | SSOR_SOLVER>
SetSolver ILU0_GMRES_SOLVER [nIterations] [krylovRestartInterval]
SetSolver SSOR_GMRES_SOLVER [nIterations] [krylovRestartInterval] [nSweepsSSOR]
Domain
all, blockGroup
Example
all immediate SetSolver ILU_SOLVER
all immediate SetSolver SSOR_GMRES_SOLVER 40 20 2

ImplicitSolverSweeps

Specifies the number of sweeps of the iterative solver that relaxes the linearized implicit system in non-linear or harmonic-balance solver mode. This command can only be set immediately and collectively for all blocks.

Usage
ImplicitSolverSweeps <nIterations>
Parameters
nIterationsnumber of sweeps \(x \ge 1\) of the iterative linear solver (default: \(1\), recommended: \(\le 4\))
Domain
all
Example
all immediate ImplicitSolverSweeps 2
Warning
This command should not be used in combination with explicit time integration.
Since
9.1.094

ImplicitSolverSweepCommunication

Trigger communication of sweep results along 1-to-1 connectivities inside the iterative solver that relaxes the linearized implicit system in non-linear solver mode. This can improve convergence significantly, though it tends to become unstable for a large number of sweeps. This option can only be set collectively for all blocks.

Usage
ImplicitSolverSweepCommunication <ON|OFF>
Parameters
ONactivate communication of sweep results
OFFdeactivate communication of sweep results (default)
Domain
all
Example
all immediate ImplicitSolverSweepCommunication ON
Since
9.1.094

SetSolverMode

Set the basic mode in which TRACE runs.

Usage
SetSolverMode <mode>
Parameters
modesolver mode, can be 'NON_LINEAR', 'HARMONIC_BALANCE' or 'TIME_LINEARIZED'
Domain
all, blockGroup
Example
all immediate SetSolverMode HARMONIC_BALANCE
Note
Can only be used at immediate level.
Since
8.0

SetSpatialAccuracy

Set the spatial accuracy for block groups.

Usage
SetSpatialAccuracy <order>
Parameters
orderSpatial accuracy (FV: 1stOrder to 2ndOrder, DG: 2ndOrder to 16thOrder).
Domain
all, blockGroup
Example
all immediate SetSpatialAccuracy 3rdOrder
Warning
This will overwrite the space accuracy settings specified in the CGNS.
Since
9.5

LHSRecomputationInterval

The left-hand side matrices are periodically recomputed for the predictor step at a specified interval. For steady simulations the time step interval is specified. For unsteady simulations the pseudo-time step interval is specified.

The LHS recomputation of a block is always triggered

  • in robust mode
  • at the first pseudo-time iteration of a physical time step in unsteady simulations
  • when the solver encounters critical flow conditions.

LHS recomputations are reported for blocks with active message mode.

Usage
LHSRecomputationInterval <interval>
Parameters
intervaltime step (steady) resp. pseudo-time step (unsteady) interval to trigger recomputation of the left-hand side, a value \(\le0\) disables this trigger (default: \(1\), recommended: \(\le 100\) for steady, \(0\) for unsteady (only recompute LHS at the beginning of a time step))
Domain
all, component, stage, group, blockGroup, block
Example
all immediate LHSRecomputationInterval 100
Since
9.0.230

LHSRecomputationPredictorThreshold

The left-hand side matrix recomputation at the predictor step is triggered by the block-local maximum residual monitoring function

\begin{equation*} ||Res_n||_\infty > {||Res_{n-1}||_\infty}^{\frac{1}{1+x}} \,. \end{equation*}

Predictor step LHS recomputation monitoring function for two values of x. A LHS recomputation is triggered if the current residual is located in the corresponding shaded area.
Usage
LHSRecomputationPredictorThreshold <threshold>
Parameters
thresholdthreshold value \(x \ne -1\) in given block-local residual monitoring function (default: \(x = 0.\), recommended: \(0. \le x \le 0.1\))
Domain
all, component, stage, group, blockGroup, block
Example
all immediate LHSRecomputationPredictorThreshold 0.1
Since
9.0.230

LHSRecomputationCorrectorThreshold

The left-hand side matrix recomputation at the corrector step is triggered by the block-local maximum residual monitoring function

\begin{equation*} ||Res_{n+\frac{1}{2}}||_\infty \ge x \,. \end{equation*}

Usage
LHSRecomputationCorrectorThreshold <threshold>
Parameters
thresholdthreshold value \(x\) in given block-local residual monitoring function (inactive for \(x < 0\), always triggered for \(x = 0\), default: inactive)
Domain
all, component, stage, group, blockGroup, block
Example
all immediate LHSRecomputationCorrectorThreshold 1.
Since
9.0.230

ImplicitSystemRelaxationFactor

Stability of the implicit solver can be enhanced by under-relaxation of the implicit system by a relaxation factor \(\sigma\). For a generic scalar variable \(u\) with the residual function \(R(u)\) the relaxed pseudo-transient Newton's method in pseudo-time \(\tau\) is:

\begin{equation} \left(\frac{\sigma}{\Delta \tau} - \left.\frac{\partial R}{\partial u}\right|^n\right) \Delta u = R(u^n) \\ u^{n+1} = u^n + \sigma \Delta u \end{equation}

The pseudo-time derivative in the LHS is also scaled \(\sigma\) to sustain convergence rate at small CFL numbers. This scheme is applied to the flow (cf. Eqn. Eqn_IRK-Generic01) and transport variables. Over-relaxation ( \(\sigma > 1\)) is not recommended.

Usage
ImplicitSystemRelaxationFactor <factor>
Parameters
factor( \(> 0\), default: \(1\))
Domain
all, component, stage, group, blockGroup, block
Example
all immediate ImplicitSystemRelaxationFactor 0.5
Since
9.4