37 return CK_Multicomponent;
39 return cMulticomponent;
78 size_t ldx,
const doublereal*
const grad_X,
79 size_t ldf, doublereal*
const fluxes);
96 const doublereal*
const state2,
97 const doublereal delta,
98 doublereal*
const fluxes);
115 const doublereal* state2, doublereal delta,
131 doublereal m_thermal_tlast;
162 vector_fp m_spwork1, m_spwork2, m_spwork3;
167 void correctBinDiffCoeffs();
172 bool m_lmatrix_soln_ok;
192 void eval_L1010(
const doublereal* x);
193 void eval_L1001(
const doublereal* x);
195 void eval_L0101(
const doublereal* x);
196 bool hasInternalModes(
size_t j);
198 doublereal pressure_ig() {
202 virtual void solveLMatrixEquation();
virtual doublereal thermalConductivity()
Returns the mixture thermal conductivity in W/m/K.
void eval_L1000()
Evaluate the L1000 matrices.
Dense, Square (not sparse) matrices.
DenseMatrix m_bstar
Dense matrix for bstar.
virtual void getThermalDiffCoeffs(doublereal *const dt)
Return the thermal diffusion coefficients (kg/m/s)
virtual int model() const
Transport model.
DenseMatrix m_astar
Dense matrix for astar.
virtual void getMassFluxes(const doublereal *state1, const doublereal *state2, doublereal delta, doublereal *fluxes)
Get the mass diffusional fluxes [kg/m^2/s] of the species, given the thermodynamic state at two nearb...
thermo_t * m_thermo
pointer to the object representing the phase
DenseMatrix m_cstar
Dense matrix for cstar.
void update_T()
Update basic temperature-dependent quantities if the temperature has changed.
doublereal molarDensity() const
Molar density (kmol/m^3).
MultiTransport(thermo_t *thermo=0)
default constructor
Base class for a phase with thermodynamic properties.
int m_mode
Type of the polynomial fits to temperature.
virtual void init(ThermoPhase *thermo, int mode=0, int log_level=0)
Initialize a transport manager.
vector_fp m_molefracs_last
Mole fraction vector from last L-matrix evaluation.
virtual void getMolarFluxes(const doublereal *const state1, const doublereal *const state2, const doublereal delta, doublereal *const fluxes)
Get the molar diffusional fluxes [kmol/m^2/s] of the species, given the thermodynamic state at two ne...
void eval_L0000(const doublereal *const x)
Evaluate the L0000 matrices.
virtual void getMultiDiffCoeffs(const size_t ld, doublereal *const d)
Return the Multicomponent diffusion coefficients. Units: [m^2/s].
A class for full (non-sparse) matrices with Fortran-compatible data storage.
void updateThermal_T()
Update the temperature-dependent terms needed to compute the thermal conductivity and thermal diffusi...
Class MultiTransport implements multicomponent transport properties for ideal gas mixtures...
doublereal temperature() const
Temperature (K).
std::vector< double > vector_fp
Turn on the use of stl vectors for the basic array type within cantera Vector of doubles.
const doublereal GasConstant
Universal Gas Constant. [J/kmol/K].
virtual void getSpeciesFluxes(size_t ndim, const doublereal *const grad_T, size_t ldx, const doublereal *const grad_X, size_t ldf, doublereal *const fluxes)
Get the species diffusive mass fluxes wrt to the mass averaged velocity, given the gradients in mole ...
bool m_abc_ok
Boolean indicating viscosity is up to date.
void eval_L0010(const doublereal *const x)
Evaluate the L0010 matrices.
DenseMatrix m_om22
Dense matrix for omega22.
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...
void update_C()
Update basic concentration-dependent quantities if the concentrations have changed.