35 namespace diameterModels
53 const dictionary& diameterProperties,
54 const phaseModel& phase
57 diameterModel(diameterProperties, phase),
72 return tmp<Foam::volScalarField>
79 phase_.U().time().timeName(),
96 diameterProperties_.readEntry(
"d", d_);
addToRunTimeSelectionTable(diameterModel, constant, dictionary)
virtual bool read(const dictionary &phaseProperties)=0
Read phaseProperties dictionary.
virtual bool read(const dictionary &diameterProperties)
Read diameterProperties dictionary.
virtual ~constant()
Destructor.
defineTypeNameAndDebug(constant, 0)
Ignore writing from objectRegistry::writeObject()
Macros for easy insertion into run-time selection tables.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
const dimensionSet dimLength(0, 1, 0, 0, 0, 0, 0)
A class for managing temporary objects.
constant(const dictionary &diameterProperties, const phaseModel &phase)
Construct from components.
virtual tmp< volScalarField > d() const
Return the diameter as a field.
Do not request registration (bool: false)