All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
gh.H
Go to the documentation of this file.
1  Info<< "Calculating field g.h\n" << endl;
2  dimensionedScalar ghRef(- mag(g)*hRef);
3  volScalarField gh("gh", (g & mesh.C()) - ghRef);
4  surfaceScalarField ghf("ghf", (g & mesh.Cf()) - ghRef);
Ostream & endl(Ostream &os)
Add newline and flush stream.
Definition: Ostream.H:251
GeometricField< scalar, fvPatchField, volMesh > volScalarField
Definition: volFieldsFwd.H:57
dynamicFvMesh & mesh
const surfaceScalarField & ghf
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
const volScalarField & gh
messageStream Info
dimensioned< scalar > mag(const dimensioned< Type > &)
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
const dimensionedVector & g