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

standardEvaporationModel.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::standardEvaporationModel
00026 
00027 Description
00028     standard evaporation model based on the logarithmic expression
00029     of the ration of pressure differences.
00030 
00031 \*---------------------------------------------------------------------------*/
00032 
00033 #ifndef standardEvaporationModel_H
00034 #define standardEvaporationModel_H
00035 
00036 #include <dieselSpray/evaporationModel.H>
00037 
00038 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
00039 
00040 namespace Foam
00041 {
00042 
00043 /*---------------------------------------------------------------------------*\
00044                            Class standardEvaporationModel Declaration
00045 \*---------------------------------------------------------------------------*/
00046 
00047 class standardEvaporationModel
00048 :
00049     public evaporationModel
00050 {
00051 
00052 private:
00053 
00054     // Private data
00055 
00056         dictionary evapDict_;
00057         scalar preReScFactor_;
00058         scalar ReExponent_;
00059         scalar ScExponent_;
00060     
00061         word evaporationScheme_;
00062         label nEvapIter_;
00063 
00064 
00065 public:
00066 
00067     //- Runtime type information
00068         TypeName("standardEvaporationModel");
00069 
00070 
00071     // Constructors
00072 
00073         //- Construct from dictionary
00074         standardEvaporationModel
00075         (
00076             const dictionary& dict
00077         );
00078 
00079 
00080     // Destructor
00081 
00082         ~standardEvaporationModel();
00083 
00084 
00085     // Member Functions
00086 
00087         bool evaporation() const;
00088 
00089        //- Correlation for the Sherwood Number
00090         scalar Sh
00091         (
00092             const scalar ReynoldsNumber,
00093             const scalar SchmidtNumber
00094         ) const;
00095 
00096         //- Return the evaporation relaxation time
00097         scalar relaxationTime
00098         (
00099             const scalar diameter,
00100             const scalar liquidDensity,
00101             const scalar rhoFuelVapor,
00102             const scalar massDiffusionCoefficient,
00103             const scalar ReynoldsNumber,
00104             const scalar SchmidtNumber,
00105             const scalar Xs,
00106             const scalar Xf,
00107             const scalar m0,
00108             const scalar dm,
00109             const scalar dt
00110         ) const;
00111 
00112         scalar boilingTime
00113         (
00114             const scalar liquidDensity,
00115             const scalar cpFuel,
00116             const scalar heatOfVapour,
00117             const scalar kappa,
00118             const scalar Nusselt,
00119             const scalar deltaTemp,
00120             const scalar diameter,
00121             const scalar, 
00122             const scalar, 
00123             const scalar, 
00124             const scalar, 
00125             const scalar, 
00126             const scalar, 
00127             const scalar, 
00128             const scalar, 
00129             const scalar 
00130         ) const;
00131 
00132         inline label nEvapIter() const;
00133 };
00134 
00135 
00136 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
00137 
00138 } // End namespace Foam
00139 
00140 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
00141 
00142 #endif
00143 
00144 // ************************ vim: set sw=4 sts=4 et: ************************ //
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines