63 #ifndef rotatingWallVelocityFvPatchVectorField_H 64 #define rotatingWallVelocityFvPatchVectorField_H 78 class rotatingWallVelocityFvPatchVectorField
80 public fixedValueFvPatchVectorField
91 autoPtr<Function1<scalar>> omega_;
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...
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
const vector & origin() const
Return the origin of the rotation.
Vector< scalar > vector
A scalar version of the templated Vector.
TypeName("rotatingWallVelocity")
Runtime type information.
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.
const vector & axis() const
Return the axis of the rotation.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
virtual tmp< fvPatchVectorField > clone(const DimensionedField< vector, volMesh > &iF) const
Construct and return a clone setting internal field reference.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
A class for managing temporary objects.