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::Internal &Su, const sizeGroup &fj, const sizeGroup &fk)
 Add coalescence contribution to secondary property source. More...
 
virtual void addBreakup (const volScalarField::Internal &Su, const sizeGroup &fj)
 Add breakup 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)
 
static const shapeModelmodel (const sizeGroup &)
 Return the shape model for a given size group. More...
 

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 43 of file shapeModel.C.

◆ shapeModel() [2/2]

shapeModel ( const shapeModel )
delete

Disallow default bitwise copy construction.

◆ ~shapeModel()

~shapeModel ( )
virtual

Destructor.

Definition at line 80 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 52 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:

◆ model()

const Foam::diameterModels::shapeModel & model ( const sizeGroup group)
static

Return the shape model for a given size group.

Definition at line 87 of file shapeModel.C.

References Foam::constant::atomic::group.

◆ group()

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

Return reference to size group.

Definition at line 94 of file shapeModel.C.

Referenced by fractal::fractal().

Here is the caller graph for this function:

◆ 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 100 of file shapeModel.C.

◆ addCoalescence()

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

Add coalescence contribution to secondary property source.

Reimplemented in SecondaryPropertyModel< shapeModel >.

Definition at line 104 of file shapeModel.C.

◆ addBreakup()

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

Add breakup contribution to secondary property source.

Reimplemented in SecondaryPropertyModel< shapeModel >.

Definition at line 113 of file shapeModel.C.

◆ reset()

void reset ( )
virtual

Reset secondary property source.

Reimplemented in SecondaryPropertyModel< shapeModel >.

Definition at line 121 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 67 of file shapeModel.H.


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