44 namespace diameterModels
56 return max(6/
max(kappai_, 6/dMax_), dMin_);
81 dMax_(
"dMax",
dimLength, diameterProperties),
82 dMin_(
"dMin",
dimLength, diameterProperties),
83 residualAlpha_(
"residualAlpha",
dimless, diameterProperties),
85 sources_(diameterProperties.lookup(
"sources"),
IATEsource::iNew(*this))
105 return phase()*kappai_;
143 R += sources_[j].R(alphaAv, kappai_);
177 diameterProperties().lookup(
"dMax") >> dMax_;
178 diameterProperties().lookup(
"dMin") >> dMin_;
183 diameterProperties().lookup(
"sources"),
#define forAll(list, i)
Loop across all elements in list.
Macros for easy insertion into run-time selection tables.
Generic GeometricField class.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
void transfer(PtrList< T > &)
Transfer the contents of the argument PtrList into this PtrList.
Abstract base-class for dispersed-phase particle diameter models.
virtual bool read(const dictionary &phaseProperties)
Read phaseProperties dictionary.
IATE (Interfacial Area Transport Equation) bubble diameter model.
virtual ~IATE()
Destructor.
virtual void correct()
Correct the model.
virtual tmp< volScalarField > d() const
Get the diameter field.
virtual bool read(const dictionary &phaseProperties)
Read phaseProperties dictionary.
virtual tmp< volScalarField > Av() const
Get the surface area per unit volume field.
IATE(const dictionary &diameterProperties, const phaseModel &phase)
Construct from dictionary and phase.
Class used for the read-construction of.
IATE (Interfacial Area Transport Equation) bubble diameter model run-time selectable sources.
A list of keyword definitions, which are a keyword followed by any number of values (e....
static autoPtr< dictionary > New(Istream &)
Construct top-level dictionary on freestore from Istream.
Finite volume constraints.
bool constrain(fvMatrix< Type > &eqn) const
Apply constraints to an equation.
A special matrix type and solver, designed for finite volume solutions of scalar equations....
void relax(const scalar alpha)
Relax matrix (for steady-state solution).
SolverPerformance< Type > solve(const dictionary &)
Solve segregated or coupled returning the solution statistics.
tmp< fvMatrix< Type > > source(const VolField< Type > &field) const
Return source for an equation.
Helper class to manage multi-specie phase properties.
A class for managing temporary objects.
Foam::fvConstraints & fvConstraints(Foam::fvConstraints::New(mesh))
Foam::fvModels & fvModels(Foam::fvModels::New(mesh))
Fundamental dimensioned constants.
Area-weighted average a surfaceField creating a volField.
Calculate the first temporal derivative.
Calculate the divergence of the given field.
Calculate the matrix for the first temporal derivative.
Calculate the matrix for the divergence of the given field and flux.
Calculate the matrix for implicit and explicit sources.
addToRunTimeSelectionTable(diameterModel, constant, dictionary)
defineTypeNameAndDebug(constant, 0)
tmp< VolField< Type > > ddt(const dimensioned< Type > dt, const fvMesh &mesh)
tmp< VolField< Type > > average(const SurfaceField< Type > &ssf)
Area-weighted average a surfaceField creating a volField.
tmp< VolField< Type > > div(const SurfaceField< Type > &ssf)
tmp< fvMatrix< Type > > div(const surfaceScalarField &flux, const VolField< Type > &vf, const word &name)
tmp< fvMatrix< Type > > Sp(const volScalarField::Internal &, const VolField< Type > &)
tmp< fvMatrix< Type > > SuSp(const volScalarField::Internal &, const VolField< Type > &)
tmp< fvMatrix< Type > > ddt(const VolField< Type > &vf)
word name(const bool)
Return a word representation of a bool.
const dimensionSet dimless
const dimensionSet dimLength
layerAndWeight max(const layerAndWeight &a, const layerAndWeight &b)
static scalar R(const scalar a, const scalar x)