FreeFOAM The Cross-Platform CFD Toolkit
RutlandFlashBoil.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 | Copyright (C) 1991-2010 OpenCFD Ltd.
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::RutlandFlashBoil
26 
27 Description
28  Evaporation model with flash boiling.
29 
30  Evaporation model that takes into account of:
31  - flash boiling of the liquid core and droplets
32  - superheated vaporization of a boiling droplet
33 
34  Accurated description in
35  @verbatim
36  B. Zuo, A.M. Gomes, C.J. Rutland
37  "Modeling Superheated Fuel Spray Vaporization"
38  Int. Journal of Engine Research, 2000. Vol. 1, pp. 321-326
39  @endverbatim
40 \*---------------------------------------------------------------------------*/
41 
42 #ifndef RutlandFlashBoil_H
43 #define RutlandFlashBoil_H
44 
46 
47 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
48 
49 namespace Foam
50 {
51 
52 /*---------------------------------------------------------------------------*\
53  Class RutlandFlashBoil Declaration
54 \*---------------------------------------------------------------------------*/
55 
57 :
58  public evaporationModel
59 {
60 
61 private:
62 
63  // Private data
64 
65  dictionary evapDict_;
66  scalar preReScFactor_;
67  scalar ReExponent_;
68  scalar ScExponent_;
69 
70  word evaporationScheme_;
71  label nEvapIter_;
72 
73 
74 public:
75 
76  //- Runtime type information
77  TypeName("RutlandFlashBoil");
78 
79 
80  // Constructors
81 
82  //- Construct from dictionary
84  (
85  const dictionary& dict
86  );
87 
88 
89  // Destructor
90 
92 
93 
94  // Member Functions
95 
96  bool evaporation() const;
97 
98  //- Correlation for the Sherwood Number
99  scalar Sh
100  (
101  const scalar ReynoldsNumber,
102  const scalar SchmidtNumber
103  ) const;
104 
105  //- Return the evaporation relaxation time
106  scalar relaxationTime
107  (
108  const scalar diameter,
109  const scalar liquidDensity,
110  const scalar rhoFuelVapor,
111  const scalar massDiffusionCoefficient,
112  const scalar ReynoldsNumber,
113  const scalar SchmidtNumber,
114  const scalar Xs,
115  const scalar Xf,
116  const scalar m0,
117  const scalar dm,
118  const scalar dt
119  ) const;
120 
121  scalar boilingTime
122  (
123  const scalar liquidDensity,
124  const scalar cpFuel,
125  const scalar heatOfVapour,
126  const scalar kappa,
127  const scalar Nusselt,
128  const scalar deltaTemp,
129  const scalar diameter,
130  const scalar liquidCore,
131  const scalar time,
132  const scalar tDrop,
133  const scalar tBoilingSurface,
134  const scalar vapourSurfaceEnthalpy,
135  const scalar vapourFarEnthalpy,
136  const scalar cpGas,
137  const scalar temperature,
138  const scalar kLiquid
139  ) const;
140 
141  inline label nEvapIter() const;
142 };
143 
144 
145 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
146 
147 } // End namespace Foam
148 
149 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
150 
151 #endif
152 
153 // ************************ vim: set sw=4 sts=4 et: ************************ //