38 #ifndef SIMPLEControlOpt_H 39 #define SIMPLEControlOpt_H 80 const label&
nIters()
const;
110 const word& managerType,
124 virtual bool write(
const bool valid =
true)
const;
virtual ~SIMPLEControlOpt()=default
Destructor.
Base class for solution control classes.
scalar deltaTSubSycle_
deltaT of the sub-cycled time
virtual bool read()
Read controls from optimisationDict.
autoPtr< subCycleTime > subCycledTimePtr_
Subcycled time.
A class for handling words, derived from Foam::string.
TypeName("steadyOptimisation")
Run-time type information.
const label & nIters() const
Maximum number of solver iterations.
label nInitialIters_
Number of iterations for the first optimisation cycle.
SIMPLE control class for optimisation runs. Each time is sub-cycled and corresponds to one optimisati...
virtual bool criteriaSatisfied()
Return true if all convergence checks are satisfied.
Mesh data needed to do the Finite Volume discretisation.
virtual bool write(const bool valid=true) const
Whether to call time.write() or not.
SIMPLE control class to supply convergence information/checks for the SIMPLE loop.
void resetDeltaT()
Reset deltaT in case controlDict has been re-written at run-time.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...