BrunDrippingInjection.H
Go to the documentation of this file.
1 /*---------------------------------------------------------------------------*\
2  ========= |
3  \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
4  \\ / O peration |
5  \\ / A nd | www.openfoam.com
6  \\/ M anipulation |
7 -------------------------------------------------------------------------------
8  Copyright (C) 2016-2017 OpenFOAM Foundation
9  Copyright (C) 2022 OpenCFD Ltd.
10 -------------------------------------------------------------------------------
11 License
12  This file is part of OpenFOAM.
13 
14  OpenFOAM is free software: you can redistribute it and/or modify it
15  under the terms of the GNU General Public License as published by
16  the Free Software Foundation, either version 3 of the License, or
17  (at your option) any later version.
18 
19  OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
20  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
21  FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
22  for more details.
23 
24  You should have received a copy of the GNU General Public License
25  along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
26 
27 Class
28  Foam::regionModels::areaSurfaceFilmModels::BrunDrippingInjection
29 
30 Description
31  Film-dripping mass-transfer model.
32 
33  If the film thickness exceeds the critical value needed to generate one or
34  more drops, the equivalent mass is removed from the film. The critical film
35  thickness is calculated from the Rayleigh-Taylor stability analysis of film
36  flow on an inclined plane, proposed by (Brun et. al., 2015).
37 
38  Reference:
39  \verbatim
40  Brun, P. T., Damiano, A., Rieu, P., Balestra, G., & Gallaire, F. (2015).
41  Rayleigh-Taylor instability under an inclined plane.
42  Physics of Fluids, 27(8), 084107.
43  DOI:10.1063/1.4927857
44  \endverbatim
45 
46  The diameter of the drops formed are obtained from the local
47  capillary length multiplied by the \c dCoeff coefficient.
48 
49  Reference:
50  \verbatim
51  Lefebvre, A. (1988).
52  Atomization and sprays
53  (Vol. 1040, No. 2756). CRC press.
54  \endverbatim
55 
56 Usage
57  Minimal example:
58  \verbatim
59  injectionModels
60  (
61  BrunDrippingInjection
62  );
63 
64  BrunDrippingInjectionCoeffs
65  {
66  // Optional entries
67  ubarStar <scalar>;
68  dCoeff <scalar>;
69  deltaStable <scalar>;
70  }
71  \endverbatim
72 
73  where the entries mean:
74  \table
75  Property | Description | Type | Reqd | Deflt
76  type | Type name: BrunDrippingInjection | word | yes | -
77  ubarStar | Critical non-dimensional interface velocity <!--
78  --> | scalar | yes | 1.62208
79  dCoeff | Coefficient relating the diameter of the drops <!--
80  --> formed to the capillary length | scalar | yes | 3.3
81  deltaStable | Stable film thickness | scalar | yes | 0
82  \endtable
83 
84  The inherited entries are elaborated in:
85  - \link injectionModel.H \endlink
86 
87 SourceFiles
88  BrunDrippingInjection.C
89 
90 \*---------------------------------------------------------------------------*/
91 
92 #ifndef areaSurfaceFilmModels_BrunDrippingInjection_H
93 #define areaSurfaceFilmModels_BrunDrippingInjection_H
94 
95 #include "injectionModel.H"
96 
97 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
98 
99 namespace Foam
100 {
101 namespace regionModels
102 {
103 namespace areaSurfaceFilmModels
104 {
105 
106 /*---------------------------------------------------------------------------*\
107  Class BrunDrippingInjection Declaration
108 \*---------------------------------------------------------------------------*/
109 
110 class BrunDrippingInjection
111 :
112  public injectionModel
113 {
114  // Private Member Functions
115 
116  //- No copy construct
117  BrunDrippingInjection(const BrunDrippingInjection&) = delete;
118 
119  //- No copy assignment
120  void operator=(const BrunDrippingInjection&) = delete;
121 
122 
123 protected:
124 
125  // Protected Data
126 
127  //- Critical non-dimensional interface velocity
128  // Coefficient in the film angle stability function.
129  scalar ubarStar_;
130 
131  //- Coefficient relating the diameter of the drops formed to
132  //- the capillary length.
133  scalar dCoeff_;
134 
135  //- Stable film thickness - drips only formed if thickness
136  //- exceeds this threshold value
137  scalar deltaStable_;
138 
139  //- Diameters of particles to inject into the dripping
141 
142 
143 public:
144 
145  //- Runtime type information
146  TypeName("BrunDrippingInjection");
147 
148 
149  // Constructors
150 
151  //- Construct from surface film model
153  (
155  const dictionary& dict
156  );
157 
158 
159  //- Destructor
160  virtual ~BrunDrippingInjection() = default;
161 
162 
163  // Member Functions
164 
165  //- Correct
166  virtual void correct
167  (
168  scalarField& availableMass,
169  scalarField& massToInject,
170  scalarField& diameterToInject
171  );
172 };
173 
174 
175 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
176 
177 } // End namespace areaSurfaceFilmModels
178 } // End namespace regionModels
179 } // End namespace Foam
180 
181 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
183 #endif
184 
185 // ************************************************************************* //
scalar deltaStable_
Stable film thickness - drips only formed if thickness exceeds this threshold value.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
Definition: dictionary.H:129
TypeName("BrunDrippingInjection")
Runtime type information.
scalar dCoeff_
Coefficient relating the diameter of the drops formed to the capillary length.
const dictionary & dict() const
Return const access to the cloud dictionary.
Definition: subModelBase.C:104
scalarList diameter_
Diameters of particles to inject into the dripping.
scalar ubarStar_
Critical non-dimensional interface velocity.
Namespace for OpenFOAM.
const liquidFilmBase & film() const
Return const access to the film surface film model.