Go to the documentation of this file.
29 #include "IATEsource.H"
30 #include "twoPhaseSystem.H"
46 namespace diameterModels
64 const dictionary& diameterProperties,
65 const phaseModel& phase
68 diameterModel(diameterProperties, phase),
73 IOobject::groupName(
"kappai", phase.
name()),
81 dMax_(
"dMax",
dimLength, diameterProperties_),
82 dMin_(
"dMin",
dimLength, diameterProperties_),
83 residualAlpha_(
"residualAlpha",
dimless, diameterProperties_),
88 IOobject::groupName(
"d", phase.
name()),
98 diameterProperties_.lookup(
"sources"),
99 IATEsource::iNew(*this)
114 return max(6/
max(kappai_, 6/dMax_), dMin_);
153 R -= sources_[j].R();
184 diameterProperties_.readEntry(
"dMax", dMax_);
185 diameterProperties_.readEntry(
"dMin", dMin_);
190 diameterProperties_.lookup(
"sources"),
191 IATEsource::iNew(*
this)
192 ).transfer(sources_);
const dimensionSet dimLength(0, 1, 0, 0, 0, 0, 0)
A class for managing temporary objects.
static options & New(const fvMesh &mesh)
Calculate the divergence of the given field.
tmp< GeometricField< Type, fvPatchField, volMesh > > div(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
Calculate the matrix for the divergence of the given field and flux.
#define R(A, B, C, D, E, F, K, M)
tmp< fvMatrix< Type > > SuSp(const volScalarField::Internal &, const GeometricField< Type, fvPatchField, volMesh > &)
fvMatrix< scalar > fvScalarMatrix
tmp< fvMatrix< Type > > Sp(const volScalarField::Internal &, const GeometricField< Type, fvPatchField, volMesh > &)
defineTypeNameAndDebug(constant, 0)
virtual bool read(const dictionary &phaseProperties)
GeometricField< scalar, fvPatchField, volMesh > volScalarField
label max(const labelHashSet &set, label maxValue=labelMin)
Macros for easy insertion into run-time selection tables.
Calculate the matrix for implicit and explicit sources.
tmp< fvMatrix< Type > > ddt(const GeometricField< Type, fvPatchField, volMesh > &vf)
Fundamental dimensioned constants.
word name(const expressions::valueTypeCode typeCode)
Calculate the first temporal derivative.
virtual bool read(const dictionary &phaseProperties)=0
tmp< GeometricField< Type, fvPatchField, volMesh > > ddt(const dimensioned< Type > dt, const fvMesh &mesh)
addToRunTimeSelectionTable(diameterModel, constant, dictionary)
Area-weighted average a surfaceField creating a volField.
tmp< fvMatrix< Type > > div(const surfaceScalarField &flux, const GeometricField< Type, fvPatchField, volMesh > &vf, const word &name)
tmp< GeometricField< Type, fvPatchField, volMesh > > average(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
Calculate the matrix for the first temporal derivative.
const dimensionSet dimless
IATE(const dictionary &diameterProperties, const phaseModel &phase)