This boundary condition provides a velocity outlet boundary condition for patches where the pressure is specified. The outflow velocity is obtained by "zeroGradient" and then corrected from the flux: More...


Public Member Functions | |
| TypeName ("fluxCorrectedVelocity") | |
| Runtime type information. More... | |
| fluxCorrectedVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &) | |
| Construct from patch and internal field. More... | |
| fluxCorrectedVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &, const dictionary &) | |
| Construct from patch, internal field and dictionary. More... | |
| fluxCorrectedVelocityFvPatchVectorField (const this_bctype &, const fvPatch &, const DimensionedField< vector, volMesh > &, const fvPatchFieldMapper &) | |
| Construct by mapping onto a new patch. More... | |
| fluxCorrectedVelocityFvPatchVectorField (const this_bctype &, const DimensionedField< vector, volMesh > &) | |
| Construct as copy setting internal field reference. More... | |
| fluxCorrectedVelocityFvPatchVectorField (const this_bctype &)=delete | |
| No copy without an internal field. More... | |
| virtual tmp< fvPatchField< vector > > | clone (const DimensionedField< vector, volMesh > &iF) const |
| Clone with an internal field reference. More... | |
| virtual void | evaluate (const Pstream::commsTypes commsType=Pstream::commsTypes::buffered) |
| Evaluate the patch field. More... | |
| virtual void | write (Ostream &) const |
| Write. More... | |
This boundary condition provides a velocity outlet boundary condition for patches where the pressure is specified. The outflow velocity is obtained by "zeroGradient" and then corrected from the flux:
where
| = | velocity at the patch [m/s] |
| = | velocity in cells adjacent to the patch [m/s] |
| = | patch normal vectors |
| = | flux at the patch [m3/s or kg/s] |
| = | patch face area vectors [m2] |
where
| Property | Description | Required | Default value |
|---|---|---|---|
phi | name of flux field | no | phi |
rho | name of density field | no | rho |
Example of the boundary condition specification:
<patchName>
{
type fluxCorrectedVelocity;
phi phi;
rho rho;
}Definition at line 127 of file fluxCorrectedVelocityFvPatchVectorField.H.
| 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 this_bctype & | , |
| const fvPatch & | , | ||
| const DimensionedField< vector, volMesh > & | , | ||
| const fvPatchFieldMapper & | |||
| ) |
Construct by mapping onto a new patch.
| fluxCorrectedVelocityFvPatchVectorField | ( | const this_bctype & | , |
| const DimensionedField< vector, volMesh > & | |||
| ) |
Construct as copy setting internal field reference.
|
delete |
No copy without an internal field.
| TypeName | ( | "fluxCorrectedVelocity" | ) |
Runtime type information.
|
inlinevirtual |
Clone with an internal field reference.
Definition at line 205 of file fluxCorrectedVelocityFvPatchVectorField.H.
References fvPatchField< Type >::Clone().

|
virtual |
Evaluate the patch field.
|
virtual |
Write.