44 psiName_(
"thermo:psi"),
59 gamma_(dict.
lookup<scalar>(
"gamma"))
73 psiName_(ptf.psiName_),
86 psiName_(ptpsf.psiName_),
99 this->patch().template
100 lookupPatchField<volScalarField, scalar>(psiName_);
103 this->db().template lookupObject<surfaceScalarField>(this->phiName_);
107 this->patch().
template 108 lookupPatchField<surfaceScalarField, scalar>(this->phiName_)
114 this->patch().template
115 lookupPatchField<volScalarField, scalar>(this->rhoName_);
123 return phip/this->patch().magSf() +
sqrt(gamma_/psip);
132 writeEntryIfDifferent<word>(os,
"phi",
"phi", this->phiName_);
133 writeEntryIfDifferent<word>(os,
"rho",
"rho", this->rhoName_);
134 writeEntryIfDifferent<word>(os,
"psi",
"thermo:psi", psiName_);
138 if (this->lInf_ > small)
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.
void write(std::ostream &os, const bool binary, List< floatScalar > &fField)
Write floats ascii or binary.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
virtual void write(Ostream &) const
Write.
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
const dimensionSet dimMassFlux
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.
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...