56 origin_(dict.lookup(
"origin")),
57 axis_(dict.lookup(
"axis")),
60 if (dict.found(
"value"))
87 omega_(ptf.omega_,
false)
99 origin_(rwvpvf.origin_),
101 omega_(rwvpvf.omega_,
false)
114 const scalar t = this->db().time().userTimeValue();
115 scalar om = omega_->value(t);
120 (-om)*((patch().Cf() - origin_) ^ (axis_/
mag(axis_)))
128 fixedValueFvPatchVectorField::updateCoeffs();
Run-time selectable general function of one variable.
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.
Condition on velocity for a boundary consisting of a rotating solid of revolution, e.g. cylinder. Calculates a tangential component of velocity from the angular velocity and rotational axis and ensures a zero normal component.
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)