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_);
147 R += sources_[j].R(alphaAv, kappai_);
177 diameterProperties_.lookup(
"dMax") >> dMax_;
178 diameterProperties_.lookup(
"dMin") >> dMin_;
183 diameterProperties_.lookup(
"sources"),
184 IATEsource::iNew(*
this)
fvMatrix< scalar > fvScalarMatrix
#define forAll(list, i)
Loop across all elements in list.
const GeometricField< Type, PatchField, GeoMesh > & oldTime() const
Return old time field.
tmp< fvMatrix< Type > > SuSp(const volScalarField::Internal &, const GeometricField< Type, fvPatchField, volMesh > &)
virtual tmp< volScalarField > continuityError() const =0
Constant access the continuity error.
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
tmp< GeometricField< Type, fvPatchField, volMesh > > div(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
virtual bool read(const dictionary &phaseProperties)=0
Read phaseProperties dictionary.
tmp< fvMatrix< Type > > Sp(const volScalarField::Internal &, const GeometricField< Type, fvPatchField, volMesh > &)
const surfaceScalarField & phi() const
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.
const surfaceScalarField & alphaPhi() const
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
virtual ~IATE()
Destructor.
tmp< fvMatrix< Type > > ddt(const GeometricField< Type, fvPatchField, volMesh > &vf)
Calulate the matrix for the first temporal derivative.
virtual tmp< volSymmTensorField > R() const
Return the Reynolds stress tensor.
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)
const Mesh & mesh() const
Return mesh.
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 dimensionedScalar & rho() const
const dimensionSet dimLength(0, 1, 0, 0, 0, 0, 0)
tmp< GeometricField< Type, fvPatchField, volMesh > > average(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
Area-weighted average a surfaceField creating a volField.
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.
Calculate the matrix for implicit and explicit sources.