39#ifndef pimpleControl_H
40#define pimpleControl_H
116 const bool check =
true,
117 const bool force =
false
136 const bool verbose =
true
Mesh data needed to do the Finite Volume discretisation.
PIMPLE control class to supply convergence information/checks for the PIMPLE loop.
bool SIMPLErho() const
Flag to indicate whether to update density in SIMPLE.
label corrPISO_
Current PISO corrector.
virtual bool criteriaSatisfied()
Return true if all convergence checks are satisfied.
bool finalIter() const
Return true for final PIMPLE (outer) iteration.
label corrPISO() const
Current PISO corrector index.
label nCorrPIMPLE() const
Maximum number of PIMPLE correctors.
bool turbCorr()
Return true to solve for turbulence.
bool finalOnLastPimpleIterOnly_
label nCorrPISO_
Maximum number of PISO correctors.
label nCorrPIMPLE_
Maximum number of PIMPLE correctors.
bool finalInnerIter() const
Return true for final inner iteration.
bool storeInitialResiduals() const
Return true to store the initial residuals.
bool solveFlow_
Flag to indicate whether to solve for the flow.
bool correct()
Pressure corrector loop control.
bool firstIter() const
Return true for first PIMPLE (outer) iteration.
bool turbOnFinalIterOnly_
Flag to indicate whether to only solve turbulence on final iter.
bool ddtCorr() const
Return true to apply ddtCorr.
virtual ~pimpleControl()=default
Destructor.
virtual bool loop()
PIMPLE loop.
TypeName("pimpleControl")
Run-time type information.
bool ddtCorr_
Flag to indicate that ddtCorr should be applied; default = yes.
virtual void setFirstIterFlag(const bool check=true, const bool force=false)
Set the firstIteration flag on the mesh data dictionary.
label nCorrPISO() const
Maximum number of PISO correctors.
virtual bool read()
Read controls from fvSolution dictionary.
bool solveFlow() const
Return true to solve for flow.
bool converged_
Converged flag.
Base class for solution control classes.
A class for handling words, derived from Foam::string.
const word dictName("faMeshDefinition")
static void check(const int retVal, const char *what)
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.