From 69393e93070d7e0cfe3e40c7f3764451605d9162 Mon Sep 17 00:00:00 2001 From: "Bryan W. Weber" Date: Sat, 14 Sep 2019 07:05:04 -0400 Subject: [PATCH] [cti2yaml] Add failing ch4_ion test --- interfaces/cython/cantera/test/test_convert.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/interfaces/cython/cantera/test/test_convert.py b/interfaces/cython/cantera/test/test_convert.py index a7d430199..9cefe75da 100644 --- a/interfaces/cython/cantera/test/test_convert.py +++ b/interfaces/cython/cantera/test/test_convert.py @@ -709,3 +709,11 @@ class cti2yamlTest(utilities.CanteraTest): ctiMetal.electric_potential = yamlMetal.electric_potential = 2.2 ctiElyt.electric_potential = yamlElyt.electric_potential = 0 self.checkKinetics(ctiCathodeInt, yamlCathodeInt, [300], [1e5]) + + def test_ch4_ion(self): + cti2yaml.convert(Path(self.test_data_dir).joinpath("ch4_ion.cti"), + Path(self.test_work_dir).joinpath("ch4_ion.yaml")) + ctiGas, yamlGas = self.checkConversion("ch4_ion") + self.checkThermo(ctiGas, yamlGas, [300, 500, 1300, 2000]) + self.checkKinetics(ctiGas, yamlGas, [900, 1800], [2e5, 20e5]) + self.checkTransport(ctiGas, yamlGas, [298, 1001, 2400])