OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

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...

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.

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 48 of file rotatingPressureInletOutletVelocityFvPatchVectorField.H.


Constructor & Destructor Documentation

Construct from patch and internal field.

Definition at line 46 of file rotatingPressureInletOutletVelocityFvPatchVectorField.C.

Construct from patch, internal field and dictionary.

Definition at line 74 of file rotatingPressureInletOutletVelocityFvPatchVectorField.C.

Construct as copy setting internal field reference.

Definition at line 102 of file rotatingPressureInletOutletVelocityFvPatchVectorField.C.


Member Function Documentation

TypeName ( "rotatingPressureInletOutletVelocity"   ) 

Runtime type information.

virtual tmp<fvPatchVectorField> clone (  )  const [inline, virtual]

Construct and return a clone.

Reimplemented from pressureInletOutletVelocityFvPatchVectorField.

Definition at line 107 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 124 of file rotatingPressureInletOutletVelocityFvPatchVectorField.H.

const vector& omega (  )  const [inline]

Return the angular velocity of rotation.

Definition at line 144 of file rotatingPressureInletOutletVelocityFvPatchVectorField.H.

void setOmega ( const vector &  omega  )  [inline]

Reset the angular velocity of rotation.

and update the tangentialVelocity

Definition at line 153 of file rotatingPressureInletOutletVelocityFvPatchVectorField.H.

void write ( Ostream &  os  )  const [virtual]


The documentation for this class was generated from the following files:
Copyright © 2000-2009 OpenCFD Ltd