FreeFOAM The Cross-Platform CFD Toolkit
pressureInletUniformVelocityFvPatchVectorField Class Reference

Velocity inlet boundary condition for patches where the pressure is specified. The uniform inflow velocity is obtained by averaging the flux over the patch and apply it in the direction normal to the patch faces. More...

#include <finiteVolume/pressureInletUniformVelocityFvPatchVectorField.H>


Detailed Description

Velocity inlet boundary condition for patches where the pressure is specified. The uniform inflow velocity is obtained by averaging the flux over the patch and apply it in the direction normal to the patch faces.

Source files

Definition at line 51 of file pressureInletUniformVelocityFvPatchVectorField.H.

+ Inheritance diagram for pressureInletUniformVelocityFvPatchVectorField:
+ Collaboration diagram for pressureInletUniformVelocityFvPatchVectorField:

List of all members.

Public Member Functions

 TypeName ("pressureInletUniformVelocity")
 Runtime type information.
 pressureInletUniformVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &)
 Construct from patch and internal field.
 pressureInletUniformVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary.
 pressureInletUniformVelocityFvPatchVectorField (const pressureInletUniformVelocityFvPatchVectorField &, const fvPatch &, const DimensionedField< vector, volMesh > &, const fvPatchFieldMapper &)
 Construct by mapping given.
 pressureInletUniformVelocityFvPatchVectorField (const pressureInletUniformVelocityFvPatchVectorField &)
 Construct as copy.
virtual tmp< fvPatchVectorFieldclone () const
 Construct and return a clone.
 pressureInletUniformVelocityFvPatchVectorField (const pressureInletUniformVelocityFvPatchVectorField &, 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.
virtual void updateCoeffs ()
 Update the coefficients associated with the patch field.
virtual void operator= (const fvPatchField< vector > &pvf)
- Public Member Functions inherited from pressureInletVelocityFvPatchVectorField
 TypeName ("pressureInletVelocity")
 Runtime type information.
 pressureInletVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &)
 Construct from patch and internal field.
 pressureInletVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary.
 pressureInletVelocityFvPatchVectorField (const pressureInletVelocityFvPatchVectorField &, const fvPatch &, const DimensionedField< vector, volMesh > &, const fvPatchFieldMapper &)
 Construct by mapping given pressureInletVelocityFvPatchVectorField.
 pressureInletVelocityFvPatchVectorField (const pressureInletVelocityFvPatchVectorField &)
 Construct as copy.
 pressureInletVelocityFvPatchVectorField (const pressureInletVelocityFvPatchVectorField &, const DimensionedField< vector, volMesh > &)
 Construct as copy 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 write (Ostream &) const
 Write.

Constructor & Destructor Documentation

Construct from patch and internal field.

Definition at line 40 of file pressureInletUniformVelocityFvPatchVectorField.C.

Referenced by pressureInletUniformVelocityFvPatchVectorField::clone().

Construct from patch, internal field and dictionary.

Definition at line 64 of file pressureInletUniformVelocityFvPatchVectorField.C.

Construct as copy setting internal field reference.

Definition at line 86 of file pressureInletUniformVelocityFvPatchVectorField.C.


Member Function Documentation

TypeName ( "pressureInletUniformVelocity"  )

Runtime type information.

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 113 of file pressureInletUniformVelocityFvPatchVectorField.H.

References pressureInletUniformVelocityFvPatchVectorField::pressureInletUniformVelocityFvPatchVectorField().

void updateCoeffs ( )
virtual

Update the coefficients associated with the patch field.

Reimplemented from pressureInletVelocityFvPatchVectorField.

Definition at line 97 of file pressureInletUniformVelocityFvPatchVectorField.C.

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

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

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