18 class GasTransportParams;
42 return CK_Multicomponent;
44 return cMulticomponent;
83 size_t ldx,
const doublereal*
const grad_X,
84 size_t ldf, doublereal*
const fluxes);
101 const doublereal*
const state2,
102 const doublereal delta,
103 doublereal*
const fluxes);
120 const doublereal* state2, doublereal delta,
142 doublereal m_thermal_tlast;
145 std::vector<std::vector<int> > m_poly;
146 std::vector<vector_fp> m_astar_poly;
147 std::vector<vector_fp> m_bstar_poly;
148 std::vector<vector_fp> m_cstar_poly;
149 std::vector<vector_fp> m_om22_poly;
188 vector_fp m_spwork1, m_spwork2, m_spwork3;
193 void correctBinDiffCoeffs();
198 bool m_lmatrix_soln_ok;
218 void eval_L1010(
const doublereal* x);
219 void eval_L1001(
const doublereal* x);
221 void eval_L0101(
const doublereal* x);
222 bool hasInternalModes(
size_t j);
224 doublereal pressure_ig() {
228 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.
This structure holds transport model parameters relevant to transport in ideal gases with a kinetic t...
virtual void getThermalDiffCoeffs(doublereal *const dt)
Return the thermal diffusion coefficients (kg/m/s)
virtual int model() const
Transport model.
Factory class for creating new instances of classes derived from Transport.
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.
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].
virtual bool initGas(GasTransportParams &tr)
Initialize the transport operator with parameters from GasTransportParams object. ...
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.
Headers for the DenseMatrix object, which deals with dense rectangular matrices and description of th...
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.