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 populationBalanceModel &popBal),(dict, popBal))
 
 shapeModel (const populationBalanceModel &popBal)
 Construct from a population balance model. More...
 
 shapeModel (const shapeModel &)=delete
 Disallow default bitwise copy construction. More...
 
virtual ~shapeModel ()
 Destructor. More...
 
const populationBalanceModelpopBal () const
 Return reference to the population balance model. More...
 
virtual tmp< volScalarFielda (const label i) const =0
 Return representative surface area of the group. More...
 
virtual tmp< volScalarFieldd (const label i) const =0
 Return representative diameter of the group. More...
 
virtual void solve ()
 Solve equations. More...
 
virtual void correct ()
 Correct the shape. More...
 
virtual void addCoalescence (const volScalarField::Internal &Su, const label i, const label j, const label k)
 Add coalescence contribution to secondary property source. More...
 
virtual void addBreakup (const volScalarField::Internal &Su, const label i, const label j)
 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 populationBalanceModel &popBal)
 

Protected Attributes

const populationBalanceModelpopBal_
 Reference to the population balance model. 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.

Source files

Definition at line 58 of file shapeModel.H.

Constructor & Destructor Documentation

◆ shapeModel() [1/2]

shapeModel ( const populationBalanceModel popBal)

Construct from a population balance model.

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

Member Function Documentation

◆ TypeName()

TypeName ( "shapeModel"  )

Runtime type information.

◆ declareRunTimeSelectionTable()

declareRunTimeSelectionTable ( autoPtr  ,
shapeModel  ,
dictionary  ,
(const dictionary &dict, const populationBalanceModel &popBal ,
(dict, popBal  
)

◆ New()

Foam::autoPtr< Foam::populationBalance::shapeModel > New ( const dictionary dict,
const populationBalanceModel popBal 
)
static

Definition at line 55 of file shapeModel.C.

References dict, Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::indentOrNl(), Foam::Info, dictionary::lookup(), and Foam::typeName().

Here is the call graph for this function:

◆ popBal()

const Foam::populationBalanceModel & popBal ( ) const

Return reference to the population balance model.

Definition at line 107 of file shapeModel.C.

◆ a()

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

Return representative surface area of the group.

Implemented in spherical, and fractal.

◆ d()

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

Return representative diameter of the group.

Implemented in spherical, and fractal.

◆ solve()

void solve ( )
virtual

Solve equations.

Reimplemented in fractal.

Definition at line 113 of file shapeModel.C.

◆ correct()

void correct ( )
virtual

Correct the shape.

Reimplemented in fractal.

Definition at line 117 of file shapeModel.C.

◆ addCoalescence()

void addCoalescence ( const volScalarField::Internal Su,
const label  i,
const label  j,
const label  k 
)
virtual

Add coalescence contribution to secondary property source.

Reimplemented in SecondaryPropertyModel< shapeModel >.

Definition at line 121 of file shapeModel.C.

◆ addBreakup()

void addBreakup ( const volScalarField::Internal Su,
const label  i,
const label  j 
)
virtual

Add breakup contribution to secondary property source.

Reimplemented in SecondaryPropertyModel< shapeModel >.

Definition at line 131 of file shapeModel.C.

◆ reset()

void reset ( )
virtual

Reset secondary property source.

Reimplemented in SecondaryPropertyModel< shapeModel >.

Definition at line 140 of file shapeModel.C.

◆ operator=()

void operator= ( const shapeModel )
delete

Disallow default bitwise assignment.

Member Data Documentation

◆ popBal_

const populationBalanceModel& popBal_
protected

Reference to the population balance model.

Definition at line 65 of file shapeModel.H.


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