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...
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.
Example of the boundary condition specification:
myPatch { type pressureInletUniformVelocity; value uniform 0; }
Definition at line 65 of file pressureInletUniformVelocityFvPatchVectorField.H.
pressureInletUniformVelocityFvPatchVectorField | ( | const fvPatch & | p, |
const DimensionedField< vector, volMesh > & | iF | ||
) |
Construct from patch and internal field.
Definition at line 35 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 59 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 46 of file pressureInletUniformVelocityFvPatchVectorField.C.
pressureInletUniformVelocityFvPatchVectorField | ( | const pressureInletUniformVelocityFvPatchVectorField & | pivpvf | ) |
Construct as copy.
Definition at line 71 of file pressureInletUniformVelocityFvPatchVectorField.C.
pressureInletUniformVelocityFvPatchVectorField | ( | const pressureInletUniformVelocityFvPatchVectorField & | pivpvf, |
const DimensionedField< vector, volMesh > & | iF | ||
) |
Construct as copy setting internal field reference.
Definition at line 81 of file pressureInletUniformVelocityFvPatchVectorField.C.
TypeName | ( | "pressureInletUniformVelocity" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone.
Reimplemented from pressureInletVelocityFvPatchVectorField.
Definition at line 110 of file pressureInletUniformVelocityFvPatchVectorField.H.
References pressureInletUniformVelocityFvPatchVectorField::pressureInletUniformVelocityFvPatchVectorField().
|
inlinevirtual |
Construct and return a clone setting internal field reference.
Reimplemented from pressureInletVelocityFvPatchVectorField.
Definition at line 127 of file pressureInletUniformVelocityFvPatchVectorField.H.
References pressureInletUniformVelocityFvPatchVectorField::pressureInletUniformVelocityFvPatchVectorField().
|
virtual |
Update the coefficients associated with the patch field.
Reimplemented from pressureInletVelocityFvPatchVectorField.
Definition at line 92 of file pressureInletUniformVelocityFvPatchVectorField.C.
References Foam::gSum(), Foam::operator==(), and pressureInletVelocityFvPatchVectorField::updateCoeffs().
|
virtual |
Reimplemented from pressureInletVelocityFvPatchVectorField.
Definition at line 108 of file pressureInletUniformVelocityFvPatchVectorField.C.
References Foam::gSum(), and Foam::operator==().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.