73 phiName_(
dict.getOrDefault<
word>(
"phi",
"phi"))
90 const inletOutletFaPatchField<Type>& ptf
120 const Field<scalar>& phip =
121 this->patch().template lookupPatchField<edgeScalarField>(phiName_);
133 os.writeEntryIfDifferent<
word>(
"phi",
"phi", phiName_);
134 this->refValue().writeEntry(
"inletValue",
os);
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
Generic templated field type that is much like a Foam::List except that it is expected to hold numeri...
void assign(const entry &e, const label len)
Assign from a primitive dictionary entry with the following behaviour:
A simple container of IOobject preferences. Can also be used for general handling of read/no-read/rea...
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 a number of values (eg,...
bool updated() const noexcept
True if the boundary condition has already been updated.
const faPatch & patch() const noexcept
Return the patch.
A FieldMapper for finite-area patch fields.
void writeValueEntry(Ostream &os) const
Write *this field as a "value" entry.
virtual void write(Ostream &os) const
Write.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
bool readValueEntry(const dictionary &dict, IOobjectOption::readOption readOpt=IOobjectOption::LAZY_READ)
Read the "value" entry into *this.
void extrapolateInternal()
Assign the patch field from the internal field.
Finite area patch class. Used for 2-D non-Euclidian finite area method.
This boundary condition provides a generic outflow condition, with specified inflow for the case of r...
virtual void write(Ostream &) const
Write includes "value" entry.
inletOutletFaPatchField(const faPatch &, const DimensionedField< Type, areaMesh > &)
Construct from patch and internal field.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
word phiName_
Name of flux field.
This boundary condition provides a base class for 'mixed' type boundary conditions,...
mixedFaPatchField(const faPatch &, const DimensionedField< Type, areaMesh > &)
Construct from patch and internal field.
virtual Field< Type > & refGrad()
virtual Field< Type > & refValue()
virtual scalarField & valueFraction()
A class for handling words, derived from Foam::string.
OBJstream os(runTime.globalPath()/outputName)
dimensionedScalar neg(const dimensionedScalar &ds)
static constexpr const zero Zero
Global zero (0).