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)
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 > &)
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)
Calculate 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 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.