10 #define CT_MULTITRAN_H 37 "To be removed after Cantera 2.3.");
39 return CK_Multicomponent;
41 return cMulticomponent;
82 size_t ldx,
const doublereal*
const grad_X,
83 size_t ldf, doublereal*
const fluxes);
99 const doublereal*
const state2,
100 const doublereal delta,
101 doublereal*
const fluxes);
117 const doublereal* state2, doublereal delta,
135 doublereal m_thermal_tlast;
165 vector_fp m_spwork1, m_spwork2, m_spwork3;
170 void correctBinDiffCoeffs();
175 bool m_lmatrix_soln_ok;
195 void eval_L1010(
const doublereal* x);
196 void eval_L1001(
const doublereal* x);
198 void eval_L0101(
const doublereal* x);
199 bool hasInternalModes(
size_t j);
201 doublereal pressure_ig() {
205 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
void warn_deprecated(const std::string &method, const std::string &extra)
Print a warning indicating that method is deprecated.
DenseMatrix m_cstar
Dense matrix for cstar.
void update_T()
Update basic temperature-dependent quantities if the temperature has changed.
virtual int model() const
Transport model.
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.