shapeModel Class Referenceabstract

Base class for modelling the shape of the particles belonging to a size class through alternative diameters, e.g. a collisional diameter, which can then be utilised in population balance submodels, e.g. for modelling fractal aggregation. More...

Inheritance diagram for shapeModel:
Collaboration diagram for shapeModel:

Public Member Functions

 TypeName ("shapeModel")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, shapeModel, dictionary,(const dictionary &dict, const sizeGroup &group, const dictionary &groupDict),(dict, group, groupDict))
 
 shapeModel (const sizeGroup &group)
 Construct from sizeGroup. More...
 
 shapeModel (const shapeModel &)=delete
 Disallow default bitwise copy construction. More...
 
virtual ~shapeModel ()
 Destructor. More...
 
const sizeGroupgroup () const
 Return reference to size group. More...
 
virtual const tmp< volScalarFielda () const =0
 Return representative surface area of the sizeGroup. More...
 
virtual const tmp< volScalarFieldd () const =0
 Return representative diameter of the sizeGroup. More...
 
virtual void correct ()
 Correct physical diameter. More...
 
virtual void addCoalescence (const volScalarField &Su, const sizeGroup &fj, const sizeGroup &fk)
 Add coalescence contribution to secondary property source. More...
 
virtual void addBreakup (const volScalarField &Su, const sizeGroup &fj)
 Add breakup contribution to secondary property source. More...
 
virtual void addDrift (const volScalarField &Su, const sizeGroup &fu, const driftModel &model)
 Add drift contribution to secondary property source. More...
 
virtual void addNucleation (const volScalarField &Su, const sizeGroup &fi, const nucleationModel &model)
 Add nucleation contribution to secondary property source. More...
 
virtual void reset ()
 Reset secondary property source. More...
 
void operator= (const shapeModel &)=delete
 Disallow default bitwise assignment. More...
 

Static Public Member Functions

static autoPtr< shapeModelNew (const dictionary &dict, const sizeGroup &group, const dictionary &groupDict)
 

Protected Attributes

const sizeGroupgroup_
 Reference to sizeGroup. More...
 

Detailed Description

Base class for modelling the shape of the particles belonging to a size class through alternative diameters, e.g. a collisional diameter, which can then be utilised in population balance submodels, e.g. for modelling fractal aggregation.

See also
Foam::diameterModels::sizeGroup
Source files

Definition at line 60 of file shapeModel.H.

Constructor & Destructor Documentation

◆ shapeModel() [1/2]

shapeModel ( const sizeGroup group)

Construct from sizeGroup.

Definition at line 42 of file shapeModel.C.

◆ shapeModel() [2/2]

shapeModel ( const shapeModel )
delete

Disallow default bitwise copy construction.

◆ ~shapeModel()

~shapeModel ( )
virtual

Destructor.

Definition at line 79 of file shapeModel.C.

Member Function Documentation

◆ TypeName()

TypeName ( "shapeModel"  )

Runtime type information.

◆ declareRunTimeSelectionTable()

declareRunTimeSelectionTable ( autoPtr  ,
shapeModel  ,
dictionary  ,
(const dictionary &dict, const sizeGroup &group, const dictionary &groupDict)  ,
(dict, group, groupDict)   
)

◆ New()

Foam::autoPtr< Foam::diameterModels::shapeModel > New ( const dictionary dict,
const sizeGroup group,
const dictionary groupDict 
)
static

Definition at line 51 of file shapeModel.C.

References dict, Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, and Foam::constant::atomic::group.

Here is the call graph for this function:

◆ group()

const Foam::diameterModels::sizeGroup & group ( ) const

Return reference to size group.

Definition at line 86 of file shapeModel.C.

◆ a()

virtual const tmp<volScalarField> a ( ) const
pure virtual

Return representative surface area of the sizeGroup.

Implemented in spherical, and fractal.

◆ d()

virtual const tmp<volScalarField> d ( ) const
pure virtual

Return representative diameter of the sizeGroup.

Implemented in spherical, and fractal.

◆ correct()

void correct ( )
virtual

Correct physical diameter.

Reimplemented in fractal.

Definition at line 92 of file shapeModel.C.

◆ addCoalescence()

void addCoalescence ( const volScalarField Su,
const sizeGroup fj,
const sizeGroup fk 
)
virtual

Add coalescence contribution to secondary property source.

Reimplemented in SecondaryPropertyModel< shapeModel >.

Definition at line 96 of file shapeModel.C.

◆ addBreakup()

void addBreakup ( const volScalarField Su,
const sizeGroup fj 
)
virtual

Add breakup contribution to secondary property source.

Reimplemented in SecondaryPropertyModel< shapeModel >.

Definition at line 105 of file shapeModel.C.

◆ addDrift()

void addDrift ( const volScalarField Su,
const sizeGroup fu,
const driftModel model 
)
virtual

Add drift contribution to secondary property source.

Reimplemented in fractal, and SecondaryPropertyModel< shapeModel >.

Definition at line 113 of file shapeModel.C.

◆ addNucleation()

void addNucleation ( const volScalarField Su,
const sizeGroup fi,
const nucleationModel model 
)
virtual

Add nucleation contribution to secondary property source.

Reimplemented in SecondaryPropertyModel< shapeModel >.

Definition at line 122 of file shapeModel.C.

◆ reset()

void reset ( )
virtual

Reset secondary property source.

Reimplemented in SecondaryPropertyModel< shapeModel >.

Definition at line 131 of file shapeModel.C.

◆ operator=()

void operator= ( const shapeModel )
delete

Disallow default bitwise assignment.

Member Data Documentation

◆ group_

const sizeGroup& group_
protected

Reference to sizeGroup.

Definition at line 68 of file shapeModel.H.


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