FreeFOAM The Cross-Platform CFD Toolkit
saturateEvaporationModel.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::saturateEvaporationModel
26 
27 Description
28  saturate evaporation model.
29  Characteristic time is calculated to immediately saturate the cell
30  It should be mentioned that this is coupled with the (implicit) way
31  evaporation is done in parcel, since the evaporation time depends
32  on the integration step
33 
34 \*---------------------------------------------------------------------------*/
35 
36 #ifndef saturateEvaporationModel_H
37 #define saturateEvaporationModel_H
38 
40 
41 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
42 
43 namespace Foam
44 {
45 
46 /*---------------------------------------------------------------------------*\
47  Class saturateEvaporationModel Declaration
48 \*---------------------------------------------------------------------------*/
49 
51 :
52  public evaporationModel
53 {
54 
55 private:
56 
57  // Private data
58 
59  dictionary evapDict_;
60 
61 public:
62 
63  //- Runtime type information
64  TypeName("saturateEvaporationModel");
65 
66 
67  // Constructors
68 
69  //- Construct from dictionary
71  (
72  const dictionary& dict
73  );
74 
75 
76  // Destructor
77 
79 
80 
81  // Member Functions
82 
83  bool evaporation() const;
84 
85  //- Correlation for the Sherwood Number
86  scalar Sh
87  (
88  const scalar ReynoldsNumber,
89  const scalar SchmidtNumber
90  ) const;
91 
92  //- Return the evaporation relaxation time
93  scalar relaxationTime
94  (
95  const scalar diameter,
96  const scalar liquidDensity,
97  const scalar rhoFuelVapor,
98  const scalar massDiffusionCoefficient,
99  const scalar ReynoldsNumber,
100  const scalar SchmidtNumber,
101  const scalar Xs,
102  const scalar Xf,
103  const scalar m0,
104  const scalar dm,
105  const scalar dt
106  ) const;
107 
108  scalar boilingTime
109  (
110  const scalar liquidDensity,
111  const scalar cpFuel,
112  const scalar heatOfVapour,
113  const scalar kappa,
114  const scalar Nusselt,
115  const scalar deltaTemp,
116  const scalar diameter,
117  const scalar,
118  const scalar,
119  const scalar,
120  const scalar,
121  const scalar,
122  const scalar,
123  const scalar,
124  const scalar,
125  const scalar
126  ) const;
127 
128  inline label nEvapIter() const;
129 };
130 
131 
132 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
133 
134 } // End namespace Foam
135 
136 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
137 
138 #endif
139 
140 // ************************ vim: set sw=4 sts=4 et: ************************ //