Skip to content

Commit

Permalink
Added thermal conductivity example in dustygas python example script
Browse files Browse the repository at this point in the history
  • Loading branch information
chinahg authored and speth committed Apr 18, 2021
1 parent d295b01 commit 80a3c89
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion interfaces/cython/cantera/examples/transport/dusty_gas.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
The Dusty Gas model is a multicomponent transport model for gas transport
through the pores of a stationary porous medium. This example shows how to
create a transport manager that implements the Dusty Gas model and use it to
compute the multicomponent diffusion coefficients.
compute the multicomponent diffusion coefficients and thermal conductivity.
Requires: cantera >= 2.5.0
"""
Expand All @@ -29,6 +29,9 @@
# print the multicomponent diffusion coefficients
print(g.multi_diff_coeffs)

# print the thermal conductivity of the gas phase
print(g.thermal_conductivity)

# compute molar species fluxes
T1, rho1, Y1 = g.TDY

Expand Down

0 comments on commit 80a3c89

Please sign in to comment.