Cantera  2.3.0
Classes | Typedefs | Functions | Variables
Transport Properties for Species in Phases

These classes provide transport properties. More...

Collaboration diagram for Transport Properties for Species in Phases:

Classes

class  MMCollisionInt
 Calculation of Collision integrals. More...
 
class  DustyGasTransport
 Class DustyGasTransport implements the Dusty Gas model for transport in porous media. More...
 
class  GasTransport
 Class GasTransport implements some functions and properties that are shared by the MixTransport and MultiTransport classes. More...
 
class  HighPressureGasTransport
 Class MultiTransport implements transport properties for high pressure gas mixtures. More...
 
class  LiquidTransport
 Class LiquidTransport implements models for transport properties for liquid phases. More...
 
class  MixTransport
 Class MixTransport implements mixture-averaged transport properties for ideal gas mixtures. More...
 
class  MultiTransport
 Class MultiTransport implements multicomponent transport properties for ideal gas mixtures. More...
 
class  SimpleTransport
 Class SimpleTransport implements mixture-averaged transport properties for liquid phases. More...
 
class  SolidTransport
 Class SolidTransport implements transport properties for solids. More...
 
class  Transport
 Base class for transport property managers. More...
 
class  TransportFactory
 Factory class for creating new instances of classes derived from Transport. More...
 
class  WaterTransport
 Transport Parameters for pure water. More...
 

Typedefs

typedef int VelocityBasis
 The diffusion fluxes must be referenced to a particular reference fluid velocity. More...
 

Functions

TransportnewTransportMgr (const std::string &transportModel, thermo_t *thermo, int loglevel, TransportFactory *f, int ndim=1)
 Create a new transport manager instance. More...
 
TransportnewDefaultTransportMgr (thermo_t *thermo, int loglevel=0, TransportFactory *f=0)
 Create a new transport manager instance. More...
 

Variables

const VelocityBasis VB_MASSAVG = -1
 Diffusion velocities are based on the mass averaged velocity. More...
 
const VelocityBasis VB_MOLEAVG = -2
 Diffusion velocities are based on the mole averaged velocities. More...
 
const VelocityBasis VB_SPECIES_0 = 0
 Diffusion velocities are based on the relative motion wrt species 0. More...
 
const VelocityBasis VB_SPECIES_1 = 1
 Diffusion velocities are based on the relative motion wrt species 1. More...
 
const VelocityBasis VB_SPECIES_2 = 2
 Diffusion velocities are based on the relative motion wrt species 2. More...
 
const VelocityBasis VB_SPECIES_3 = 3
 Diffusion velocities are based on the relative motion wrt species 3. More...
 

Detailed Description

These classes provide transport properties.

Typedef Documentation

◆ VelocityBasis

typedef int VelocityBasis

The diffusion fluxes must be referenced to a particular reference fluid velocity.

Most typical is to reference the diffusion fluxes to the mass averaged velocity, but referencing to the mole averaged velocity is suitable for some liquid flows, and referencing to a single species is suitable for solid phase transport within a lattice. Currently, the identity of the reference velocity is coded into each transport object as a typedef named VelocityBasis, which is equated to an integer. Negative values of this variable refer to mass or mole-averaged velocities. Zero or positive quantities refers to the reference velocity being referenced to a particular species. Below are the predefined constants for its value.

  • VB_MASSAVG Diffusion velocities are based on the mass averaged velocity
  • VB_MOLEAVG Diffusion velocities are based on the mole averaged velocities
  • VB_SPECIES_0 Diffusion velocities are based on the relative motion wrt species 0
  • ...
  • VB_SPECIES_3 Diffusion velocities are based on the relative motion wrt species 3

Definition at line 76 of file TransportBase.h.

Function Documentation

◆ newTransportMgr()

Transport * newTransportMgr ( const std::string &  transportModel,
thermo_t thermo,
int  loglevel,
TransportFactory f,
int  ndim = 1 
)

Create a new transport manager instance.

Parameters
transportModelString identifying the transport model to be instantiated, defaults to the empty string
thermoThermoPhase object associated with the phase, defaults to null pointer
loglevelint containing the Loglevel, defaults to zero
foptional pointer to the TransportFactory object
ndimNumber of dimensions for transport fluxes
Deprecated:
Use the version which does not take a TransportFactory*.To be removed after Cantera 2.3.

Definition at line 594 of file TransportFactory.cpp.

◆ newDefaultTransportMgr()

Transport * newDefaultTransportMgr ( thermo_t thermo,
int  loglevel = 0,
TransportFactory f = 0 
)

Create a new transport manager instance.

Parameters
thermoThermoPhase object associated with the phase
loglevelint containing the Loglevel, defaults to zero
fpointer to the TransportFactory object if it's been allocated
Returns
a transport manager for the phase
Deprecated:
The TransportFactory* argument to this function is deprecated and will be removed after Cantera 2.3.

Definition at line 611 of file TransportFactory.cpp.

References TransportFactory::newTransport(), and Cantera::warn_deprecated().

Variable Documentation

◆ VB_MASSAVG

const VelocityBasis VB_MASSAVG = -1

Diffusion velocities are based on the mass averaged velocity.

Definition at line 83 of file TransportBase.h.

Referenced by SimpleTransport::getSpeciesFluxesExt().

◆ VB_MOLEAVG

const VelocityBasis VB_MOLEAVG = -2

Diffusion velocities are based on the mole averaged velocities.

Definition at line 85 of file TransportBase.h.

Referenced by SimpleTransport::getSpeciesFluxesExt().

◆ VB_SPECIES_0

const VelocityBasis VB_SPECIES_0 = 0

Diffusion velocities are based on the relative motion wrt species 0.

Definition at line 87 of file TransportBase.h.

◆ VB_SPECIES_1

const VelocityBasis VB_SPECIES_1 = 1

Diffusion velocities are based on the relative motion wrt species 1.

Definition at line 89 of file TransportBase.h.

◆ VB_SPECIES_2

const VelocityBasis VB_SPECIES_2 = 2

Diffusion velocities are based on the relative motion wrt species 2.

Definition at line 91 of file TransportBase.h.

◆ VB_SPECIES_3

const VelocityBasis VB_SPECIES_3 = 3

Diffusion velocities are based on the relative motion wrt species 3.

Definition at line 93 of file TransportBase.h.