FreeFOAM The Cross-Platform CFD Toolkit
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...

#include <finiteVolume/pressureInletOutletVelocityFvPatchVectorField.H>


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 53 of file pressureInletOutletVelocityFvPatchVectorField.H.

+ Inheritance 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< fvPatchVectorFieldclone () const
 Construct and return a clone.
 pressureInletOutletVelocityFvPatchVectorField (const pressureInletOutletVelocityFvPatchVectorField &, const DimensionedField< vector, volMesh > &)
 Construct as copy setting internal field reference.
virtual tmp< fvPatchVectorFieldclone (const DimensionedField< vector, volMesh > &iF) const
 Construct and return a clone setting internal field reference.
const wordphiName () const
 Return the name of phi.
wordphiName ()
 Return reference to the name of phi to allow adjustment.
const vectorFieldtangentialVelocity () 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)

Constructor & Destructor Documentation

Construct as copy setting internal field reference.

Definition at line 117 of file pressureInletOutletVelocityFvPatchVectorField.C.


Member Function Documentation

TypeName ( "pressureInletOutletVelocity"  )

Runtime type information.

virtual tmp<fvPatchVectorField> clone ( const DimensionedField< vector, volMesh > &  iF) const
inlinevirtual
const word& phiName ( ) const
inline
word& phiName ( )
inline

Return reference to the name of phi to allow adjustment.

Definition at line 144 of file pressureInletOutletVelocityFvPatchVectorField.H.

const vectorField& tangentialVelocity ( ) const
inline
void setTangentialVelocity ( const vectorField tangentialVelocity)
void autoMap ( const fvPatchFieldMapper m)
virtual

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

Definition at line 140 of file pressureInletOutletVelocityFvPatchVectorField.C.

void rmap ( const fvPatchVectorField ptf,
const labelList addr 
)
virtual
void updateCoeffs ( )
virtual

Update the coefficients associated with the patch field.

Definition at line 170 of file pressureInletOutletVelocityFvPatchVectorField.C.

References Foam::I, Foam::neg(), and Foam::sqr().

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

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