1 /*---------------------------------------------------------------------------*\
3 \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
5 \\ / A nd | Copyright (C) 2010-2010 OpenCFD Ltd.
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::exponentialSolidTransport
28 Exponential properties for solid heat transport
29 Templated into a given thermodynamics package.
32 exponentialSolidTransportI.H
33 exponentialSolidTransport.C
35 \*---------------------------------------------------------------------------*/
37 #ifndef exponentialSolidTransport_H
38 #define exponentialSolidTransport_H
40 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
45 template<class thermo> class exponentialSolidTransport;
47 template<class thermo>
51 const exponentialSolidTransport<thermo>&
55 /*---------------------------------------------------------------------------*\
56 Class exponentialSolidTransport Declaration
57 \*---------------------------------------------------------------------------*/
59 template<class thermo>
60 class exponentialSolidTransport
66 //- Constant thermal coefficient.
69 //- Exponent coefficient
72 //- Reference temperature
76 // Private Member Functions
78 //- Construct from components
79 inline exponentialSolidTransport
92 //- Construct as named copy
93 inline exponentialSolidTransport
96 const exponentialSolidTransport&
100 //- Construct from dictionary
101 exponentialSolidTransport(const dictionary&);
106 //- Thermal conductivity [W/mK]
107 inline scalar K(const scalar T) const;
109 //- Thermal diffusivity [kg/ms]
110 inline scalar alpha(const scalar T) const;
115 friend Ostream& operator<< <thermo>
118 const exponentialSolidTransport&
123 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
125 } // End namespace Foam
127 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
129 #include "exponentialSolidTransportI.H"
132 # include "exponentialSolidTransport.C"
135 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
139 // ************************************************************************* //