This velocity inlet/outlet boundary condition is applied to patches in a rotating frame where the pressure is specified. A zero-gradient is applied for outflow (as defined by the flux); for inflow, the velocity is obtained from the flux with a direction normal to the patch faces. More...
This velocity inlet/outlet boundary condition is applied to patches in a rotating frame where the pressure is specified. A zero-gradient is applied for outflow (as defined by the flux); for inflow, the velocity is obtained from the flux with a direction normal to the patch faces.
Property | Description | Required | Default value |
---|---|---|---|
phi | flux field name | no | phi |
tangentialVelocity | tangential velocity field | no | |
omega | angular velocity of the frame [rad/s] | yes |
Example of the boundary condition specification:
<patchName> { type rotatingPressureInletOutletVelocity; phi phi; tangentialVelocity uniform (0 0 0); omega 100; }
The omega
entry is a Function1 type, able to describe time varying functions.
Definition at line 106 of file rotatingPressureInletOutletVelocityFvPatchVectorField.H.
rotatingPressureInletOutletVelocityFvPatchVectorField | ( | const fvPatch & | p, |
const DimensionedField< vector, volMesh > & | iF | ||
) |
Construct from patch and internal field.
Definition at line 50 of file rotatingPressureInletOutletVelocityFvPatchVectorField.C.
rotatingPressureInletOutletVelocityFvPatchVectorField | ( | const fvPatch & | p, |
const DimensionedField< vector, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Construct from patch, internal field and dictionary.
Definition at line 78 of file rotatingPressureInletOutletVelocityFvPatchVectorField.C.
rotatingPressureInletOutletVelocityFvPatchVectorField | ( | const rotatingPressureInletOutletVelocityFvPatchVectorField & | ptf, |
const fvPatch & | p, | ||
const DimensionedField< vector, volMesh > & | iF, | ||
const fvPatchFieldMapper & | mapper | ||
) |
Construct by mapping given.
rotatingPressureInletOutletVelocityFvPatchVectorField onto a new patch
Definition at line 62 of file rotatingPressureInletOutletVelocityFvPatchVectorField.C.
rotatingPressureInletOutletVelocityFvPatchVectorField | ( | const rotatingPressureInletOutletVelocityFvPatchVectorField & | rppvf | ) |
Construct as copy.
Definition at line 93 of file rotatingPressureInletOutletVelocityFvPatchVectorField.C.
rotatingPressureInletOutletVelocityFvPatchVectorField | ( | const rotatingPressureInletOutletVelocityFvPatchVectorField & | rppvf, |
const DimensionedField< vector, volMesh > & | iF | ||
) |
Construct as copy setting internal field reference.
Definition at line 106 of file rotatingPressureInletOutletVelocityFvPatchVectorField.C.
TypeName | ( | "rotatingPressureInletOutletVelocity" | ) |
Runtime type information.
|
inlinevirtual |
Return a clone.
Reimplemented from pressureInletOutletVelocityFvPatchVectorField.
Definition at line 189 of file rotatingPressureInletOutletVelocityFvPatchVectorField.H.
References fvPatchField< Type >::Clone().
|
inlinevirtual |
Clone with an internal field reference.
Reimplemented from pressureInletOutletVelocityFvPatchVectorField.
Definition at line 198 of file rotatingPressureInletOutletVelocityFvPatchVectorField.H.
References fvPatchField< Type >::Clone().
|
virtual |
Write.
Reimplemented from pressureInletOutletVelocityFvPatchVectorField.
Definition at line 121 of file rotatingPressureInletOutletVelocityFvPatchVectorField.C.
References os(), fvPatchField< Type >::write(), Ostream::writeEntry(), and fvPatchField< Type >::writeValueEntry().