27 #ifndef ANTIOCH_CONSTANT_LEWIS_DIFFUSIVITY_BUILDING_H
28 #define ANTIOCH_CONSTANT_LEWIS_DIFFUSIVITY_BUILDING_H
42 template <
typename NumericType>
43 class ChemicalMixture;
45 template<
class NumericType>
48 std::vector<NumericType> coeffs(1, Le);
49 for(
unsigned int s = 0; s <
D.mixture().n_species(); s++)
51 D.add_species_diffusion(s,coeffs);
55 template<
class NumericType>
58 for(
unsigned int s = 0; s <
D.mixture().n_species(); s++)
60 std::vector<NumericType> coeffs(1, Le[s]);
61 D.add_species_diffusion(s,coeffs);
Compute species diffusivity based on constant Lewis number.
Container class for species binary diffusion models.
void build_constant_lewis_diffusivity(MixtureDiffusion< ConstantLewisDiffusivity< NumericType >, NumericType > &D, const NumericType Le)
The parameters are reduced parameters.