Transport properties of a mechanism's mixtures on the device, in double precision in every build: Wilke's viscosity, the conductivity of Mathur, Tondon & Saxena, and the species diffusion coefficients D_k of the model (Cantera's "mixture-averaged" and "unity-Lewis-number" models, and constant Lewis numbers), to be used with mole-fraction gradients and a correction velocity; with the mixture-averaged model optionally also Cantera's thermal diffusion coefficients (Soret effect).
More...
|
| KOKKOS_INLINE_FUNCTION double | species_viscosity (const uint32_t k, const double T) const |
| |
| KOKKOS_INLINE_FUNCTION double | species_conductivity (const uint32_t k, const double T) const |
| |
| KOKKOS_INLINE_FUNCTION double | binary_diffusion (const uint32_t k, const uint32_t j, const double T, const double p) const |
| | Binary diffusion coefficient D_kj [m^2/s] at T and p.
|
| |
| template<typename F_Y > |
| KOKKOS_INLINE_FUNCTION void | properties (const double T, const double p, const double rho, const double cp, const F_Y &y, double &mu, double &lambda, double *D, double *DT=nullptr) const |
| | Mixture viscosity mu [Pa s], conductivity lambda [W/(m K)] and species diffusion coefficients D [m^2/s] (n_species values, also used as work memory) at temperature T, pressure p, density rho and cp [J/(kg K)], for mass fractions y(k). As Cantera, mole fractions below 1e-20 count as 1e-20 in the mixing rules.
|
| |
|
| uint32_t | n_species = 0 |
| |
| TransportModel | model = TransportModel::MIXTURE_AVERAGED |
| |
| Kokkos::View< double *, MemorySpace > | W |
| |
| Kokkos::View< double *, MemorySpace > | inv_Lewis |
| |
| Kokkos::View< double *[5], Kokkos::LayoutRight, MemorySpace > | visc |
| |
| Kokkos::View< double *[5], Kokkos::LayoutRight, MemorySpace > | cond |
| |
| Kokkos::View< double **[5], Kokkos::LayoutRight, MemorySpace > | diff |
| |
| Kokkos::View< double **, Kokkos::LayoutRight, MemorySpace > | wilke_w |
| |
| Kokkos::View< double **, Kokkos::LayoutRight, MemorySpace > | wilke_d |
| |
| bool | thermal_diffusion = false |
| |
| Kokkos::View< double **[9], Kokkos::LayoutRight, MemorySpace > | cstar |
| |
| Kokkos::View< double **, Kokkos::LayoutRight, MemorySpace > | log_eps |
| |
template<
typename MemorySpace = Kokkos::DefaultExecutionSpace::memory_space>
struct chemistry::TransportTable< MemorySpace >
Transport properties of a mechanism's mixtures on the device, in double precision in every build: Wilke's viscosity, the conductivity of Mathur, Tondon & Saxena, and the species diffusion coefficients D_k of the model (Cantera's "mixture-averaged" and "unity-Lewis-number" models, and constant Lewis numbers), to be used with mole-fraction gradients and a correction velocity; with the mixture-averaged model optionally also Cantera's thermal diffusion coefficients (Soret effect).
A plain aggregate of Views in MemorySpace, captured by value in kernels.
Mixture viscosity mu [Pa s], conductivity lambda [W/(m K)] and species diffusion coefficients D [m^2/s] (n_species values, also used as work memory) at temperature T, pressure p, density rho and cp [J/(kg K)], for mass fractions y(k). As Cantera, mole fractions below 1e-20 count as 1e-20 in the mixing rules.
With DT (n_species values; mixture-averaged model with thermal_diffusion only), also Cantera's mixture-averaged thermal diffusion coefficients D^T_k [kg/(m s)] (Chapman & Cowling's model as Zirwes & Kronenburg give it), for the fluxes -D^T_k grad T / T; they sum to zero.