76 gh(
"gh", (g &
mesh.
C()) - ghRef),
78 ghf(
"ghf", (g &
mesh.Cf()) - ghRef),
126 gh = (g &
mesh.
C()) - ghRef;
127 ghf = (g &
mesh.
Cf()) - ghRef;
Graphite solid properties.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
const word & name() const
Return name.
const word & name() const
Return const reference to name.
Mesh data needed to do the Finite Volume discretisation.
const Time & time() const
Return the top-level database.
const volVectorField & C() const
Return cell centres.
const fvSchemes & schemes() const
Return the fvSchemes.
const surfaceVectorField & Cf() const
Return face centres.
void setFluxRequired(const word &name) const
Buoyancy related data for the Foam::solvers::isothermalFluid solver module when solving buoyant cases...
void moveMesh()
Update gh and ghf following mesh-motion.
volScalarField p_rgh
Buoyant pressure p - rho*gh - pRef.
buoyancy(const fvMesh &mesh)
Construct from the region mesh.
virtual ~buoyancy()
Destructor.
static autoPtr< buoyancy > New(const fvMesh &mesh)
Select, construct and return the buoyancy.
Templated form of IOobject providing type information for file reading and header type checking.
bool headerOk()
Read header (uses typeGlobalFile to find file) and check.
Foam::fvMesh mesh(Foam::IOobject(regionName, runTime.name(), runTime, Foam::IOobject::MUST_READ), false)
const dimensionSet dimPressure
const dimensionSet dimLength
void mag(LagrangianPatchField< scalar > &f, const LagrangianPatchField< Type > &f1)
word name(const LagrangianState state)
Return a string representation of a Lagrangian state enumeration.