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. | |
![]() | |
TypeName ("pressureInletOutletVelocity") | |
Runtime type information. | |
pressureInletOutletVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &) | |
Construct from patch and internal field. | |
pressureInletOutletVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &, const dictionary &) | |
Construct from patch, internal field and dictionary. | |
pressureInletOutletVelocityFvPatchVectorField (const pressureInletOutletVelocityFvPatchVectorField &, const fvPatch &, const DimensionedField< vector, volMesh > &, const fvPatchFieldMapper &) | |
Construct by mapping given. | |
pressureInletOutletVelocityFvPatchVectorField (const pressureInletOutletVelocityFvPatchVectorField &) | |
Construct as copy. | |
pressureInletOutletVelocityFvPatchVectorField (const pressureInletOutletVelocityFvPatchVectorField &, const DimensionedField< vector, volMesh > &) | |
Construct as copy setting internal field reference. | |
const word & | phiName () const |
Return the name of phi. | |
word & | phiName () |
Return reference to the name of phi to allow adjustment. | |
const vectorField & | tangentialVelocity () const |
Return the tangential velocity. | |
void | setTangentialVelocity (const vectorField &tangentialVelocity) |
Reset the tangential velocity. | |
virtual void | autoMap (const fvPatchFieldMapper &) |
Map (and resize as needed) from self given a mapping object. | |
virtual void | rmap (const fvPatchVectorField &, const labelList &) |
Reverse map the given fvPatchField onto this fvPatchField. | |
virtual void | updateCoeffs () |
Update the coefficients associated with the patch field. | |
virtual void | operator= (const fvPatchField< vector > &pvf) |
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.
|
inlinevirtual |
Construct and return a clone.
Reimplemented from pressureInletOutletVelocityFvPatchVectorField.
Definition at line 110 of file rotatingPressureInletOutletVelocityFvPatchVectorField.H.
|
inlinevirtual |
Construct and return a clone setting internal field reference.
Reimplemented from pressureInletOutletVelocityFvPatchVectorField.
Definition at line 127 of file rotatingPressureInletOutletVelocityFvPatchVectorField.H.
|
inline |
Return the angular velocity of rotation.
Definition at line 147 of file rotatingPressureInletOutletVelocityFvPatchVectorField.H.
Referenced by rotatingPressureInletOutletVelocityFvPatchVectorField::setOmega().
|
inline |
Reset the angular velocity of rotation.
and update the tangentialVelocity
Definition at line 154 of file rotatingPressureInletOutletVelocityFvPatchVectorField.H.
References rotatingPressureInletOutletVelocityFvPatchVectorField::omega().
|
virtual |
Write.
Reimplemented from pressureInletOutletVelocityFvPatchVectorField.
Definition at line 125 of file rotatingPressureInletOutletVelocityFvPatchVectorField.C.
References token::END_STATEMENT, Foam::nl, pressureInletOutletVelocityFvPatchVectorField::phiName(), and Ostream::writeKeyword().