Ray Speth
5ad656e342
[ck2cti] Fix Chebyshev rate constant when using local quantity units
...
Since the leading Chebyshev coefficient has effective units like
log(cm^3/kmol), it needs to be converted directly to the default units of
the CTI file.
Analogous to the fix for PLOG reactions in #435 .
2019-02-28 22:37:38 -05:00
Ray Speth
540777c32b
[ck2cti] Fix handling of reaction units settings not on last line
...
Fixes a regression introduced in d56b6205fa .
2019-02-25 11:06:12 -05:00
Ray Speth
a02753ae79
[Test/ck2cti] Test pdep reactions with custom units
2017-02-20 19:14:12 -05:00
Ray Speth
9f6c9e3a46
[ck2cti] Fix reading some input files containing non-unicode characters
...
In Python 3, attempting to convert some mechanisms would give errors like the
following:
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x96 in position 348:
invalid start byte
2015-01-12 19:55:37 +00:00
Ray Speth
de9928977c
[ck2cti] Preserve mechanism header comment block
2014-09-24 23:17:47 +00:00
Ray Speth
2df0396879
[ck2cti] Relax formatting requirement for Chebyshev coefficients.
...
Allow coefficient data to begin on the same line as the declaration of the
order of the polynomial in each dimension.
Fixes Issue 219.
2014-05-07 21:57:34 +00:00
Ray Speth
f8ff70ed38
[ck2cti] Make 'PCHEB' and 'TCHEB' keywords case insensitive
...
Fixes Issue 213.
2014-04-08 19:39:16 +00:00
Ray Speth
4e0fea7079
Added a test for converting Chebyshev and P-log reactions with ck2cti.py
2012-07-26 20:50:23 +00:00
Ray Speth
64ccd58680
Added a kinetics test suite with tests for P-log reactions
...
Added a sample mechanism file containing P-log and Chebyshev reactions.
2012-03-30 23:47:58 +00:00