37#ifndef diameterModel_H
38#define diameterModel_H
41#include "phaseModel.H"
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
Abstract base-class for dispersed-phase particle diameter models.
virtual tmp< volScalarField > d() const =0
Return the phase mean diameter field.
virtual bool read(const dictionary &phaseProperties)=0
Read phaseProperties dictionary.
virtual void correct()
Correct the diameter field.
static autoPtr< diameterModel > New(const dictionary &diameterProperties, const phaseModel &phase)
const phaseModel & phase() const
Return the phase.
virtual ~diameterModel()=default
Destructor.
diameterModel(const dictionary &dict, const phaseModel &phase)
const phaseModel & phase_
declareRunTimeSelectionTable(autoPtr, diameterModel, dictionary,(const dictionary &dict, const phaseModel &phase),(dict, phase))
virtual void correct()
Correct the diameter field.
dictionary diameterProperties_
static autoPtr< diameterModel > New(const dictionary &dict, const phaseModel &phase)
const dictionary & diameterProperties() const
Return the phase diameter properties dictionary.
TypeName("diameterModel")
Runtime type information.
virtual bool read(const dictionary &dict)=0
Read phaseProperties dictionary.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
A class for managing temporary objects.
Macros to ease declaration of run-time selection tables.
#define declareRunTimeSelectionTable(ptrWrapper, baseType, argNames, argList, parList)
Declare a run-time selection (variables and adder classes)
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.