35 namespace diameterModels
53 const dictionary& diameterProperties,
54 const phaseModel& phase
57 diameterModel(diameterProperties, phase),
78 return d0_*
cbrt(p0_/
p);
86 diameterProperties_.readEntry(
"d0", d0_);
87 diameterProperties_.readEntry(
"p0", p0_);
addToRunTimeSelectionTable(diameterModel, constant, dictionary)
virtual bool read(const dictionary &phaseProperties)=0
Read phaseProperties dictionary.
defineTypeNameAndDebug(constant, 0)
virtual ~isothermal()=default
Destructor.
virtual bool read(const dictionary &phaseProperties)
Read phaseProperties dictionary.
Macros for easy insertion into run-time selection tables.
isothermal(const dictionary &diameterProperties, const phaseModel &phase)
Construct from components.
dimensionedScalar cbrt(const dimensionedScalar &ds)
const dimensionSet dimPressure
virtual tmp< volScalarField > d() const
Return the diameter field.
const dimensionSet dimLength(0, 1, 0, 0, 0, 0, 0)
A class for managing temporary objects.