Cantera  2.3.0
LiquidTransportParams Class Reference

Class LiquidTransportParams holds transport model parameters relevant to transport in mixtures. More...

#include <LiquidTransportParams.h>

Inheritance diagram for LiquidTransportParams:
[legend]
Collaboration diagram for LiquidTransportParams:
[legend]

## Public Member Functions

LiquidTransportParams (const LiquidTransportParams &right)

LiquidTransportParamsoperator= (const LiquidTransportParams &right)

## Public Attributes

std::vector< LiquidTransportDataLTData
Species transport parameters. More...

LiquidTranInteractionviscosity
Object that specifies the viscosity interaction for the mixture. More...

LiquidTranInteractionionConductivity
Object that specifies the ionic Conductivity of the mixture. More...

std::vector< LiquidTranInteraction * > mobilityRatio
Vector of pointer to the LiquidTranInteraction object which handles the calculation of the mobility ratios for the phase. More...

std::vector< LiquidTranInteraction * > selfDiffusion
Vector of pointer to the LiquidTranInteraction object which handles the calculation of each species' self diffusion coefficient for the phase. More...

LiquidTranInteractionthermalCond
Pointer to the LiquidTranInteraction object which handles the calculation of the mixture thermal conductivity for the phase. More...

LiquidTranInteractionspeciesDiffusivity
Pointer to the LiquidTranInteraction object which handles the calculation of the species diffusivity for the phase. More...

LiquidTranInteractionelectCond
Pointer to the LiquidTranInteraction object which handles the calculation of the electrical conductivity for the phase. More...

Pointer to the LiquidTranInteraction object which handles the calculation of the hydrodynamic radius for the phase. More...

LiquidTranMixingModel model_viscosity
Model for species interaction effects for viscosity Takes enum LiquidTranMixingModel. More...

LiquidTranMixingModel model_ionConductivity
Model for species interaction effects for ionic conductivity Takes enum LiquidTranMixingModel. More...

std::vector< LiquidTranMixingModel * > model_mobilityRatio
Model for species interaction effects for mobility ratio Takes enum LiquidTranMixingModel. More...

std::vector< LiquidTranMixingModel * > model_selfDiffusion
Model for species interaction effects for mobility ratio Takes enum LiquidTranMixingModel. More...

DenseMatrix thermalCond_Aij
Interaction associated with linear weighting of thermal conductivity. More...

LiquidTranMixingModel model_speciesDiffusivity
Model for species interaction effects for mass diffusivity Takes enum LiquidTranMixingModel. More...

DenseMatrix diff_Dij
Interaction associated with linear weighting of thermal conductivity. More...

Model for species interaction effects for hydrodynamic radius Takes enum LiquidTranMixingModel. More...

Interaction associated with hydrodynamic radius. More...

LiquidTranMixingModel compositionDepTypeDefault_
Default composition dependence of the transport properties. More...

Public Attributes inherited from TransportParams
size_t nsp_
Local storage of the number of species. More...

thermo_tthermo
Pointer to the ThermoPhase object: shallow pointer. More...

vector_fp mw
Local storage of the molecular weights of the species. More...

VelocityBasis velocityBasis_
A basis for the average velocity can be specified. More...

doublereal tmax
Maximum temperatures for parameter fits. More...

doublereal tmin
Minimum temperatures for parameter fits. More...

int mode_
Mode parameter. More...

int log_level
Log level. More...

## Detailed Description

Class LiquidTransportParams holds transport model parameters relevant to transport in mixtures.

This class is used by TransportFactory to initialize transport objects.

Definition at line 23 of file LiquidTransportParams.h.

## ◆ LTData

 std::vector LTData

Species transport parameters.

Definition at line 32 of file LiquidTransportParams.h.

## ◆ viscosity

 LiquidTranInteraction* viscosity

Object that specifies the viscosity interaction for the mixture.

Definition at line 35 of file LiquidTransportParams.h.

Referenced by LiquidTransport::initLiquid().

## ◆ ionConductivity

 LiquidTranInteraction* ionConductivity

Object that specifies the ionic Conductivity of the mixture.

Definition at line 38 of file LiquidTransportParams.h.

Referenced by LiquidTransport::initLiquid().

## ◆ mobilityRatio

 std::vector mobilityRatio

Vector of pointer to the LiquidTranInteraction object which handles the calculation of the mobility ratios for the phase.

