From b633544477facbb9f4390b380a2e7edefac79010 Mon Sep 17 00:00:00 2001 From: Ray Speth Date: Wed, 9 Jan 2019 11:40:21 -0500 Subject: [PATCH] [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. --- interfaces/cython/cantera/onedim.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interfaces/cython/cantera/onedim.py b/interfaces/cython/cantera/onedim.py index a46ba6bd0..a2f8d8848 100644 --- a/interfaces/cython/cantera/onedim.py +++ b/interfaces/cython/cantera/onedim.py @@ -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