Generic GeometricField class.
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...
Mesh data needed to do the Finite Volume discretisation.
Buoyancy related data for the Foam::solvers::isothermalFluid solver module when solving buoyant cases...
uniformDimensionedVectorField g
Gravitational acceleration.
uniformDimensionedScalarField hRef
Reference height.
volScalarField gh
(g & h) - ghRef
void moveMesh()
Update gh and ghf following mesh-motion.
volScalarField p_rgh
Buoyant pressure p - rho*gh - pRef.
dimensionedScalar ghRef
-mag(g)*hRef
buoyancy(const fvMesh &mesh)
Construct from the region mesh.
uniformDimensionedScalarField pRef
Reference pressure.
void operator=(const buoyancy &)=delete
Disallow default bitwise assignment.
virtual ~buoyancy()
Destructor.
static autoPtr< buoyancy > New(const fvMesh &mesh)
Select, construct and return the buoyancy.
surfaceScalarField ghf
(g & hf) - ghRef