Mallard 0.8.0
Unstructured, GPU accelerated, high-order finite volume CFD solver
Mallard website
Loading...
Searching...
No Matches
MixtureTransportFunctor Struct Reference

Per cell: viscosity, conductivity and the time step's effective diffusivity max(4/3 mu / rho, lambda / (rho cv), max_k D_k); the species diffusion coefficients as rho D_k W_k / W (for gradients of mole fractions); and the gradient variables [u, T, X_1 .. X_Ns]. The temperature is p / (rho R), consistent with W (also when double flux freezes the thermodynamics). With thermal diffusion, the thermal diffusion coefficients D^T_k follow in the columns Ns .. 2 Ns - 1 of diffusion; they leave the time step alone (the Soret flux couples the species to T one way, adding no diffusive eigenvalue). More...

#include <mixture_viscous_flux.h>

Public Member Functions

KOKKOS_INLINE_FUNCTION void operator() (const uint32_t c) const
 

Public Attributes

Mixture gas
 
Kokkos::View< rtype *[N_CONSERVATIVE]> W
 
ScalarView scalars
 
Kokkos::View< rtype *[3]> coefficients
 
Kokkos::View< double **, Kokkos::LayoutRight > diffusion
 
Kokkos::View< rtype **, Kokkos::LayoutRight > values
 

Detailed Description

Per cell: viscosity, conductivity and the time step's effective diffusivity max(4/3 mu / rho, lambda / (rho cv), max_k D_k); the species diffusion coefficients as rho D_k W_k / W (for gradients of mole fractions); and the gradient variables [u, T, X_1 .. X_Ns]. The temperature is p / (rho R), consistent with W (also when double flux freezes the thermodynamics). With thermal diffusion, the thermal diffusion coefficients D^T_k follow in the columns Ns .. 2 Ns - 1 of diffusion; they leave the time step alone (the Soret flux couples the species to T one way, adding no diffusive eigenvalue).

Member Function Documentation

◆ operator()()

KOKKOS_INLINE_FUNCTION void MixtureTransportFunctor::operator() ( const uint32_t  c) const
inline

Member Data Documentation

◆ coefficients

Kokkos::View<rtype *[3]> MixtureTransportFunctor::coefficients

◆ diffusion

Kokkos::View<double **, Kokkos::LayoutRight> MixtureTransportFunctor::diffusion

◆ gas

Mixture MixtureTransportFunctor::gas

◆ scalars

ScalarView MixtureTransportFunctor::scalars

◆ values

Kokkos::View<rtype **, Kokkos::LayoutRight> MixtureTransportFunctor::values

◆ W

Kokkos::View<rtype *[N_CONSERVATIVE]> MixtureTransportFunctor::W

The documentation for this struct was generated from the following file: