MixTransport.cpp Source File#
MixTransport.cpp
Go to the documentation of this file.
Headers for the MixTransport object, which models transport properties in ideal gas solutions using a...
Header file for class ThermoPhase, the base class for phases with thermodynamic properties,...
Base class for exceptions thrown by Cantera classes.
Definition ctexceptions.h:66
double m_temp
Current value of the temperature at which the properties in this object are calculated (Kelvin).
Definition GasTransport.h:361
bool m_visc_ok
Update boolean for mixture rule for the mixture viscosity.
Definition GasTransport.h:303
void getMixDiffCoeffs(double *const d) override
Returns the Mixture-averaged diffusion coefficients [m^2/s].
Definition GasTransport.cpp:167
bool m_bindiff_ok
Update boolean for the binary diffusivities at unit pressure.
Definition GasTransport.h:312
vector< double > m_polytempvec
Powers of the ln temperature, up to fourth order.
Definition GasTransport.h:357
vector< vector< double > > m_condcoeffs
temperature fits of the heat conduction
Definition GasTransport.h:399
void init(ThermoPhase *thermo, int mode=0, int log_level=0) override
Initialize a transport manager.
Definition GasTransport.cpp:261
void update_T() override
Update the internal parameters whenever the temperature has changed.
Definition MixTransport.cpp:83
double thermalConductivity() override
Returns the mixture thermal conductivity (W/m /K)
Definition MixTransport.cpp:32
void getSpeciesFluxes(size_t ndim, const double *const grad_T, size_t ldx, const double *const grad_X, size_t ldf, double *const fluxes) override
Get the species diffusive mass fluxes wrt to the mass averaged velocity, given the gradients in mole ...
Definition MixTransport.cpp:58
double m_lambda
Internal storage for the calculated mixture thermal conductivity.
Definition MixTransport.h:172
void updateCond_T()
Update the temperature dependent parts of the species thermal conductivities.
Definition MixTransport.cpp:114
void getMobilities(double *const mobil) override
Get the Electrical mobilities (m^2/V/s).
Definition MixTransport.cpp:23
void update_C() override
Update the internal parameters whenever the concentrations have changed.
Definition MixTransport.cpp:100
vector< double > m_cond
vector of species thermal conductivities (W/m /K)
Definition MixTransport.h:166
void getThermalDiffCoeffs(double *const dt) override
Return the thermal diffusion coefficients.
Definition MixTransport.cpp:51
bool m_condmix_ok
Update boolean for the mixture rule for the mixture thermal conductivity.
Definition MixTransport.h:178
void init(ThermoPhase *thermo, int mode=0, int log_level=0) override
Initialize a transport manager.
Definition MixTransport.cpp:17
void getMoleFractions(double *const x) const
Get the species mole fraction vector.
Definition Phase.cpp:434
const double * massFractions() const
Return a const pointer to the mass fraction array.
Definition Phase.h:442
const vector< double > & molecularWeights() const
Return a const reference to the internal vector of molecular weights.
Definition Phase.cpp:395
Base class for a phase with thermodynamic properties.
Definition ThermoPhase.h:390
double dot5(const V &x, const V &y)
Templated Inner product of two vectors of length 5.
Definition utilities.h:55
double dot4(const V &x, const V &y)
Templated Inner product of two vectors of length 4.
Definition utilities.h:40
const double Tiny
Small number to compare differences of mole fractions against.
Definition ct_defs.h:173
Contains declarations for string manipulation functions within Cantera.
Various templated functions that carry out common vector and polynomial operations (see Templated Arr...
Generated by 1.9.7