48 zeroWallVelocity_(true)
74 zeroWallVelocity_(true)
89 zeroWallVelocity_(
dict.getOrDefault<
bool>(
"zeroWallVelocity", true))
112 baffle_.reset(baffle::New(
p,
dict).ptr());
127 zeroWallVelocity_(true)
142 if (curTimeIndex_ != this->
db().time().
timeIndex())
150 ).boundaryFieldRef();
152 baffle_->vsm().mapToVolume(baffle_->Us(), vfb);
157 if (zeroWallVelocity_)
180 dict_.
remove(
"refGradient");
181 dict_.
remove(
"valueFraction");
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...
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
label timeIndex() const noexcept
Return current time index.
void size(const label n)
Older name for setAddressableSize.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
bool remove(const word &keyword)
Remove an entry specified by keyword.
bool found(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Search for an entry (const access) with the given keyword.
void write(Ostream &os, const bool subDict=true) const
Write dictionary, normally with sub-dictionary formatting.
virtual bool write()
Write the output fields.
A FieldMapper for finite-volume patch fields.
const objectRegistry & db() const
Return local objectRegistry.
virtual void operator=(const UList< vector > &)
const DimensionedField< Type, volMesh > & internalField() const
Return dimensioned internal field reference.
bool updated() const
Return true if the boundary condition has already been updated.
const fvPatch & patch() const
Return patch.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
label index() const
Return the index of this patch in the fvBoundaryMesh.
This boundary condition provides a base class for 'mixed' type boundary conditions,...
virtual Field< vector > & refGrad()
virtual Field< vector > & refValue()
virtual scalarField & valueFraction()
const Time & time() const noexcept
Return time registry.
Type & lookupObjectRef(const word &name, const bool recursive=false) const
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
OBJstream os(runTime.globalPath()/outputName)
#define makePatchTypeField(PatchTypeField, typePatchTypeField)
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
Field< vector > vectorField
Specialisation of Field<T> for vector.
static constexpr const zero Zero
Global zero (0)
A non-counting (dummy) refCount.