The mobility ratio is defined via the following quantity where i and j are species indices.

mobRat(i,j) = mu_i / mu_j

It is returned in fortran-ordering format. i.e. it is returned as mobRat[k], where

   k = j * nsp + i


Length = nsp * nsp

Definition at line 55 of file LiquidTransportParams.h.

## ◆ selfDiffusion

 std::vector selfDiffusion

Vector of pointer to the LiquidTranInteraction object which handles the calculation of each species' self diffusion coefficient for the phase.

Definition at line 59 of file LiquidTransportParams.h.

## ◆ thermalCond

 LiquidTranInteraction* thermalCond

Pointer to the LiquidTranInteraction object which handles the calculation of the mixture thermal conductivity for the phase.

Definition at line 63 of file LiquidTransportParams.h.

Referenced by LiquidTransport::initLiquid().

## ◆ speciesDiffusivity

 LiquidTranInteraction* speciesDiffusivity

Pointer to the LiquidTranInteraction object which handles the calculation of the species diffusivity for the phase.

Definition at line 67 of file LiquidTransportParams.h.

Referenced by LiquidTransport::initLiquid().

## ◆ electCond

 LiquidTranInteraction* electCond

Pointer to the LiquidTranInteraction object which handles the calculation of the electrical conductivity for the phase.

Definition at line 71 of file LiquidTransportParams.h.

Pointer to the LiquidTranInteraction object which handles the calculation of the hydrodynamic radius for the phase.

Note
I don't understand at the moment how one can define a hydrodynamic radius for the phase

Definition at line 79 of file LiquidTransportParams.h.

## ◆ model_viscosity

 LiquidTranMixingModel model_viscosity

Model for species interaction effects for viscosity Takes enum LiquidTranMixingModel.

Definition at line 83 of file LiquidTransportParams.h.

## ◆ model_ionConductivity

 LiquidTranMixingModel model_ionConductivity

Model for species interaction effects for ionic conductivity Takes enum LiquidTranMixingModel.

Definition at line 87 of file LiquidTransportParams.h.

## ◆ model_mobilityRatio

 std::vector model_mobilityRatio

Model for species interaction effects for mobility ratio Takes enum LiquidTranMixingModel.

Definition at line 91 of file LiquidTransportParams.h.

## ◆ model_selfDiffusion

 std::vector model_selfDiffusion

Model for species interaction effects for mobility ratio Takes enum LiquidTranMixingModel.

Definition at line 95 of file LiquidTransportParams.h.

## ◆ thermalCond_Aij

 DenseMatrix thermalCond_Aij

Interaction associated with linear weighting of thermal conductivity.

This is used for either LTI_MODEL_MASSFRACS or LTI_MODEL_MOLEFRACS. The overall formula for the mixture viscosity is

$\eta_{mix} = \sum_i X_i \eta_i + \sum_i \sum_j X_i X_j A_{i,j}$

.

Definition at line 105 of file LiquidTransportParams.h.

Referenced by TransportFactory::setupLiquidTransport().

## ◆ model_speciesDiffusivity

 LiquidTranMixingModel model_speciesDiffusivity

Model for species interaction effects for mass diffusivity Takes enum LiquidTranMixingModel.

Definition at line 109 of file LiquidTransportParams.h.

## ◆ diff_Dij

 DenseMatrix diff_Dij

Interaction associated with linear weighting of thermal conductivity.

This is used for either LTI_MODEL_PAIRWISE_INTERACTION or LTI_MODEL_STEFANMAXWELL_PPN. These provide species interaction coefficients associated with the Stefan-Maxwell formulation.

Definition at line 118 of file LiquidTransportParams.h.

Referenced by TransportFactory::setupLiquidTransport().

Model for species interaction effects for hydrodynamic radius Takes enum LiquidTranMixingModel.

Definition at line 122 of file LiquidTransportParams.h.

Not yet implemented

Definition at line 128 of file LiquidTransportParams.h.

Referenced by TransportFactory::setupLiquidTransport().

## ◆ compositionDepTypeDefault_

 LiquidTranMixingModel compositionDepTypeDefault_

Default composition dependence of the transport properties.

Permissible types of composition dependencies 0 - Solvent values (i.e., species 0) contributes only 1 - linear combination of mole fractions;

Definition at line 136 of file LiquidTransportParams.h.

The documentation for this class was generated from the following files: