10 #define CT_MULTITRAN_H 36 return (
m_mode == CK_Mode) ?
"CK_Multi" :
"Multi";
72 size_t ldx,
const doublereal*
const grad_X,
73 size_t ldf, doublereal*
const fluxes);
89 const doublereal*
const state2,
90 const doublereal delta,
91 doublereal*
const fluxes);
107 const doublereal* state2, doublereal delta,
125 doublereal m_thermal_tlast;
155 vector_fp m_spwork1, m_spwork2, m_spwork3;
160 void correctBinDiffCoeffs();
165 bool m_lmatrix_soln_ok;
185 void eval_L1010(
const doublereal* x);
186 void eval_L1001(
const doublereal* x);
188 void eval_L0101(
const doublereal* x);
189 bool hasInternalModes(
size_t j);
191 doublereal pressure_ig() {
195 virtual void solveLMatrixEquation();
virtual doublereal thermalConductivity()
Returns the mixture thermal conductivity in W/m/K.
void eval_L1000()
Evaluate the L1000 matrices.
DenseMatrix m_bstar
Dense matrix for bstar.
virtual void getThermalDiffCoeffs(doublereal *const dt)
Return the thermal diffusion coefficients (kg/m/s)
doublereal temperature() const
Temperature (K).
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.
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.
doublereal molarDensity() const
Molar density (kmol/m^3).
vector_fp m_molefracs_last
Mole fraction vector from last L-matrix evaluation.
virtual std::string transportType() const
Identifies the Transport object type.
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].
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...
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.
Namespace for the Cantera kernel.
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.