33 namespace diameterModels
45 const dictionary& diameterProperties,
46 const phaseModel& phase
49 spherical(diameterProperties, phase),
56 IOobject::groupName(
"d", phase.
name()),
84 d_ = d0_*
pow(p0_/p, 1.0/3.0);
92 diameterProperties().lookup(
"d0") >> d0_;
93 diameterProperties().lookup(
"p0") >> p0_;
const dimensionSet dimPressure
virtual bool read(const dictionary &phaseProperties)
Read phaseProperties dictionary.
const Type & lookupObject(const word &name) const
Lookup and return the object of the given Type.
Macros for easy insertion into run-time selection tables.
virtual void correct()
Correct the model.
const dimensionSet dimLength
GeometricField< scalar, fvPatchField, volMesh > volScalarField
virtual bool read(const dictionary &phaseProperties)
Read phaseProperties dictionary.
isothermal(const dictionary &diameterProperties, const phaseModel &phase)
Construct from dictionary and phase.
const phaseModel & phase() const
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
defineTypeNameAndDebug(combustionModel, 0)
word name(const complex &)
Return a string representation of a complex.
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
virtual ~isothermal()
Destructor.
A class for managing temporary objects.
const objectRegistry & db() const
Return the local objectRegistry.
virtual tmp< volScalarField > d() const
Get the diameter field.