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

pressureNormalInletOutletVelocityFvPatchVectorField Class Reference

Velocity inlet/outlet boundary condition 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...

Collaboration diagram for pressureNormalInletOutletVelocityFvPatchVectorField:

List of all members.


Public Member Functions

 TypeName ("pressureNormalInletOutletVelocity")
 Runtime type information.
 pressureNormalInletOutletVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &)
 Construct from patch and internal field.
 pressureNormalInletOutletVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary.
 pressureNormalInletOutletVelocityFvPatchVectorField (const pressureNormalInletOutletVelocityFvPatchVectorField &, const fvPatch &, const DimensionedField< vector, volMesh > &, const fvPatchFieldMapper &)
 Construct by mapping given.
 pressureNormalInletOutletVelocityFvPatchVectorField (const pressureNormalInletOutletVelocityFvPatchVectorField &)
 Construct as copy.
virtual tmp< fvPatchVectorField > clone () const
 Construct and return a clone.
 pressureNormalInletOutletVelocityFvPatchVectorField (const pressureNormalInletOutletVelocityFvPatchVectorField &, 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 & rhoName () const
 Return the name of rho.
word & rhoName ()
 Return reference to the name of rho to allow adjustment.
const word & phiName () const
 Return the name of phi.
word & phiName ()
 Return reference to the name of phi to allow adjustment.
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 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 pressureNormalInletOutletVelocityFvPatchVectorField.H.


Constructor & Destructor Documentation

Construct from patch and internal field.

Definition at line 33 of file pressureNormalInletOutletVelocityFvPatchVectorField.C.

References p.

Construct from patch, internal field and dictionary.

Definition at line 65 of file pressureNormalInletOutletVelocityFvPatchVectorField.C.

Construct as copy setting internal field reference.

Definition at line 96 of file pressureNormalInletOutletVelocityFvPatchVectorField.C.


Member Function Documentation

TypeName ( "pressureNormalInletOutletVelocity"   ) 

Runtime type information.

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

Construct and return a clone.

Definition at line 101 of file pressureNormalInletOutletVelocityFvPatchVectorField.H.

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

Construct and return a clone setting internal field reference.

Definition at line 121 of file pressureNormalInletOutletVelocityFvPatchVectorField.H.

const word& rhoName (  )  const [inline]

Return the name of rho.

Definition at line 141 of file pressureNormalInletOutletVelocityFvPatchVectorField.H.

word& rhoName (  )  [inline]

Return reference to the name of rho to allow adjustment.

Definition at line 147 of file pressureNormalInletOutletVelocityFvPatchVectorField.H.

const word& phiName (  )  const [inline]

Return the name of phi.

Definition at line 153 of file pressureNormalInletOutletVelocityFvPatchVectorField.H.

word& phiName (  )  [inline]

Return reference to the name of phi to allow adjustment.

Definition at line 160 of file pressureNormalInletOutletVelocityFvPatchVectorField.H.

void updateCoeffs (  )  [virtual]

Update the coefficients associated with the patch field.

Definition at line 109 of file pressureNormalInletOutletVelocityFvPatchVectorField.C.

void write ( Ostream &  os  )  const [virtual]

Write.

Definition at line 156 of file pressureNormalInletOutletVelocityFvPatchVectorField.C.

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


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