drippingEjection.H
Go to the documentation of this file.
1 /*---------------------------------------------------------------------------*\
2  ========= |
3  \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
4  \\ / O peration | Website: https://openfoam.org
5  \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation
6  \\/ M anipulation |
7 -------------------------------------------------------------------------------
8 License
9  This file is part of OpenFOAM.
10 
11  OpenFOAM is free software: you can redistribute it and/or modify it
12  under the terms of the GNU General Public License as published by
13  the Free Software Foundation, either version 3 of the License, or
14  (at your option) any later version.
15 
16  OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
17  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
18  FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
19  for more details.
20 
21  You should have received a copy of the GNU General Public License
22  along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
23 
24 Class
25  Foam::regionModels::surfaceFilmModels::drippingEjection
26 
27 Description
28  Film Dripping mass transfer model.
29 
30  If the film mass exceeds that needed to generate a valid parcel, the
31  equivalent mass is removed from the film.
32 
33  New parcel diameters are sampled from a PDF.
34 
35 SourceFiles
36  drippingEjection.C
37 
38 \*---------------------------------------------------------------------------*/
39 
40 #ifndef drippingEjection_H
41 #define drippingEjection_H
42 
43 #include "ejectionModel.H"
44 #include "distributionModel.H"
45 #include "Random.H"
46 
47 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
48 
49 namespace Foam
50 {
51 namespace regionModels
52 {
53 namespace surfaceFilmModels
54 {
55 
56 /*---------------------------------------------------------------------------*\
57  Class drippingEjection Declaration
58 \*---------------------------------------------------------------------------*/
59 
60 class drippingEjection
61 :
62  public ejectionModel
63 {
64 protected:
65 
66  // Protected data
67 
68  //- Stable film thickness - drips only formed if thickness
69  // exceeds this threshold value
70  scalar deltaStable_;
71 
72  //- Number of particles per parcel
73  scalar particlesPerParcel_;
74 
75  //- Random number generator
77 
78  //- Parcel size PDF model
81 
82  //- Diameters of particles to eject into the dripping
84 
85 
86 public:
87 
88  //- Runtime type information
89  TypeName("drippingEjection");
90 
91 
92  // Constructors
93 
94  //- Construct from surface film model
96  (
98  const dictionary& dict
99  );
100 
101  //- Disallow default bitwise copy construction
102  drippingEjection(const drippingEjection&) = delete;
103 
104 
105  //- Destructor
106  virtual ~drippingEjection();
107 
108 
109  // Member Functions
110 
111  // Evolution
112 
113  //- Correct
114  virtual void correct
115  (
116  scalarField& availableMass,
117  scalarField& massToEject,
118  scalarField& diameterToEject
119  );
120 
121 
122  // Member Operators
123 
124  //- Disallow default bitwise assignment
125  void operator=(const drippingEjection&) = delete;
126 };
127 
128 
129 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
130 
131 } // End namespace surfaceFilmModels
132 } // End namespace regionModels
133 } // End namespace Foam
134 
135 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
136 
137 #endif
138 
139 // ************************************************************************* //
scalar deltaStable_
Stable film thickness - drips only formed if thickness.
A list of keyword definitions, which are a keyword followed by any number of values (e...
Definition: dictionary.H:156
Base class for film ejection models, handling mass transfer from the film.
Definition: ejectionModel.H:56
drippingEjection(surfaceFilmRegionModel &film, const dictionary &dict)
Construct from surface film model.
const autoPtr< distributionModel > parcelDistribution_
Parcel size PDF model.
const dictionary & dict() const
Return const access to the cloud dictionary.
Definition: subModelBase.C:110
const surfaceFilmRegionModel & film() const
Return const access to the film surface film model.
TypeName("drippingEjection")
Runtime type information.
scalarList diameter_
Diameters of particles to eject into the dripping.
scalar particlesPerParcel_
Number of particles per parcel.
Random number generator.
Definition: Random.H:57
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Definition: PtrList.H:52
void operator=(const drippingEjection &)=delete
Disallow default bitwise assignment.
Namespace for OpenFOAM.