Go to the documentation of this file.
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);
virtual void write(Ostream &) const
Ostream & writeEntryIfDifferent(const word &key, const T &value1, const T &value2)
A class for handling words, derived from Foam::string.
A class for managing temporary objects.
const dimensionSet dimVelocity
const dimensionSet dimDensity
virtual void write(Ostream &) const
waveTransmissiveFvPatchField(const fvPatch &, const DimensionedField< Type, volMesh > &)
An abstract base class with a fat-interface to all derived classes covering all possible ways in whic...
T get(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
virtual tmp< scalarField > advectionSpeed() const
const dimensionSet dimArea(sqr(dimLength))
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
OBJstream os(runTime.globalPath()/outputName)
Macros for easy insertion into run-time selection tables.
dimensionedScalar sqrt(const dimensionedScalar &ds)
Ostream & writeEntry(const keyType &key, const T &value)
List< ReturnType > get(const UPtrList< T > &list, const AccessOp &aop)
Foam::fvPatchFieldMapper.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
T getOrDefault(const word &keyword, const T &deflt, enum keyType::option matchOpt=keyType::REGEX) const
Generic GeometricField class.
This boundary condition provides a wave transmissive outflow condition, based on solving DDt(W,...
This boundary condition provides an advective outflow condition, based on solving DDt(W,...
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...