73 bool checkMeshCourantNo;
79 scalar cumulativeContErr;
85 template<
class RhoType>
86 inline void correctCoNum
Generic GeometricField class.
Mesh data needed to do the Finite Volume discretisation.
Abstract base class for run-time selectable region solvers.
const fvMesh & mesh
Region mesh.
Base solver module for fluid solvers.
fluidSolver(fvMesh &mesh)
Construct from region mesh.
bool correctPhi
Switch to correct the flux after mesh change.
void continuityErrors(const surfaceScalarField &phi)
Calculate and print the continuity errors.
virtual bool dependenciesModified() const
Return true if the solver's dependencies have been modified.
virtual scalar maxDeltaT() const
Return the current maximum time-step for stable solution.
void meshCourantNo() const
Check mesh Courant numbers for moving mesh cases.
virtual ~fluidSolver()
Destructor.
const scalar & CoNum
Current maximum Courant number for time-step control.
scalar CoNum_
Current maximum Courant number for time-step control.
void operator=(const fluidSolver &)=delete
Disallow default bitwise assignment.
virtual bool read()
Read controls.
TypeName("fluidSolver")
Runtime type information.