Loading...
Searching...
No Matches
gh.H
Go to the documentation of this file.
1 Info<< "Calculating field g.h\n" << endl;
3 (
4 mag(g.value()) > SMALL
5 ? g & (cmptMag(g.value())/mag(g.value()))*hRef
6 : dimensionedScalar("ghRef", g.dimensions()*dimLength, 0)
7 );
8
9 const auto oldConsistency = FieldBase::localBoundaryConsistency(0);
10
11 volScalarField gh("gh", (g & mesh.C()) - ghRef);
12 surfaceScalarField ghf("ghf", (g & mesh.Cf()) - ghRef);
13
14 FieldBase::localBoundaryConsistency(oldConsistency);
const uniformDimensionedVectorField & g
const surfaceScalarField & ghf
const volScalarField & gh
dynamicFvMesh & mesh
GeometricField< scalar, fvPatchField, volMesh > volScalarField
messageStream Info
Information stream (stdout output on master, null elsewhere).
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
Ostream & endl(Ostream &os)
Add newline and flush stream.
Definition Ostream.H:519
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
void cmptMag(FieldField< Field, Type > &cf, const FieldField< Field, Type > &f)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.