40void velocityFilmShellFvPatchVectorField::create_baffle()
63 zeroWallVelocity_(true)
79 parent_bctype(ptf,
p, iF, mapper),
82 zeroWallVelocity_(true)
104 "value",
"refValue",
"refGradient",
"valueFraction"
109 zeroWallVelocity_(
dict.getOrDefault<
bool>(
"zeroWallVelocity",
true))
113 if (this->readMixedEntries(
dict))
140 parent_bctype(ptf, iF),
143 zeroWallVelocity_(true)
165 static bool warned =
false;
170 <<
"Ignoring, regionFaModels are disabled" <<
endl;
177 if (curTimeIndex_ != this->
db().time().
timeIndex())
181 auto& baffle = baffle_();
185 baffle.vsm().mapToVolumePatch(baffle.Us(), pfld,
patch().index());
190 if (zeroWallVelocity_)
Macros for easy insertion into run-time selection tables.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
@ MUST_READ
Reading required.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
label timeIndex() const noexcept
Return the current time index.
A wrapper for dictionary content, without operators that could affect inheritance patterns.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
void write(Ostream &os, const bool subDict=true) const
Write dictionary, normally with sub-dictionary formatting.
const objectRegistry & db() const
The associated objectRegistry.
const fvPatch & patch() const noexcept
Return the patch.
bool updated() const noexcept
True if the boundary condition has already been updated.
A FieldMapper for finite-volume patch fields.
virtual void updateCoeffs()
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
virtual void write(Ostream &) const
virtual Field< vector > & refGrad()
virtual Field< vector > & refValue()
virtual scalarField & valueFraction()
const Time & time() const noexcept
Return time registry.
static autoPtr< liquidFilmBase > New(const fvMesh &mesh, const dictionary &dict)
Return a reference to the selected model using dictionary.
velocityFilmShellFvPatchVectorField(const fvPatch &, const DimensionedField< vector, volMesh > &)
Construct from patch and internal field.
virtual void write(Ostream &) const
Write.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
OBJstream os(runTime.globalPath()/outputName)
#define makePatchTypeField(PatchTypeField, typePatchTypeField)
Define a concrete fvPatchField type and add to run-time tables Example, (fvPatchScalarField,...
#define InfoInFunction
Report an information message using Foam::Info.
bool allowFaModels() noexcept
The enable/disable state for regionFaModel (default: true).
List< word > wordList
List of word.
Ostream & endl(Ostream &os)
Add newline and flush stream.
Field< vector > vectorField
Specialisation of Field<T> for vector.
static constexpr const zero Zero
Global zero (0).
fvPatchField< vector > fvPatchVectorField