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 flux with the specified inlet direction. 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 flux with the specified inlet direction.
Property | Description | Required | Default value |
---|---|---|---|
phi | flux field name | no | phi |
rho | density field name | no | rho |
inletDirection | inlet direction per patch face | yes |
Example of the boundary condition specification:
<patchName> { type pressureDirectedInletOutletVelocity; phi phi; rho rho; inletDirection uniform (1 0 0); value uniform 0; }
Definition at line 102 of file pressureDirectedInletOutletVelocityFvPatchVectorField.H.
pressureDirectedInletOutletVelocityFvPatchVectorField | ( | const fvPatch & | p, |
const DimensionedField< vector, volMesh > & | iF | ||
) |
Definition at line 32 of file pressureDirectedInletOutletVelocityFvPatchVectorField.C.
References Foam::Zero.
pressureDirectedInletOutletVelocityFvPatchVectorField | ( | const fvPatch & | p, |
const DimensionedField< vector, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Definition at line 66 of file pressureDirectedInletOutletVelocityFvPatchVectorField.C.
References dict, p, and Foam::Zero.
pressureDirectedInletOutletVelocityFvPatchVectorField | ( | const pressureDirectedInletOutletVelocityFvPatchVectorField & | ptf, |
const fvPatch & | p, | ||
const DimensionedField< vector, volMesh > & | iF, | ||
const fvPatchFieldMapper & | mapper | ||
) |
Definition at line 50 of file pressureDirectedInletOutletVelocityFvPatchVectorField.C.
pressureDirectedInletOutletVelocityFvPatchVectorField | ( | const pressureDirectedInletOutletVelocityFvPatchVectorField & | pivpvf | ) |
Definition at line 87 of file pressureDirectedInletOutletVelocityFvPatchVectorField.C.
pressureDirectedInletOutletVelocityFvPatchVectorField | ( | const pressureDirectedInletOutletVelocityFvPatchVectorField & | pivpvf, |
const DimensionedField< vector, volMesh > & | iF | ||
) |
Definition at line 100 of file pressureDirectedInletOutletVelocityFvPatchVectorField.C.
TypeName | ( | "pressureDirectedInletOutletVelocity" | ) |
|
inlinevirtual |
Definition at line 159 of file pressureDirectedInletOutletVelocityFvPatchVectorField.H.
|
inlinevirtual |
Definition at line 179 of file pressureDirectedInletOutletVelocityFvPatchVectorField.H.
|
inlinevirtual |
Definition at line 199 of file pressureDirectedInletOutletVelocityFvPatchVectorField.H.
|
inline |
Definition at line 208 of file pressureDirectedInletOutletVelocityFvPatchVectorField.H.
|
inline |
Definition at line 214 of file pressureDirectedInletOutletVelocityFvPatchVectorField.H.
|
inline |
Definition at line 220 of file pressureDirectedInletOutletVelocityFvPatchVectorField.H.
|
inline |
Definition at line 226 of file pressureDirectedInletOutletVelocityFvPatchVectorField.H.
|
virtual |
Definition at line 115 of file pressureDirectedInletOutletVelocityFvPatchVectorField.C.
|
virtual |
Definition at line 125 of file pressureDirectedInletOutletVelocityFvPatchVectorField.C.
|
virtual |
Definition at line 140 of file pressureDirectedInletOutletVelocityFvPatchVectorField.C.
References Foam::dimArea, Foam::dimDensity, Foam::dimVelocity, Foam::exit(), Foam::FatalError, FatalErrorInFunction, n, Foam::foamVersion::patch, phi, and Foam::pos0().
|
virtual |
Definition at line 184 of file pressureDirectedInletOutletVelocityFvPatchVectorField.C.
References os(), fvPatchField::write(), and Ostream::writeEntryIfDifferent().
|
virtual |
Definition at line 199 of file pressureDirectedInletOutletVelocityFvPatchVectorField.C.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.