31 template<
class ModelType>
48 SecondaryPropertyModelTable_()
54 template<
class ModelType>
62 template<
class ModelType>
70 template<
class ModelType>
75 if (SecondaryPropertyModelTable_.empty())
77 SecondaryPropertyModelTable_ =
78 group_.mesh().template lookupClass
84 return SecondaryPropertyModelTable_;
88 template<
class ModelType>
99 template<
class ModelType>
108 SecondaryPropertyModelTable()[SecondaryPropertyName(fj)]->fld();
111 SecondaryPropertyModelTable()[SecondaryPropertyName(fk)]->fld();
113 src() += (propj*fj.
x() + propk*fk.
x())/(fj.
x() + fk.
x())*
Su;
117 template<
class ModelType>
125 SecondaryPropertyModelTable()[SecondaryPropertyName(fj)]->fld();
131 template<
class ModelType>
140 SecondaryPropertyModelTable()[SecondaryPropertyName(fu)]->fld();
146 template<
class ModelType>
155 SecondaryPropertyModelTable()[SecondaryPropertyName(fi)]->fld();
161 template<
class ModelType>
168 template<
class ModelType>
Generic GeometricField class.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
const word & name() const
Return name.
static word groupName(Name name, const word &group)
bool good() const
Return true if next operation might succeed.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Base class for modeling evolution of secondary representative properties of a size class....
virtual ~SecondaryPropertyModel()
Destructor.
bool writeData(Ostream &) const
Dummy write for regIOobject.
const SpTable & SecondaryPropertyModelTable()
Return table with pointers to all secondary properties of.
const sizeGroup & group() const
Access the sizeGroup.
virtual void addCoalescence(const volScalarField &Su, const sizeGroup &fj, const sizeGroup &fk)
Add coalescence contribution to secondary property source.
const word SecondaryPropertyName(const sizeGroup &fi) const
Return name of the secondary property of another class for.
virtual void addNucleation(const volScalarField &Su, const sizeGroup &fi, const nucleationModel &model)
Add drift contribution to secondary property source.
virtual void addBreakup(const volScalarField &Su, const sizeGroup &fj)
Add breakup contribution to secondary property source.
virtual void addDrift(const volScalarField &Su, const sizeGroup &fu, const driftModel &model)
Add drift contribution to secondary property source.
SecondaryPropertyModel(const sizeGroup &group)
Construct from sizeGroup.
virtual void reset()
Reset secondary property source.
Constant dispersed-phase particle diameter model.
Base class for drift models.
Base class for nucleation models.
Single size class fraction field representing a fixed particle volume as defined by the user through ...
const dimensionedScalar & x() const
Return representative volume of the sizeGroup.
regIOobject is an abstract class derived from IOobject to handle automatic object registration with t...
A class for handling words, derived from string.
const char *const group
Group name for atomic constants.
tmp< VolField< Type > > Su(const VolField< Type > &su, const VolField< Type > &vf)
word name(const bool)
Return a word representation of a bool.