Go to the documentation of this file.
36 if (this->cyclicPatch().owner())
38 this->jump_ = this->jumpTable_->value(this->db().time().value());
56 nonDimensional_(
false),
71 phiName_(
dict.getOrDefault<
word>(
"phi",
"phi")),
72 rhoName_(
dict.getOrDefault<
word>(
"rho",
"rho")),
73 uniformJump_(
dict.getOrDefault(
"uniformJump",
false)),
74 nonDimensional_(
dict.getOrDefault(
"nonDimensional",
false)),
85 if (this->cyclicPatch().owner())
90 if (
dict.found(
"value"))
99 this->
evaluate(Pstream::commsTypes::blocking);
114 phiName_(rhs.phiName_),
115 rhoName_(rhs.rhoName_),
116 uniformJump_(rhs.uniformJump_),
117 nonDimensional_(rhs.nonDimensional_),
118 rpm_(rhs.rpm_.clone()),
130 phiName_(rhs.phiName_),
131 rhoName_(rhs.rhoName_),
132 uniformJump_(rhs.uniformJump_),
133 nonDimensional_(rhs.nonDimensional_),
134 rpm_(rhs.rpm_.clone()),
147 phiName_(rhs.phiName_),
148 rhoName_(rhs.rhoName_),
149 uniformJump_(rhs.uniformJump_),
150 nonDimensional_(rhs.nonDimensional_),
151 rpm_(rhs.rpm_.clone()),
177 os.writeEntryIfDifferent<
word>(
"phi",
"phi", phiName_);
178 os.writeEntryIfDifferent<
word>(
"rho",
"rho", rhoName_);
182 os.writeEntry(
"uniformJump",
"true");
187 os.writeEntry(
"nonDimensional",
"true");
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.
Top level data entry class for use in dictionaries. Provides a mechanism to specify a variable as a c...
virtual void write(Ostream &os) const
Write.
Generic templated field type.
This boundary condition provides a jump condition, using the cyclic condition as a base.
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)
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
Global function forwards to reuseTmpDimensionedField::New.
This boundary condition provides a jump condition, using the cyclic condition as a base.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
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,...
fanFvPatchField(const fvPatch &, const DimensionedField< Type, volMesh > &)
Construct from patch and internal field.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
string evaluate(label fieldWidth, const std::string &s, size_t pos=0, size_t len=std::string::npos)
String evaluation with specified (positive, non-zero) field width.