Go to the documentation of this file.
43 this->refValue() =
Zero;
44 this->refGrad() =
Zero;
45 this->valueFraction() = 0.0;
58 phiName_(
dict.getOrDefault<
word>(
"phi",
"phi")),
64 this->patchType() =
dict.getOrDefault<
word>(
"patchType", word::null);
66 uniformInletValue_->value(this->db().time().timeOutputValue());
68 if (
dict.found(
"value"))
80 this->refGrad() =
Zero;
81 this->valueFraction() = 0.0;
102 uniformInletValue_->value(this->db().time().timeOutputValue());
104 this->refGrad() =
Zero;
105 this->valueFraction() = 0.0;
110 this->map(ptf, mapper);
150 const scalar t = this->db().time().timeOutputValue();
151 this->refValue() = uniformInletValue_->value(t);
154 this->
patch().template lookupPatchField<surfaceScalarField, scalar>
159 this->valueFraction() = 1.0 -
pos0(phip);
169 os.writeEntryIfDifferent<
word>(
"phi",
"phi", phiName_);
170 this->uniformInletValue_->writeData(
os);
171 this->writeEntry(
"value",
os);
187 uniformInletValue_->value(this->db().time().timeOutputValue());
202 uniformInletValue_->value(this->db().time().timeOutputValue());
216 this->valueFraction()*this->refValue()
217 + (1 - this->valueFraction())*ptf
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
A class for handling words, derived from Foam::string.
static constexpr const zero Zero
Global zero (0)
dimensionedScalar pos0(const dimensionedScalar &ds)
Top level data entry class for use in dictionaries. Provides a mechanism to specify a variable as a c...
Generic templated field type.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
OBJstream os(runTime.globalPath()/outputName)
This boundary condition provides a base class for 'mixed' type boundary conditions,...
const std::string patch
OpenFOAM patch number as a std::string.
const word & patchType() const
Optional patch type.
void write(vtk::formatter &fmt, const Type &val, const label n=1)
Component-wise write of a value (N times)
Foam::fvPatchFieldMapper.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...