Go to the documentation of this file.
30 #include "IATEsource.H"
46 namespace diameterModels
73 IOobject::groupName(
"kappai",
phase.
name()),
74 phase_.time().timeName(),
81 dMax_(
"dMax",
dimLength, diameterProperties_),
82 dMin_(
"dMin",
dimLength, diameterProperties_),
83 residualAlpha_(
"residualAlpha",
dimless, diameterProperties_),
89 phase_.time().timeName(),
98 diameterProperties_.lookup(
"sources"),
114 return max(6/
max(kappai_, 6/dMax_), dMin_);
136 - phase_.continuityError()/phase_.rho()
145 R += sources_[j].R(alphaAv, kappai_);
175 diameterProperties_.readEntry(
"dMax", dMax_);
176 diameterProperties_.readEntry(
"dMin", dMin_);
181 diameterProperties_.lookup(
"sources"),
183 ).transfer(sources_);
defineTypeNameAndDebug(constant, 0)
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
Defines the attributes of an object for which implicit objectRegistry management is supported,...
const dimensionSet dimless(0, 0, 0, 0, 0, 0, 0)
Dimensionless.
const dimensionSet dimLength(0, 1, 0, 0, 0, 0, 0)
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
A class for managing temporary objects.
static options & New(const fvMesh &mesh)
Construct fvOptions and register to database if not present.
Calculate the divergence of the given field.
Helper class to manage multi-specie phase properties.
tmp< GeometricField< Type, fvPatchField, volMesh > > div(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
addToRunTimeSelectionTable(diameterModel, constant, dictionary)
A2stract base-class for dispersed-phase particle diameter models.
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.
#define forAll(list, i)
Loop across all elements in list.
#define R(A, B, C, D, E, F, K, M)
virtual void correct()
Correct the diameter field.
tmp< fvMatrix< Type > > SuSp(const volScalarField::Internal &, const GeometricField< Type, fvPatchField, volMesh > &)
tmp< fvMatrix< Type > > Sp(const volScalarField::Internal &, const GeometricField< Type, fvPatchField, volMesh > &)
void relax(const scalar alpha)
Relax matrix (for steady-state solution).
virtual bool read(const dictionary &phaseProperties)
Read phaseProperties dictionary.
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers....
label max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Macros for easy insertion into run-time selection tables.
Calculate the matrix for implicit and explicit sources.
const word & name() const
tmp< fvMatrix< Type > > ddt(const GeometricField< Type, fvPatchField, volMesh > &vf)
Fundamental dimensioned constants.
A special matrix type and solver, designed for finite volume solutions of scalar equations....
Class used for the read-construction of.
virtual ~IATE()
Destructor.
Calculate the first temporal derivative.
virtual bool read(const dictionary &phaseProperties)=0
Read phaseProperties dictionary.
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)
Calculate the matrix for the first temporal derivative.
IATE(const dictionary &diameterProperties, const phaseModel &phase)
Construct from components.