OpenFOAM logo
Open Source CFD Toolkit

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