OpenFOAM logo
Open Source CFD Toolkit

noEvaporation.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     noEvaporation
00027 
00028 Description
00029     set the relaxation-times to something negative.
00030     this will disable evaporation
00031 
00032 \*---------------------------------------------------------------------------*/
00033 
00034 #ifndef noEvaporation_H
00035 #define noEvaporation_H
00036 
00037 #include "evaporationModel.H"
00038 
00039 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
00040 
00041 namespace Foam
00042 {
00043 
00044 /*---------------------------------------------------------------------------*\
00045                            Class noEvaporation Declaration
00046 \*---------------------------------------------------------------------------*/
00047 
00048 class noEvaporation
00049 :
00050     public evaporationModel
00051 {
00052 
00053 public:
00054 
00055     //- Runtime type information
00056         TypeName("off");
00057 
00058 
00059     // Constructors
00060 
00061         //- Construct from dictionary
00062         noEvaporation
00063         (
00064             const dictionary& dict
00065         );
00066 
00067 
00068     // Destructor
00069 
00070         ~noEvaporation();
00071 
00072 
00073     // Member Functions
00074 
00075         bool evaporation() const;
00076 
00077         scalar Sh
00078         (
00079             const scalar ReynoldsNumber,
00080             const scalar SchmidtNumber
00081         ) const;
00082 
00083         scalar relaxationTime
00084         (
00085             const scalar diameter,
00086             const scalar liquidDensity,
00087             const scalar rhoFuelVapor,
00088             const scalar massDiffusionCoefficient,
00089             const scalar ReynoldsNumber,
00090             const scalar SchmidtNumber,
00091             const scalar Xs,
00092             const scalar Xf,
00093             const scalar m0,
00094             const scalar dm,
00095             const scalar dt
00096         ) const;
00097 
00098         scalar boilingTime
00099         (
00100             const scalar liquidDensity,
00101             const scalar cpFuel,
00102             const scalar heatOfVapour,
00103             const scalar kappa,
00104             const scalar Nusselt,
00105             const scalar deltaTemp,
00106             const scalar diameter,
00107             const scalar liquidCore,
00108             const scalar time,
00109             const scalar tDrop,
00110             const scalar tBoilingSurface,
00111             const scalar vapourSurfaceEnthalpy,
00112             const scalar vapourFarEnthalpy,
00113             const scalar cpGas,
00114             const scalar Xs,
00115             const scalar Xf,
00116             const scalar temperature,
00117             const scalar kLiq
00118         ) const;
00119 
00120         inline label nEvapIter() const;
00121 };
00122 
00123 
00124 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
00125 
00126 } // End namespace Foam
00127 
00128 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
00129 
00130 #endif
00131 
00132 // ************************************************************************* //
For further information go to www.openfoam.org