56 origin_(dict.lookup(
"origin")),
57 axis_(dict.lookup(
"axis")),
60 if (dict.found(
"value"))
87 omega_(ptf.omega_,
false)
98 origin_(rwvpvf.origin_),
100 omega_(rwvpvf.omega_,
false)
112 origin_(rwvpvf.origin_),
114 omega_(rwvpvf.omega_,
false)
127 const scalar t = this->db().time().timeOutputValue();
128 scalar om = omega_->value(t);
133 (-om)*((patch().Cf() - origin_) ^ (axis_/
mag(axis_)))
141 fixedValueFvPatchVectorField::updateCoeffs();
Top level data entry class for use in dictionaries. Provides a mechanism to specify a variable as a c...
This boundary condition supplies a fixed value constraint, and is the base class for a number of othe...
rotatingWallVelocityFvPatchVectorField(const fvPatch &, const DimensionedField< vector, volMesh > &)
Construct from patch and internal field.
A list of keyword definitions, which are a keyword followed by any number of values (e...
void size(const label)
Override size to be inconsistent with allocated storage.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
volVectorField vectorField(fieldObject, mesh)
virtual void write(Ostream &) const
Write.
Macros for easy insertion into run-time selection tables.
This boundary condition provides a rotational velocity condition.
Foam::fvPatchFieldMapper.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
virtual void write(Ostream &) const
Write.
void operator=(const Field< vector > &)
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
dimensioned< scalar > mag(const dimensioned< Type > &)
makePatchTypeField(fvPatchScalarField, atmBoundaryLayerInletEpsilonFvPatchScalarField)