55 public incompressiblePrimalSolver
62 simple(
const simple&) =
delete;
65 void operator=(
const simple&) =
delete;
154 virtual void solve();
List of MRF zones with IO functionality. MRF zones are specified by a list of dictionary entries,...
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A list of pointers to objects of type <T>, without allocation/deallocation management of the pointers...
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Mesh data needed to do the Finite Volume discretisation.
Base class for solution control classes.
virtual void postIter()
Steps to be executed before each main SIMPLE iteration.
autoPtr< SIMPLEControl > solverControl_
Solver control.
UPtrList< objective > objectives_
List of objectives related to this primal solver.
scalar cumulativeContErr_
Cumulative continuity error.
virtual void preIter()
Steps to be executed before each main SIMPLE iteration.
virtual void restoreInitValues()
Restore initial field values if necessary.
virtual bool writeData(Ostream &os) const
Write average iteration.
virtual ~simple()=default
Destructor.
incompressibleVars & allocateVars()
Protected Member Functions.
virtual bool readDict(const dictionary &dict)
Read dict if updated.
virtual void mainIter()
The main SIMPLE iter.
TypeName("simple")
Run-time type information.
bool allowFunctionObjects_
Allow the execution of function objects in optimisation mode.
void addExtraSchemes()
In case variable names are different than the base ones, add extra schemes and relaxation factors to ...
incompressibleVars & incoVars_
Reference to incompressibleVars.
virtual void preLoop()
Functions to be called before loop.
void continuityErrors()
Compute continuity errors.
IOMRFZoneList MRF_
MRF zones.
virtual void postLoop()
Functions to be called after loop.
virtual bool loop()
Looper (advances iters, time step).
virtual void solveIter()
Execute one iteration of the solution algorithm.
virtual void solve()
Main control loop.
const word & managerType() const
Return the manager type.
const dictionary & dict() const
Return the solver dictionary.
const fvMesh & mesh() const
Return the solver mesh.
const word & solverName() const
Return the solver name.
A class for handling words, derived from Foam::string.
OBJstream os(runTime.globalPath()/outputName)
const dictionary & simple
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.