Go to the documentation of this file.
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;
scalar deltaTSubSycle_
deltaT of the sub-cycled time
A class for handling words, derived from Foam::string.
virtual bool read()
Read controls from optimisationDict.
autoPtr< subCycleTime > subCycledTimePtr_
Subcycled time.
TypeName("steadyOptimisation")
Run-time type information.
Base class for solution control classes.
const label & nIters() const
Maximum number of solver iterations.
Mesh data needed to do the Finite Volume discretisation.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
virtual ~SIMPLEControlOpt()=default
Destructor.
SIMPLE control class for optimisation runs. Each time is sub-cycled and corresponds to one optimisati...
virtual bool write(const bool valid=true) const
Whether to call time.write() or not.
virtual bool criteriaSatisfied()
Return true if all convergence checks are satisfied.
label nInitialIters_
Number of iterations for the first optimisation cycle.
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.