36 #ifndef diameterModel_H 37 #define diameterModel_H 40 #include "phaseModel.H" 103 (diameterProperties, phase)
134 return diameterProperties_;
diameterModel(const dictionary &diameterProperties, const phaseModel &phase)
A list of keyword definitions, which are a keyword followed by any number of values (e...
virtual ~diameterModel()
Destructor.
Helper class to manage multi-specie phase properties.
static autoPtr< diameterModel > New(const dictionary &diameterProperties, const phaseModel &phase)
tmp< volScalarField > a() const
Return the surface area per unit volume.
volScalarField & aRef()
Get a reference to the stored surface area per unit volume field.
TypeName("diameterModel")
Runtime type information.
const phaseModel & phase() const
Return the phase.
virtual tmp< volScalarField > calcA() const =0
Get the surface area per unit volume field.
virtual bool read(const dictionary &phaseProperties)
Read phaseProperties dictionary.
Abstract base-class for dispersed-phase particle diameter models.
virtual tmp< volScalarField > calcD() const =0
Get the diameter field.
volScalarField & dRef()
Get a reference to the stored diameter field.
tmp< volScalarField > d() const
Return the diameter.
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Macros to ease declaration of run-time selection tables.
A class for managing temporary objects.
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
const dictionary & diameterProperties() const
Return the phase diameter properties dictionary.
declareRunTimeSelectionTable(autoPtr, diameterModel, dictionary,(const dictionary &diameterProperties, const phaseModel &phase),(diameterProperties, phase))
virtual void correct()
Correct the diameter field.