54 #ifndef isothermalFluid_H
55 #define isothermalFluid_H
181 virtual void setRDeltaT();
187 void continuityErrors();
190 void correctDensity();
194 void correctPressure();
198 void correctBuoyantPressure();
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
Generic GeometricField class.
List of MRF zones with IO functionality. MRF zones are specified by a list of dictionary entries,...
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Base-class for fluid thermodynamic properties.
Mesh data needed to do the Finite Volume discretisation.
Provides controls for the pressure reference in closed-volume simulations.
const fvMesh & mesh
Region mesh.
Base solver module for fluid solvers.
Solver module for steady or transient turbulent flow of compressible isothermal fluids with optional ...
virtual void thermophysicalPredictor()
Construct and solve the energy equation,.
autoPtr< volScalarField > divrhoU
Pointer to the vol momentum divergence field.
volScalarField rho_
The continuity density field.
volScalarField & p_rgh
Reference to the buoyant pressure for buoyant cases.
const surfaceScalarField & phi
Mass-flux field.
volVectorField U_
Velocity field.
virtual void prePredictor()
Called at the start of the PIMPLE loop.
tmp< fvVectorMatrix > tUEqn
Cached momentum matrix.
virtual void postSolve()
Called after the PIMPLE loop at the end of the time-step.
tmp< volVectorField > netForce
Momentum equation net force source term.
autoPtr< surfaceVectorField > rhoUf
Pointer to the surface momentum field.
tmp< volScalarField > trDeltaT
Optional LTS reciprocal time-step field.
autoPtr< volVectorField > rhoU
Pointer to the vol momentum field.
fluidThermo & thermo_
Reference to the fluid thermophysical properties.
virtual ~isothermalFluid()
Destructor.
autoPtr< fluidThermo > thermoPtr_
Pointer to the fluid thermophysical properties.
volScalarField K
Kinetic energy field.
virtual void moveMesh()
Called at the start of the PIMPLE loop to move the mesh.
autoPtr< solvers::buoyancy > buoyancy
Pointer to the optional buoyancy force.
const volVectorField & U
Velocity field.
virtual void motionCorrector()
Corrections that follow mesh motion.
virtual void pressureCorrector()
Construct and solve the pressure equation in the PISO loop.
IOMRFZoneList MRF
MRF zone list.
virtual void postCorrector()
Correct the momentum and thermophysical transport modelling.
tmp< volScalarField::Internal > pressureWork(const tmp< volScalarField::Internal > &) const
Adds the mesh-motion work to the pressure work term provided.
virtual void momentumPredictor()
Construct and optionally solve the momentum equation.
volScalarField & p_
Reference to the pressure field.
surfaceScalarField phi_
Mass-flux field.
isothermalFluid(fvMesh &mesh, autoPtr< fluidThermo >)
Construct from region mesh and thermophysical properties.
const volScalarField & rho
Reference to the continuity density field.
volScalarField::Internal dpdt
Rate of change of the pressure.
Foam::pressureReference pressureReference
Pressure reference.
virtual void preSolve()
Called at the start of the time-step, before the PIMPLE loop.
void operator=(const isothermalFluid &)=delete
Disallow default bitwise assignment.
const fluidThermo & thermo
Reference to the fluid thermophysical properties.
const volScalarField & p
Reference to the pressure field.
TypeName("isothermalFluid")
Runtime type information.
dimensionedScalar initialMass
Initial mass in the region.
autoPtr< compressible::momentumTransportModel > momentumTransport
Pointer to the momentum transport model.
A class for managing temporary objects.