OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

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-2009 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 the
00013     Free Software Foundation; either version 2 of the License, or (at your
00014     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, write to the Free Software Foundation,
00023     Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
00024 
00025 Class
00026     Foam::RutlandFlashBoil
00027 
00028 Description
00029     Evaporation model with flash boiling.
00030 
00031     Evaporation model that takes into account of:
00032       - flash boiling of the liquid core and droplets
00033       - superheated vaporization of a boiling droplet
00034 
00035     Accurated description in
00036     @verbatim
00037     B. Zuo, A.M. Gomes, C.J. Rutland
00038     "Modeling Superheated Fuel Spray Vaporization"
00039     Int. Journal of Engine Research, 2000. Vol. 1, pp. 321-326
00040     @endverbatim
00041 \*---------------------------------------------------------------------------*/
00042 
00043 #ifndef RutlandFlashBoil_H
00044 #define RutlandFlashBoil_H
00045 
00046 #include "evaporationModel.H"
00047 
00048 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
00049 
00050 namespace Foam
00051 {
00052 
00053 /*---------------------------------------------------------------------------*\
00054                            Class RutlandFlashBoil Declaration
00055 \*---------------------------------------------------------------------------*/
00056 
00057 class RutlandFlashBoil
00058 :
00059     public evaporationModel
00060 {
00061 
00062 private:
00063 
00064     // Private data
00065 
00066         dictionary evapDict_;
00067         scalar preReScFactor_;
00068         scalar ReExponent_;
00069         scalar ScExponent_;
00070 
00071         word evaporationScheme_;
00072         label nEvapIter_;
00073 
00074 
00075 public:
00076 
00077     //- Runtime type information
00078         TypeName("RutlandFlashBoil");
00079 
00080 
00081     // Constructors
00082 
00083         //- Construct from dictionary
00084         RutlandFlashBoil
00085         (
00086             const dictionary& dict
00087         );
00088 
00089 
00090     // Destructor
00091 
00092         ~RutlandFlashBoil();
00093 
00094 
00095     // Member Functions
00096 
00097         bool evaporation() const;
00098 
00099        //- Correlation for the Sherwood Number
00100         scalar Sh
00101         (
00102             const scalar ReynoldsNumber,
00103             const scalar SchmidtNumber
00104         ) const;
00105 
00106         //- Return the evaporation relaxation time
00107         scalar relaxationTime
00108         (
00109             const scalar diameter,
00110             const scalar liquidDensity,
00111             const scalar rhoFuelVapor,
00112             const scalar massDiffusionCoefficient,
00113             const scalar ReynoldsNumber,
00114             const scalar SchmidtNumber,
00115             const scalar Xs,
00116             const scalar Xf,
00117             const scalar m0,
00118             const scalar dm,
00119             const scalar dt
00120         ) const;
00121 
00122         scalar boilingTime
00123         (
00124             const scalar liquidDensity,
00125             const scalar cpFuel,
00126             const scalar heatOfVapour,
00127             const scalar kappa,
00128             const scalar Nusselt,
00129             const scalar deltaTemp,
00130             const scalar diameter,
00131             const scalar liquidCore,
00132             const scalar time,
00133             const scalar tDrop,
00134             const scalar tBoilingSurface,
00135             const scalar vapourSurfaceEnthalpy,
00136             const scalar vapourFarEnthalpy,
00137             const scalar cpGas,
00138             const scalar temperature,
00139             const scalar kLiquid
00140         ) const;
00141 
00142         inline label nEvapIter() const;
00143 };
00144 
00145 
00146 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
00147 
00148 } // End namespace Foam
00149 
00150 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
00151 
00152 #endif
00153 
00154 // ************************************************************************* //
Copyright © 2000-2009 OpenCFD Ltd