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...
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.
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); }
Definition at line 94 of file pressureInletOutletVelocityFvPatchVectorField.H.
pressureInletOutletVelocityFvPatchVectorField | ( | const fvPatch & | p, |
const DimensionedField< vector, volMesh > & | iF | ||
) |
Definition at line 32 of file pressureInletOutletVelocityFvPatchVectorField.C.
References Foam::Zero.
Referenced by pressureInletOutletVelocityFvPatchVectorField::clone().
pressureInletOutletVelocityFvPatchVectorField | ( | const fvPatch & | p, |
const DimensionedField< vector, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Definition at line 67 of file pressureInletOutletVelocityFvPatchVectorField.C.
References dict, p, and Foam::Zero.
pressureInletOutletVelocityFvPatchVectorField | ( | const pressureInletOutletVelocityFvPatchVectorField & | ptf, |
const fvPatch & | p, | ||
const DimensionedField< vector, volMesh > & | iF, | ||
const fvPatchFieldMapper & | mapper | ||
) |
Definition at line 48 of file pressureInletOutletVelocityFvPatchVectorField.C.
pressureInletOutletVelocityFvPatchVectorField | ( | const pressureInletOutletVelocityFvPatchVectorField & | pivpvf | ) |
Definition at line 98 of file pressureInletOutletVelocityFvPatchVectorField.C.
pressureInletOutletVelocityFvPatchVectorField | ( | const pressureInletOutletVelocityFvPatchVectorField & | pivpvf, |
const DimensionedField< vector, volMesh > & | iF | ||
) |
Definition at line 110 of file pressureInletOutletVelocityFvPatchVectorField.C.
TypeName | ( | "pressureInletOutletVelocity" | ) |
|
inlinevirtual |
Reimplemented in rotatingPressureInletOutletVelocityFvPatchVectorField.
Definition at line 147 of file pressureInletOutletVelocityFvPatchVectorField.H.
References pressureInletOutletVelocityFvPatchVectorField::pressureInletOutletVelocityFvPatchVectorField().
|
inlinevirtual |
Reimplemented in rotatingPressureInletOutletVelocityFvPatchVectorField.
Definition at line 164 of file pressureInletOutletVelocityFvPatchVectorField.H.
References pressureInletOutletVelocityFvPatchVectorField::pressureInletOutletVelocityFvPatchVectorField().
|
inlinevirtual |
Definition at line 180 of file pressureInletOutletVelocityFvPatchVectorField.H.
|
inline |
Definition at line 189 of file pressureInletOutletVelocityFvPatchVectorField.H.
|
inline |
Definition at line 195 of file pressureInletOutletVelocityFvPatchVectorField.H.
|
inline |
Definition at line 201 of file pressureInletOutletVelocityFvPatchVectorField.H.
Referenced by pressureInletOutletVelocityFvPatchVectorField::setTangentialVelocity().
void setTangentialVelocity | ( | const vectorField & | tangentialVelocity | ) |
Definition at line 124 of file pressureInletOutletVelocityFvPatchVectorField.C.
References n, Foam::foamVersion::patch, and pressureInletOutletVelocityFvPatchVectorField::tangentialVelocity().
|
virtual |
Definition at line 133 of file pressureInletOutletVelocityFvPatchVectorField.C.
|
virtual |
Definition at line 146 of file pressureInletOutletVelocityFvPatchVectorField.C.
|
virtual |
Definition at line 163 of file pressureInletOutletVelocityFvPatchVectorField.C.
References Foam::stringOps::evaluate(), Foam::I, Foam::neg(), Foam::foamVersion::patch, and Foam::sqr().
|
virtual |
Reimplemented in rotatingPressureInletOutletVelocityFvPatchVectorField.
Definition at line 181 of file pressureInletOutletVelocityFvPatchVectorField.C.
References os(), fvPatchField::write(), and Ostream::writeEntryIfDifferent().
|
virtual |
Definition at line 199 of file pressureInletOutletVelocityFvPatchVectorField.C.
References Foam::I, fvPatchField::operator=(), and Foam::transform().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.