This boundary condition provides a velocity boundary condition for multphase flow based on a user-specified volumetric flow rate. More...
This boundary condition provides a velocity boundary condition for multphase flow based on a user-specified volumetric flow rate.
The flow rate is made proportional to the phase fraction alpha at each face of the patch and alpha is ensured to be bound between 0 and 1.
Property | Description | Required | Default value |
---|---|---|---|
flowRate | volumetric flow rate [m3/s] | yes | |
alpha | phase-fraction field | yes |
Example of the boundary condition specification:
<patchName> { type variableHeightFlowRateInletVelocity; flowRate 0.2; alpha alpha.water; value uniform (0 0 0); // placeholder }
The flowRate
entry is a Function1
of time, see Foam::Function1Types.
Definition at line 98 of file variableHeightFlowRateInletVelocityFvPatchVectorField.H.
variableHeightFlowRateInletVelocityFvPatchVectorField | ( | const fvPatch & | p, |
const DimensionedField< vector, volMesh > & | iF | ||
) |
Definition at line 30 of file variableHeightFlowRateInletVelocityFvPatchVectorField.C.
Referenced by variableHeightFlowRateInletVelocityFvPatchVectorField::clone().
variableHeightFlowRateInletVelocityFvPatchVectorField | ( | const fvPatch & | p, |
const DimensionedField< vector, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Definition at line 43 of file variableHeightFlowRateInletVelocityFvPatchVectorField.C.
variableHeightFlowRateInletVelocityFvPatchVectorField | ( | const variableHeightFlowRateInletVelocityFvPatchVectorField & | ptf, |
const fvPatch & | p, | ||
const DimensionedField< vector, volMesh > & | iF, | ||
const fvPatchFieldMapper & | mapper | ||
) |
Definition at line 57 of file variableHeightFlowRateInletVelocityFvPatchVectorField.C.
variableHeightFlowRateInletVelocityFvPatchVectorField | ( | const variableHeightFlowRateInletVelocityFvPatchVectorField & | ptf | ) |
Definition at line 72 of file variableHeightFlowRateInletVelocityFvPatchVectorField.C.
variableHeightFlowRateInletVelocityFvPatchVectorField | ( | const variableHeightFlowRateInletVelocityFvPatchVectorField & | ptf, |
const DimensionedField< vector, volMesh > & | iF | ||
) |
Definition at line 84 of file variableHeightFlowRateInletVelocityFvPatchVectorField.C.
TypeName | ( | "variableHeightFlowRateInletVelocity" | ) |
|
inlinevirtual |
Definition at line 152 of file variableHeightFlowRateInletVelocityFvPatchVectorField.H.
|
inlinevirtual |
Definition at line 169 of file variableHeightFlowRateInletVelocityFvPatchVectorField.H.
|
virtual |
Definition at line 98 of file variableHeightFlowRateInletVelocityFvPatchVectorField.C.
References Foam::gSum(), Foam::max(), Foam::min(), n, Foam::operator==(), and Foam::foamVersion::patch.
|
virtual |
Definition at line 126 of file variableHeightFlowRateInletVelocityFvPatchVectorField.C.
References os(), and Foam::vtk::write().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.