antioch-0.4.0
kinetics_theory_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_KINETICS_THEORY_THERMAL_CONDUCTIVITY_BUILDING_H
28 #define ANTIOCH_KINETICS_THEORY_THERMAL_CONDUCTIVITY_BUILDING_H
29 
30 // Antioch
33 
34 // C++
35 #include <iostream>
36 #include <vector>
37 
38 
39 namespace Antioch
40 {
41 
42  template <typename NumericType>
43  class TransportMixture;
44 
45 // ----------------------------------------- //
46 
47  template<class MicroThermo, class NumericType>
49  const MicroThermo& thermo )
50  {
51  for(unsigned int s = 0; s < k.mixture().n_species(); s++)
52  {
53  std::vector<NumericType> coeffs(2);
54  coeffs[0] = k.mixture().transport_species()[s]->rotational_relaxation();
55  coeffs[1] = k.mixture().transport_species()[s]->LJ_depth();
56  k.add(s,coeffs,thermo);
57  }
58  }
59 
60 } // end namespace Antioch
61 
62 #endif // ANTIOCH_KINETICS_THEORY_THERMAL_CONDUCTIVITY_BUILDING_H
void build_kinetics_theory_thermal_conductivity(MixtureConductivity< KineticsTheoryThermalConductivity< MicroThermo, NumericType >, NumericType > &k, const MicroThermo &thermo)
Conductivity based on kinetic theory of mixtures approximations.
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