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...
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 &) | |
Construct as copy. More... | |
virtual tmp< fvPatchVectorField > | clone () const |
Construct and return a clone. More... | |
pressureInletUniformVelocityFvPatchVectorField (const pressureInletUniformVelocityFvPatchVectorField &, const DimensionedField< vector, volMesh > &) | |
Construct as copy setting internal field reference. More... | |
virtual tmp< fvPatchVectorField > | clone (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 &) | |
Construct as copy. More... | |
pressureInletVelocityFvPatchVectorField (const pressureInletVelocityFvPatchVectorField &, const DimensionedField< vector, volMesh > &) | |
Construct as copy setting internal field reference. More... | |
const word & | rhoName () const |
Return the name of rho. More... | |
word & | rhoName () |
Return reference to the name of rho to allow adjustment. More... | |
const word & | phiName () const |
Return the name of phi. More... | |
word & | phiName () |
Return reference to the name of phi to allow adjustment. More... | |
virtual void | write (Ostream &) const |
Write. More... | |
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.
<patchName> { type pressureInletUniformVelocity; value uniform 0; }
Definition at line 62 of file pressureInletUniformVelocityFvPatchVectorField.H.
pressureInletUniformVelocityFvPatchVectorField | ( | const fvPatch & | p, |
const DimensionedField< vector, volMesh > & | iF | ||
) |
Construct from patch and internal field.
Definition at line 30 of file pressureInletUniformVelocityFvPatchVectorField.C.
Referenced by pressureInletUniformVelocityFvPatchVectorField::clone().
pressureInletUniformVelocityFvPatchVectorField | ( | const fvPatch & | p, |
const DimensionedField< vector, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Construct from patch, internal field and dictionary.
Definition at line 54 of file pressureInletUniformVelocityFvPatchVectorField.C.
pressureInletUniformVelocityFvPatchVectorField | ( | const pressureInletUniformVelocityFvPatchVectorField & | ptf, |
const fvPatch & | p, | ||
const DimensionedField< vector, volMesh > & | iF, | ||
const fvPatchFieldMapper & | mapper | ||
) |
Construct by mapping given.
pressureInletUniformVelocityFvPatchVectorField onto a new patch
Definition at line 41 of file pressureInletUniformVelocityFvPatchVectorField.C.
pressureInletUniformVelocityFvPatchVectorField | ( | const pressureInletUniformVelocityFvPatchVectorField & | pivpvf | ) |
Construct as copy.
Definition at line 66 of file pressureInletUniformVelocityFvPatchVectorField.C.
pressureInletUniformVelocityFvPatchVectorField | ( | const pressureInletUniformVelocityFvPatchVectorField & | pivpvf, |
const DimensionedField< vector, volMesh > & | iF | ||
) |
Construct as copy setting internal field reference.
Definition at line 76 of file pressureInletUniformVelocityFvPatchVectorField.C.
TypeName | ( | "pressureInletUniformVelocity" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone.
Reimplemented from pressureInletVelocityFvPatchVectorField.
Definition at line 120 of file pressureInletUniformVelocityFvPatchVectorField.H.
References pressureInletUniformVelocityFvPatchVectorField::pressureInletUniformVelocityFvPatchVectorField().
|
inlinevirtual |
Construct and return a clone setting internal field reference.
Reimplemented from pressureInletVelocityFvPatchVectorField.
Definition at line 141 of file pressureInletUniformVelocityFvPatchVectorField.H.
References pressureInletUniformVelocityFvPatchVectorField::pressureInletUniformVelocityFvPatchVectorField().
|
inlinevirtual |
Return true: this patch field is altered by assignment.
Reimplemented from pressureInletVelocityFvPatchVectorField.
Definition at line 159 of file pressureInletUniformVelocityFvPatchVectorField.H.
|
virtual |
Update the coefficients associated with the patch field.
Reimplemented from pressureInletVelocityFvPatchVectorField.
Definition at line 87 of file pressureInletUniformVelocityFvPatchVectorField.C.
References Foam::gSum(), Foam::operator==(), Foam::foamVersion::patch, and pressureInletVelocityFvPatchVectorField::updateCoeffs().
|
virtual |
Reimplemented from pressureInletVelocityFvPatchVectorField.
Definition at line 103 of file pressureInletUniformVelocityFvPatchVectorField.C.
References Foam::gSum(), Foam::operator==(), and Foam::foamVersion::patch.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.