FreeFOAM The Cross-Platform CFD Toolkit
standardEvaporationModel.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::standardEvaporationModel
26 
27 Description
28  standard evaporation model based on the logarithmic expression
29  of the ration of pressure differences.
30 
31 \*---------------------------------------------------------------------------*/
32 
33 #ifndef standardEvaporationModel_H
34 #define standardEvaporationModel_H
35 
37 
38 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
39 
40 namespace Foam
41 {
42 
43 /*---------------------------------------------------------------------------*\
44  Class standardEvaporationModel Declaration
45 \*---------------------------------------------------------------------------*/
46 
48 :
49  public evaporationModel
50 {
51 
52 private:
53 
54  // Private data
55 
56  dictionary evapDict_;
57  scalar preReScFactor_;
58  scalar ReExponent_;
59  scalar ScExponent_;
60 
61  word evaporationScheme_;
62  label nEvapIter_;
63 
64 
65 public:
66 
67  //- Runtime type information
68  TypeName("standardEvaporationModel");
69 
70 
71  // Constructors
72 
73  //- Construct from dictionary
75  (
76  const dictionary& dict
77  );
78 
79 
80  // Destructor
81 
83 
84 
85  // Member Functions
86 
87  bool evaporation() const;
88 
89  //- Correlation for the Sherwood Number
90  scalar Sh
91  (
92  const scalar ReynoldsNumber,
93  const scalar SchmidtNumber
94  ) const;
95 
96  //- Return the evaporation relaxation time
97  scalar relaxationTime
98  (
99  const scalar diameter,
100  const scalar liquidDensity,
101  const scalar rhoFuelVapor,
102  const scalar massDiffusionCoefficient,
103  const scalar ReynoldsNumber,
104  const scalar SchmidtNumber,
105  const scalar Xs,
106  const scalar Xf,
107  const scalar m0,
108  const scalar dm,
109  const scalar dt
110  ) const;
111 
112  scalar boilingTime
113  (
114  const scalar liquidDensity,
115  const scalar cpFuel,
116  const scalar heatOfVapour,
117  const scalar kappa,
118  const scalar Nusselt,
119  const scalar deltaTemp,
120  const scalar diameter,
121  const scalar,
122  const scalar,
123  const scalar,
124  const scalar,
125  const scalar,
126  const scalar,
127  const scalar,
128  const scalar,
129  const scalar
130  ) const;
131 
132  inline label nEvapIter() const;
133 };
134 
135 
136 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
137 
138 } // End namespace Foam
139 
140 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
141 
142 #endif
143 
144 // ************************ vim: set sw=4 sts=4 et: ************************ //