Go to the documentation of this file.
45 this->valueFraction() = 0.0;
72 phiName_(
dict.getOrDefault<
word>(
"phi",
"phi"))
76 if (
dict.found(
"value"))
89 this->valueFraction() = 0.0;
127 this->
patch().
template lookupPatchField<edgeScalarField, scalar>
132 this->valueFraction() = 1.0 -
pos(phip);
142 os.writeEntryIfDifferent<
word>(
"phi",
"phi", phiName_);
143 this->refValue().writeEntry(
"inletValue",
os);
144 this->writeEntry(
"value",
os);
faPatchField<Type> abstract base class. This class gives a fat-interface to all derived classes cover...
A class for handling words, derived from Foam::string.
virtual void write(Ostream &) const
Write.
Generic templated field type.
Author Zeljko Tukovic, FMENA Hrvoje Jasak, Wikki Ltd.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
OBJstream os(runTime.globalPath()/outputName)
inletOutletFaPatchField(const faPatch &, const DimensionedField< Type, areaMesh > &)
Construct from patch and internal field.
Author Zeljko Tukovic, FMENA Hrvoje Jasak, Wikki Ltd.
const std::string patch
OpenFOAM patch number as a std::string.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
A traits class, which is primarily used for primitives.
void write(vtk::formatter &fmt, const Type &val, const label n=1)
Component-wise write of a value (N times)
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Finite area patch class. Used for 2-D non-Euclidian finite area method.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
dimensionedScalar pos(const dimensionedScalar &ds)