MultiTransport.h Source File#
MultiTransport.h
Go to the documentation of this file.
A class for full (non-sparse) matrices with Fortran-compatible data storage, which adds matrix operat...
Definition DenseMatrix.h:55
Class GasTransport implements some functions and properties that are shared by the MixTransport and M...
Definition GasTransport.h:26
Class MultiTransport implements multicomponent transport properties for ideal gas mixtures.
Definition MultiTransport.h:26
void getMassFluxes(const double *state1, const double *state2, double delta, double *fluxes) override
Get the mass diffusional fluxes [kg/m^2/s] of the species, given the thermodynamic state at two nearb...
Definition MultiTransport.cpp:251
void getMolarFluxes(const double *const state1, const double *const state2, const double delta, double *const fluxes) override
Get the molar diffusional fluxes [kmol/m^2/s] of the species, given the thermodynamic state at two ne...
Definition MultiTransport.cpp:339
void update_T() override
Update basic temperature-dependent quantities if the temperature has changed.
Definition MultiTransport.cpp:388
double thermalConductivity() override
Returns the mixture thermal conductivity in W/m/K.
Definition MultiTransport.cpp:84
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 MultiTransport.cpp:165
void updateThermal_T()
Update the temperature-dependent terms needed to compute the thermal conductivity and thermal diffusi...
Definition MultiTransport.cpp:417
vector< double > m_molefracs_last
Mole fraction vector from last L-matrix evaluation.
Definition MultiTransport.h:148
void update_C() override
Update basic concentration-dependent quantities if the concentrations have changed.
Definition MultiTransport.cpp:400
void getThermalDiffCoeffs(double *const dt) override
Return the thermal diffusion coefficients (kg/m/s)
Definition MultiTransport.cpp:94
string transportModel() const override
Identifies the model represented by this Transport object.
Definition MultiTransport.h:31
void getMultiDiffCoeffs(const size_t ld, double *const d) override
Return the Multicomponent diffusion coefficients. Units: [m^2/s].
Definition MultiTransport.cpp:350
void init(ThermoPhase *thermo, int mode=0, int log_level=0) override
Initialize a transport manager.
Definition MultiTransport.cpp:37
Base class for a phase with thermodynamic properties.
Definition ThermoPhase.h:390
Generated by