|
Mallard 0.8.0
Unstructured, GPU accelerated, high-order finite volume CFD solver
Mallard website |
Transport coefficients, gradients and diffusive fluxes of gas mixtures: viscous stress, heat conduction, species diffusion with a correction velocity and the enthalpy it carries. More...
#include <Kokkos_Core.hpp>#include "common.h"#include "boundary.h"#include "gradient.h"#include "mixture.h"#include "scalar_reconstruction.h"#include "viscous_flux.h"Go to the source code of this file.
Classes | |
| struct | ScalarMassFractions |
| Mass fractions of a cell from its scalars, in double. More... | |
| struct | MixtureTransportFunctor |
| 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... | |
| struct | MixtureGradientFunctor |
| Gradients of [u, T, X_1 .. X_Ns] with the weights and stencil of the viscous gradient (LSQVertexGradientFunctor). Boundary ghosts take the velocity of the ghost state W (no-slip at viscous walls), and the prescribed T and X at UPT boundaries, the cell's own elsewhere (adiabatic walls, symmetry, zero-gradient outflow). More... | |
| struct | MixtureViscousFluxFunctor |
| Diffusive fluxes of a gas mixture on every face (one-point rule), added to face_flux (momentum and energy) and to the species slots of side 0 (as mass leaving cell 0). More... | |
| struct | MixtureViscousFluxFunctor::Geometry |
| Geometry of an interior face: unit normal, centroid offset and its normal component. More... | |
Enumerations | |
| enum | MixtureCoefficient : uint8_t { MU = 0 , LAMBDA = 1 , NU_EFF = 2 } |
| Columns of the per-cell transport coefficients. More... | |
Transport coefficients, gradients and diffusive fluxes of gas mixtures: viscous stress, heat conduction, species diffusion with a correction velocity and the enthalpy it carries.