From 382de2d865e3e2cfe45277150414806d52ad4350 Mon Sep 17 00:00:00 2001 From: Ray Speth Date: Wed, 14 Dec 2011 01:36:25 +0000 Subject: [PATCH] Fixed unused pressure in npflame1 Python demo --- Cantera/python/examples/flames/npflame1/npflame1.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Cantera/python/examples/flames/npflame1/npflame1.py b/Cantera/python/examples/flames/npflame1/npflame1.py index 692e3f1e4..12fe3b10b 100644 --- a/Cantera/python/examples/flames/npflame1/npflame1.py +++ b/Cantera/python/examples/flames/npflame1/npflame1.py @@ -51,6 +51,7 @@ refine_grid = 1 # 1 to enable refinement, 0 to # you need to convert from Chemkin format, use the ck2cti utility # program first. gas = GRI30('Mix') +gas.setPressure(p) # create an object representing the counterflow flame configuration, # which consists of a fuel inlet on the left, the flow in the middle,