Transport Properties¶

class
cantera.
Transport
(infile='', phaseid='')¶ Bases:
cantera._cantera._SolutionBase
Transport(*args, **kwargs)
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
¶ Mixtureaveraged diffusion coefficients [m^2/s] relating the massaveraged diffusive fluxes (with respect to the mass averaged velocity) to gradients in the species mole fractions.

mix_diff_coeffs_mass
¶ Mixtureaveraged diffusion coefficients [m^2/s] relating the diffusive mass fluxes to gradients in the species mass fractions.

mix_diff_coeffs_mole
¶ Mixtureaveraged diffusion coefficients [m^2/s] relating the molar diffusive fluxes to gradients in the species mole fractions.

mobilities
¶ Electrical mobilities of charged species [m^2/sV]

multi_diff_coeffs
¶ Multicomponent diffusion coefficients [m^2/s].

species_viscosities
¶ Pure species viscosities [Pas]

thermal_conductivity
¶ Thermal conductivity. [W/m/K] Returns thermal conductivity of the ideal gas object using the multicomponent model. The value is not specific to the dusty gas model.

thermal_diff_coeffs
¶ Return a onedimensional 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 [Pas].


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].

thermal_conductivity
¶

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 gasphase species which can be used in mixtureaveraged 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 nonMKS units, use the
set_customary_units
method.
acentric_factor
¶ Get/Set Pitzer’s acentric factor. [dimensionless]

clear_user_data
(self)¶ Clear all saved input data, so that the data given by
input_data
orSolution.write_yaml
will only include values generated by Cantera based on the current object state.

diameter
¶ Get/Set the LennardJones collision diameter [m]

dipole
¶ Get/Set the permanent dipole moment of the molecule [Coulombm].

dispersion_coefficient
¶ Get/Set dispersion coefficient. [m^5]

geometry
¶ Get/Set the string specifying the molecular geometry. One of
atom
,linear
, ornonlinear
.

input_data
¶

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 CKstyle input files.

update_user_data
(self, data)¶ Add the contents of the provided
dict
as additional fields when generating YAML phase definition files withSolution.write_yaml
or in the data returned byinput_data
. Existing keys with matching names are overwritten.

well_depth
¶ Get/Set the LennardJones well depth [J]
