Public Member Functions | Protected Attributes | List of all members
variableHeightFlowRateFvPatchScalarField Class Reference

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...

Inheritance diagram for variableHeightFlowRateFvPatchScalarField:
Inheritance graph
[legend]
Collaboration diagram for variableHeightFlowRateFvPatchScalarField:
Collaboration graph
[legend]

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_
 

Detailed Description

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 alpha > upperBound:

if lower bound <= alpha <= upper bound:

if alpha < lowerBound:

Usage
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;
    }
Source files

Definition at line 99 of file variableHeightFlowRateFvPatchField.H.

Constructor & Destructor Documentation

◆ variableHeightFlowRateFvPatchScalarField() [1/5]

variableHeightFlowRateFvPatchScalarField ( const fvPatch p,
const DimensionedField< scalar, volMesh > &  iF 
)

Definition at line 32 of file variableHeightFlowRateFvPatchField.C.

Referenced by variableHeightFlowRateFvPatchScalarField::clone().

Here is the caller graph for this function:

◆ variableHeightFlowRateFvPatchScalarField() [2/5]

variableHeightFlowRateFvPatchScalarField ( const fvPatch p,
const DimensionedField< scalar, volMesh > &  iF,
const dictionary dict 
)

Definition at line 66 of file variableHeightFlowRateFvPatchField.C.

References dict, and p.

◆ variableHeightFlowRateFvPatchScalarField() [3/5]

Definition at line 50 of file variableHeightFlowRateFvPatchField.C.

◆ variableHeightFlowRateFvPatchScalarField() [4/5]

Definition at line 99 of file variableHeightFlowRateFvPatchField.C.

◆ variableHeightFlowRateFvPatchScalarField() [5/5]

Definition at line 112 of file variableHeightFlowRateFvPatchField.C.

Member Function Documentation

◆ TypeName()

TypeName ( "variableHeightFlowRate"  )

◆ clone() [1/2]

virtual tmp<fvPatchField<scalar> > clone ( ) const
inlinevirtual

Definition at line 158 of file variableHeightFlowRateFvPatchField.H.

References variableHeightFlowRateFvPatchScalarField::variableHeightFlowRateFvPatchScalarField().

Here is the call graph for this function:

◆ clone() [2/2]

virtual tmp<fvPatchField<scalar> > clone ( const DimensionedField< scalar, volMesh > &  iF) const
inlinevirtual

Definition at line 175 of file variableHeightFlowRateFvPatchField.H.

References variableHeightFlowRateFvPatchScalarField::variableHeightFlowRateFvPatchScalarField().

Here is the call graph for this function:

◆ updateCoeffs()

void updateCoeffs ( )
virtual

◆ write()

void write ( Ostream os) const
virtual

Definition at line 169 of file variableHeightFlowRateFvPatchField.C.

References os(), fvPatchField::write(), Ostream::writeEntry(), and Ostream::writeEntryIfDifferent().

Here is the call graph for this function:

Member Data Documentation

◆ phiName_

word phiName_
protected

◆ lowerBound_

scalar lowerBound_
protected

◆ upperBound_

scalar upperBound_
protected

The documentation for this class was generated from the following files: