38 #ifndef pimpleMultiRegionControl_H 39 #define pimpleMultiRegionControl_H 90 TypeName(
"pimpleMultiRegionControl");
Multi-region-specific derivation of the solution control class.
Solid no-loop control class. Implements non-orthogonal and convergence controls, but leaves loop cont...
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
virtual ~pimpleMultiRegionControl()
Destructor.
virtual void updateCorrSolveIndex()
Update the solve index in the correction residual control data.
TypeName("pimpleMultiRegionControl")
Run-time type information.
Pimple loop class. Implements the logic which controls the pimple loop generically for a given correc...
PtrList< solidNoLoopControl > solidControls_
The per-region solid controls.
Corrector convergence control class. Provides methods to check the convergence of an inner iteration ...
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
virtual bool read()
Read controls.
Pimple multi-region control class. As Foam::pimpleControl, but for a multi- region simulation compris...
bool pimpleTurbCorr(const label i) const
Flag to indicate whether to solve the turbulence.
PtrList< pimpleNoLoopControl > pimpleControls_
The per-region pimple controls.
solidNoLoopControl & solid(const label i)
Access the i-th solid control.
A class for handling words, derived from string.
pimpleNoLoopControl & pimple(const label i)
Access the i-th pimple control.
Convergence control class. Provides methods to check the convergence of the time loop against an abso...
bool run(Time &time)
Time run loop.
virtual bool hasResidualControls() const
Return true if residual controls are present.
const Time & time() const
Return the time.
pimpleMultiRegionControl(PtrList< fvMesh > &pimpleMeshes, PtrList< fvMesh > &solidMeshes, const word &algorithmName="PIMPLE")
Construct from meshes and the algorithm name.
virtual bool criteriaSatisfied() const
Return true if all convergence checks are satisfied.
virtual void resetCorrSolveIndex()
Reset the solve index in the correction residual control data.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
Pimple no-loop control class. Implements various option flags, but leaves loop controls to the deriva...
virtual bool corrCriteriaSatisfied() const
Return true if all correction convergence checks are satisfied.
const word & algorithmName() const
Return the name of the algorithm.
virtual bool hasCorrResidualControls() const
Return true if corrector residual controls are present.