FreeFOAM The Cross-Platform CFD Toolkit
pressureDirectedInletVelocityFvPatchVectorField Class Reference

Velocity inlet boundary condition for patches where the pressure is specified. The inflow velocity is obtained from the flux with the specified "inletDirection" direction. If reverse flow is possible or expected use the "pressureDirectedInletOutletVelocityFvPatchVectorField" BC instead. More...

#include <finiteVolume/pressureDirectedInletVelocityFvPatchVectorField.H>


Detailed Description

Velocity inlet boundary condition for patches where the pressure is specified. The inflow velocity is obtained from the flux with the specified "inletDirection" direction. If reverse flow is possible or expected use the "pressureDirectedInletOutletVelocityFvPatchVectorField" BC instead.

Source files

Definition at line 54 of file pressureDirectedInletVelocityFvPatchVectorField.H.

List of all members.

Public Member Functions

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

Definition at line 41 of file pressureDirectedInletVelocityFvPatchVectorField.C.

Referenced by pressureDirectedInletVelocityFvPatchVectorField::clone().

Construct from patch, internal field and dictionary.

Definition at line 71 of file pressureDirectedInletVelocityFvPatchVectorField.C.

References fvPatchField< Type >::operator=(), and fvPatch::size().

Construct as copy setting internal field reference.

Definition at line 101 of file pressureDirectedInletVelocityFvPatchVectorField.C.


Member Function Documentation

TypeName ( "pressureDirectedInletVelocity"  )

Runtime type information.

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

Construct and return a clone setting internal field reference.

Definition at line 123 of file pressureDirectedInletVelocityFvPatchVectorField.H.

References pressureDirectedInletVelocityFvPatchVectorField::pressureDirectedInletVelocityFvPatchVectorField().

const word& rhoName ( ) const
inline

Return the name of rho.

Definition at line 143 of file pressureDirectedInletVelocityFvPatchVectorField.H.

word& rhoName ( )
inline

Return reference to the name of rho to allow adjustment.

Definition at line 149 of file pressureDirectedInletVelocityFvPatchVectorField.H.

const word& phiName ( ) const
inline

Return the name of phi.

Definition at line 155 of file pressureDirectedInletVelocityFvPatchVectorField.H.

word& phiName ( )
inline

Return reference to the name of phi to allow adjustment.

Definition at line 161 of file pressureDirectedInletVelocityFvPatchVectorField.H.

void autoMap ( const fvPatchFieldMapper m)
virtual

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

Definition at line 116 of file pressureDirectedInletVelocityFvPatchVectorField.C.

void rmap ( const fvPatchVectorField ptf,
const labelList addr 
)
virtual
void updateCoeffs ( )
virtual
void write ( Ostream os) const
virtual
void operator= ( const fvPatchField< vector > &  pvf)
virtual

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