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

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