34 namespace diameterModels
38 namespace sinteringModels
58 dict_(
dict.subDict(
type() +
"Coeffs")),
59 Cs_(dict_.lookup<scalar>(
"Cs")),
60 n_(dict_.lookup<scalar>(
"n")),
61 m_(dict_.lookup<scalar>(
"m")),
62 Ta_(dict_.lookup<scalar>(
"Ta")),
63 dpMin_(dict_.lookupOrDefault<scalar>(
"dpMin", 0))
84 fractal_.group().mesh(),
97 const scalar dp = 6/
max(6/fi.
dSph().
value(), kappai[celli]);
100 Cs_*
pow(dp, n_)*
pow(
T[celli], m_)*
exp(Ta_/
T[celli]*(1 - dpMin_/dp));
130 R[celli] = fi[celli]*
alpha[celli]/tau[celli];
#define forAll(list, i)
Loop across all elements in list.
Macros for easy insertion into run-time selection tables.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
const Mesh & mesh() const
Return mesh.
static tmp< DimensionedField< Type, GeoMesh > > New(const word &name, const Mesh &mesh, const dimensionSet &, const Field< Type > &)
Return a temporary field constructed from name, mesh,.
Generic GeometricField class.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
const Time & time() const
Return time.
Class for modelling the shape of particle aggregates using the concept of fractal geometry....
Abstract base class for modelling sintering of primary particles in fractal aggregates.
virtual tmp< fvScalarMatrix > R() const
Sintering source term.
virtual tmp< volScalarField::Internal > tau() const
Characteristic time for sintering.
KochFriedlander(const dictionary &dict, const fractal &fractalShape)
Construct from a dictionary and a fractal shape model.
virtual ~KochFriedlander()
Destructor.
Single size class fraction field representing a fixed particle volume as defined by the user through ...
const dimensionedScalar & dSph() const
Return representative spherical diameter of the sizeGroup.
const velocityGroup & group() const
Return const-reference to the velocityGroup.
const phaseModel & phase() const
Return const-reference to the phase.
A list of keyword definitions, which are a keyword followed by any number of values (e....
const Type & value() const
Return const reference to value.
const word & name() const
Return const reference to name.
A class for managing temporary objects.
T & ref() const
Return non-const reference or generate a fatal error.
Calculate the matrix for implicit and explicit sources.
volScalarField alpha(IOobject("alpha", runTime.name(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE), lambda *max(Ua &U, zeroSensitivity))
defineTypeNameAndDebug(KochFriedlander, 0)
addToRunTimeSelectionTable(sinteringModel, KochFriedlander, dictionary)
tmp< fvMatrix< Type > > Sp(const volScalarField::Internal &, const VolField< Type > &)
dimensionedScalar exp(const dimensionedScalar &ds)
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
const dimensionSet dimTime
word typedName(Name name)
Return the name of the object within the given type.
layerAndWeight max(const layerAndWeight &a, const layerAndWeight &b)
static scalar R(const scalar a, const scalar x)
dimensionedSphericalTensor inv(const dimensionedSphericalTensor &dt)
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.