|
| KOKKOS_INLINE_FUNCTION uint32_t | range (const uint32_t k, const double T) const |
| |
| KOKKOS_INLINE_FUNCTION double | cp_R (const uint32_t k, const Powers &p) const |
| | cp_k / R.
|
| |
| KOKKOS_INLINE_FUNCTION double | dcp_R_dT (const uint32_t k, const Powers &p) const |
| | d(cp_k / R) / dT.
|
| |
| KOKKOS_INLINE_FUNCTION double | h_RT (const uint32_t k, const Powers &p) const |
| | h_k / (R T), molar enthalpy including the formation enthalpy.
|
| |
| KOKKOS_INLINE_FUNCTION double | s_R (const uint32_t k, const Powers &p) const |
| | s_k / R at the standard pressure.
|
| |
| template<typename F_Y > |
| KOKKOS_INLINE_FUNCTION double | gas_constant (const F_Y &y) const |
| | Mixture gas constant R_u sum_k Y_k / W_k [J/(kg K)].
|
| |
| template<typename F_Y > |
| KOKKOS_INLINE_FUNCTION double | cp_mass (const double T, const F_Y &y) const |
| | Mixture cp [J/(kg K)].
|
| |
| template<typename F_Y > |
| KOKKOS_INLINE_FUNCTION double | h_mass (const double T, const F_Y &y) const |
| | Mixture enthalpy [J/kg].
|
| |
| template<typename F_Y > |
| KOKKOS_INLINE_FUNCTION void | e_cv (const double T, const F_Y &y, double &e, double &cv) const |
| | Mixture internal energy e [J/kg] and cv [J/(kg K)] at T.
|
| |
| template<typename F_Y > |
| KOKKOS_INLINE_FUNCTION double | T_from_e (const double e, const F_Y &y, const double T_guess) const |
| | Temperature at which the mixture has internal energy e: Newton from T_guess (300 K if outside the bracket), safeguarded by bisection within [T_low, T_high], until the update is below 1e-10 T.
|
| |
template<
typename MemorySpace = Kokkos::DefaultExecutionSpace::memory_space>
struct chemistry::ThermoTable< MemorySpace >
Species thermodynamics of a mechanism on the device, in double precision in every build: per species its NASA-9 form ranges (SpeciesThermo), and the ideal-gas mixture properties per unit mass.
A plain aggregate of Views in MemorySpace (the device by default, or the host for setup), captured by value in kernels. Mixture functions take the mass fractions as any callable y(k).