Public Member Functions | List of all members
pressureDirectedInletVelocityFvPatchVectorField Class Reference

This velocity inlet boundary condition is applied to patches where the pressure is specified. The inflow velocity is obtained from the flux with the specified inlet direction" direction. More...

Inheritance diagram for pressureDirectedInletVelocityFvPatchVectorField:
Inheritance graph
[legend]
Collaboration diagram for pressureDirectedInletVelocityFvPatchVectorField:
Collaboration graph
[legend]

Public Member Functions

 TypeName ("pressureDirectedInletVelocity")
 
 pressureDirectedInletVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &)
 
 pressureDirectedInletVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &, const dictionary &)
 
 pressureDirectedInletVelocityFvPatchVectorField (const pressureDirectedInletVelocityFvPatchVectorField &, const fvPatch &, const DimensionedField< vector, volMesh > &, const fvPatchFieldMapper &)
 
 pressureDirectedInletVelocityFvPatchVectorField (const pressureDirectedInletVelocityFvPatchVectorField &)
 
virtual tmp< fvPatchVectorFieldclone () const
 
 pressureDirectedInletVelocityFvPatchVectorField (const pressureDirectedInletVelocityFvPatchVectorField &, const DimensionedField< vector, volMesh > &)
 
virtual tmp< fvPatchVectorFieldclone (const DimensionedField< vector, volMesh > &iF) const
 
virtual bool assignable () const
 
const wordrhoName () const
 
wordrhoName ()
 
const wordphiName () const
 
wordphiName ()
 
virtual void autoMap (const fvPatchFieldMapper &)
 
virtual void rmap (const fvPatchVectorField &, const labelList &)
 
virtual void updateCoeffs ()
 
virtual void write (Ostream &) const
 
virtual void operator= (const fvPatchField< vector > &pvf)
 

Detailed Description

This velocity inlet boundary condition is applied to patches where the pressure is specified. The inflow velocity is obtained from the flux with the specified inlet direction" direction.

Usage
Property Description Required Default value
phi flux field name no phi
rho density field name no rho
inletDirection inlet direction per patch face yes

Example of the boundary condition specification:

    <patchName>
    {
        type            pressureDirectedInletVelocity;
        phi             phi;
        rho             rho;
        inletDirection  uniform (1 0 0);
        value           uniform 0;
    }
Note
If reverse flow is possible or expected use the pressureDirectedInletOutletVelocityFvPatchVectorField condition instead.
See also
Foam::fixedValueFvPatchField Foam::pressureDirectedInletOutletVelocityFvPatchVectorField
Source files

Definition at line 101 of file pressureDirectedInletVelocityFvPatchVectorField.H.

Constructor & Destructor Documentation

◆ pressureDirectedInletVelocityFvPatchVectorField() [1/5]

Definition at line 33 of file pressureDirectedInletVelocityFvPatchVectorField.C.

Referenced by pressureDirectedInletVelocityFvPatchVectorField::clone().

Here is the caller graph for this function:

◆ pressureDirectedInletVelocityFvPatchVectorField() [2/5]

◆ pressureDirectedInletVelocityFvPatchVectorField() [3/5]

◆ pressureDirectedInletVelocityFvPatchVectorField() [4/5]

◆ pressureDirectedInletVelocityFvPatchVectorField() [5/5]

Member Function Documentation

◆ TypeName()

TypeName ( "pressureDirectedInletVelocity"  )

◆ clone() [1/2]

virtual tmp<fvPatchVectorField> clone ( ) const
inlinevirtual

◆ clone() [2/2]

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

◆ assignable()

virtual bool assignable ( ) const
inlinevirtual

◆ rhoName() [1/2]

const word& rhoName ( ) const
inline

◆ rhoName() [2/2]

word& rhoName ( )
inline

◆ phiName() [1/2]

const word& phiName ( ) const
inline

◆ phiName() [2/2]

word& phiName ( )
inline

◆ autoMap()

void autoMap ( const fvPatchFieldMapper m)
virtual

◆ rmap()

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

◆ updateCoeffs()

void updateCoeffs ( )
virtual

◆ write()

void write ( Ostream os) const
virtual

Definition at line 172 of file pressureDirectedInletVelocityFvPatchVectorField.C.

References os(), fvPatchField::write(), and Ostream::writeEntryIfDifferent().

Here is the call graph for this function:

◆ operator=()

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

Definition at line 187 of file pressureDirectedInletVelocityFvPatchVectorField.C.

References fvPatchField::operator=().

Here is the call graph for this function:

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