88 virtual bool writeData(
Ostream&)
const;
144 const word& solverName,
149 static void load(
const word& solverName);
158 bool transient()
const
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Finite volume constraints.
Mesh data needed to do the Finite Volume discretisation.
Pimple no-loop control class. Implements various option flags, but leaves loop controls to the deriva...
regIOobject is an abstract class derived from IOobject to handle automatic object registration with t...
Abstract base class for run-time selectable region solvers.
virtual void motionCorrector()=0
Corrections that follow mesh motion.
static scalar deltaTFactor
deltaT increase factor
virtual void preSolve()=0
Called at the start of the time-step, before the PIMPLE loop.
virtual ~solver()
Destructor.
bool steady
Switch for steady-state.
virtual void thermophysicalPredictor()=0
Construct and solve the thermophysical property equations,.
bool LTS
Switch for local time step transient operation.
Foam::fvModels & fvModels() const
Return the fvModels that are created on demand.
pimpleNoLoopControl pimple
PIMPLE inner-loop controls.
virtual void postCorrector()=0
Correct the momentum and thermophysical transport modelling.
static autoPtr< solver > New(const word &solverName, fvMesh &mesh)
Select, construct and return the solver.
solver(fvMesh &mesh)
Construct from region mesh.
Foam::fvConstraints & fvConstraints() const
Return the fvConstraints that are created on demand.
virtual void pressureCorrector()=0
Construct and solve the pressure equation in the PISO loop.
virtual void moveMesh()=0
Called at the start of the PIMPLE loop to move the mesh.
virtual void momentumPredictor()=0
Construct and optionally solve the momentum equation.
virtual scalar maxDeltaT() const =0
Return the current maximum time-step for stable solution.
declareRunTimeSelectionTable(autoPtr, solver, fvMesh,(fvMesh &mesh),(mesh))
const Time & runTime
Time.
void operator=(const solver &)=delete
Disallow default bitwise assignment.
TypeName("solver")
Runtime type information.
virtual void prePredictor()=0
Called at the start of the PIMPLE loop.
static void load(const word &solverName)
Load the specified solver library.
fvMesh & mesh_
Region mesh.
virtual void postSolve()=0
Called after the PIMPLE loop at the end of the time-step.
const fvMesh & mesh
Region mesh.
virtual bool read()
Read controls.
A class for handling words, derived from string.
const word & regionName(const solver ®ion)