Public Member Functions | List of all members
pressureInletVelocityFvPatchVectorField 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 a direction normal to the patch faces. More...

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

Public Member Functions

 TypeName ("pressureInletVelocity")
 
 pressureInletVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &)
 
 pressureInletVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &, const dictionary &)
 
 pressureInletVelocityFvPatchVectorField (const pressureInletVelocityFvPatchVectorField &, const fvPatch &, const DimensionedField< vector, volMesh > &, const fvPatchFieldMapper &)
 
 pressureInletVelocityFvPatchVectorField (const pressureInletVelocityFvPatchVectorField &)
 
virtual tmp< fvPatchVectorFieldclone () const
 
 pressureInletVelocityFvPatchVectorField (const pressureInletVelocityFvPatchVectorField &, 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 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 a direction normal to the patch faces.

Usage
Example of the boundary condition specification:
<patchName>
{
    type            pressureInletVelocity;
    phi             phi;
    rho             rho;
    value           uniform 0;
}
Note
If reverse flow is possible or expected use the pressureInletOutletVelocityFvPatchVectorField condition instead.
See also
Foam::fixedValueFvPatchField Foam::pressureInletOutletVelocityFvPatchVectorField
Source files

Definition at line 72 of file pressureInletVelocityFvPatchVectorField.H.

Constructor & Destructor Documentation

◆ pressureInletVelocityFvPatchVectorField() [1/5]

Definition at line 31 of file pressureInletVelocityFvPatchVectorField.C.

Referenced by pressureInletVelocityFvPatchVectorField::clone().

Here is the caller graph for this function:

◆ pressureInletVelocityFvPatchVectorField() [2/5]

pressureInletVelocityFvPatchVectorField ( const fvPatch p,
const DimensionedField< vector, volMesh > &  iF,
const dictionary dict 
)

Definition at line 59 of file pressureInletVelocityFvPatchVectorField.C.

◆ pressureInletVelocityFvPatchVectorField() [3/5]

Definition at line 44 of file pressureInletVelocityFvPatchVectorField.C.

◆ pressureInletVelocityFvPatchVectorField() [4/5]

Definition at line 73 of file pressureInletVelocityFvPatchVectorField.C.

◆ pressureInletVelocityFvPatchVectorField() [5/5]

Definition at line 85 of file pressureInletVelocityFvPatchVectorField.C.

Member Function Documentation

◆ TypeName()

TypeName ( "pressureInletVelocity"  )

◆ 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

Definition at line 167 of file pressureInletVelocityFvPatchVectorField.H.

◆ rhoName() [2/2]

word& rhoName ( )
inline

Definition at line 173 of file pressureInletVelocityFvPatchVectorField.H.

◆ phiName() [1/2]

const word& phiName ( ) const
inline

Definition at line 179 of file pressureInletVelocityFvPatchVectorField.H.

◆ phiName() [2/2]

word& phiName ( )
inline

Definition at line 185 of file pressureInletVelocityFvPatchVectorField.H.

◆ updateCoeffs()

void updateCoeffs ( )
virtual

◆ write()

void write ( Ostream os) const
virtual

Definition at line 139 of file pressureInletVelocityFvPatchVectorField.C.

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

Here is the call graph for this function:

◆ operator=()

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

Reimplemented in pressureInletUniformVelocityFvPatchVectorField.

Definition at line 151 of file pressureInletVelocityFvPatchVectorField.C.

References fvPatchField::operator=(), and Foam::foamVersion::patch.

Here is the call graph for this function:

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