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

Species transport fits and mixture-averaged transport properties on the device. More...

#include <array>
#include <cmath>
#include <cstdint>
#include <stdexcept>
#include <string>
#include <vector>
#include <Kokkos_Core.hpp>
#include "mechanism.h"

Go to the source code of this file.

Classes

struct  chemistry::TransportFits
 Pure-species transport fits of a mechanism, as Cantera computes them for its mixture-averaged model: polynomials of degree 4 in ln T of sqrt(mu_k / sqrt(T)) (viscosity), lambda_k / sqrt(T) (conductivity) and p D_kj / T^1.5 (binary diffusion coefficients), fitted over the mechanism's common thermo temperature range from Lennard-Jones collision integrals (Monchick & Mason) with Cantera's polar corrections and Parker's rotational relaxation. More...
 
struct  chemistry::ThermalDiffusionFits
 Pair data of Cantera's mixture-averaged thermal diffusion: its fit of the reduced collision integral C* as a polynomial of degree 8 in ln T* (Monchick & Mason's table, with the fits in the reduced dipole moment), and the pair's well depth epsilon_kj [J], per pair (k, j >= k), k-major. More...
 
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). More...
 

Namespaces

namespace  chemistry
 

Enumerations

enum class  chemistry::TransportModel { chemistry::MIXTURE_AVERAGED , chemistry::UNITY_LEWIS , chemistry::CONSTANT_LEWIS }
 

Functions

TransportFits chemistry::fit_transport (const Mechanism &mechanism)
 Fit the transport properties of every species of a mechanism.
 
ThermalDiffusionFits chemistry::fit_thermal_diffusion (const Mechanism &mechanism)
 Fit the thermal diffusion data of a mechanism.
 
template<typename MemorySpace = Kokkos::DefaultExecutionSpace::memory_space>
TransportTable< MemorySpace > chemistry::make_transport_table (const Mechanism &mechanism, const TransportModel model, const std::vector< double > &lewis={}, const bool thermal_diffusion=false)
 The transport table of a mechanism for a model.
 

Detailed Description

Species transport fits and mixture-averaged transport properties on the device.

Author
Matthew Bonanni (mbona.nosp@m.nni0.nosp@m.01@gm.nosp@m.ail..nosp@m.com)
Version
0.3
Date
2026-10-03