[Python/1D] Retain user-specified products in counterflow premixed flame

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.
This commit is contained in:
Ray Speth 2019-01-09 11:40:21 -05:00
parent e3230801c9
commit b633544477

View file

@ -1165,7 +1165,7 @@ class CounterflowPremixedFlame(FlameBase):
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