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.
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...
virtual void write(Ostream &) const
Write.
const dimensionSet dimDensity
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.
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(W...
A class for managing temporary objects.
An abstract base class with a fat-interface to all derived classes covering all possible ways in whic...
const dimensionSet dimArea(sqr(dimLength))
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
This boundary condition provides a wave transmissive outflow condition, based on solving DDt(W...
const dimensionSet dimVelocity