initial commit for version 1.6.x patch release
[OpenFOAM-1.6.x.git] / src / lagrangian / dieselSpray / spraySubModels / evaporationModel / RutlandFlashBoil / RutlandFlashBoil.H
bloba94431494834748e94802e27141b7ff0fcbf0f60
1 /*---------------------------------------------------------------------------*\
2   =========                 |
3   \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
4    \\    /   O peration     |
5     \\  /    A nd           | Copyright (C) 1991-2009 OpenCFD Ltd.
6      \\/     M anipulation  |
7 -------------------------------------------------------------------------------
8 License
9     This file is part of OpenFOAM.
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 the
13     Free Software Foundation; either version 2 of the License, or (at your
14     option) any later version.
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.
21     You should have received a copy of the GNU General Public License
22     along with OpenFOAM; if not, write to the Free Software Foundation,
23     Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
25 Class
26     Foam::RutlandFlashBoil
28 Description
29     Evaporation model with flash boiling.
31     Evaporation model that takes into account of:
32       - flash boiling of the liquid core and droplets
33       - superheated vaporization of a boiling droplet
35     Accurated description in
36     @verbatim
37     B. Zuo, A.M. Gomes, C.J. Rutland
38     "Modeling Superheated Fuel Spray Vaporization"
39     Int. Journal of Engine Research, 2000. Vol. 1, pp. 321-326
40     @endverbatim
41 \*---------------------------------------------------------------------------*/
43 #ifndef RutlandFlashBoil_H
44 #define RutlandFlashBoil_H
46 #include "evaporationModel.H"
48 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
50 namespace Foam
53 /*---------------------------------------------------------------------------*\
54                            Class RutlandFlashBoil Declaration
55 \*---------------------------------------------------------------------------*/
57 class RutlandFlashBoil
59     public evaporationModel
62 private:
64     // Private data
66         dictionary evapDict_;
67         scalar preReScFactor_;
68         scalar ReExponent_;
69         scalar ScExponent_;
71         word evaporationScheme_;
72         label nEvapIter_;
75 public:
77     //- Runtime type information
78         TypeName("RutlandFlashBoil");
81     // Constructors
83         //- Construct from dictionary
84         RutlandFlashBoil
85         (
86             const dictionary& dict
87         );
90     // Destructor
92         ~RutlandFlashBoil();
95     // Member Functions
97         bool evaporation() const;
99        //- Correlation for the Sherwood Number
100         scalar Sh
101         (
102             const scalar ReynoldsNumber,
103             const scalar SchmidtNumber
104         ) const;
106         //- Return the evaporation relaxation time
107         scalar relaxationTime
108         (
109             const scalar diameter,
110             const scalar liquidDensity,
111             const scalar rhoFuelVapor,
112             const scalar massDiffusionCoefficient,
113             const scalar ReynoldsNumber,
114             const scalar SchmidtNumber,
115             const scalar Xs,
116             const scalar Xf,
117             const scalar m0,
118             const scalar dm,
119             const scalar dt
120         ) const;
122         scalar boilingTime
123         (
124             const scalar liquidDensity,
125             const scalar cpFuel,
126             const scalar heatOfVapour,
127             const scalar kappa,
128             const scalar Nusselt,
129             const scalar deltaTemp,
130             const scalar diameter,
131             const scalar liquidCore,
132             const scalar time,
133             const scalar tDrop,
134             const scalar tBoilingSurface,
135             const scalar vapourSurfaceEnthalpy,
136             const scalar vapourFarEnthalpy,
137             const scalar cpGas,
138             const scalar temperature,
139             const scalar kLiquid
140         ) const;
142         inline label nEvapIter() const;
146 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
148 } // End namespace Foam
150 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
152 #endif
154 // ************************************************************************* //