This velocity inlet/outlet boundary condition for pressure boundary 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 the specified inlet direction. More...
This velocity inlet/outlet boundary condition for pressure boundary 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 the specified inlet direction.
A slip condition is applied tangential to the patch.
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 pressureInletOutletParSlipVelocity; value uniform 0; }
Definition at line 96 of file pressureInletOutletParSlipVelocityFvPatchVectorField.H.
pressureInletOutletParSlipVelocityFvPatchVectorField | ( | const fvPatch & | p, |
const DimensionedField< vector, volMesh > & | iF | ||
) |
Definition at line 33 of file pressureInletOutletParSlipVelocityFvPatchVectorField.C.
References Foam::Zero.
pressureInletOutletParSlipVelocityFvPatchVectorField | ( | const pressureInletOutletParSlipVelocityFvPatchVectorField & | ptf, |
const fvPatch & | p, | ||
const DimensionedField< vector, volMesh > & | iF, | ||
const fvPatchFieldMapper & | mapper | ||
) |
Definition at line 50 of file pressureInletOutletParSlipVelocityFvPatchVectorField.C.
pressureInletOutletParSlipVelocityFvPatchVectorField | ( | const fvPatch & | p, |
const DimensionedField< vector, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Definition at line 65 of file pressureInletOutletParSlipVelocityFvPatchVectorField.C.
References dict, p, and Foam::Zero.
pressureInletOutletParSlipVelocityFvPatchVectorField | ( | const pressureInletOutletParSlipVelocityFvPatchVectorField & | pivpvf | ) |
Definition at line 85 of file pressureInletOutletParSlipVelocityFvPatchVectorField.C.
pressureInletOutletParSlipVelocityFvPatchVectorField | ( | const pressureInletOutletParSlipVelocityFvPatchVectorField & | pivpvf, |
const DimensionedField< vector, volMesh > & | iF | ||
) |
Definition at line 97 of file pressureInletOutletParSlipVelocityFvPatchVectorField.C.
TypeName | ( | "pressureInletOutletParSlipVelocity" | ) |
|
inlinevirtual |
Definition at line 150 of file pressureInletOutletParSlipVelocityFvPatchVectorField.H.
|
inlinevirtual |
Definition at line 170 of file pressureInletOutletParSlipVelocityFvPatchVectorField.H.
|
inlinevirtual |
Definition at line 190 of file pressureInletOutletParSlipVelocityFvPatchVectorField.H.
|
inline |
Definition at line 199 of file pressureInletOutletParSlipVelocityFvPatchVectorField.H.
|
inline |
Definition at line 205 of file pressureInletOutletParSlipVelocityFvPatchVectorField.H.
|
inline |
Definition at line 211 of file pressureInletOutletParSlipVelocityFvPatchVectorField.H.
|
inline |
Definition at line 217 of file pressureInletOutletParSlipVelocityFvPatchVectorField.H.
|
virtual |
Definition at line 110 of file pressureInletOutletParSlipVelocityFvPatchVectorField.C.
References Foam::dimArea, Foam::dimDensity, Foam::dimVelocity, Foam::exit(), Foam::FatalError, FatalErrorInFunction, n, Foam::nl, Foam::foamVersion::patch, phi, and Foam::pos0().
|
virtual |
Definition at line 158 of file pressureInletOutletParSlipVelocityFvPatchVectorField.C.
References os(), fvPatchField::write(), and Ostream::writeEntryIfDifferent().
|
virtual |
Definition at line 172 of file pressureInletOutletParSlipVelocityFvPatchVectorField.C.
References fvPatchField::operator=().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.