1 /*---------------------------------------------------------------------------*\
3 \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
5 \\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
7 -------------------------------------------------------------------------------
9 This file is part of OpenFOAM.
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.
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
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/>.
25 Foam::speciesTransport
28 Basic species transport type based on the use of a fitting
31 All other properties are derived from this primitive function.
33 The nu function must be provided by the derived type,
34 e.g. SutherlandTransport.
40 \*---------------------------------------------------------------------------*/
42 #ifndef speciesTransport_H
43 #define speciesTransport_H
45 //#include "speciesThermo.H"
46 #include "janafThermo.H"
48 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
53 /*---------------------------------------------------------------------------*\
54 Class speciesTransport Declaration
55 \*---------------------------------------------------------------------------*/
57 class speciesTransport
66 //- Construct from speciesThermo
67 inline speciesTransport(const janafThermo& sThermo);
69 //- Construct from Istream
70 speciesTransport(Istream&);
72 //- Construct from dictionary
73 speciesTransport(const dictionary& dict);
78 // Dynamic viscosity [kg/ms]
79 //inline scalar mu(const scalar T) const
81 // Thermal conductivity [W/mK]
82 //inline scalar kappa(const scalar T) const;
84 // Thermal diffusivity for enthalpy [kg/ms]
85 //inline scalar alpha(const scalar T) const;
87 // Species diffusivity
88 //inline scalar D(const scalar T) const;
91 void write(Ostream& os) const;
96 friend Ostream& operator<<(Ostream&, const speciesTransport&);
100 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
102 } // End namespace Foam
104 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
106 #include "speciesTransportI.H"
108 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
112 // ************************************************************************* //