Go to the documentation of this file.
44 psiName_(
"thermo:psi"),
59 psiName_(ptf.psiName_),
111 this->patch().template
112 lookupPatchField<volScalarField, scalar>(psiName_);
115 this->db().template lookupObject<surfaceScalarField>(this->phiName_);
118 this->patch().template
119 lookupPatchField<surfaceScalarField, scalar>(this->phiName_);
124 this->patch().template
125 lookupPatchField<volScalarField, scalar>(this->rhoName_);
133 return phip/this->patch().magSf() +
sqrt(gamma_/psip);
143 writeEntryIfDifferent<word>(os,
"phi",
"phi", this->phiName_);
145 writeEntryIfDifferent<word>(os,
"rho",
"rho", this->rhoName_);
147 writeEntryIfDifferent<word>(os,
"psi",
"thermo:psi", psiName_);
151 if (this->lInf_ > SMALL)
159 this->writeEntry(
"value", os);
virtual void write(Ostream &) const
Write.
word psiName_
Name of the compressibility field used to calculate the wave speed.
A class for handling words, derived from 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.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
An abstract base class with a fat-interface to all derived classes covering all possible ways in whic...
T lookupOrDefault(const word &, const T &, bool recursive=false, bool patternMatch=true) const
Find and return a T,.
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 any number of values (e....
Macros for easy insertion into run-time selection tables.
bool readScalar(const char *buf, doubleScalar &s)
Read whole of buf as a scalar. Return true if succesful.
scalar gamma_
Heat capacity ratio.
dimensionedScalar sqrt(const dimensionedScalar &ds)
Ostream & writeKeyword(const keyType &)
Write the keyword followed by an appropriate indentation.
Foam::fvPatchFieldMapper.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Generic GeometricField class.
This boundary condition provides a wave transmissive outflow condition, based onsolving DDt(psi,...
This boundary condition provides an advective outflow condition, based on solving DDt(psi,...
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...