57 if (solverName == typeName)
60 <<
"Invalid sub-solver type "
66 bool startTimeChanged =
false;
70 const scalar subSolverTime
77 startTimeChanged =
true;
93 iter !=
mesh.objectRegistry::end();
Macros for easy insertion into run-time selection tables.
friend class iterator
Declare friendship with the iterator.
const Time & time() const
Return time.
The time value with time-stepping information, user-defined remapping, etc.
label timeIndex() const
Return current time index.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
virtual void setTime(const Time &)
Reset the time and time-index to those of the given time.
const IOdictionary & controlDict() const
Return the control dict.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
bool found(const word &, bool recursive=false, bool patternMatch=true) const
Search dictionary for given keyword.
static bool postProcess
Global post-processing mode switch.
Mesh data needed to do the Finite Volume discretisation.
Abstract base class for run-time selectable region solvers.
static autoPtr< solver > New(const word &solverName, fvMesh &mesh)
Select, construct and return the solver.
const Time & runTime
Time.
const fvMesh & mesh
Region mesh.
Solver module to execute the functionObjects for a specified solver.
virtual void thermophysicalPredictor()
Construct and solve the energy equation,.
virtual void prePredictor()
Called at the beginning of the PIMPLE loop.
virtual void postSolve()
Called after the PIMPLE loop at the end of the time-step.
virtual scalar maxDeltaT() const
Return the current maximum time-step for stable solution.
virtual void pressureCorrector()
Construct and solve the pressure equation in the PISO loop.
virtual void postCorrector()
Correct the thermophysical transport modelling.
virtual void momentumPredictor()
Construct and optionally solve the momentum equation.
autoPtr< solver > solverPtr
Pointer to the solid or fluid solver.
functions(fvMesh &mesh)
Construct from region mesh.
virtual ~functions()
Destructor.
Solver module to move the mesh.
A class for handling words, derived from string.
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
addToRunTimeSelectionTable(solver, compressibleMultiphaseVoF, fvMesh)
defineTypeNameAndDebug(compressibleMultiphaseVoF, 0)
errorManipArg< error, int > exit(error &err, const int errNo=1)