56 phiName_(
dict.lookupOrDefault<
word>(
"phi",
"phi"))
61 if (
dict.found(
"value"))
88 phiName_(ptf.phiName_)
100 phiName_(ptf.phiName_)
115 this->patch().template lookupPatchField<surfaceScalarField, scalar>
120 this->valueFraction() =
neg(phip);
130 if (phiName_ !=
"phi")
134 writeEntry(os,
"inletValue", this->refValue());
149 this->valueFraction()*this->refValue()
150 + (1 - this->valueFraction())*ptf
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
const dimensionSet & dimensions() const
Return dimensions.
Pre-declare SubField and related Field type.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A list of keyword definitions, which are a keyword followed by any number of values (e....
Abstract base class for field mapping.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
virtual void write(Ostream &) const
Write.
virtual void operator=(const UList< Type > &)
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
This boundary condition provides a generic outflow condition, with specified inflow for the case of r...
virtual void write(Ostream &) const
Write.
inletOutletFvPatchField(const fvPatch &, const DimensionedField< Type, volMesh > &)
Construct from patch and internal field.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
This boundary condition provides a base class for 'mixed' type boundary conditions,...
virtual Field< Type > & refValue()
virtual scalarField & valueFraction()
virtual Field< Type > & refGrad()
A class for handling words, derived from string.
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
dimensionedScalar neg(const dimensionedScalar &ds)