initial commit for version 1.6.x patch release
[OpenFOAM-1.6.x.git] / src / lagrangian / dieselSpray / spraySubModels / evaporationModel / noEvaporation / noEvaporation.H
blobcedd0fd44d09fc229f5dc338d3e356c20716123a
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::noEvaporation
28 Description
29     set the relaxation-times to something negative.
30     this will disable evaporation
32 \*---------------------------------------------------------------------------*/
34 #ifndef noEvaporation_H
35 #define noEvaporation_H
37 #include "evaporationModel.H"
39 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
41 namespace Foam
44 /*---------------------------------------------------------------------------*\
45                            Class noEvaporation Declaration
46 \*---------------------------------------------------------------------------*/
48 class noEvaporation
50     public evaporationModel
53 public:
55     //- Runtime type information
56         TypeName("off");
59     // Constructors
61         //- Construct from dictionary
62         noEvaporation
63         (
64             const dictionary& dict
65         );
68     // Destructor
70         ~noEvaporation();
73     // Member Functions
75         bool evaporation() const;
77         scalar Sh
78         (
79             const scalar ReynoldsNumber,
80             const scalar SchmidtNumber
81         ) const;
83         scalar relaxationTime
84         (
85             const scalar diameter,
86             const scalar liquidDensity,
87             const scalar rhoFuelVapor,
88             const scalar massDiffusionCoefficient,
89             const scalar ReynoldsNumber,
90             const scalar SchmidtNumber,
91             const scalar Xs,
92             const scalar Xf,
93             const scalar m0,
94             const scalar dm,
95             const scalar dt
96         ) const;
98         scalar boilingTime
99         (
100             const scalar liquidDensity,
101             const scalar cpFuel,
102             const scalar heatOfVapour,
103             const scalar kappa,
104             const scalar Nusselt,
105             const scalar deltaTemp,
106             const scalar diameter,
107             const scalar liquidCore,
108             const scalar time,
109             const scalar tDrop,
110             const scalar tBoilingSurface,
111             const scalar vapourSurfaceEnthalpy,
112             const scalar vapourFarEnthalpy,
113             const scalar cpGas,
114             const scalar temperature,
115             const scalar kLiq
116         ) const;
118         inline label nEvapIter() const;
122 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
124 } // End namespace Foam
126 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
128 #endif
130 // ************************************************************************* //