33 namespace filmEjectionModels
52 dict.optionalSubDict(typeName +
"Coeffs")
53 .lookupOrDefault(
"ubarStar", 1.62208)
57 dict.optionalSubDict(typeName +
"Coeffs")
58 .lookupOrDefault(
"dCoeff", 3.3)
62 dict.optionalSubDict(typeName +
"Coeffs")
63 .lookupOrDefault(
"deltaStable", scalar(0))
65 minParticlesPerParcel_
67 dict.optionalSubDict(typeName +
"Coeffs")
68 .lookupOrDefault(
"minParticlesPerParcel", 1)
93 const scalar magg =
mag(film_.g.value());
94 const vector gHat = -film_.g.value()/magg;
96 const scalar deltaT = film_.mesh.time().deltaTValue();
101 diameter_[celli] = 0;
103 const scalar sinAlpha = nHat[celli] & gHat;
105 if (sinAlpha > small &&
delta[celli] > deltaStable_)
109 const scalar deltaStable =
max
112 /(ubarStar_*
sqrt(sinAlpha)*sinAlpha),
116 if (
delta[celli] > deltaStable)
118 const scalar ddelta =
delta[celli] - deltaStable;
119 const scalar massDrip = ddelta*
rho[celli]*magSf[celli];
122 diameter_[celli] = dCoeff_*lc;
125 const scalar minMass =
126 minParticlesPerParcel_
127 *
rho[celli]*piBy6*
pow3(diameter_[celli]);
129 if (massDrip > minMass)
132 rate_[celli] = ddelta/(deltaT*
delta[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...
A list of keyword definitions, which are a keyword followed by any number of values (e....
Brun dripping film to cloud ejection transfer model.
BrunDripping(const dictionary &dict, const solvers::isothermalFilm &film)
Construct from dictionary and film model.
virtual void correct()
Correct.
virtual ~BrunDripping()
Destructor.
Solver module for flow of compressible isothermal liquid films.
A class for managing temporary objects.
const dimensionedScalar sigma
Stefan-Boltzmann constant: default SI units: [W/m^2/K^4].
addToRunTimeSelectionTable(ejectionModel, BrunDripping, dictionary)
defineTypeNameAndDebug(BrunDripping, 0)
dimensionedSymmTensor sqr(const dimensionedVector &dv)
dimensionedScalar pow3(const dimensionedScalar &ds)
dimensionedScalar sqrt(const dimensionedScalar &ds)
dimensioned< scalar > mag(const dimensioned< Type > &)
layerAndWeight max(const layerAndWeight &a, const layerAndWeight &b)