Go to the documentation of this file.
46 psiName_(
"thermo:psi"),
61 psiName_(ptf.psiName_),
76 gamma_(
dict.
get<scalar>(
"gamma"))
87 psiName_(ptpsf.psiName_),
100 psiName_(ptpsf.psiName_),
113 this->
patch().template
114 lookupPatchField<volScalarField, scalar>(psiName_);
117 this->db().template lookupObject<surfaceScalarField>(this->phiName_);
120 this->
patch().template
121 lookupPatchField<surfaceScalarField, scalar>(this->phiName_);
126 this->
patch().template
127 lookupPatchField<volScalarField, scalar>(this->rhoName_);
135 return phip/this->
patch().magSf() +
sqrt(gamma_/psip);
150 if (this->lInf_ > SMALL)
156 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
T lookupOrDefault(const word &keyword, const T &deflt, 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,...
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,...
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...