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();
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.
virtual void getThermalDiffCoeffs(doublereal *const dt)
Return the thermal diffusion coefficients (kg/m/s)
void eval_L0000(const doublereal *const x)
Evaluate the L0000 matrices.
virtual doublereal thermalConductivity()
Returns the mixture thermal conductivity in W/m/K.
virtual void getMultiDiffCoeffs(const size_t ld, doublereal *const d)
Return the Multicomponent diffusion coefficients. Units: [m^2/s].
void update_T()
Update basic temperature-dependent quantities if the temperature has changed.
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...
vector_fp m_molefracs_last
Mole fraction vector from last L-matrix evaluation.
DenseMatrix m_om22
Dense matrix for omega22.
DenseMatrix m_astar
Dense matrix for astar.
void updateThermal_T()
Update the temperature-dependent terms needed to compute the thermal conductivity and thermal diffusi...
DenseMatrix m_cstar
Dense matrix for cstar.
virtual void init(ThermoPhase *thermo, int mode=0, int log_level=0)
Initialize a transport manager.
virtual std::string transportType() const
Identifies the Transport object type.
void update_C()
Update basic concentration-dependent quantities if the concentrations have changed.
void eval_L0010(const doublereal *const x)
Evaluate the L0010 matrices.
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.
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...
DenseMatrix m_bstar
Dense matrix for bstar.
void eval_L1000()
Evaluate the L1000 matrices.
MultiTransport(thermo_t *thermo=0)
default constructor
double molarDensity() const
Molar density (kmol/m^3).
doublereal temperature() const
Temperature (K).
Base class for a phase with thermodynamic properties.
thermo_t * m_thermo
pointer to the object representing the phase
std::vector< double > vector_fp
Turn on the use of stl vectors for the basic array type within cantera Vector of doubles.
const double GasConstant
Universal Gas Constant [J/kmol/K].
Namespace for the Cantera kernel.