initial commit for version 1.6.x patch release
[OpenFOAM-1.6.x.git] / src / lagrangian / dieselSpray / spraySubModels / evaporationModel / saturateEvaporationModel / saturateEvaporationModel.H
blobf1baa0b0e40f4e4a0042f6974256459b9e0b1109
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::saturateEvaporationModel
28 Description
29     saturate evaporation model.
30     Characteristic time is calculated to immediately saturate the cell
31     It should be mentioned that this is coupled with the (implicit) way 
32     evaporation is done in parcel, since the evaporation time depends
33     on the integration step
35 \*---------------------------------------------------------------------------*/
37 #ifndef saturateEvaporationModel_H
38 #define saturateEvaporationModel_H
40 #include "evaporationModel.H"
42 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
44 namespace Foam
47 /*---------------------------------------------------------------------------*\
48                            Class saturateEvaporationModel Declaration
49 \*---------------------------------------------------------------------------*/
51 class saturateEvaporationModel
53     public evaporationModel
56 private:
58     // Private data
60         dictionary evapDict_;
62 public:
64     //- Runtime type information
65         TypeName("saturateEvaporationModel");
68     // Constructors
70         //- Construct from dictionary
71         saturateEvaporationModel
72         (
73             const dictionary& dict
74         );
77     // Destructor
79         ~saturateEvaporationModel();
82     // Member Functions
84         bool evaporation() const;
86        //- Correlation for the Sherwood Number
87         scalar Sh
88         (
89             const scalar ReynoldsNumber,
90             const scalar SchmidtNumber
91         ) const;
93         //- Return the evaporation relaxation time
94         scalar relaxationTime
95         (
96             const scalar diameter,
97             const scalar liquidDensity,
98             const scalar rhoFuelVapor,
99             const scalar massDiffusionCoefficient,
100             const scalar ReynoldsNumber,
101             const scalar SchmidtNumber,
102             const scalar Xs,
103             const scalar Xf,
104             const scalar m0,
105             const scalar dm,
106             const scalar dt
107         ) const;
109         scalar boilingTime
110         (
111             const scalar liquidDensity,
112             const scalar cpFuel,
113             const scalar heatOfVapour,
114             const scalar kappa,
115             const scalar Nusselt,
116             const scalar deltaTemp,
117             const scalar diameter,
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 scalar 
127         ) const;
129         inline label nEvapIter() const;
133 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
135 } // End namespace Foam
137 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
139 #endif
141 // ************************************************************************* //