32 #ifndef solutionControl_H 33 #define solutionControl_H 103 virtual void read(
const bool absTolOnly);
111 const word& fieldName,
112 const bool useRegEx =
true 128 const word& fieldName,
136 const word& fieldName,
206 virtual bool loop() = 0;
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
bool momentumPredictor() const
Flag to indicate to solve for momentum.
virtual void storePrevIterFields() const
Store previous iteration fields.
fvMesh & mesh_
Reference to the mesh database.
A list of keyword definitions, which are a keyword followed by any number of values (e...
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
List< fieldData > residualControl_
List of residual data per field.
virtual bool loop()=0
Main control loop.
Base class for solution control classes.
label nNonOrthCorr_
Maximum number of non-orthogonal correctors.
label corrNonOrtho() const
Current non-orthogonal corrector index.
label nNonOrthCorr() const
Maximum number of non-orthogonal correctors.
bool correctNonOrthogonal()
Non-orthogonal corrector loop.
A class for handling words, derived from string.
bool transonic_
Flag to indicate to solve using transonic algorithm.
const word algorithmName_
The dictionary name, e.g. SIMPLE, PIMPLE.
bool finalNonOrthogonalIter() const
Helper function to identify final non-orthogonal iteration.
virtual bool criteriaSatisfied()=0
Return true if all convergence checks are satisfied.
virtual void read()
Read controls from fvSolution dictionary.
A wordRe is a word, but can also have a regular expression for matching words.
void maxTypeResidual(const word &fieldName, ITstream &data, scalar &firstRes, scalar &lastRes) const
scalar maxResidual(const word &fieldName, ITstream &data, scalar &lastRes) const
Database for solution data, solver performance and other reduced data.
bool consistent() const
Flag to indicate to relax pressure using the.
label corr_
Current corrector loop index.
virtual label applyToField(const word &fieldName, const bool useRegEx=true) const
Return index of field in residualControl_ if present.
virtual ~solutionControl()
Destructor.
Mesh data needed to do the Finite Volume discretisation.
label corrNonOrtho_
Current non-orthogonal corrector loop index.
bool momentumPredictor_
Flag to indicate to solve for momentum.
const dictionary & dict() const
Return the solution dictionary.
TypeName("solutionControl")
Run-time type information.
void storePrevIter() const
Store previous iteration field for vol<Type>Fields.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
bool transonic() const
Flag to indicate to solve using transonic algorithm.
label corr() const
Current corrector loop index.
bool consistent_
Flag to indicate to relax pressure using the.