Warning
This documentation is for an old version of Cantera. You can find docs for newer versions here.
Transport Properties¶
- 
class cantera.Transport(infile='', phaseid='')¶
- Bases: - cantera._cantera._SolutionBase- This class is used to compute transport properties for a phase of matter. - Not all transport properties are implemented in all transport models. - 
binary_diff_coeffs¶
- Binary diffusion coefficients [m^2/s]. 
 - 
electrical_conductivity¶
- Electrical conductivity. [S/m]. 
 - 
mix_diff_coeffs¶
- Mixture-averaged diffusion coefficients [m^2/s] relating the mass-averaged diffusive fluxes (with respect to the mass averaged velocity) to gradients in the species mole fractions. 
 - 
mix_diff_coeffs_mass¶
- Mixture-averaged diffusion coefficients [m^2/s] relating the diffusive mass fluxes to gradients in the species mass fractions. 
 - 
mix_diff_coeffs_mole¶
- Mixture-averaged diffusion coefficients [m^2/s] relating the molar diffusive fluxes to gradients in the species mole fractions. 
 - 
multi_diff_coeffs¶
- Multicomponent diffusion coefficients [m^2/s]. 
 - 
species_viscosities¶
- Pure species viscosities [Pa-s] 
 - 
thermal_conductivity¶
- Thermal conductivity. [W/m/K]. 
 - 
thermal_diff_coeffs¶
- Return a one-dimensional array of the species thermal diffusion coefficients [kg/m/s]. 
 - 
transport_model¶
- Get/Set the transport model associated with this transport model. - Setting a new transport model deletes the underlying C++ Transport object and replaces it with a new one implementing the specified model. 
 - 
viscosity¶
- Viscosity [Pa-s]. 
 
- 
- 
class cantera.DustyGasTransport(infile='', phaseid='')¶
- Bases: - cantera._cantera.Transport- DustyGasTransport(*args, **kwargs) - Implements the “dusty gas” model for transport in porous media. - As implemented here, only species transport ( - multi_diff_coeffs) is handled. The viscosity, thermal conductivity, and thermal diffusion coefficients are not implemented.- 
mean_particle_diameter¶
- Mean particle diameter of the porous medium [m]. 
 - 
mean_pore_radius¶
- Mean pore radius of the porous medium [m]. 
 - 
molar_fluxes(self, T1, T2, rho1, rho2, Y1, Y2, delta)¶
- Get the molar fluxes [kmol/m^2/s], given the thermodynamic state at two nearby points. - Parameters: - T1 – Temperature [K] at the first point
- T2 – Temperature [K] at the second point
- rho1 – Density [kg/m^3] at the first point
- rho2 – Density [kg/m^3] at the second point
- Y1 – Array of mass fractions at the first point. Length n_species.
- Y2 – Array of mass fractions at the second point. Length n_species.
- delta – Distance [m] between the two points.
 
 - 
permeability¶
- Permeability of the porous medium [m^2]. 
 - 
porosity¶
- Porosity of the porous medium [dimensionless]. 
 - 
tortuosity¶
- Tortuosity of the porous medium [dimensionless]. 
 
- 
Species Transport Properties¶
- 
class cantera.GasTransportData(geometry='', diameter=-1, well_depth=-1, dipole=0.0, polarizability=0.0, rotational_relaxation=0.0, acentric_factor=0.0)¶
- Bases: - object- Transport data for a single gas-phase species which can be used in mixture-averaged or multicomponent transport models. - The arguments passed to the constructor are equivalent to the properties of the object, with values in MKS units. To set properties in non-MKS units, use the - set_customary_unitsmethod.- 
acentric_factor¶
- Get/Set Pitzer’s acentric factor. [dimensionless] 
 - 
diameter¶
- Get/Set the Lennard-Jones collision diameter [m] 
 - 
dipole¶
- Get/Set the permanent dipole moment of the molecule [Coulomb-m]. 
 - 
dispersion_coefficient¶
- Get/Set dispersion coefficient. [m^5] 
 - 
geometry¶
- Get/Set the string specifying the molecular geometry. One of - atom,- linear, or- nonlinear.
 - 
polarizability¶
- Get/Set the polarizability of the molecule [m^3]. 
 - 
quadrupole_polarizability¶
- Get/Set quadrupole polarizability. [m^5] 
 - 
rotational_relaxation¶
- Get/Set the rotational relaxation number (the number of collisions it takes to equilibrate the rotational degrees of freedom with the temperature). 
 - 
set_customary_units(self, geometry, diameter, well_depth, dipole=0.0, polarizability=0.0, rotational_relaxation=0.0, acentric_factor=0.0, dispersion_coefficient=0.0, quadrupole_polarizability=0.0)¶
- Set the parameters using “customary” units: diameter in Angstroms, well depth in Kelvin, dipole in Debye, and polarizability in Angstroms^3. These are the units used in in CK-style input files. 
 - 
well_depth¶
- Get/Set the Lennard-Jones well depth [J] 
 
- 
