FreeFOAM The Cross-Platform CFD Toolkit
rotatingPressureInletOutletVelocityFvPatchVectorField Class Reference

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>


Detailed Description

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.

Source files

Definition at line 53 of file rotatingPressureInletOutletVelocityFvPatchVectorField.H.

+ Inheritance diagram for rotatingPressureInletOutletVelocityFvPatchVectorField:
+ Collaboration diagram for rotatingPressureInletOutletVelocityFvPatchVectorField:

List of all members.

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.
- Public Member Functions inherited from pressureInletOutletVelocityFvPatchVectorField
 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)

Constructor & Destructor Documentation

Construct from patch, internal field and dictionary.

Definition at line 82 of file rotatingPressureInletOutletVelocityFvPatchVectorField.C.

Construct as copy setting internal field reference.

Definition at line 110 of file rotatingPressureInletOutletVelocityFvPatchVectorField.C.


Member Function Documentation

TypeName ( "rotatingPressureInletOutletVelocity"  )

Runtime type information.

virtual tmp<fvPatchVectorField> clone ( const DimensionedField< vector, volMesh > &  iF) const
inlinevirtual
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().


The documentation for this class was generated from the following files: