39 namespace regionModels
41 namespace surfaceFilmModels
58 deltaStable_(coeffDict_.lookup<scalar>(
"deltaStable")),
59 particlesPerParcel_(coeffDict_.lookup<scalar>(
"particlesPerParcel")),
65 coeffDict_.subDict(
"parcelDistribution"),
89 refCast<const kinematicSingleLayer>(this->
film());
104 if (gNorm[i] > small)
108 min(availableMass[i],
max(0.0, ddelta*rho[i]*magSf[i]));
116 if (massDrip[celli] > 0)
125 scalar rhoc = rho[celli];
128 if (massDrip[celli] > minMass)
131 massToEject[celli] += massDrip[celli];
132 availableMass[celli] -= massDrip[celli];
135 diameterToEject[celli] = diam;
145 massToEject[celli] = 0.0;
146 diameterToEject[celli] = 0.0;
151 massToEject[celli] = 0.0;
152 diameterToEject[celli] = 0.0;
#define forAll(list, i)
Loop across all elements in list.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
scalar deltaStable_
Stable film thickness - drips only formed if thickness.
Base class for surface film models.
Kinematic form of single-cell layer surface film model.
A list of keyword definitions, which are a keyword followed by any number of values (e...
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
Base class for film ejection models, handling mass transfer from the film.
drippingEjection(surfaceFilmRegionModel &film, const dictionary &dict)
Construct from surface film model.
const autoPtr< distributionModel > parcelDistribution_
Parcel size PDF model.
Macros for easy insertion into run-time selection tables.
const surfaceFilmRegionModel & film() const
Return const access to the film surface film model.
scalarList diameter_
Diameters of particles to eject into the dripping.
const volVectorField & nHat() const
Return the patch normal vectors.
scalar particlesPerParcel_
Number of particles per parcel.
const fvMesh & regionMesh() const
Return the region mesh database.
const dimensionedVector & g() const
Return the acceleration due to gravity.
void addToEjectedMass(const scalar dMass)
Add to ejected mass.
virtual ~drippingEjection()
Destructor.
const volScalarField & delta() const
Return const access to the film thickness [m].
dimensioned< Type > min(const dimensioned< Type > &, const dimensioned< Type > &)
dimensionedScalar pow3(const dimensionedScalar &ds)
const volScalarField::Internal & magSf() const
Return the face area magnitudes [m^2].
static autoPtr< distributionModel > New(const dictionary &dict, Random &rndGen)
Selector.
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.
const volScalarField & rho() const
Return the film density [kg/m^3].
defineTypeNameAndDebug(kinematicSingleLayer, 0)
addToRunTimeSelectionTable(surfaceFilmModel, noFilm, mesh)