44 psiName_(
"thermo:psi"),
59 psiName_(ptf.psiName_),
85 psiName_(ptpsf.psiName_),
98 psiName_(ptpsf.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_);
149 os.writeKeyword(
"gamma") << gamma_ << token::END_STATEMENT <<
nl;
151 if (this->lInf_ > SMALL)
153 os.writeKeyword(
"fieldInf") << this->fieldInf_
154 << token::END_STATEMENT <<
nl;
155 os.writeKeyword(
"lInf") << this->lInf_
156 << token::END_STATEMENT <<
nl;
159 this->writeEntry(
"value", os);
A list of keyword definitions, which are a keyword followed by any number of values (e...
dimensionedScalar sqrt(const dimensionedScalar &ds)
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
Macros for easy insertion into run-time selection tables.
waveTransmissiveFvPatchField(const fvPatch &, const DimensionedField< Type, volMesh > &)
Construct from patch and internal field.
virtual void write(Ostream &) const
Write.
A class for handling words, derived from string.
Foam::fvPatchFieldMapper.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
const dimensionSet dimDensity
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
This boundary condition provides an advective outflow condition, based on solving DDt(psi...
A class for managing temporary objects.
T lookupOrDefault(const word &, const T &, bool recursive=false, bool patternMatch=true) const
Find and return a T,.
An abstract base class with a fat-interface to all derived classes covering all possible ways in whic...
const dimensionSet dimArea(sqr(dimLength))
virtual tmp< scalarField > advectionSpeed() const
Calculate and return the advection speed at the boundary.
This boundary condition provides a wave transmissive outflow condition, based onsolving DDt(psi...
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
const dimensionSet dimVelocity