Skip to content

Commit

Permalink
[Python/1D] Retain user-specified products in counterflow premixed flame
Browse files Browse the repository at this point in the history
When using the 'auto' solver option, user-provided arguments to
set_initial_guess were not being saved for subsequent calls to set_initial_guess
within Sim1D.solve, causing the solution to always be for equilibrated products.
  • Loading branch information
speth committed Jan 9, 2019
1 parent e323080 commit b633544
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion interfaces/cython/cantera/onedim.py
Expand Up @@ -1165,7 +1165,7 @@ def set_initial_guess(self, equilibrate=True):
will be set to the equilibrium state of the reactants mixture.
"""

super().set_initial_guess()
super().set_initial_guess(equilibrate=equilibrate)

Yu = self.reactants.Y
Tu = self.reactants.T
Expand Down

0 comments on commit b633544

Please sign in to comment.