35template<
class Thermo,
class OtherThermo>
89 isoAlpha_(
dict.getOrDefault<scalar>(
"isoAlpha", 0.5))
95template<
class Thermo,
class OtherThermo>
119 const label status =
cutCell.calcSubCell(celli, isoAlpha_);
122 Salpha[celli] = scalar(1);
128 max((oxideCrit_.value() - to)/oxideCrit_.value(), scalar(0));
135 - scalar(1)/
max((
T - Tsolidus_)/(Tliquidus_ - Tsolidus_),scalar(1
e-6))
139 mDotOxide_ = C_*tSalpha*tSoxide*tST;
145 if (isA<timeVaryingMassSorptionFvPatchScalarField>(alphab[patchi]))
148 refCast<const timeVaryingMassSorptionFvPatchScalarField>
160 mesh.time().timeName(),
168 rhoto = this->pair().to().rho();
172 const label cellI = fc[faceI];
173 const scalar rhoI = rhoto[cellI];
174 mDotOxide_[cellI] += rhoI*tsb()[faceI];
183template<
class Thermo,
class OtherThermo>
195template<
class Thermo,
class OtherThermo>
Internal & ref(const bool updateAccessTime=true)
Return a reference to the dimensioned internal field.
const Boundary & boundaryField() const
Return const-reference to the boundary field.
Defines the attributes of an object for which implicit objectRegistry management is supported,...
Base class for interface composition models, templated on the two thermodynamic models either side of...
static autoPtr< Time > New()
Construct (dummy) Time - no functionObjects or libraries.
Class for cutting a cell, celli, of an fvMesh, mesh_, at its intersection with an isosurface defined ...
Service routines for cutting a cell, celli, of an fvMesh, mesh_, at its intersection with a surface.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Mesh data needed to do the Finite Volume discretisation.
The interfaceOxideRate is a simple model to calculate the formation rate of oxide inclusions (mDotOxi...
virtual tmp< volScalarField > Kexp(const volScalarField &field)
Explicit total mass transfer coefficient.
virtual tmp< volScalarField > KSu(label modelVariable, const volScalarField &field)
Explicit mass transfer coefficient.
virtual tmp< volScalarField > KSp(label modelVariable, const volScalarField &field)
Implicit mass transfer coefficient.
Description for mass transfer between a pair of phases. The direction of the mass transfer is from th...
A class for managing temporary objects.
label max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.
dimensionedScalar exp(const dimensionedScalar &ds)
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
const dimensionSet dimTemperature(0, 0, 0, 1, 0, 0, 0)
static constexpr const zero Zero
Global zero (0)
bool interpolate(const vector &p1, const vector &p2, const vector &o, vector &n, scalar l)
const dimensionSet dimDensity
#define forAll(list, i)
Loop across all elements in list.