BUG: UListIO: byteSize overflowing on really big faceLists
[OpenFOAM-2.0.x.git] / src / lagrangian / dieselSpray / spraySubModels / evaporationModel / noEvaporation / noEvaporation.H
blob48492ce5fae5334e5c8baa7715c1cf984c3c6bd0
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::noEvaporation
27 Description
28     set the relaxation-times to something negative.
29     this will disable evaporation
31 \*---------------------------------------------------------------------------*/
33 #ifndef noEvaporation_H
34 #define noEvaporation_H
36 #include "evaporationModel.H"
38 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
40 namespace Foam
43 /*---------------------------------------------------------------------------*\
44                        Class noEvaporation Declaration
45 \*---------------------------------------------------------------------------*/
47 class noEvaporation
49     public evaporationModel
52 public:
54     //- Runtime type information
55         TypeName("off");
58     // Constructors
60         //- Construct from dictionary
61         noEvaporation(const dictionary& dict);
64     //- Destructor
65     virtual ~noEvaporation();
68     // Member Functions
70         bool evaporation() const;
72         scalar Sh
73         (
74             const scalar ReynoldsNumber,
75             const scalar SchmidtNumber
76         ) const;
78         scalar relaxationTime
79         (
80             const scalar diameter,
81             const scalar liquidDensity,
82             const scalar rhoFuelVapor,
83             const scalar massDiffusionCoefficient,
84             const scalar ReynoldsNumber,
85             const scalar SchmidtNumber,
86             const scalar Xs,
87             const scalar Xf,
88             const scalar m0,
89             const scalar dm,
90             const scalar dt
91         ) const;
93         scalar boilingTime
94         (
95             const scalar liquidDensity,
96             const scalar cpFuel,
97             const scalar heatOfVapour,
98             const scalar kappa,
99             const scalar Nusselt,
100             const scalar deltaTemp,
101             const scalar diameter,
102             const scalar liquidCore,
103             const scalar time,
104             const scalar tDrop,
105             const scalar tBoilingSurface,
106             const scalar vapourSurfaceEnthalpy,
107             const scalar vapourFarEnthalpy,
108             const scalar cpGas,
109             const scalar temperature,
110             const scalar kLiq
111         ) const;
113         inline label nEvapIter() const
114         {
115             return 0;
116         }
121 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
123 } // End namespace Foam
125 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
127 #endif
129 // ************************************************************************* //