27 #include "IATEsource.H" 43 namespace diameterModels
61 const dictionary& diameterProperties,
62 const phaseModel& phase
65 diameterModel(diameterProperties, phase),
70 IOobject::groupName(
"kappai", phase.
name()),
78 dMax_(
"dMax",
dimLength, diameterProperties_),
79 dMin_(
"dMin",
dimLength, diameterProperties_),
90 IOobject::groupName(
"d", phase.
name()),
100 diameterProperties_.
lookup(
"sources"),
101 IATEsource::iNew(*this)
116 return max(6/
max(kappai_, 6/dMax_), dMin_);
155 R -= sources_[j].R();
186 diameterProperties_.lookup(
"dMax") >> dMax_;
187 diameterProperties_.lookup(
"dMin") >> dMin_;
192 diameterProperties_.lookup(
"sources"),
193 IATEsource::iNew(*
this)
fvMatrix< scalar > fvScalarMatrix
#define forAll(list, i)
Loop across all elements in list.
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
tmp< fvMatrix< Type > > Sp(const DimensionedField< scalar, volMesh > &, const GeometricField< Type, fvPatchField, volMesh > &)
tmp< GeometricField< Type, fvPatchField, volMesh > > div(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
virtual bool read(const dictionary &phaseProperties)=0
Read phaseProperties dictionary.
void transfer(dictionary &)
Transfer the contents of the argument and annul the argument.
Fundamental dimensioned constants.
Macros for easy insertion into run-time selection tables.
Area-weighted average a surfaceField creating a volField.
tmp< GeometricField< Type, fvPatchField, volMesh > > ddt(const dimensioned< Type > dt, const fvMesh &mesh)
dictionary()
Construct top-level dictionary null.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
Calculate the first temporal derivative.
virtual bool read(const dictionary &phaseProperties)
Read phaseProperties dictionary.
stressControl lookup("compactNormalStress") >> compactNormalStress
const GeometricField< Type, PatchField, GeoMesh > & oldTime() const
Return old time field.
tmp< fvMatrix< Type > > SuSp(const DimensionedField< scalar, volMesh > &, const GeometricField< Type, fvPatchField, volMesh > &)
virtual ~IATE()
Destructor.
tmp< fvMatrix< Type > > ddt(const GeometricField< Type, fvPatchField, volMesh > &vf)
Calulate the matrix for the first temporal derivative.
IATE(const dictionary &diameterProperties, const phaseModel &phase)
Construct from components.
Calculate the divergence of the given field.
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
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.
Calculate the matrix for the divergence of the given field and flux.
const dimensionSet dimless(0, 0, 0, 0, 0, 0, 0)
const dimensionSet dimLength(0, 1, 0, 0, 0, 0, 0)
const Mesh & mesh() const
Return mesh.
virtual tmp< volSymmTensorField > R() const
Return the Reynolds stress tensor.
tmp< GeometricField< Type, fvPatchField, volMesh > > average(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
Area-weighted average a surfaceField creating a volField.
const surfaceScalarField & alphaPhi() const
virtual void correct()
Correct the diameter field.
A class for managing temporary objects.
static options & New(const fvMesh &mesh)
Construct fvOptions and register to datbase if not present.
const surfaceScalarField & phi() const
Calculate the matrix for implicit and explicit sources.