Velocity outlet boundary condition for patches where the pressure is specified. The outflow velocity is obtained by "zeroGradient" and then corrected from the flux. If reverse flow is possible or expected use the "pressureInletOutletVelocityFvPatchVectorField" BC instead. More...
#include <finiteVolume/fluxCorrectedVelocityFvPatchVectorField.H>
Velocity outlet boundary condition for patches where the pressure is specified. The outflow velocity is obtained by "zeroGradient" and then corrected from the flux. If reverse flow is possible or expected use the "pressureInletOutletVelocityFvPatchVectorField" BC instead.
Definition at line 53 of file fluxCorrectedVelocityFvPatchVectorField.H.
Public Member Functions | |
TypeName ("fluxCorrectedVelocity") | |
Runtime type information.
| |
fluxCorrectedVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &) | |
Construct from patch and internal field.
| |
fluxCorrectedVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &, const dictionary &) | |
Construct from patch, internal field and dictionary.
| |
fluxCorrectedVelocityFvPatchVectorField (const fluxCorrectedVelocityFvPatchVectorField &, const fvPatch &, const DimensionedField< vector, volMesh > &, const fvPatchFieldMapper &) | |
Construct by mapping given fluxCorrectedVelocityFvPatchVectorField.
| |
virtual tmp< fvPatchVectorField > | clone () const |
Construct and return a clone.
| |
fluxCorrectedVelocityFvPatchVectorField (const fluxCorrectedVelocityFvPatchVectorField &, 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.
| |
virtual void | evaluate (const Pstream::commsTypes commsType=Pstream::blocking) |
Evaluate the patch field.
| |
virtual void | write (Ostream &) const |
Write.
|
fluxCorrectedVelocityFvPatchVectorField | ( | const fvPatch & | p, |
const DimensionedField< vector, volMesh > & | iF | ||
) |
Construct from patch and internal field.
Definition at line 38 of file fluxCorrectedVelocityFvPatchVectorField.C.
Referenced by fluxCorrectedVelocityFvPatchVectorField::clone().
fluxCorrectedVelocityFvPatchVectorField | ( | const fvPatch & | p, |
const DimensionedField< vector, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Construct from patch, internal field and dictionary.
Definition at line 66 of file fluxCorrectedVelocityFvPatchVectorField.C.
fluxCorrectedVelocityFvPatchVectorField | ( | const fluxCorrectedVelocityFvPatchVectorField & | ptf, |
const fvPatch & | p, | ||
const DimensionedField< vector, volMesh > & | iF, | ||
const fvPatchFieldMapper & | mapper | ||
) |
Construct by mapping given fluxCorrectedVelocityFvPatchVectorField.
onto a new patch
Definition at line 51 of file fluxCorrectedVelocityFvPatchVectorField.C.
fluxCorrectedVelocityFvPatchVectorField | ( | const fluxCorrectedVelocityFvPatchVectorField & | fcvpvf, |
const DimensionedField< vector, volMesh > & | iF | ||
) |
Construct as copy setting internal field reference.
Definition at line 82 of file fluxCorrectedVelocityFvPatchVectorField.C.
TypeName | ( | "fluxCorrectedVelocity" | ) |
Runtime type information.
virtual tmp<fvPatchVectorField> clone | ( | ) | const [inline, virtual]
|
Construct and return a clone.
Definition at line 97 of file fluxCorrectedVelocityFvPatchVectorField.H.
References fluxCorrectedVelocityFvPatchVectorField::fluxCorrectedVelocityFvPatchVectorField().
virtual tmp<fvPatchVectorField> clone | ( | const DimensionedField< vector, volMesh > & | iF ) | const [inline, virtual]
|
Construct and return a clone setting internal field reference.
Definition at line 114 of file fluxCorrectedVelocityFvPatchVectorField.H.
References fluxCorrectedVelocityFvPatchVectorField::fluxCorrectedVelocityFvPatchVectorField().
void evaluate | ( | const Pstream::commsTypes | commsType = Pstream::blocking
) |
[virtual]
|
Evaluate the patch field.
Definition at line 96 of file fluxCorrectedVelocityFvPatchVectorField.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 142 of file fluxCorrectedVelocityFvPatchVectorField.C.
References token::END_STATEMENT, Foam::nl, and Ostream::writeKeyword().