113 bool isFinal(
const bool finalIter)
const;
119 bool correct(
const bool finalIter =
false);
const Time & time() const
Return time.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
Fluid solution control class. Holds flags specific to the solution of fluids.
Mesh data needed to do the Finite Volume discretisation.
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 firstPisoIter() const
Flag to indicate the first piso iteration.
bool isFinal(const bool finalIter) const
Flag to indicate whether in final state.
bool anyPisoIter() const
Flag to indicate any piso iteration.
label corrPiso_
Current piso corrector.
bool run(Time &time)
Time run loop.
bool finalInnerIter() const
Flag to indicate the last inner iteration (last piso and last.
bool correct(const bool finalIter=false)
Piso loop within outer loop.
bool finalPisoIter() const
Flag to indicate the last piso iteration.
label nCorrPiso() const
Maximum number of piso correctors.
TypeName("pisoControl")
Run-time type information.
bool correctNonOrthogonal(const bool finalIter=true)
Non-orthogonal corrector loop.
bool loop(Time &time)
Time loop loop.
virtual bool read()
Read controls.
const fvMesh & mesh() const
Return the mesh.
const word & algorithmName() const
Return the name of the algorithm.
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.