Merge branch 'master' of ssh://git.code.sf.net/p/foam-extend/foam-extend-3.2
[foam-extend-3.2.git] / src / lagrangian / dieselSpray / spraySubModels / evaporationModel / RutlandFlashBoil / RutlandFlashBoil.H
blob3a793631a1e5b23084c07adb7696520af36dcd24
1 /*---------------------------------------------------------------------------*\
2   =========                 |
3   \\      /  F ield         | foam-extend: Open Source CFD
4    \\    /   O peration     | Version:     3.2
5     \\  /    A nd           | Web:         http://www.foam-extend.org
6      \\/     M anipulation  | For copyright notice see file Copyright
7 -------------------------------------------------------------------------------
8 License
9     This file is part of foam-extend.
11     foam-extend is free software: you can redistribute it and/or modify it
12     under the terms of the GNU General Public License as published by the
13     Free Software Foundation, either version 3 of the License, or (at your
14     option) any later version.
16     foam-extend is distributed in the hope that it will be useful, but
17     WITHOUT ANY WARRANTY; without even the implied warranty of
18     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
19     General Public License for more details.
21     You should have received a copy of the GNU General Public License
22     along with foam-extend.  If not, see <http://www.gnu.org/licenses/>.
24 Class
25     Foam::RutlandFlashBoil
27 Description
28     Evaporation model with flash boiling.
30     Evaporation model that takes into account of:
31       - flash boiling of the liquid core and droplets
32       - superheated vaporization of a boiling droplet
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 \*---------------------------------------------------------------------------*/
42 #ifndef RutlandFlashBoil_H
43 #define RutlandFlashBoil_H
45 #include "evaporationModel.H"
47 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
49 namespace Foam
52 /*---------------------------------------------------------------------------*\
53                            Class RutlandFlashBoil Declaration
54 \*---------------------------------------------------------------------------*/
56 class RutlandFlashBoil
58     public evaporationModel
61 private:
63     // Private data
65         dictionary evapDict_;
66         scalar preReScFactor_;
67         scalar ReExponent_;
68         scalar ScExponent_;
70         word evaporationScheme_;
71         label nEvapIter_;
74 public:
76     //- Runtime type information
77         TypeName("RutlandFlashBoil");
80     // Constructors
82         //- Construct from dictionary
83         RutlandFlashBoil
84         (
85             const dictionary& dict
86         );
89     // Destructor
91         ~RutlandFlashBoil();
94     // Member Functions
96         bool evaporation() const;
98        //- Correlation for the Sherwood Number
99         scalar Sh
100         (
101             const scalar ReynoldsNumber,
102             const scalar SchmidtNumber
103         ) const;
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;
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;
141         inline label nEvapIter() const;
145 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
147 } // End namespace Foam
149 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
151 #endif
153 // ************************************************************************* //