50 const bool valueRequired
54 phiName_(dict.lookupOrDefault<
word>(
"phi",
"phi"))
65 const bool mappingRequired
69 phiName_(ptf.phiName_)
81 phiName_(ptf.phiName_)
97 this->patch().template
98 lookupPatchField<surfaceScalarField, scalar>(phiName_);
113 this->patch().template
114 lookupPatchField<surfaceScalarField, scalar>(phiName_);
116 return (1 -
pos0(phi))**
this +
pos0(phi)*(*
this - pif);
124 writeEntryIfDifferent<word>(os,
"phi",
"phi", phiName_);
This boundary condition supplies a fixed value constraint, and is the base class for a number of othe...
fixedValueInletOutletFvPatchField(const fvPatch &, const DimensionedField< Type, volMesh > &)
Construct from patch and internal field.
A list of keyword definitions, which are a keyword followed by any number of values (e...
virtual void write(Ostream &) const
Write.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
Traits class for primitives.
A class for handling words, derived from string.
This boundary condition sets a fixed value. When the flow direction is inwards this acts exactly like...
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...
dimensionedScalar pos0(const dimensionedScalar &ds)
virtual tmp< Field< Type > > valueInternalCoeffs(const tmp< scalarField > &) const
Return the matrix diagonal coefficients corresponding to the.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
A class for managing temporary objects.
virtual tmp< Field< Type > > valueBoundaryCoeffs(const tmp< scalarField > &) const
Return the matrix source coefficients corresponding to the.