This velocity inlet/outlet boundary condition is applied to patches 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 a direction normal to the patch faces. More...
This velocity inlet/outlet boundary condition is applied to patches 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 a direction normal to the patch faces.
Property | Description | Required | Default value |
---|---|---|---|
phi | flux field name | no | phi |
rho | density field name | no | rho |
Example of the boundary condition specification:
<patchName> { type pressureNormalInletOutletVelocity; phi phi; rho rho; value uniform 0; }
Definition at line 95 of file pressureNormalInletOutletVelocityFvPatchVectorField.H.
pressureNormalInletOutletVelocityFvPatchVectorField | ( | const fvPatch & | p, |
const DimensionedField< vector, volMesh > & | iF | ||
) |
Definition at line 33 of file pressureNormalInletOutletVelocityFvPatchVectorField.C.
References Foam::Zero.
pressureNormalInletOutletVelocityFvPatchVectorField | ( | const fvPatch & | p, |
const DimensionedField< vector, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Definition at line 65 of file pressureNormalInletOutletVelocityFvPatchVectorField.C.
References dict, p, and Foam::Zero.
pressureNormalInletOutletVelocityFvPatchVectorField | ( | const pressureNormalInletOutletVelocityFvPatchVectorField & | ptf, |
const fvPatch & | p, | ||
const DimensionedField< vector, volMesh > & | iF, | ||
const fvPatchFieldMapper & | mapper | ||
) |
Definition at line 50 of file pressureNormalInletOutletVelocityFvPatchVectorField.C.
pressureNormalInletOutletVelocityFvPatchVectorField | ( | const pressureNormalInletOutletVelocityFvPatchVectorField & | pivpvf | ) |
Definition at line 85 of file pressureNormalInletOutletVelocityFvPatchVectorField.C.
pressureNormalInletOutletVelocityFvPatchVectorField | ( | const pressureNormalInletOutletVelocityFvPatchVectorField & | pivpvf, |
const DimensionedField< vector, volMesh > & | iF | ||
) |
Definition at line 97 of file pressureNormalInletOutletVelocityFvPatchVectorField.C.
TypeName | ( | "pressureNormalInletOutletVelocity" | ) |
|
inlinevirtual |
Definition at line 149 of file pressureNormalInletOutletVelocityFvPatchVectorField.H.
|
inlinevirtual |
Definition at line 169 of file pressureNormalInletOutletVelocityFvPatchVectorField.H.
|
inlinevirtual |
Definition at line 189 of file pressureNormalInletOutletVelocityFvPatchVectorField.H.
|
inline |
Definition at line 198 of file pressureNormalInletOutletVelocityFvPatchVectorField.H.
|
inline |
Definition at line 204 of file pressureNormalInletOutletVelocityFvPatchVectorField.H.
|
inline |
Definition at line 210 of file pressureNormalInletOutletVelocityFvPatchVectorField.H.
|
inline |
Definition at line 217 of file pressureNormalInletOutletVelocityFvPatchVectorField.H.
|
virtual |
Definition at line 110 of file pressureNormalInletOutletVelocityFvPatchVectorField.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 154 of file pressureNormalInletOutletVelocityFvPatchVectorField.C.
References os(), fvPatchField::write(), and Ostream::writeEntry().
|
virtual |
Definition at line 168 of file pressureNormalInletOutletVelocityFvPatchVectorField.C.
References Foam::foamVersion::patch.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.