32 #ifndef ANTIOCH_SUTHERLAND_VISCOSITY_H
33 #define ANTIOCH_SUTHERLAND_VISCOSITY_H
47 template<
typename CoeffType=
double>
48 class SutherlandViscosity :
public SpeciesViscosityBase<SutherlandViscosity<CoeffType>,CoeffType>
63 void reset_coeffs(
const CoeffType mu_ref,
const CoeffType T_ref );
70 template <
typename StateType>
75 void reset_coeffs_impl( const
std::vector<CoeffType>& coeffs );
77 void print_impl(
std::ostream& os) const;
84 template <typename StateType>
93 template<typename CoeffType>
94 SutherlandViscosity<CoeffType>::SutherlandViscosity( const CoeffType mu_ref, const CoeffType T_ref )
96 _mu_ref(mu_ref), _T_ref(T_ref)
100 template<
typename CoeffType>
117 template<
typename CoeffType>
120 os << _mu_ref <<
"*T^(3/2)/(T + " << _T_ref <<
")" << std::endl;
123 template<
typename CoeffType>
131 template<
typename CoeffType>
139 template<
typename CoeffType>
140 template <
typename StateType>
149 #endif //ANTIOCH_SUTHERLAND_VISCOSITY_H
Base class for species viscosity models.
#define antioch_assert_equal_to(expr1, expr2)
void extrapolate_max_temp_impl(const StateType &Tmax)
No extrapolation needed.
#define antioch_error_msg(errmsg)
op_impl(StateType &T) const ANTIOCH_AUTOFUNC(StateType
#define ANTIOCH_AUTOFUNC(Type, Expr)
const ANTIOCH_AUTO(StateType) KineticsTheoryThermalConductivity< ThermoEvaluator
The parameters are reduced parameters.
void reset_coeffs(const CoeffType mu_ref, const CoeffType T_ref)