This boundary condition provides a rotational velocity condition. More...
#include <rotatingWallVelocityFvPatchVectorField.H>


Public Member Functions | |
| TypeName ("rotatingWallVelocity") | |
| Runtime type information. | |
| rotatingWallVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &) | |
| Construct from patch and internal field. | |
| rotatingWallVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &, const dictionary &) | |
| Construct from patch, internal field and dictionary. | |
| rotatingWallVelocityFvPatchVectorField (const rotatingWallVelocityFvPatchVectorField &, const fvPatch &, const DimensionedField< vector, volMesh > &, const fvPatchFieldMapper &) | |
| Construct by mapping given rotatingWallVelocityFvPatchVectorField. | |
| rotatingWallVelocityFvPatchVectorField (const rotatingWallVelocityFvPatchVectorField &) | |
| Construct as copy. | |
| rotatingWallVelocityFvPatchVectorField (const rotatingWallVelocityFvPatchVectorField &, const DimensionedField< vector, volMesh > &) | |
| Construct as copy setting internal field reference. | |
| virtual tmp< fvPatchField< vector > > | clone () const |
| Return a clone. | |
| virtual tmp< fvPatchField< vector > > | clone (const DimensionedField< vector, volMesh > &iF) const |
| Clone with an internal field reference. | |
| const vector & | origin () const |
| Return the origin of the rotation. | |
| const vector & | axis () const |
| Return the axis of the rotation. | |
| vector & | origin () |
| Return non-const access to the origin of the rotation. | |
| vector & | axis () |
| Return non-const access to the axis of the rotation. | |
| virtual void | updateCoeffs () |
| Update the coefficients associated with the patch field. | |
| virtual void | write (Ostream &) const |
| Write. | |
This boundary condition provides a rotational velocity condition.
| Property | Description | Required | Default value |
|---|---|---|---|
origin | origin of rotation in Cartesian coordinates | yes | |
axis | axis of rotation | yes | |
omega | angular velocty of the frame [rad/s] | yes |
Example of the boundary condition specification:
<patchName>
{
type rotatingWallVelocity;
origin (0 0 0);
axis (0 0 1);
omega 100;
}
The omega entry is a Function1 of time, see Foam::Function1Types.
Definition at line 95 of file rotatingWallVelocityFvPatchVectorField.H.
| rotatingWallVelocityFvPatchVectorField | ( | const fvPatch & | p, |
| const DimensionedField< vector, volMesh > & | iF ) |
Construct from patch and internal field.
Definition at line 29 of file rotatingWallVelocityFvPatchVectorField.C.
References p, and Foam::Zero.
Referenced by rotatingWallVelocityFvPatchVectorField(), rotatingWallVelocityFvPatchVectorField(), rotatingWallVelocityFvPatchVectorField(), and TypeName().

| rotatingWallVelocityFvPatchVectorField | ( | const fvPatch & | p, |
| const DimensionedField< vector, volMesh > & | iF, | ||
| const dictionary & | dict ) |
Construct from patch, internal field and dictionary.
Definition at line 43 of file rotatingWallVelocityFvPatchVectorField.C.
References dict, Foam::New(), p, and updateCoeffs().

| rotatingWallVelocityFvPatchVectorField | ( | const rotatingWallVelocityFvPatchVectorField & | ptf, |
| const fvPatch & | p, | ||
| const DimensionedField< vector, volMesh > & | iF, | ||
| const fvPatchFieldMapper & | mapper ) |
Construct by mapping given rotatingWallVelocityFvPatchVectorField.
onto a new patch
Definition at line 64 of file rotatingWallVelocityFvPatchVectorField.C.
References clone(), p, and rotatingWallVelocityFvPatchVectorField().

| rotatingWallVelocityFvPatchVectorField | ( | const rotatingWallVelocityFvPatchVectorField & | rwvpvf | ) |
Construct as copy.
Definition at line 80 of file rotatingWallVelocityFvPatchVectorField.C.
References clone(), and rotatingWallVelocityFvPatchVectorField().

| rotatingWallVelocityFvPatchVectorField | ( | const rotatingWallVelocityFvPatchVectorField & | rwvpvf, |
| const DimensionedField< vector, volMesh > & | iF ) |
Construct as copy setting internal field reference.
Definition at line 93 of file rotatingWallVelocityFvPatchVectorField.C.
References clone(), and rotatingWallVelocityFvPatchVectorField().

| TypeName | ( | "rotatingWallVelocity" | ) |
Runtime type information.
References rotatingWallVelocityFvPatchVectorField().

|
inlinevirtual |
Return a clone.
Definition at line 179 of file rotatingWallVelocityFvPatchVectorField.H.
References fvPatchField< Type >::Clone().
Referenced by rotatingWallVelocityFvPatchVectorField(), rotatingWallVelocityFvPatchVectorField(), and rotatingWallVelocityFvPatchVectorField().


|
inlinevirtual |
Clone with an internal field reference.
Definition at line 187 of file rotatingWallVelocityFvPatchVectorField.H.
References fvPatchField< Type >::Clone().

|
inline |
Return the origin of the rotation.
Definition at line 203 of file rotatingWallVelocityFvPatchVectorField.H.
|
inline |
Return the axis of the rotation.
Definition at line 211 of file rotatingWallVelocityFvPatchVectorField.H.
|
inline |
Return non-const access to the origin of the rotation.
Definition at line 219 of file rotatingWallVelocityFvPatchVectorField.H.
|
inline |
Return non-const access to the axis of the rotation.
Definition at line 227 of file rotatingWallVelocityFvPatchVectorField.H.
|
virtual |
Update the coefficients associated with the patch field.
Definition at line 109 of file rotatingWallVelocityFvPatchVectorField.C.
References Foam::mag(), n, om, and Field< vector >::operator=().
Referenced by rotatingWallVelocityFvPatchVectorField().


|
virtual |
Write.
Definition at line 134 of file rotatingWallVelocityFvPatchVectorField.C.
References os(), fvPatchField< Type >::write(), and fvPatchField< Type >::writeValueEntry().
