This boundary condition provides a phase fraction condition based on the local flow conditions, whereby the values are constrained to lay between user-specified upper and lower bounds. The behaviour is described by: More...
Public Member Functions | |
TypeName ("variableHeightFlowRate") | |
variableHeightFlowRateFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &) | |
variableHeightFlowRateFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &) | |
variableHeightFlowRateFvPatchScalarField (const variableHeightFlowRateFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &) | |
variableHeightFlowRateFvPatchScalarField (const variableHeightFlowRateFvPatchScalarField &) | |
virtual tmp< fvPatchField< scalar > > | clone () const |
variableHeightFlowRateFvPatchScalarField (const variableHeightFlowRateFvPatchScalarField &, const DimensionedField< scalar, volMesh > &) | |
virtual tmp< fvPatchField< scalar > > | clone (const DimensionedField< scalar, volMesh > &iF) const |
virtual void | updateCoeffs () |
virtual void | write (Ostream &) const |
Protected Attributes | |
word | phiName_ |
scalar | lowerBound_ |
scalar | upperBound_ |
This boundary condition provides a phase fraction condition based on the local flow conditions, whereby the values are constrained to lay between user-specified upper and lower bounds. The behaviour is described by:
if lower bound <= alpha <= upper bound:
if alpha < lowerBound:
Property | Description | Required | Default value |
---|---|---|---|
phi | flux field name | no | phi |
lowerBound | lower bound for clipping | yes | |
upperBound | upper bound for clipping | yes |
Example of the boundary condition specification:
<patchName> { type variableHeightFlowRate; lowerBound 0.0; upperBound 0.9; value uniform 0; }
Definition at line 99 of file variableHeightFlowRateFvPatchField.H.
variableHeightFlowRateFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Definition at line 32 of file variableHeightFlowRateFvPatchField.C.
Referenced by variableHeightFlowRateFvPatchScalarField::clone().
variableHeightFlowRateFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Definition at line 66 of file variableHeightFlowRateFvPatchField.C.
variableHeightFlowRateFvPatchScalarField | ( | const variableHeightFlowRateFvPatchScalarField & | ptf, |
const fvPatch & | p, | ||
const DimensionedField< scalar, volMesh > & | iF, | ||
const fvPatchFieldMapper & | mapper | ||
) |
Definition at line 50 of file variableHeightFlowRateFvPatchField.C.
Definition at line 99 of file variableHeightFlowRateFvPatchField.C.
variableHeightFlowRateFvPatchScalarField | ( | const variableHeightFlowRateFvPatchScalarField & | ptf, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Definition at line 112 of file variableHeightFlowRateFvPatchField.C.
TypeName | ( | "variableHeightFlowRate" | ) |
|
inlinevirtual |
Definition at line 158 of file variableHeightFlowRateFvPatchField.H.
References variableHeightFlowRateFvPatchScalarField::variableHeightFlowRateFvPatchScalarField().
|
inlinevirtual |
Definition at line 175 of file variableHeightFlowRateFvPatchField.H.
References variableHeightFlowRateFvPatchScalarField::variableHeightFlowRateFvPatchScalarField().
|
virtual |
|
virtual |
Definition at line 169 of file variableHeightFlowRateFvPatchField.C.
References os(), fvPatchField::write(), Ostream::writeEntry(), and Ostream::writeEntryIfDifferent().
|
protected |
Definition at line 109 of file variableHeightFlowRateFvPatchField.H.
Referenced by variableHeightFlowRateFvPatchScalarField::updateCoeffs().
|
protected |
Definition at line 112 of file variableHeightFlowRateFvPatchField.H.
Referenced by variableHeightFlowRateFvPatchScalarField::updateCoeffs().
|
protected |
Definition at line 115 of file variableHeightFlowRateFvPatchField.H.
Referenced by variableHeightFlowRateFvPatchScalarField::updateCoeffs().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.