26 #include "isothermalDiameter.H" 33 namespace diameterModels
51 const dictionary& diameterProperties,
52 const phaseModel& phase
55 diameterModel(diameterProperties, phase),
56 d0_(
"d0",
dimLength, diameterProperties_),
62 IOobject::groupName(
"d", phase.
name()),
89 return d0_*
pow(p0_/p, 1.0/3.0);
virtual bool read(const dictionary &phaseProperties)=0
Read phaseProperties dictionary.
virtual bool read(const dictionary &phaseProperties)
Read phaseProperties dictionary.
isothermal(const dictionary &dict, const phaseModel &phase)
Construct from components.
const Type & lookupObject(const word &name) const
Lookup and return the object of the given Type.
tmp< volScalarField > d() const
Return the phase mean diameter field.
Macros for easy insertion into run-time selection tables.
virtual void correct()
Correct the diameter field.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
const dimensionSet dimPressure
virtual tmp< volScalarField > d() const =0
Return the phase mean diameter field.
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
defineTypeNameAndDebug(combustionModel, 0)
word name(const complex &)
Return a string representation of a complex.
dictionary diameterProperties_
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
const dimensionSet dimLength(0, 1, 0, 0, 0, 0, 0)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
virtual ~isothermal()
Destructor.
A class for managing temporary objects.
const objectRegistry & db() const
Return the local objectRegistry.
const phaseModel & phase_
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.