Go to the documentation of this file.
58 phiName_(
dict.getOrDefault<
word>(
"phi",
"phi")),
68 if (
dict.found(
"value"))
95 phiName_(ptf.phiName_),
96 uniformInletValue_(ptf.uniformInletValue_.clone())
110 this->map(ptf, mapper);
121 phiName_(ptf.phiName_),
122 uniformInletValue_(ptf.uniformInletValue_.clone())
134 phiName_(ptf.phiName_),
135 uniformInletValue_(ptf.uniformInletValue_.clone())
150 const scalar t = this->db().time().timeOutputValue();
151 this->refValue() = uniformInletValue_->value(t);
153 const Field<scalar>& phip =
154 this->
patch().template lookupPatchField<surfaceScalarField, scalar>
159 this->valueFraction() = 1.0 -
pos0(phip);
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...
virtual void write(Ostream &) const
virtual void operator=(const UList< Type > &)
Ostream & writeEntryIfDifferent(const word &key, const T &value1, const T &value2)
virtual scalarField & valueFraction()
A class for handling words, derived from Foam::string.
virtual Field< Type > & refValue()
static constexpr const zero Zero
virtual Field< Type > & refGrad()
dimensionedScalar pos0(const dimensionedScalar &ds)
Top level data entry class for use in dictionaries. Provides a mechanism to specify a variable as a c...
virtual void autoMap(const fvPatchFieldMapper &)
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,...
virtual void updateCoeffs()
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
const objectRegistry & db() const
const word & patchType() const
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
void write(vtk::formatter &fmt, const Type &val, const label n=1)
Foam::fvPatchFieldMapper.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
T getOrDefault(const word &keyword, const T &deflt, enum keyType::option matchOpt=keyType::REGEX) const
virtual void rmap(const fvPatchField< Type > &, const labelList &)
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...