Ember
Loading...
Searching...
No Matches
Public Member Functions | Private Member Functions | Private Attributes | List of all members
ApproxMixTransport Class Reference

Mixture-averaged transport properties based on major species composition. More...

#include <chemistry0d.h>

Inheritance diagram for ApproxMixTransport:
[legend]

Public Member Functions

 ApproxMixTransport ()
 
void setThreshold (double threshold)
 Set the mole fraction threshold below which species are not included in transport property calculations.
 
double viscosity ()
 
void getMixDiffCoeffs (double *const d)
 
void getMixDiffCoeffsMass (double *const d)
 
void getMixDiffCoeffsMole (double *const d)
 

Private Member Functions

void updateViscosity_T ()
 
void updateDiff_T ()
 
void update_C ()
 

Private Attributes

double _threshold
 
vector< size_t > _kMajor
 indices of the species where X[k] >= threshold
 

Detailed Description

Mixture-averaged transport properties based on major species composition.

For a mixture containing N species, the standard formulas for computing the mixture-averaged viscosity and diffusion coefficients are \( O(N^2) \).

Species present in small concentrations contribute very little to the mixture viscosity and the diffusion coefficients of other species, so they can be excluded from the formulas without introducing significant errors. If there are M species with mole fractions above the specified threshold, (M < N) then excluding the contribution of the minor species reduces the computational cost of evaluating the viscosity to \( O(M^2) \) and the cost of evaluating the N diffusion coefficients to \( O(M N) \).

Constructor & Destructor Documentation

◆ ApproxMixTransport()

ApproxMixTransport::ApproxMixTransport ( )

Member Function Documentation

◆ setThreshold()

void ApproxMixTransport::setThreshold ( double  threshold)

Set the mole fraction threshold below which species are not included in transport property calculations.

◆ viscosity()

double ApproxMixTransport::viscosity ( )

◆ getMixDiffCoeffs()

void ApproxMixTransport::getMixDiffCoeffs ( double *const  d)

◆ getMixDiffCoeffsMass()

void ApproxMixTransport::getMixDiffCoeffsMass ( double *const  d)

◆ getMixDiffCoeffsMole()

void ApproxMixTransport::getMixDiffCoeffsMole ( double *const  d)

◆ updateViscosity_T()

void ApproxMixTransport::updateViscosity_T ( )
private

◆ updateDiff_T()

void ApproxMixTransport::updateDiff_T ( )
private

◆ update_C()

void ApproxMixTransport::update_C ( )
private

Member Data Documentation

◆ _threshold

double ApproxMixTransport::_threshold
private

◆ _kMajor

vector<size_t> ApproxMixTransport::_kMajor
private

indices of the species where X[k] >= threshold


The documentation for this class was generated from the following files: