BUG: UListIO: byteSize overflowing on really big faceLists
[OpenFOAM-2.0.x.git] / src / lagrangian / dieselSpray / spraySubModels / evaporationModel / standardEvaporationModel / standardEvaporationModel.H
blob0b5dbd545fac3fa0649cf59c7767b0b64fb6495c
1 /*---------------------------------------------------------------------------*\
2   =========                 |
3   \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
4    \\    /   O peration     |
5     \\  /    A nd           | Copyright (C) 2011 OpenFOAM Foundation
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
13     the Free Software Foundation, either version 3 of the License, or
14     (at your 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, see <http://www.gnu.org/licenses/>.
24 Class
25     Foam::standardEvaporationModel
27 Description
28     standard evaporation model based on the logarithmic expression
29     of the ration of pressure differences.
31 \*---------------------------------------------------------------------------*/
33 #ifndef standardEvaporationModel_H
34 #define standardEvaporationModel_H
36 #include "evaporationModel.H"
38 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
40 namespace Foam
43 /*---------------------------------------------------------------------------*\
44                   Class standardEvaporationModel Declaration
45 \*---------------------------------------------------------------------------*/
47 class standardEvaporationModel
49     public evaporationModel
52 private:
54     // Private data
56         dictionary evapDict_;
57         scalar preReScFactor_;
58         scalar ReExponent_;
59         scalar ScExponent_;
61         word evaporationScheme_;
62         label nEvapIter_;
65 public:
67     //- Runtime type information
68     TypeName("standardEvaporationModel");
71     // Constructors
73         //- Construct from dictionary
74         standardEvaporationModel(const dictionary& dict);
77     //- Destructor
78     virtual ~standardEvaporationModel();
81     // Member Functions
83         bool evaporation() const;
85        //- Correlation for the Sherwood Number
86         scalar Sh
87         (
88             const scalar ReynoldsNumber,
89             const scalar SchmidtNumber
90         ) const;
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;
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;
128         inline label nEvapIter() const
129         {
130             return nEvapIter_;
131         }
136 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
138 } // End namespace Foam
140 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
142 #endif
144 // ************************************************************************* //