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 sizeGroup &group)
 Construct from sizeGroup. More...
 
 SecondaryPropertyModel (const SecondaryPropertyModel< ModelType > &)=delete
 Disallow default bitwise copy construction. More...
 
virtual ~SecondaryPropertyModel ()
 Destructor. More...
 
virtual const volScalarFieldfld () const =0
 Return reference to secondary property field. More...
 
virtual volScalarField::Internalsrc ()=0
 Access to secondary property source. 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 SecondaryPropertyModel< ModelType > &)=delete
 Disallow default bitwise assignment. More...
 

Static Public Member Functions

static const SecondaryPropertyModel< ModelType > & model (const sizeGroup &fi)
 Return the secondary property model of a given size group. More...
 

Detailed Description

template<class ModelType>
class Foam::diameterModels::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::diameterModels::sizeGroup Foam::diameterModels::populationBalanceModel
Source files

Definition at line 58 of file SecondaryPropertyModel.H.

Constructor & Destructor Documentation

◆ SecondaryPropertyModel() [1/2]

SecondaryPropertyModel ( const sizeGroup group)

Construct from sizeGroup.

Definition at line 58 of file SecondaryPropertyModel.C.

◆ SecondaryPropertyModel() [2/2]

SecondaryPropertyModel ( const SecondaryPropertyModel< ModelType > &  )
delete

Disallow default bitwise copy construction.

◆ ~SecondaryPropertyModel()

Destructor.

Definition at line 70 of file SecondaryPropertyModel.C.

Member Function Documentation

◆ type()

virtual const word& type ( ) const
pure virtual

Runtime type information.

◆ model()

const Foam::diameterModels::SecondaryPropertyModel< ModelType > & model ( const sizeGroup fi)
static

Return the secondary property model of a given size group.

Definition at line 79 of file SecondaryPropertyModel.C.

◆ fld()

virtual const volScalarField& fld ( ) const
pure virtual

Return reference to secondary property field.

Implemented in fractal.

◆ src()

virtual volScalarField::Internal& src ( )
pure virtual

Access to secondary property source.

Implemented in fractal.

◆ addCoalescence()

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

Add coalescence contribution to secondary property source.

Definition at line 99 of file SecondaryPropertyModel.C.

◆ addBreakup()

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

Add breakup contribution to secondary property source.

Definition at line 114 of file SecondaryPropertyModel.C.

◆ reset()

void reset
virtual

Reset secondary property source.

Definition at line 127 of file SecondaryPropertyModel.C.

References Foam::Zero.

◆ operator=()

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

Disallow default bitwise assignment.


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