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