32 return (
m_mode == CK_Mode) ?
"multicomponent-CK" :
"multicomponent";
68 size_t ldx,
const double*
const grad_X,
69 size_t ldf,
double*
const fluxes)
override;
84 void getMolarFluxes(
const double*
const state1,
const double*
const state2,
85 const double delta,
double*
const fluxes)
override;
100 void getMassFluxes(
const double* state1,
const double* state2,
double delta,
101 double* fluxes)
override;
120 double m_thermal_tlast;
131 vector<double> m_cinternal;
133 vector<double> m_sqrt_eps_k;
135 vector<double> m_frot_298;
136 vector<double> m_rotrelax;
147 vector<double> m_spwork1, m_spwork2, m_spwork3;
154 bool m_lmatrix_soln_ok;
174 void eval_L1010(
const double* x);
175 void eval_L1001(
const double* x);
177 void eval_L0101(
const double* x);
178 bool hasInternalModes(
size_t j);
180 double pressure_ig();
182 virtual void solveLMatrixEquation();
A class for full (non-sparse) matrices with Fortran-compatible data storage, which adds matrix operat...
Class GasTransport implements some functions and properties that are shared by the MixTransport and M...
int m_mode
Type of the polynomial fits to temperature.
Class MultiTransport implements multicomponent transport properties for ideal gas mixtures.
void getMassFluxes(const double *state1, const double *state2, double delta, double *fluxes) override
Get the mass diffusional fluxes [kg/m^2/s] of the species, given the thermodynamic state at two nearb...
void getMolarFluxes(const double *const state1, const double *const state2, const double delta, double *const fluxes) override
Get the molar diffusional fluxes [kmol/m^2/s] of the species, given the thermodynamic state at two ne...
bool m_l0000_ok
Boolean indicating viscosity is up to date.
void update_T() override
Update basic temperature-dependent quantities if the temperature has changed.
double thermalConductivity() override
Returns the mixture thermal conductivity in W/m/K.
void eval_L0010(const double *const x)
Evaluate the L0010 matrices.
void eval_L0000(const double *const x)
Evaluate the L0000 matrices.
DenseMatrix m_astar
Dense matrix for astar.
void getSpeciesFluxes(size_t ndim, const double *const grad_T, size_t ldx, const double *const grad_X, size_t ldf, double *const fluxes) override
Get the species diffusive mass fluxes wrt to the mass averaged velocity, given the gradients in mole ...
void updateThermal_T()
Update the temperature-dependent terms needed to compute the thermal conductivity and thermal diffusi...
vector< double > m_molefracs_last
Mole fraction vector from last L-matrix evaluation.
void init(ThermoPhase *thermo, int mode=0, int log_level=-7) override
Initialize a transport manager.
MultiTransport()=default
default constructor
DenseMatrix m_cstar
Dense matrix for cstar.
void update_C() override
Update basic concentration-dependent quantities if the concentrations have changed.
void invalidateCache() override
Invalidate any cached values which are normally updated only when a change in state is detected.
void getThermalDiffCoeffs(double *const dt) override
Return the thermal diffusion coefficients (kg/m/s)
string transportModel() const override
Identifies the model represented by this Transport object.
void getMultiDiffCoeffs(const size_t ld, double *const d) override
Return the Multicomponent diffusion coefficients. Units: [m^2/s].
DenseMatrix m_bstar
Dense matrix for bstar.
void eval_L1000()
Evaluate the L1000 matrices.
Base class for a phase with thermodynamic properties.
ThermoPhase & thermo()
Phase object.
Namespace for the Cantera kernel.