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