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 | ||
) |
Definition at line 50 of file rotatingPressureInletOutletVelocityFvPatchVectorField.C.
Referenced by rotatingPressureInletOutletVelocityFvPatchVectorField::clone().
rotatingPressureInletOutletVelocityFvPatchVectorField | ( | const fvPatch & | p, |
const DimensionedField< vector, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Definition at line 78 of file rotatingPressureInletOutletVelocityFvPatchVectorField.C.
References dict, dictionary::getOrDefault(), and word::null.
rotatingPressureInletOutletVelocityFvPatchVectorField | ( | const rotatingPressureInletOutletVelocityFvPatchVectorField & | ptf, |
const fvPatch & | p, | ||
const DimensionedField< vector, volMesh > & | iF, | ||
const fvPatchFieldMapper & | mapper | ||
) |
Definition at line 62 of file rotatingPressureInletOutletVelocityFvPatchVectorField.C.
rotatingPressureInletOutletVelocityFvPatchVectorField | ( | const rotatingPressureInletOutletVelocityFvPatchVectorField & | rppvf | ) |
Definition at line 94 of file rotatingPressureInletOutletVelocityFvPatchVectorField.C.
rotatingPressureInletOutletVelocityFvPatchVectorField | ( | const rotatingPressureInletOutletVelocityFvPatchVectorField & | rppvf, |
const DimensionedField< vector, volMesh > & | iF | ||
) |
Definition at line 107 of file rotatingPressureInletOutletVelocityFvPatchVectorField.C.
TypeName | ( | "rotatingPressureInletOutletVelocity" | ) |
|
inlinevirtual |
Reimplemented from pressureInletOutletVelocityFvPatchVectorField.
Definition at line 163 of file rotatingPressureInletOutletVelocityFvPatchVectorField.H.
|
inlinevirtual |
Reimplemented from pressureInletOutletVelocityFvPatchVectorField.
Definition at line 180 of file rotatingPressureInletOutletVelocityFvPatchVectorField.H.
|
virtual |
Reimplemented from pressureInletOutletVelocityFvPatchVectorField.
Definition at line 122 of file rotatingPressureInletOutletVelocityFvPatchVectorField.C.
References os(), fvPatchField::write(), and Ostream::writeEntry().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.