|
|
|
speciesTransport.HGo 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::speciesTransport 00027 00028 Description 00029 Basic species transport type based on the use of a fitting 00030 function for nu. 00031 00032 All other properties are derived from this primitive function. 00033 00034 The nu function must be provided by the derived type, 00035 e.g. SutherlandTransport. 00036 00037 SourceFiles 00038 speciesTransportI.H 00039 speciesTransport.C 00040 00041 00042 \*---------------------------------------------------------------------------*/ 00043 00044 #ifndef speciesTransport_H 00045 #define speciesTransport_H 00046 00047 //#include "speciesThermo.H" 00048 #include "janafThermo.H" 00049 00050 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 00051 00052 namespace Foam 00053 { 00054 00055 /*---------------------------------------------------------------------------*\ 00056 Class speciesTransport Declaration 00057 \*---------------------------------------------------------------------------*/ 00058 00059 class speciesTransport 00060 : 00061 public janafThermo 00062 { 00063 00064 public: 00065 00066 // Constructors 00067 00068 //- Construct from speciesThermo 00069 inline speciesTransport 00070 ( 00071 const janafThermo& sThermo 00072 ); 00073 00074 //- Construct from Istream 00075 speciesTransport(Istream&); 00076 00077 00078 // Member Functions 00079 00080 // Dynamic viscosity [kg/ms] 00081 //inline scalar mu(const scalar T) const 00082 00083 // Thermal conductivity [W/mK] 00084 //inline scalar kappa(const scalar T) const; 00085 00086 // Thermal diffusivity for enthalpy [kg/ms] 00087 //inline scalar alpha(const scalar T) const; 00088 00089 // Species diffusivity 00090 //inline scalar D(const scalar T) const; 00091 00092 00093 // Ostream Operator 00094 00095 friend Ostream& operator<<(Ostream&, const speciesTransport&); 00096 }; 00097 00098 00099 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 00100 00101 } // End namespace Foam 00102 00103 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 00104 00105 #include "speciesTransportI.H" 00106 00107 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 00108 00109 #endif 00110 00111 // ************************************************************************* // |