Go to the documentation of this file.
65 #ifndef rotatingWallVelocityFvPatchVectorField_H
66 #define rotatingWallVelocityFvPatchVectorField_H
80 class rotatingWallVelocityFvPatchVectorField
82 public fixedValueFvPatchVectorField
93 autoPtr<DataEntry<scalar> >
omega_;
This boundary condition provides a rotational velocity condition.
vector & axis()
Return non-const access to the axis of the rotation.
TypeName("rotatingWallVelocity")
Runtime type information.
A class for managing temporary objects.
rotatingWallVelocityFvPatchVectorField(const fvPatch &, const DimensionedField< vector, volMesh > &)
Construct from patch and internal field.
vector origin_
Origin of the rotation.
virtual tmp< fvPatchVectorField > clone() const
Construct and return a clone.
const vector & axis() const
Return the axis of the rotation.
vector & origin()
Return non-const access to the origin of the rotation.
const vector & origin() const
Return the origin of the rotation.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
autoPtr< DataEntry< scalar > > omega_
Rotational speed.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Vector< scalar > vector
A scalar version of the templated Vector.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
vector axis_
Axis of the rotation.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
Foam::fvPatchFieldMapper.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
virtual void write(Ostream &) const
Write.