38 #ifndef SIMPLEControl_H 39 #define SIMPLEControl_H 103 const word& managerType,
116 const word& managerType,
131 const word& managerType,
158 virtual bool write(
const bool valid =
true)
const = 0;
163 virtual bool loop() = 0;
Base class for solution control classes.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
scalar pRefValue_
Pressure reference value.
virtual ~SIMPLEControl()=default
Destructor.
scalar & pRefValue()
Return pressure reference value.
declareRunTimeSelectionTable(autoPtr, SIMPLEControl, dictionary,(fvMesh &mesh, const word &managerType, const solver &solver),(mesh, managerType, solver))
virtual bool write(const bool valid=true) const =0
Whether to call time.write() or not.
A class for handling words, derived from Foam::string.
Base class for solver control classes.
virtual bool read()
Read controls from fvSolution dictionary.
virtual bool loop()=0
Loop.
virtual const dictionary dict() const
Return the solution dictionary.
static autoPtr< SIMPLEControl > New(fvMesh &mesh, const word &managerType, const solver &solver)
Return a reference to the selected turbulence model.
Mesh data needed to do the Finite Volume discretisation.
label & pRefCell()
Return pressure reference cell.
label pRefCell_
Pressure reference cell.
SIMPLE control class to supply convergence information/checks for the SIMPLE loop.
label nIters_
Number of SIMPLE iterations.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
TypeName("SIMPLEControl")
Run-time type information.
SIMPLE control class to supply convergence information/checks for the SIMPLE loop.
void checkMeanSolution() const
const word & managerType_
Optimisation type.