39#ifndef pimpleControl_H
40#define pimpleControl_H
58 public solutionControl
63 pimpleControl(
const pimpleControl&) =
delete;
66 void operator=(
const pimpleControl&) =
delete;
116 const bool check =
true,
117 const bool force =
false
136 const bool verbose =
true
Mesh data needed to do the Finite Volume discretisation.
bool SIMPLErho() const
Flag to indicate whether to update density in SIMPLE.
bool SIMPLErho_
Flag to indicate whether to update density in SIMPLE rather than PISO mode.
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_
Flag to indicate wheter the final solver is used only on the final pimple iter.
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.
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.