75 return (finalIter && !anyPisoIter()) || finalPisoIter();
85 updateFinal(isFinal(finalIter));
92 updateFinal(isFinal(finalIter));
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
virtual bool run() const
Return true if run should continue,.
virtual bool loop()
Return true if run should continue and if so increment time.
A list of keyword definitions, which are a keyword followed by any number of values (e....
T lookupOrDefault(const word &, const T &, bool recursive=false, bool patternMatch=true) const
Find and return a T, if not found return the given default.
Fluid solution control class. Holds flags specific to the solution of fluids.
virtual bool read()
Read controls.
Mesh data needed to do the Finite Volume discretisation.
bool correctNonOrthogonal(const bool finalIter=false)
Non-orthogonal corrector loop.
Piso control class. Provides time-loop and piso-loop control methods. No convergence checking is done...
virtual ~pisoControl()
Destructor.
pisoControl(fvMesh &mesh, const word &algorithmName="PISO")
Construct from a mesh and the name of the algorithm.
label nCorrPiso_
Maximum number of piso correctors.
bool isFinal(const bool finalIter) const
Flag to indicate whether in final state.
bool run(Time &time)
Time run loop.
bool correct(const bool finalIter=false)
Piso loop within outer loop.
bool correctNonOrthogonal(const bool finalIter=true)
Non-orthogonal corrector loop.
bool loop(Time &time)
Time loop loop.
virtual bool read()
Read controls.
virtual const dictionary & dict() const
Return the solution dictionary.
A class for handling words, derived from string.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
defineTypeNameAndDebug(combustionModel, 0)