The pressurePermeableAlphaInletOutletVelocity
is a velocity inlet-outlet boundary condition which can be applied to velocity boundaries for multiphase flows when the pressure boundary condition is specified.
More...
The pressurePermeableAlphaInletOutletVelocity
is a velocity inlet-outlet boundary condition which can be applied to velocity boundaries for multiphase flows when the pressure boundary condition is specified.
In the pressurePermeableAlphaInletOutletVelocity
, an open condition is applied when alpha
is under a user-defined alphaMin
value and a wall condition is applied when alpha
is larger than the alphaMin
.
This boundary condition can be used in conjunction with prghPermeableAlphaTotalPressure
for the p_rgh
variable.
<patchName> { // Mandatory entries type pressurePermeableAlphaInletOutletVelocity; // Optional entries phi phi; rho rho; alpha alpha.water; alphaMin 0.01; // Inherited entries value uniform (0 0 0); ... }
where the entries mean:
Property | Description | Type | Reqd | Deflt |
---|---|---|---|---|
phi | Name of flux field | word | no | phi |
rho | Name of density field | word | no | rho |
alpha | Name of mixture field | word | no | none |
alphaMin | Minimum alpha | scalar | no | 1 |
The inherited entries are elaborated in:
Definition at line 125 of file pressurePermeableAlphaInletOutletVelocityFvPatchVectorField.H.
pressurePermeableAlphaInletOutletVelocityFvPatchVectorField | ( | const fvPatch & | p, |
const DimensionedField< vector, volMesh > & | iF | ||
) |
Definition at line 31 of file pressurePermeableAlphaInletOutletVelocityFvPatchVectorField.C.
References Foam::Zero.
pressurePermeableAlphaInletOutletVelocityFvPatchVectorField | ( | const fvPatch & | p, |
const DimensionedField< vector, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Definition at line 67 of file pressurePermeableAlphaInletOutletVelocityFvPatchVectorField.C.
References dict, p, and Foam::Zero.
pressurePermeableAlphaInletOutletVelocityFvPatchVectorField | ( | const pressurePermeableAlphaInletOutletVelocityFvPatchVectorField & | ptf, |
const fvPatch & | p, | ||
const DimensionedField< vector, volMesh > & | iF, | ||
const fvPatchFieldMapper & | mapper | ||
) |
Definition at line 50 of file pressurePermeableAlphaInletOutletVelocityFvPatchVectorField.C.
pressurePermeableAlphaInletOutletVelocityFvPatchVectorField | ( | const pressurePermeableAlphaInletOutletVelocityFvPatchVectorField & | pivpvf | ) |
Definition at line 89 of file pressurePermeableAlphaInletOutletVelocityFvPatchVectorField.C.
pressurePermeableAlphaInletOutletVelocityFvPatchVectorField | ( | const pressurePermeableAlphaInletOutletVelocityFvPatchVectorField & | pivpvf, |
const DimensionedField< vector, volMesh > & | iF | ||
) |
Definition at line 103 of file pressurePermeableAlphaInletOutletVelocityFvPatchVectorField.C.
TypeName | ( | "permeableAlphaPressureInletOutletVelocity" | ) |
|
inlinevirtual |
Definition at line 185 of file pressurePermeableAlphaInletOutletVelocityFvPatchVectorField.H.
|
inlinevirtual |
Definition at line 205 of file pressurePermeableAlphaInletOutletVelocityFvPatchVectorField.H.
|
inlinevirtual |
Definition at line 225 of file pressurePermeableAlphaInletOutletVelocityFvPatchVectorField.H.
|
inlinenoexcept |
Definition at line 234 of file pressurePermeableAlphaInletOutletVelocityFvPatchVectorField.H.
|
inline |
Definition at line 240 of file pressurePermeableAlphaInletOutletVelocityFvPatchVectorField.H.
|
inlinenoexcept |
Definition at line 246 of file pressurePermeableAlphaInletOutletVelocityFvPatchVectorField.H.
|
inline |
Definition at line 252 of file pressurePermeableAlphaInletOutletVelocityFvPatchVectorField.H.
|
virtual |
Definition at line 120 of file pressurePermeableAlphaInletOutletVelocityFvPatchVectorField.C.
References Foam::dimArea, Foam::dimDensity, Foam::dimVelocity, Foam::exit(), Foam::FatalError, FatalErrorInFunction, forAll, Foam::max(), n, Foam::foamVersion::patch, phi, Foam::pos(), Foam::pos0(), and Foam::Zero.
|
virtual |
Definition at line 178 of file pressurePermeableAlphaInletOutletVelocityFvPatchVectorField.C.
References os(), Foam::vtk::write(), and Ostream::writeEntryIfDifferent().
|
virtual |
Definition at line 194 of file pressurePermeableAlphaInletOutletVelocityFvPatchVectorField.C.
References n, and Foam::foamVersion::patch.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.