Public Member Functions | List of all members
velocityGroup Class Reference

This diameterModel is intended for use with a populationBalanceModel in order to simulate polydispersed bubbly or particulate flows. It can hold any number of sizeGroups from which the Sauter mean diameter is calculated. It can also be used as a diameterModel without a populationBalance and would then behave like a constantDiameter model. In this case, some arbitrary name must be entered for the populationBalance keyword. More...

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

Public Member Functions

 TypeName ("velocityGroup")
 
 velocityGroup (const dictionary &diameterProperties, const phaseModel &phase)
 
virtual ~velocityGroup ()
 
const wordpopBalName () const
 
const volScalarFieldf () const
 
const dimensionedScalarformFactor () const
 
const PtrList< sizeGroup > & sizeGroups () const
 
const tmp< fv::convectionScheme< scalar > > & mvConvection () const
 
const volScalarFielddmdt () const
 
volScalarFielddmdtRef ()
 
void preSolve ()
 
void postSolve ()
 
virtual bool read (const dictionary &diameterProperties)
 
virtual tmp< volScalarFieldd () const
 
- Public Member Functions inherited from diameterModel
 TypeName ("diameterModel")
 
 declareRunTimeSelectionTable (autoPtr, diameterModel, dictionary,(const dictionary &dict, const phaseModel &phase),(dict, phase))
 
 diameterModel (const dictionary &dict, const phaseModel &phase)
 
virtual ~diameterModel ()=default
 
 TypeName ("diameterModel")
 
 declareRunTimeSelectionTable (autoPtr, diameterModel, dictionary,(const dictionary &dict, const phaseModel &phase),(dict, phase))
 
 diameterModel (const dictionary &dict, const phaseModel &phase)
 
virtual ~diameterModel ()=default
 
const dictionarydiameterProperties () const
 
const phaseModelphase () const
 
virtual void correct ()
 
 TypeName ("diameterModel")
 
 declareRunTimeSelectionTable (autoPtr, diameterModel, dictionary,(const dictionary &dict, const phaseModel &phase),(dict, phase))
 
 diameterModel (const dictionary &dict, const phaseModel &phase)
 
virtual ~diameterModel ()=default
 
const dictionarydiameterProperties () const
 
const phaseModelphase () const
 
virtual void correct ()
 

Additional Inherited Members

- Static Public Member Functions inherited from diameterModel
static autoPtr< diameterModelNew (const dictionary &dict, const phaseModel &phase)
 
static autoPtr< diameterModelNew (const dictionary &diameterProperties, const phaseModel &phase)
 
static autoPtr< diameterModelNew (const dictionary &dict, const phaseModel &phase)
 
- Protected Attributes inherited from diameterModel
const dictionarydict_
 
const phaseModelphase_
 
dictionary diameterProperties_
 

Detailed Description

This diameterModel is intended for use with a populationBalanceModel in order to simulate polydispersed bubbly or particulate flows. It can hold any number of sizeGroups from which the Sauter mean diameter is calculated. It can also be used as a diameterModel without a populationBalance and would then behave like a constantDiameter model. In this case, some arbitrary name must be entered for the populationBalance keyword.

Usage
Property Description
populationBalance Name of the corresponding populationBalance
formFactor Form factor for converting diameter into volume
sizeGroups List of sizeGroups

Example

    diameterModel   velocityGroup;
    velocityGroupCoeffs
    {
        populationBalance    bubbles;

        formFactor      0.5235987756;

        sizeGroups
        (
            f0{d  1.00e-3; value 0;}
            f1{d  1.08e-3; value 0;}
            f2{d  1.16e-3; value 0.25;}
            f3{d  1.25e-3; value 0.5;}
            f4{d  1.36e-3; value 0.25;}
            f5{d  1.46e-3; value 0;}
            ...
        );
    }
See also
Foam::diameterModels::sizeGroup Foam::diameterModels::populationBalanceModel
Source files

Definition at line 103 of file velocityGroup.H.

Constructor & Destructor Documentation

◆ velocityGroup()

velocityGroup ( const dictionary diameterProperties,
const phaseModel phase 
)

◆ ~velocityGroup()

~velocityGroup ( )
virtual

Definition at line 270 of file velocityGroup.C.

Member Function Documentation

◆ TypeName()

TypeName ( "velocityGroup"  )

◆ popBalName()

const Foam::word & popBalName ( ) const
inline

Definition at line 24 of file velocityGroupI.H.

◆ f()

const Foam::volScalarField & f ( ) const
inline

Definition at line 31 of file velocityGroupI.H.

◆ formFactor()

const Foam::dimensionedScalar & formFactor ( ) const
inline

Definition at line 38 of file velocityGroupI.H.

Referenced by sizeDistribution::write().

Here is the caller graph for this function:

◆ sizeGroups()

const Foam::PtrList< Foam::diameterModels::sizeGroup > & sizeGroups ( ) const
inline

Definition at line 45 of file velocityGroupI.H.

Referenced by phaseChange::addToDriftRate(), constantNucleation::correct(), wallBoiling::correct(), and phaseChange::correct().

Here is the caller graph for this function:

◆ mvConvection()

const Foam::tmp< Foam::fv::convectionScheme< Foam::scalar > > & mvConvection ( ) const
inline

Definition at line 52 of file velocityGroupI.H.

Referenced by populationBalanceModel::solve().

Here is the caller graph for this function:

◆ dmdt()

const Foam::volScalarField & dmdt ( ) const
inline

Definition at line 59 of file velocityGroupI.H.

Referenced by populationBalanceModel::solve().

Here is the caller graph for this function:

◆ dmdtRef()

Foam::volScalarField & dmdtRef ( )
inline

Definition at line 65 of file velocityGroupI.H.

◆ preSolve()

void preSolve ( )

Definition at line 277 of file velocityGroup.C.

◆ postSolve()

void postSolve ( )

Definition at line 283 of file velocityGroup.C.

References Foam::endl(), Foam::Info, Foam::max(), Foam::min(), and phaseModel::name().

Here is the call graph for this function:

◆ read()

bool read ( const dictionary diameterProperties)
virtual

Implements diameterModel.

Definition at line 316 of file velocityGroup.C.

References diameterModel::read().

Here is the call graph for this function:

◆ d()

Foam::tmp< Foam::volScalarField > d ( ) const
virtual

Implements diameterModel.

Definition at line 325 of file velocityGroup.C.


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