Velocity inlet/outlet boundary condition in a rotating frame for patches where the pressure is specified. zero-gradient is applied for outflow (as defined by the flux) and for inflow the velocity is obtained from the flux with a direction normal to the patch faces. More...
#include <finiteVolume/rotatingPressureInletOutletVelocityFvPatchVectorField.H>
Velocity inlet/outlet boundary condition in a rotating frame for patches where the pressure is specified. zero-gradient is applied for outflow (as defined by the flux) and for inflow the velocity is obtained from the flux with a direction normal to the patch faces.
Definition at line 53 of file rotatingPressureInletOutletVelocityFvPatchVectorField.H.
Public Member Functions | |
TypeName ("rotatingPressureInletOutletVelocity") | |
Runtime type information.
| |
rotatingPressureInletOutletVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &) | |
Construct from patch and internal field.
| |
rotatingPressureInletOutletVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &, const dictionary &) | |
Construct from patch, internal field and dictionary.
| |
rotatingPressureInletOutletVelocityFvPatchVectorField (const rotatingPressureInletOutletVelocityFvPatchVectorField &, const fvPatch &, const DimensionedField< vector, volMesh > &, const fvPatchFieldMapper &) | |
Construct by mapping given.
| |
rotatingPressureInletOutletVelocityFvPatchVectorField (const rotatingPressureInletOutletVelocityFvPatchVectorField &) | |
Construct as copy.
| |
virtual tmp< fvPatchVectorField > | clone () const |
Construct and return a clone.
| |
rotatingPressureInletOutletVelocityFvPatchVectorField (const rotatingPressureInletOutletVelocityFvPatchVectorField &, const DimensionedField< vector, volMesh > &) | |
Construct as copy setting internal field reference.
| |
virtual tmp< fvPatchVectorField > | clone (const DimensionedField< vector, volMesh > &iF) const |
Construct and return a clone setting internal field reference.
| |
const vector & | omega () const |
Return the angular velocity of rotation.
| |
void | setOmega (const vector &omega) |
Reset the angular velocity of rotation.
| |
virtual void | write (Ostream &) const |
Write.
|
rotatingPressureInletOutletVelocityFvPatchVectorField | ( | const fvPatch & | p, |
const DimensionedField< vector, volMesh > & | iF | ||
) |
Construct from patch and internal field.
Definition at line 54 of file rotatingPressureInletOutletVelocityFvPatchVectorField.C.
Referenced by rotatingPressureInletOutletVelocityFvPatchVectorField::clone().
rotatingPressureInletOutletVelocityFvPatchVectorField | ( | const fvPatch & | p, |
const DimensionedField< vector, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Construct from patch, internal field and dictionary.
Definition at line 82 of file rotatingPressureInletOutletVelocityFvPatchVectorField.C.
rotatingPressureInletOutletVelocityFvPatchVectorField | ( | const rotatingPressureInletOutletVelocityFvPatchVectorField & | ptf, |
const fvPatch & | p, | ||
const DimensionedField< vector, volMesh > & | iF, | ||
const fvPatchFieldMapper & | mapper | ||
) |
Construct by mapping given.
rotatingPressureInletOutletVelocityFvPatchVectorField onto a new patch
Definition at line 66 of file rotatingPressureInletOutletVelocityFvPatchVectorField.C.
rotatingPressureInletOutletVelocityFvPatchVectorField | ( | const rotatingPressureInletOutletVelocityFvPatchVectorField & | pivpvf ) |
Construct as copy.
Definition at line 97 of file rotatingPressureInletOutletVelocityFvPatchVectorField.C.
rotatingPressureInletOutletVelocityFvPatchVectorField | ( | const rotatingPressureInletOutletVelocityFvPatchVectorField & | pivpvf, |
const DimensionedField< vector, volMesh > & | iF | ||
) |
Construct as copy setting internal field reference.
Definition at line 110 of file rotatingPressureInletOutletVelocityFvPatchVectorField.C.
TypeName | ( | "rotatingPressureInletOutletVelocity" | ) |
Runtime type information.
virtual tmp<fvPatchVectorField> clone | ( | ) | const [inline, virtual]
|
Construct and return a clone.
Reimplemented from pressureInletOutletVelocityFvPatchVectorField.
Definition at line 110 of file rotatingPressureInletOutletVelocityFvPatchVectorField.H.
virtual tmp<fvPatchVectorField> clone | ( | const DimensionedField< vector, volMesh > & | iF ) | const [inline, virtual]
|
Construct and return a clone setting internal field reference.
Reimplemented from pressureInletOutletVelocityFvPatchVectorField.
Definition at line 127 of file rotatingPressureInletOutletVelocityFvPatchVectorField.H.
const vector& omega | ( | ) | const [inline]
|
Return the angular velocity of rotation.
Definition at line 147 of file rotatingPressureInletOutletVelocityFvPatchVectorField.H.
Referenced by rotatingPressureInletOutletVelocityFvPatchVectorField::setOmega().
void setOmega | ( | const vector & | omega ) | [inline]
|
Reset the angular velocity of rotation.
and update the tangentialVelocity
Definition at line 154 of file rotatingPressureInletOutletVelocityFvPatchVectorField.H.
References rotatingPressureInletOutletVelocityFvPatchVectorField::omega().
void write | ( | Ostream & | os ) | const [virtual]
|
Write.
Reimplemented from pressureInletOutletVelocityFvPatchVectorField.
Definition at line 125 of file rotatingPressureInletOutletVelocityFvPatchVectorField.C.
References token::END_STATEMENT, Foam::nl, pressureInletOutletVelocityFvPatchVectorField::phiName(), and Ostream::writeKeyword().