38 const bool valueRequired
42 phiName_(
dict.lookupOrDefault<
word>(
"phi",
"phi"))
53 const bool mappingRequired
57 phiName_(ptf.phiName_)
69 phiName_(ptf.phiName_)
85 this->patch().template
86 lookupPatchField<surfaceScalarField, scalar>(phiName_);
101 this->patch().template
102 lookupPatchField<surfaceScalarField, scalar>(phiName_);
104 return (1 -
pos0(phi))**
this +
pos0(phi)*(*
this - pif);
112 writeEntryIfDifferent<word>(os,
"phi",
"phi", phiName_);
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
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.
This boundary condition supplies a fixed value constraint, and is the base class for a number of othe...
virtual void write(Ostream &) const
Write.
This boundary condition sets a fixed value. When the flow direction is inwards this acts exactly like...
virtual void write(Ostream &) const
Write.
virtual tmp< Field< Type > > valueInternalCoeffs(const tmp< scalarField > &) const
Return the matrix diagonal coefficients corresponding to the.
virtual tmp< Field< Type > > valueBoundaryCoeffs(const tmp< scalarField > &) const
Return the matrix source coefficients corresponding to the.
fixedValueInletOutletFvPatchField(const fvPatch &, const DimensionedField< Type, volMesh > &, const dictionary &, const bool valueRequired=true)
Construct from patch, internal field and dictionary.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
Traits class for primitives.
A class for managing temporary objects.
A class for handling words, derived from string.
dimensionedScalar pos0(const dimensionedScalar &ds)