Go to the documentation of this file.
27 #include "IATEsource.H"
28 #include "twoPhaseSystem.H"
44 namespace diameterModels
62 const dictionary& diameterProperties,
63 const phaseModel& phase
66 diameterModel(diameterProperties, phase),
71 IOobject::groupName(
"kappai", phase.
name()),
79 dMax_(
"dMax",
dimLength, diameterProperties_),
80 dMin_(
"dMin",
dimLength, diameterProperties_),
91 IOobject::groupName(
"d", phase.
name()),
101 diameterProperties_.
lookup(
"sources"),
102 IATEsource::iNew(*this)
117 return max(6/
max(kappai_, 6/dMax_), dMin_);
156 R -= sources_[j].R();
187 diameterProperties_.lookup(
"dMax") >> dMax_;
188 diameterProperties_.lookup(
"dMin") >> dMin_;
193 diameterProperties_.lookup(
"sources"),
194 IATEsource::iNew(*
this)
195 ).transfer(sources_);
virtual ~IATE()
Destructor.
const dimensionSet dimless(0, 0, 0, 0, 0, 0, 0)
virtual void correct()
Correct the diameter field.
const dimensionSet dimLength(0, 1, 0, 0, 0, 0, 0)
#define forAll(list, i)
Loop across all elements in list.
A class for managing temporary objects.
static options & New(const fvMesh &mesh)
Construct fvOptions and register to datbase if not present.
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
Calculate the divergence of the given field.
tmp< GeometricField< Type, fvPatchField, volMesh > > div(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
tmp< volScalarField > dsm() const
tmp< GeometricField< Type, fvPatchField, volMesh > > average(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
Area-weighted average a surfaceField creating a volField.
Calculate the matrix for the divergence of the given field and flux.
tmp< fvMatrix< Type > > Sp(const DimensionedField< scalar, volMesh > &, const GeometricField< Type, fvPatchField, volMesh > &)
#define R(A, B, C, D, E, F, K, M)
fvMatrix< scalar > fvScalarMatrix
tmp< fvMatrix< Type > > SuSp(const DimensionedField< scalar, volMesh > &, const GeometricField< Type, fvPatchField, volMesh > &)
GeometricField< scalar, fvPatchField, volMesh > volScalarField
Macros for easy insertion into run-time selection tables.
Calculate the matrix for implicit and explicit sources.
virtual bool read(const dictionary &phaseProperties)
Read phaseProperties dictionary.
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
virtual bool read(const dictionary &phaseProperties)=0
Read phaseProperties dictionary.
tmp< fvMatrix< Type > > ddt(const GeometricField< Type, fvPatchField, volMesh > &vf)
Fundamental dimensioned constants.
Calculate the first temporal derivative.
tmp< GeometricField< Type, fvPatchField, volMesh > > ddt(const dimensioned< Type > dt, const fvMesh &mesh)
Area-weighted average a surfaceField creating a volField.
tmp< fvMatrix< Type > > div(const surfaceScalarField &flux, const GeometricField< Type, fvPatchField, volMesh > &vf, const word &name)
defineTypeNameAndDebug(combustionModel, 0)
word name(const complex &)
Return a string representation of a complex.
Calulate the matrix for the first temporal derivative.
IATE(const dictionary &diameterProperties, const phaseModel &phase)
Construct from components.
stressControl lookup("compactNormalStress") >> compactNormalStress