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

pressureInletOutletVelocityFvPatchVectorField Class Reference

Velocity inlet/outlet boundary condition patches for 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 patch-face normal component of the internal-cell value. More...

Inheritance diagram for pressureInletOutletVelocityFvPatchVectorField:
Collaboration diagram for pressureInletOutletVelocityFvPatchVectorField:

List of all members.


Public Member Functions

 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.
virtual tmp< fvPatchVectorField > clone () const
 Construct and return a clone.
 pressureInletOutletVelocityFvPatchVectorField (const pressureInletOutletVelocityFvPatchVectorField &, 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 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 write (Ostream &) const
 Write.
virtual void operator= (const fvPatchField< vector > &pvf)

Detailed Description

Velocity inlet/outlet boundary condition patches for 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 patch-face normal component of the internal-cell value.

Source files

Definition at line 48 of file pressureInletOutletVelocityFvPatchVectorField.H.


Constructor & Destructor Documentation

Construct from patch and internal field.

Definition at line 32 of file pressureInletOutletVelocityFvPatchVectorField.C.

References p.

Construct from patch, internal field and dictionary.

Definition at line 67 of file pressureInletOutletVelocityFvPatchVectorField.C.

Construct as copy setting internal field reference.

Definition at line 109 of file pressureInletOutletVelocityFvPatchVectorField.C.


Member Function Documentation

TypeName ( "pressureInletOutletVelocity"   ) 

Runtime type information.

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

Construct and return a clone.

Reimplemented in rotatingPressureInletOutletVelocityFvPatchVectorField.

Definition at line 102 of file pressureInletOutletVelocityFvPatchVectorField.H.

virtual tmp<fvPatchVectorField> clone ( const DimensionedField< vector, volMesh > &  iF  )  const [inline, virtual]

Construct and return a clone setting internal field reference.

Reimplemented in rotatingPressureInletOutletVelocityFvPatchVectorField.

Definition at line 119 of file pressureInletOutletVelocityFvPatchVectorField.H.

const word& phiName (  )  const [inline]

Return the name of phi.

Definition at line 135 of file pressureInletOutletVelocityFvPatchVectorField.H.

word& phiName (  )  [inline]

Return reference to the name of phi to allow adjustment.

Definition at line 141 of file pressureInletOutletVelocityFvPatchVectorField.H.

const vectorField& tangentialVelocity (  )  const [inline]

Return the tangential velocity.

Definition at line 147 of file pressureInletOutletVelocityFvPatchVectorField.H.

void setTangentialVelocity ( const vectorField &  tangentialVelocity  ) 

Reset the tangential velocity.

Definition at line 123 of file pressureInletOutletVelocityFvPatchVectorField.C.

void autoMap ( const fvPatchFieldMapper &  m  )  [virtual]

Map (and resize as needed) from self given a mapping object.

Definition at line 132 of file pressureInletOutletVelocityFvPatchVectorField.C.

void rmap ( const fvPatchVectorField &  ptf,
const labelList &  addr 
) [virtual]

Reverse map the given fvPatchField onto this fvPatchField.

Definition at line 145 of file pressureInletOutletVelocityFvPatchVectorField.C.

void updateCoeffs (  )  [virtual]

Update the coefficients associated with the patch field.

Definition at line 162 of file pressureInletOutletVelocityFvPatchVectorField.C.

void write ( Ostream &  os  )  const [virtual]

void operator= ( const fvPatchField< vector > &  pvf  )  [virtual]


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