Go to the documentation of this file.
47 psiName_(
"thermo:psi"),
62 psiName_(ptf.psiName_),
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
Write.
Ostream & writeEntryIfDifferent(const word &key, const T &value1, const T &value2)
Write a keyword/value entry only when the two values differ.
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
Write.
waveTransmissiveFvPatchField(const fvPatch &, const DimensionedField< Type, volMesh > &)
Construct from patch and internal field.
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
Calculate and return the advection speed at the boundary.
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.
const std::string patch
OpenFOAM patch number as a std::string.
dimensionedScalar sqrt(const dimensionedScalar &ds)
Ostream & writeEntry(const keyType &key, const T &value)
Write a keyword/value entry.
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
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...