27 #include "antioch_config.h"
28 #ifdef ANTIOCH_HAVE_GSL // if we do not have it, we don't even define the stuff
30 #ifndef ANTIOCH_KINETICS_THEORY_BUILDING_H
31 #define ANTIOCH_KINETICS_THEORY_BUILDING_H
45 template <
typename Scalar>
46 class TransportMixture;
48 template<
class NumericType,
class SplineType>
49 void build_kinetics_theory_viscosity( MixtureViscosity<KineticsTheoryViscosity<NumericType,SplineType>,NumericType >& mu);
53 template<
class NumericType,
class SplineType>
54 void build_kinetics_theory_viscosity( MixtureViscosity<KineticsTheoryViscosity<NumericType,SplineType>,NumericType >& mu)
56 for(
unsigned int s = 0; s < mu.mixture().n_species(); s++)
58 std::vector<NumericType> coeffs(4,0);
59 coeffs[0] = mu.mixture().transport_species()[s]->LJ_depth();
60 coeffs[1] = mu.mixture().transport_species()[s]->LJ_diameter();
61 coeffs[2] = mu.mixture().transport_species()[s]->dipole_moment();
62 coeffs[3] = mu.mixture().transport_species()[s]->M() / Constants::Avogadro<NumericType>();
63 mu.add(mu.mixture().species_inverse_name_map().at(s),coeffs);
69 #endif // ANTIOCH_KINETICS_THEORY_BUILDING_H
71 #endif // ANTIOCH_HAVE_GSL
The parameters are reduced parameters.