34 namespace diameterModels
38 namespace sinteringModels
53 const dictionary&
dict,
54 const fractal& fractalShape
57 sinteringModel(dict, fractalShape),
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"))
78 tmp<volScalarField::Internal> tTau
83 fractal_.SizeGroup().mesh(),
90 const sizeGroup& fi = fractal_.SizeGroup();
97 Cs_*
pow(6.0/
max(6.0/fi.dSph().value(), kappai[celli]), n_)
98 *
pow(T[celli], m_)*
exp(Ta_/T[celli]);
108 const sizeGroup& fi = fractal_.SizeGroup();
118 fi.time().timeName(),
129 R[celli] = fi[celli]*alpha[celli]*rho[celli]/tau[celli];
132 return fvm::Sp(
R, kappai) - 6.0/fi.dSph()*
R;
#define forAll(list, i)
Loop across all elements in list.
static tmp< DimensionedField< Type, GeoMesh > > New(const word &name, const Mesh &mesh, const dimensionSet &)
Return a temporary field constructed from name, mesh.
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
IOobject(const word &name, const fileName &instance, const objectRegistry ®istry, readOption r=NO_READ, writeOption w=NO_WRITE, bool registerObject=true)
Construct from name, instance, registry, io options.
tmp< fvMatrix< Type > > Sp(const volScalarField::Internal &, const GeometricField< Type, fvPatchField, volMesh > &)
DimensionedField< scalar, volMesh > Internal
Type of the internal field from which this GeometricField is derived.
Macros for easy insertion into run-time selection tables.
virtual tmp< volScalarField::Internal > tau() const
Characteristic time for sintering.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
stressControl lookup("compactNormalStress") >> compactNormalStress
dimensionedScalar exp(const dimensionedScalar &ds)
KochFriedlander(const dictionary &dict, const fractal &fractalShape)
Construct from a dictionary.
tmp< GeometricField< Type, PatchField, GeoMesh > > T() const
Return transpose (only if it is a tensor field)
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
defineTypeNameAndDebug(combustionModel, 0)
const dimensionSet dimDensity
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
#define R(A, B, C, D, E, F, K, M)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.
virtual ~KochFriedlander()
Destructor.
virtual tmp< fvScalarMatrix > R() const
Sintering source term.
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
A class for managing temporary objects.
Calculate the matrix for implicit and explicit sources.