FreeFOAM The Cross-Platform CFD Toolkit
speciesTransport.H
Go to the documentation of this file.
1 /*---------------------------------------------------------------------------*\
2  ========= |
3  \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
4  \\ / O peration |
5  \\ / A nd | Copyright (C) 1991-2010 OpenCFD Ltd.
6  \\/ M anipulation |
7 -------------------------------------------------------------------------------
8 License
9  This file is part of OpenFOAM.
10 
11  OpenFOAM is free software: you can redistribute it and/or modify it
12  under the terms of the GNU General Public License as published by
13  the Free Software Foundation, either version 3 of the License, or
14  (at your option) any later version.
15 
16  OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
17  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
18  FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
19  for more details.
20 
21  You should have received a copy of the GNU General Public License
22  along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
23 
24 Class
25  Foam::speciesTransport
26 
27 Description
28  Basic species transport type based on the use of a fitting
29  function for nu.
30 
31  All other properties are derived from this primitive function.
32 
33  The nu function must be provided by the derived type,
34  e.g. SutherlandTransport.
35 
36 SourceFiles
37  speciesTransportI.H
38  speciesTransport.C
39 
40 
41 \*---------------------------------------------------------------------------*/
42 
43 #ifndef speciesTransport_H
44 #define speciesTransport_H
45 
46 //#include "speciesThermo.H"
47 #include <specie/janafThermo.H>
48 
49 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
50 
51 namespace Foam
52 {
53 
54 /*---------------------------------------------------------------------------*\
55  Class speciesTransport Declaration
56 \*---------------------------------------------------------------------------*/
57 
59 :
60  public janafThermo
61 {
62 
63 public:
64 
65  // Constructors
66 
67  //- Construct from speciesThermo
68  inline speciesTransport
69  (
70  const janafThermo& sThermo
71  );
72 
73  //- Construct from Istream
75 
76 
77  // Member Functions
78 
79  // Dynamic viscosity [kg/ms]
80  //inline scalar mu(const scalar T) const
81 
82  // Thermal conductivity [W/mK]
83  //inline scalar kappa(const scalar T) const;
84 
85  // Thermal diffusivity for enthalpy [kg/ms]
86  //inline scalar alpha(const scalar T) const;
87 
88  // Species diffusivity
89  //inline scalar D(const scalar T) const;
90 
91 
92  // Ostream Operator
93 
94  friend Ostream& operator<<(Ostream&, const speciesTransport&);
95 };
96 
97 
98 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
99 
100 } // End namespace Foam
101 
102 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
103 
104 #include "speciesTransportI.H"
105 
106 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
107 
108 #endif
109 
110 // ************************ vim: set sw=4 sts=4 et: ************************ //