Skip to content

Commit 3c80c3d

Browse files
committed
[Examples] Fix reservoir synchronization in surf_pfr_chain.py (Cantera#2069)
1 parent b62b99d commit 3c80c3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

samples/python/reactors/surf_pfr_chain.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@
105105

106106
for n in range(NReactors):
107107
# Set the state of the reservoir to match that of the previous reactor
108-
gas.TDY = r.phase.TDY
108+
upstream.phase.TDY = r.phase.TDY
109109
upstream.syncState()
110110
sim.reinitialize()
111111
sim.advance_to_steady_state()

0 commit comments

Comments
 (0)