47 psiName_(
"thermo:psi"),
62 psiName_(ptf.psiName_),
76 psiName_(
dict.getOrDefault<
word>(
"psi",
"thermo:psi")),
77 gamma_(
dict.get<scalar>(
"gamma"))
88 psiName_(ptpsf.psiName_),
101 psiName_(ptpsf.psiName_),
114 this->patch().template
115 lookupPatchField<volScalarField, scalar>(psiName_);
118 this->db().template lookupObject<surfaceScalarField>(this->phiName_);
121 this->patch().template
122 lookupPatchField<surfaceScalarField, scalar>(this->phiName_);
127 this->patch().template
128 lookupPatchField<volScalarField, scalar>(this->rhoName_);
136 return phip/this->patch().magSf() +
sqrt(gamma_/psip);
151 if (this->lInf_ > SMALL)
157 this->writeEntry(
"value",
os);
Macros for easy insertion into run-time selection tables.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
const dimensionSet & dimensions() const
Return dimensions.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Ostream & writeEntry(const keyType &key, const T &value)
Write a keyword/value entry.
Ostream & writeEntryIfDifferent(const word &key, const T &value1, const T &value2)
Write a keyword/value entry only when the two values differ.
This boundary condition provides an advective outflow condition, based on solving DDt(W,...
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
virtual bool write()
Write the output fields.
A FieldMapper for finite-volume patch fields.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
An abstract base class with a fat-interface to all derived classes covering all possible ways in whic...
A class for managing temporary objects.
This boundary condition provides a wave transmissive outflow condition, based on solving DDt(W,...
virtual tmp< scalarField > advectionSpeed() const
Calculate and return the advection speed at the boundary.
A class for handling words, derived from Foam::string.
OBJstream os(runTime.globalPath()/outputName)
const dimensionSet dimArea(sqr(dimLength))
const dimensionSet dimVelocity
dimensionedScalar sqrt(const dimensionedScalar &ds)
const dimensionSet dimDensity