47 BrunDrippingInjection,
54BrunDrippingInjection::BrunDrippingInjection
92 const scalar magg =
mag(
film().
g().value());
96 bool dripping =
false;
100 const scalar rhoc =
rho[facei];
101 const scalar lc =
sqrt(
sigma[facei]/(rhoc*magg));
102 const scalar deltaStable =
max
104 3*lc*
sqrt(1 -
sqr(sinAlpha[facei]))
109 if (
delta[facei] > deltaStable)
111 const scalar massDrip =
112 availableMass[facei]*(
delta[facei] - deltaStable);
116 const scalar diam =
dCoeff_*lc;
119 massToInject[facei] += massDrip;
120 availableMass[facei] -= massDrip;
122 diameterToInject[facei] = diam;
132 diameterToInject[facei] = 0;
133 massToInject[facei] = 0;
Macros for easy insertion into run-time selection tables.
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.
const uniformDimensionedVectorField & g
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Film-dripping mass-transfer model.
scalar dCoeff_
Coefficient relating the diameter of the drops formed to the capillary length.
scalar deltaStable_
Stable film thickness - drips only formed if thickness exceeds this threshold value.
scalar ubarStar_
Critical non-dimensional interface velocity.
scalarList diameter_
Diameters of particles to inject into the dripping.
const liquidFilmBase & film() const
Return const access to the film surface film model.
Base class for film injection models, handling mass transfer from the film.
void addToInjectedMass(const scalar dMass)
Add to injected mass.
virtual const areaScalarField & sigma() const =0
Access const reference sigma.
const areaScalarField & gn() const noexcept
Access const reference gn.
virtual const areaScalarField & rho() const =0
Access const reference rho.
const areaScalarField & h() const noexcept
Access const reference h.
const dictionary coeffDict_
Coefficients dictionary.
const dictionary & dict() const
Return const access to the cloud dictionary.
A class for managing temporary objects.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
label max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
MinMax< scalar > scalarMinMax
A scalar min/max range.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
dimensionedScalar sqrt(const dimensionedScalar &ds)
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
GeometricField< scalar, faPatchField, areaMesh > areaScalarField
dimensionedScalar sigma("sigma", dimMass/sqr(dimTime), transportProperties)
#define forAll(list, i)
Loop across all elements in list.