Cantera  2.1.2
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  AqueousTransport
 Class AqueousTransport implements mixture-averaged transport properties for brine phases. 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  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

Transport * newTransportMgr (const std::string &transportModel="", thermo_t *thermo=0, int loglevel=0, TransportFactory *f=0, int ndim=1)
 Create a new transport manager instance. More...
 
Transport * newDefaultTransportMgr (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

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 61 of file TransportBase.h.

Function Documentation

Transport * newTransportMgr ( const std::string &  transportModel = "",
thermo_t *  thermo = 0,
int  loglevel = 0,
TransportFactory *  f = 0,
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
fptr to the TransportFactory object if it's been malloced.
ndimNumber of dimensions for transport fluxes

Definition at line 1480 of file TransportFactory.cpp.

References TransportFactory::factory(), and TransportFactory::newTransport().

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
fptr to the TransportFactory object if it's been allocated.
Returns
Returns a transport manager for the phase

Definition at line 1495 of file TransportFactory.cpp.

References TransportFactory::factory(), and TransportFactory::newTransport().

Variable Documentation

const VelocityBasis VB_MASSAVG = -1

Diffusion velocities are based on the mass averaged velocity.

Definition at line 91 of file TransportBase.h.

Referenced by TransportFactory::getLiquidInteractionsTransportData(), SimpleTransport::getSpeciesFluxesExt(), and LiquidTransport::stefan_maxwell_solve().

const VelocityBasis VB_MOLEAVG = -2

Diffusion velocities are based on the mole averaged velocities.

Definition at line 93 of file TransportBase.h.

Referenced by TransportFactory::getLiquidInteractionsTransportData(), SimpleTransport::getSpeciesFluxesExt(), and LiquidTransport::stefan_maxwell_solve().

const VelocityBasis VB_SPECIES_0 = 0

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

Definition at line 95 of file TransportBase.h.

const VelocityBasis VB_SPECIES_1 = 1

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

Definition at line 97 of file TransportBase.h.

const VelocityBasis VB_SPECIES_2 = 2

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

Definition at line 99 of file TransportBase.h.

const VelocityBasis VB_SPECIES_3 = 3

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

Definition at line 101 of file TransportBase.h.