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 lookupPatchField<volScalarField>(psiName_);
117 this->db().template lookupObject<surfaceScalarField>(this->phiName_);
121 this->
patch().
template 122 lookupPatchField<surfaceScalarField>(this->phiName_)
128 this->
patch().template
129 lookupPatchField<volScalarField>(this->rhoName_);
137 return phip/this->
patch().magSf() +
sqrt(gamma_/psip);
152 if (this->lInf_ > SMALL)
List< ReturnType > get(const UPtrList< T > &list, const AccessOp &aop)
List of values generated by applying the access operation to each list item.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
dimensionedScalar sqrt(const dimensionedScalar &ds)
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
Ostream & writeEntry(const keyType &key, const T &value)
Write a keyword/value entry.
void writeValueEntry(Ostream &os) const
Write *this field as a "value" entry.
virtual void write(Ostream &) const
Write.
Macros for easy insertion into run-time selection tables.
waveTransmissiveFvPatchField(const fvPatch &, const DimensionedField< Type, volMesh > &)
Construct from patch and internal field.
A class for handling words, derived from Foam::string.
A FieldMapper for finite-volume patch fields.
Ostream & writeEntryIfDifferent(const word &key, const T &value1, const T &value2)
Write a keyword/value entry only when the two values differ.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
virtual void write(Ostream &) const
Write.
OBJstream os(runTime.globalPath()/outputName)
virtual tmp< scalarField > advectionSpeed() const
Calculate and return the advection speed at the boundary.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
const std::string patch
OpenFOAM patch number as a std::string.
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
This boundary condition provides an advective outflow condition, based on solving DDt(W...
const dimensionSet dimMass(1, 0, 0, 0, 0, 0, 0)
A class for managing temporary objects.
This boundary condition provides a wave transmissive outflow condition, based on solving DDt(W...