SecondaryPropertyModel< ModelType > Class Template Referenceabstract

Base class for modelling evolution of secondary representative properties of a size class. By default, transport between size classes due to coalescence and breakup conserve the property. This behaviour can be overridden in a derived class. More...

Inheritance diagram for SecondaryPropertyModel< ModelType >:
Collaboration diagram for SecondaryPropertyModel< ModelType >:

Public Member Functions

virtual const wordtype () const =0
 Runtime type information. More...
 
 SecondaryPropertyModel (const populationBalanceModel &popBal)
 Construct from a population balance model. More...
 
 SecondaryPropertyModel (const SecondaryPropertyModel< ModelType > &)=delete
 Disallow default bitwise copy construction. More...
 
virtual ~SecondaryPropertyModel ()
 Destructor. More...
 
virtual const volScalarFieldfld (const label i) const =0
 Return reference to secondary property field. More...
 
virtual volScalarField::Internalsrc (const label i)=0
 Access to secondary property source. 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 SecondaryPropertyModel< ModelType > &)=delete
 Disallow default bitwise assignment. More...
 

Detailed Description

template<class ModelType>
class Foam::populationBalance::SecondaryPropertyModel< ModelType >

Base class for modelling evolution of secondary representative properties of a size class. By default, transport between size classes due to coalescence and breakup conserve the property. This behaviour can be overridden in a derived class.

See also
Foam::populationBalanceModel
Source files

Definition at line 57 of file SecondaryPropertyModel.H.

Constructor & Destructor Documentation

◆ SecondaryPropertyModel() [1/2]

Construct from a population balance model.

Definition at line 31 of file SecondaryPropertyModel.C.

◆ SecondaryPropertyModel() [2/2]

SecondaryPropertyModel ( const SecondaryPropertyModel< ModelType > &  )
delete

Disallow default bitwise copy construction.

◆ ~SecondaryPropertyModel()

Destructor.

Definition at line 44 of file SecondaryPropertyModel.C.

Member Function Documentation

◆ type()

virtual const word& type ( ) const
pure virtual

Runtime type information.

◆ fld()

virtual const volScalarField& fld ( const label  i) const
pure virtual

Return reference to secondary property field.

Implemented in fractal.

◆ src()

virtual volScalarField::Internal& src ( const label  i)
pure virtual

Access to secondary property source.

Implemented in fractal.

◆ addCoalescence()

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

Add coalescence contribution to secondary property source.

Definition at line 52 of file SecondaryPropertyModel.C.

References fld(), k, and Foam::fvc::Su().

Here is the call graph for this function:

◆ addBreakup()

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

Add breakup contribution to secondary property source.

Definition at line 70 of file SecondaryPropertyModel.C.

References fld(), and Foam::fvc::Su().

Here is the call graph for this function:

◆ reset()

void reset
virtual

Reset secondary property source.

Definition at line 84 of file SecondaryPropertyModel.C.

References forAll, and Foam::Zero.

◆ operator=()

void operator= ( const SecondaryPropertyModel< ModelType > &  )
delete

Disallow default bitwise assignment.


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