This velocity inlet/outlet boundary condition is applied to velocity boundaries where the pressure is specified. A zero-gradient condition is applied for outflow (as defined by the flux); for inflow, the velocity is obtained from the patch-face normal component of the internal-cell value.
More...
|
| | TypeName ("pressureInletOutletVelocity") |
| | Runtime type information. More...
|
| |
| | pressureInletOutletVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &) |
| | Construct from patch and internal field. More...
|
| |
| | pressureInletOutletVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &, const dictionary &) |
| | Construct from patch, internal field and dictionary. More...
|
| |
| | pressureInletOutletVelocityFvPatchVectorField (const this_bctype &, const fvPatch &, const DimensionedField< vector, volMesh > &, const fvPatchFieldMapper &) |
| | Construct by mapping onto a new patch. More...
|
| |
| | pressureInletOutletVelocityFvPatchVectorField (const this_bctype &, const DimensionedField< vector, volMesh > &) |
| | Construct as copy setting internal field reference. More...
|
| |
| | pressureInletOutletVelocityFvPatchVectorField (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 bool | assignable () const |
| | True: this patch field is altered by assignment. More...
|
| |
| const word & | phiName () const |
| | Return the name of phi. More...
|
| |
| word & | phiName () |
| | Return reference to the name of phi to allow adjustment. More...
|
| |
| const vectorField & | tangentialVelocity () const |
| | Return the tangential velocity. More...
|
| |
| void | setTangentialVelocity (const vectorField &tangentialVelocity) |
| | Reset the tangential velocity. More...
|
| |
| virtual void | autoMap (const fvPatchFieldMapper &) |
| | Map (and resize as needed) from self given a mapping object. More...
|
| |
| virtual void | rmap (const fvPatchVectorField &, const labelList &) |
| | Reverse map the given fvPatchField onto this fvPatchField. More...
|
| |
| virtual void | updateCoeffs () |
| | Update the coefficients associated with the patch field. More...
|
| |
| virtual void | write (Ostream &) const |
| | Write. More...
|
| |
| virtual void | operator= (const fvPatchField< vector > &pvf) |
| |
This velocity inlet/outlet boundary condition is applied to velocity boundaries where the pressure is specified. A zero-gradient condition is applied for outflow (as defined by the flux); for inflow, the velocity is obtained from the patch-face normal component of the internal-cell value.
The tangential patch velocity can be optionally specified.
- Usage
| Property | Description | Required | Default value |
phi | flux field name | no | phi |
tangentialVelocity | tangential velocity field | no | |
Example of the boundary condition specification:
<patchName>
{
type pressureInletOutletVelocity;
phi phi;
tangentialVelocity uniform (0 0 0);
value uniform (0 0 0);
}- Note
- Sign conventions:
- positive flux (out of domain): apply zero-gradient condition
- negative flux (into of domain): derive from the flux in the patch-normal direction
- Source files
-
Definition at line 94 of file pressureInletOutletVelocityFvPatchVectorField.H.