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

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