FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

RutlandFlashBoil.H

Go to the documentation of this file.
00001 /*---------------------------------------------------------------------------*\
00002   =========                 |
00003   \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
00004    \\    /   O peration     |
00005     \\  /    A nd           | Copyright (C) 1991-2010 OpenCFD Ltd.
00006      \\/     M anipulation  |
00007 -------------------------------------------------------------------------------
00008 License
00009     This file is part of OpenFOAM.
00010 
00011     OpenFOAM is free software: you can redistribute it and/or modify it
00012     under the terms of the GNU General Public License as published by
00013     the Free Software Foundation, either version 3 of the License, or
00014     (at your option) any later version.
00015 
00016     OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
00017     ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
00018     FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
00019     for more details.
00020 
00021     You should have received a copy of the GNU General Public License
00022     along with OpenFOAM.  If not, see <http://www.gnu.org/licenses/>.
00023 
00024 Class
00025     Foam::RutlandFlashBoil
00026 
00027 Description
00028     Evaporation model with flash boiling.
00029 
00030     Evaporation model that takes into account of:
00031       - flash boiling of the liquid core and droplets
00032       - superheated vaporization of a boiling droplet
00033 
00034     Accurated description in
00035     @verbatim
00036     B. Zuo, A.M. Gomes, C.J. Rutland
00037     "Modeling Superheated Fuel Spray Vaporization"
00038     Int. Journal of Engine Research, 2000. Vol. 1, pp. 321-326
00039     @endverbatim
00040 \*---------------------------------------------------------------------------*/
00041 
00042 #ifndef RutlandFlashBoil_H
00043 #define RutlandFlashBoil_H
00044 
00045 #include <dieselSpray/evaporationModel.H>
00046 
00047 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
00048 
00049 namespace Foam
00050 {
00051 
00052 /*---------------------------------------------------------------------------*\
00053                            Class RutlandFlashBoil Declaration
00054 \*---------------------------------------------------------------------------*/
00055 
00056 class RutlandFlashBoil
00057 :
00058     public evaporationModel
00059 {
00060 
00061 private:
00062 
00063     // Private data
00064 
00065         dictionary evapDict_;
00066         scalar preReScFactor_;
00067         scalar ReExponent_;
00068         scalar ScExponent_;
00069 
00070         word evaporationScheme_;
00071         label nEvapIter_;
00072 
00073 
00074 public:
00075 
00076     //- Runtime type information
00077         TypeName("RutlandFlashBoil");
00078 
00079 
00080     // Constructors
00081 
00082         //- Construct from dictionary
00083         RutlandFlashBoil
00084         (
00085             const dictionary& dict
00086         );
00087 
00088 
00089     // Destructor
00090 
00091         ~RutlandFlashBoil();
00092 
00093 
00094     // Member Functions
00095 
00096         bool evaporation() const;
00097 
00098        //- Correlation for the Sherwood Number
00099         scalar Sh
00100         (
00101             const scalar ReynoldsNumber,
00102             const scalar SchmidtNumber
00103         ) const;
00104 
00105         //- Return the evaporation relaxation time
00106         scalar relaxationTime
00107         (
00108             const scalar diameter,
00109             const scalar liquidDensity,
00110             const scalar rhoFuelVapor,
00111             const scalar massDiffusionCoefficient,
00112             const scalar ReynoldsNumber,
00113             const scalar SchmidtNumber,
00114             const scalar Xs,
00115             const scalar Xf,
00116             const scalar m0,
00117             const scalar dm,
00118             const scalar dt
00119         ) const;
00120 
00121         scalar boilingTime
00122         (
00123             const scalar liquidDensity,
00124             const scalar cpFuel,
00125             const scalar heatOfVapour,
00126             const scalar kappa,
00127             const scalar Nusselt,
00128             const scalar deltaTemp,
00129             const scalar diameter,
00130             const scalar liquidCore,
00131             const scalar time,
00132             const scalar tDrop,
00133             const scalar tBoilingSurface,
00134             const scalar vapourSurfaceEnthalpy,
00135             const scalar vapourFarEnthalpy,
00136             const scalar cpGas,
00137             const scalar temperature,
00138             const scalar kLiquid
00139         ) const;
00140 
00141         inline label nEvapIter() const;
00142 };
00143 
00144 
00145 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
00146 
00147 } // End namespace Foam
00148 
00149 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
00150 
00151 #endif
00152 
00153 // ************************ vim: set sw=4 sts=4 et: ************************ //
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines