46 pimple_.pimpleLoopPtr_ =
this;
61 "mixed steady-state/transient") <<
" mode with " <<
nCorr_
62 <<
" outer corrector" << (
nCorr_ == 1 ?
"" :
"s") <<
nl;
79 pimple_.pimpleLoopPtr_ =
nullptr;
95 pimple_.updateFinal(pimple_.isFinal(finalIter()));
100 pimple_.storePrevIterFields();
102 pimple_.updateFinal(pimple_.isFinal(finalIter()));
110 if (!pimple_.endIfConverged(time))
112 pimple_.storePrevIterFields();
121 if (!pimple_.endIfConverged(time))
123 pimple_.storePrevIterFields();
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
virtual bool run() const
Return true if run should continue,.
virtual bool loop()
Return true if run should continue and if so increment time.
const fvSchemes & schemes() const
Return the fvSchemes.
bool transient() const
Return true if the default ddtScheme is not steadyState.
bool steady() const
Return true if the default ddtScheme is steadyState.
Pimple loop class. Implements the logic which controls the pimple loop generically for a given correc...
bool loop(correctorConvergenceControl &convergence)
Pimple loop.
label nCorr_
Maximum number of correctors.
virtual bool read()
Read controls.
Pimple no-loop control class. Implements various option flags, but leaves loop controls to the deriva...
Pimple single region control class. Provides time-loop control methods which exit the simulation once...
bool run(Time &time)
Time run loop.
pimpleSingleRegionControl(pimpleNoLoopControl &pimple)
Construct from single region pimple.
virtual bool read()
Read controls.
virtual ~pimpleSingleRegionControl()
Destructor.
void printResidualControls() const
Print the residual controls.
void printCorrResidualControls(const label n) const
Print the residual controls.
const fvMesh & mesh() const
Return the mesh.
const word & algorithmName() const
Return the name of the algorithm.
pimpleControl pimple(mesh)
Ostream & endl(Ostream &os)
Add newline and flush stream.
defineTypeNameAndDebug(combustionModel, 0)