Skip to content

Commit

Permalink
[samples] Address Cantera#1460
Browse files Browse the repository at this point in the history
  • Loading branch information
ischoegl committed Jun 30, 2023
1 parent 9cf20c7 commit c089562
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions samples/python/reactors/ic_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ def piston_speed(t):

# define inlet state
gas.TPX = T_inlet, p_inlet, comp_inlet
# Note: The previous line is technically not needed as the state of the gas object is
# already set correctly; change if inlet state is different from the reactor state.
inlet = ct.Reservoir(gas)

# inlet valve
Expand Down

0 comments on commit c089562

Please sign in to comment.