Velocity inlet boundary condition for patches where the pressure is specified. The inflow velocity is obtained from the flux with a direction normal to the patch faces. If reverse flow is possible or expected use the "pressureInletOutletVelocityFvPatchVectorField" BC instead. More...
#include <finiteVolume/pressureInletVelocityFvPatchVectorField.H>
Velocity inlet boundary condition for patches where the pressure is specified. The inflow velocity is obtained from the flux with a direction normal to the patch faces. If reverse flow is possible or expected use the "pressureInletOutletVelocityFvPatchVectorField" BC instead.
Definition at line 53 of file pressureInletVelocityFvPatchVectorField.H.
Inheritance diagram for pressureInletVelocityFvPatchVectorField:
Collaboration diagram for pressureInletVelocityFvPatchVectorField:Public Member Functions | |
| 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.
| |
| virtual tmp< fvPatchVectorField > | clone () const |
| Construct and return a clone.
| |
| pressureInletVelocityFvPatchVectorField (const pressureInletVelocityFvPatchVectorField &, const DimensionedField< vector, volMesh > &) | |
| Construct as copy setting internal field reference.
| |
| virtual tmp< fvPatchVectorField > | clone (const DimensionedField< vector, volMesh > &iF) const |
| Construct and return a clone setting internal field reference.
| |
| const word & | rhoName () const |
| Return the name of rho.
| |
| word & | rhoName () |
| Return reference to the name of rho to allow adjustment.
| |
| const word & | phiName () const |
| Return the name of phi.
| |
| word & | phiName () |
| Return reference to the name of phi to allow adjustment.
| |
| virtual void | updateCoeffs () |
| Update the coefficients associated with the patch field.
| |
| virtual void | write (Ostream &) const |
| Write.
| |
| virtual void | operator= (const fvPatchField< vector > &pvf) |
| pressureInletVelocityFvPatchVectorField | ( | const fvPatch & | p, |
| const DimensionedField< vector, volMesh > & | iF | ||
| ) |
Construct from patch and internal field.
Definition at line 39 of file pressureInletVelocityFvPatchVectorField.C.
Referenced by pressureInletVelocityFvPatchVectorField::clone().
| pressureInletVelocityFvPatchVectorField | ( | const fvPatch & | p, |
| const DimensionedField< vector, volMesh > & | iF, | ||
| const dictionary & | dict | ||
| ) |
Construct from patch, internal field and dictionary.
Definition at line 65 of file pressureInletVelocityFvPatchVectorField.C.
References fvPatchField< Type >::operator=(), and fvPatch::size().
| pressureInletVelocityFvPatchVectorField | ( | const pressureInletVelocityFvPatchVectorField & | ptf, |
| const fvPatch & | p, | ||
| const DimensionedField< vector, volMesh > & | iF, | ||
| const fvPatchFieldMapper & | mapper | ||
| ) |
Construct by mapping given pressureInletVelocityFvPatchVectorField.
onto a new patch
Definition at line 51 of file pressureInletVelocityFvPatchVectorField.C.
| pressureInletVelocityFvPatchVectorField | ( | const pressureInletVelocityFvPatchVectorField & | pivpvf ) |
Construct as copy.
Definition at line 80 of file pressureInletVelocityFvPatchVectorField.C.
| pressureInletVelocityFvPatchVectorField | ( | const pressureInletVelocityFvPatchVectorField & | pivpvf, |
| const DimensionedField< vector, volMesh > & | iF | ||
| ) |
Construct as copy setting internal field reference.
Definition at line 91 of file pressureInletVelocityFvPatchVectorField.C.
| TypeName | ( | "pressureInletVelocity" | ) |
Runtime type information.
| virtual tmp<fvPatchVectorField> clone | ( | ) | const [inline, virtual]
|
Construct and return a clone.
Reimplemented in pressureInletUniformVelocityFvPatchVectorField.
Definition at line 103 of file pressureInletVelocityFvPatchVectorField.H.
References pressureInletVelocityFvPatchVectorField::pressureInletVelocityFvPatchVectorField().
| virtual tmp<fvPatchVectorField> clone | ( | const DimensionedField< vector, volMesh > & | iF ) | const [inline, virtual]
|
Construct and return a clone setting internal field reference.
Reimplemented in pressureInletUniformVelocityFvPatchVectorField.
Definition at line 120 of file pressureInletVelocityFvPatchVectorField.H.
References pressureInletVelocityFvPatchVectorField::pressureInletVelocityFvPatchVectorField().
| const word& rhoName | ( | ) | const [inline]
|
Return the name of rho.
Definition at line 136 of file pressureInletVelocityFvPatchVectorField.H.
| word& rhoName | ( | ) | [inline]
|
Return reference to the name of rho to allow adjustment.
Definition at line 142 of file pressureInletVelocityFvPatchVectorField.H.
| const word& phiName | ( | ) | const [inline]
|
Return the name of phi.
Definition at line 148 of file pressureInletVelocityFvPatchVectorField.H.
| word& phiName | ( | ) | [inline]
|
Return reference to the name of phi to allow adjustment.
Definition at line 154 of file pressureInletVelocityFvPatchVectorField.H.
| void updateCoeffs | ( | ) | [virtual]
|
Update the coefficients associated with the patch field.
Reimplemented in pressureInletUniformVelocityFvPatchVectorField.
Definition at line 104 of file pressureInletVelocityFvPatchVectorField.C.
References Foam::dimArea, Foam::dimDensity, DimensionedField< Type, GeoMesh >::dimensions(), Foam::dimVelocity, Foam::exit(), Foam::FatalError, FatalErrorIn, Foam::operator==(), and phi.
| void write | ( | Ostream & | os ) | const [virtual]
|
Write.
Definition at line 145 of file pressureInletVelocityFvPatchVectorField.C.
References token::END_STATEMENT, Foam::nl, and Ostream::writeKeyword().
| void operator= | ( | const fvPatchField< vector > & | pvf ) | [virtual]
|
Reimplemented in pressureInletUniformVelocityFvPatchVectorField.
Definition at line 163 of file pressureInletVelocityFvPatchVectorField.C.
References fvPatchField< Type >::operator=().