antioch-0.4.0
eucken_thermal_conductivity_building.h
Go to the documentation of this file.
1 //-----------------------------------------------------------------------bl-
2 //--------------------------------------------------------------------------
3 //
4 // Antioch - A Gas Dynamics Thermochemistry Library
5 //
6 // Copyright (C) 2014-2016 Paul T. Bauman, Benjamin S. Kirk,
7 // Sylvain Plessis, Roy H. Stonger
8 //
9 // Copyright (C) 2013 The PECOS Development Team
10 //
11 // This library is free software; you can redistribute it and/or
12 // modify it under the terms of the Version 2.1 GNU Lesser General
13 // Public License as published by the Free Software Foundation.
14 //
15 // This library is distributed in the hope that it will be useful,
16 // but WITHOUT ANY WARRANTY; without even the implied warranty of
17 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 // Lesser General Public License for more details.
19 //
20 // You should have received a copy of the GNU Lesser General Public
21 // License along with this library; if not, write to the Free Software
22 // Foundation, Inc. 51 Franklin Street, Fifth Floor,
23 // Boston, MA 02110-1301 USA
24 //
25 //-----------------------------------------------------------------------el-
26 
27 #ifndef ANTIOCH_EUCKEN_THERMAL_CONDUCTIVITY_BUILDING_H
28 #define ANTIOCH_EUCKEN_THERMAL_CONDUCTIVITY_BUILDING_H
29 
30 // Antioch
33 
34 // C++
35 #include <iostream>
36 #include <vector>
37 
38 
39 namespace Antioch
40 {
41  template<class MicroThermo, class NumericType>
43  const MicroThermo& thermo )
44  {
45  for(unsigned int s = 0; s < k.mixture().n_species(); s++)
46  {
47  // Eucken doesn't have any coefficients to cache so we provide a dummy vector
48  std::vector<NumericType> dummy;
49  k.add(s,dummy,thermo);
50  }
51  }
52 
53 } // end namespace Antioch
54 
55 #endif // ANTIOCH_EUCKEN_THERMAL_CONDUCTIVITY_BUILDING_H
void build_eucken_thermal_conductivity(MixtureConductivity< EuckenThermalConductivity< MicroThermo >, NumericType > &k, const MicroThermo &thermo)
Species conductivity based on Eucken relation.
Container class for species thermal conductivities.
The parameters are reduced parameters.

Generated on Thu Jul 7 2016 11:09:45 for antioch-0.4.0 by  doxygen 1.8.8