pressureInletUniformVelocityFvPatchVectorField Class Reference

This velocity inlet boundary condition is applied to patches where the pressure is specified. The uniform inflow velocity is obtained by averaging the flux over the patch, and then applying it in the direction normal to the patch faces. More...

Inheritance diagram for pressureInletUniformVelocityFvPatchVectorField:
Collaboration diagram for pressureInletUniformVelocityFvPatchVectorField:

Public Member Functions

 TypeName ("pressureInletUniformVelocity")
 Runtime type information. More...
 
 pressureInletUniformVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &)
 Construct from patch and internal field. More...
 
 pressureInletUniformVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary. More...
 
 pressureInletUniformVelocityFvPatchVectorField (const pressureInletUniformVelocityFvPatchVectorField &, const fvPatch &, const DimensionedField< vector, volMesh > &, const fvPatchFieldMapper &)
 Construct by mapping given. More...
 
 pressureInletUniformVelocityFvPatchVectorField (const pressureInletUniformVelocityFvPatchVectorField &)=delete
 Disallow copy without setting internal field reference. More...
 
 pressureInletUniformVelocityFvPatchVectorField (const pressureInletUniformVelocityFvPatchVectorField &, const DimensionedField< vector, volMesh > &)
 Copy constructor setting internal field reference. More...
 
virtual tmp< fvPatchVectorFieldclone (const DimensionedField< vector, volMesh > &iF) const
 Construct and return a clone setting internal field reference. More...
 
virtual bool assignable () const
 Return true: this patch field is altered by assignment. More...
 
virtual void updateCoeffs ()
 Update the coefficients associated with the patch field. More...
 
virtual void operator= (const fvPatchField< vector > &pvf)
 
- Public Member Functions inherited from pressureInletVelocityFvPatchVectorField
 TypeName ("pressureInletVelocity")
 Runtime type information. More...
 
 pressureInletVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &)
 Construct from patch and internal field. More...
 
 pressureInletVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary. More...
 
 pressureInletVelocityFvPatchVectorField (const pressureInletVelocityFvPatchVectorField &, const fvPatch &, const DimensionedField< vector, volMesh > &, const fvPatchFieldMapper &)
 Construct by mapping given pressureInletVelocityFvPatchVectorField. More...
 
 pressureInletVelocityFvPatchVectorField (const pressureInletVelocityFvPatchVectorField &)=delete
 Disallow copy without setting internal field reference. More...
 
 pressureInletVelocityFvPatchVectorField (const pressureInletVelocityFvPatchVectorField &, const DimensionedField< vector, volMesh > &)
 Copy constructor setting internal field reference. More...
 
const wordrhoName () const
 Return the name of rho. More...
 
wordrhoName ()
 Return reference to the name of rho to allow adjustment. More...
 
const wordphiName () const
 Return the name of phi. More...
 
wordphiName ()
 Return reference to the name of phi to allow adjustment. More...
 
virtual void write (Ostream &) const
 Write. More...
 

Detailed Description

This velocity inlet boundary condition is applied to patches where the pressure is specified. The uniform inflow velocity is obtained by averaging the flux over the patch, and then applying it in the direction normal to the patch faces.

Usage
Example of the boundary condition specification:
<patchName>
{
    type            pressureInletUniformVelocity;
    value           uniform 0;
}
Source files

Definition at line 61 of file pressureInletUniformVelocityFvPatchVectorField.H.

Constructor & Destructor Documentation

◆ pressureInletUniformVelocityFvPatchVectorField() [1/5]

◆ pressureInletUniformVelocityFvPatchVectorField() [2/5]

Construct from patch, internal field and dictionary.

Definition at line 46 of file pressureInletUniformVelocityFvPatchVectorField.C.

References pressureInletUniformVelocityFvPatchVectorField::pressureInletUniformVelocityFvPatchVectorField().

Here is the call graph for this function:

◆ pressureInletUniformVelocityFvPatchVectorField() [3/5]

◆ pressureInletUniformVelocityFvPatchVectorField() [4/5]

Disallow copy without setting internal field reference.

◆ pressureInletUniformVelocityFvPatchVectorField() [5/5]

Copy constructor setting internal field reference.

Definition at line 71 of file pressureInletUniformVelocityFvPatchVectorField.C.

Member Function Documentation

◆ TypeName()

TypeName ( "pressureInletUniformVelocity"  )

Runtime type information.

◆ clone()

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

Construct and return a clone setting internal field reference.

Reimplemented from pressureInletVelocityFvPatchVectorField.

Definition at line 114 of file pressureInletUniformVelocityFvPatchVectorField.H.

References pressureInletUniformVelocityFvPatchVectorField::pressureInletUniformVelocityFvPatchVectorField().

Here is the call graph for this function:

◆ assignable()

virtual bool assignable ( ) const
inlinevirtual

Return true: this patch field is altered by assignment.

Reimplemented from pressureInletVelocityFvPatchVectorField.

Definition at line 130 of file pressureInletUniformVelocityFvPatchVectorField.H.

References pressureInletUniformVelocityFvPatchVectorField::operator=(), and pressureInletUniformVelocityFvPatchVectorField::updateCoeffs().

Here is the call graph for this function:

◆ updateCoeffs()

void updateCoeffs ( )
virtual

Update the coefficients associated with the patch field.

Reimplemented from pressureInletVelocityFvPatchVectorField.

Definition at line 82 of file pressureInletUniformVelocityFvPatchVectorField.C.

References Foam::gSum(), Foam::operator==(), and pressureInletVelocityFvPatchVectorField::updateCoeffs().

Referenced by pressureInletUniformVelocityFvPatchVectorField::assignable().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator=()

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

Reimplemented from pressureInletVelocityFvPatchVectorField.

Definition at line 98 of file pressureInletUniformVelocityFvPatchVectorField.C.

References Foam::gSum(), Foam::makePatchTypeField(), and Foam::operator==().

Referenced by pressureInletUniformVelocityFvPatchVectorField::assignable().

Here is the call graph for this function:
Here is the caller graph for this function:

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