Ember
|
Mixture-averaged transport properties based on major species composition. More...
#include <chemistry0d.h>
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 | |
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) \).
ApproxMixTransport::ApproxMixTransport | ( | ) |
void ApproxMixTransport::setThreshold | ( | double | threshold | ) |
Set the mole fraction threshold below which species are not included in transport property calculations.
double ApproxMixTransport::viscosity | ( | ) |
void ApproxMixTransport::getMixDiffCoeffs | ( | double *const | d | ) |
void ApproxMixTransport::getMixDiffCoeffsMass | ( | double *const | d | ) |
void ApproxMixTransport::getMixDiffCoeffsMole | ( | double *const | d | ) |
|
private |
|
private |
|
private |
|
private |
|
private |
indices of the species where X[k] >= threshold