50 phase_.time().timeName(),
73 phase_.time().timeName(),
89 const dictionary& diameterProperties,
90 const phaseModel& phase
93 diameterProperties_(diameterProperties),
98 if (diameterProperties.lookupOrDefault(
"storeD",
false))
102 if (diameterProperties.lookupOrDefault(
"storeA",
false))
147 tmp<volScalarField> td =
calcD();
155 tmp<volScalarField> tA =
calcA();
166 diameterProperties_ = phaseProperties.optionalSubDict(
type() +
"Coeffs");
diameterModel(const dictionary &diameterProperties, const phaseModel &phase)
virtual ~diameterModel()
Destructor.
tmp< volScalarField > a() const
Return the surface area per unit volume.
volScalarField & aRef()
Get a reference to the stored surface area per unit volume field.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
virtual bool read(const dictionary &phaseProperties)
Read phaseProperties dictionary.
static word groupName(Name name, const word &group)
virtual tmp< volScalarField > calcA() const
Get the diameter field.
volScalarField & dRef()
Get a reference to the stored diameter field.
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
defineTypeNameAndDebug(combustionModel, 0)
tmp< volScalarField > d() const
Return the diameter.
const dimensionSet dimless(0, 0, 0, 0, 0, 0, 0)
const dimensionSet dimLength(0, 1, 0, 0, 0, 0, 0)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.
virtual tmp< volScalarField > calcD() const
Get the diameter field.
A class for managing temporary objects.
virtual void correct()
Correct the diameter field.