33 namespace diameterModels
45 const dictionary& diameterProperties,
46 const phaseModel& phase
49 diameterModel(diameterProperties, phase)
65 <<
"Requested diameter of phase " <<
phase().
name()
66 <<
" from diameter model \"" << typeName <<
"\"." 69 return tmp<volScalarField>(
nullptr);
77 <<
"Requested surface area per unit volume of phase " <<
phase().
name()
78 <<
" from diameter model \"" << typeName <<
"\"." 81 return tmp<volScalarField>(
nullptr);
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
const word & name() const
virtual ~noDiameter()
Destructor.
Macros for easy insertion into run-time selection tables.
const phaseModel & phase() const
Return the phase.
virtual tmp< volScalarField > d() const
Get the diameter field.
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
defineTypeNameAndDebug(combustionModel, 0)
virtual tmp< volScalarField > a() const
Return the surface area per unit volume.
noDiameter(const dictionary &diameterProperties, const phaseModel &phase)
Construct from dictionary and phase.
A class for managing temporary objects.