Commit graph

275 commits

Author SHA1 Message Date
Ray Speth
609b3e6e47 [Cython] Added molar_fluxes method to DustyGasTransport 2013-02-01 23:40:13 +00:00
Ray Speth
34a1304297 [Cython] Added the "import_phases" convenience function 2013-02-01 23:39:44 +00:00
Ray Speth
a60e10c3de [Cython] Allow creation of Mixture objects without quantities for each phase 2013-02-01 23:39:40 +00:00
Ray Speth
ab3f5e0a63 [Cython] Translated some samples to use the new API 2013-01-30 22:06:02 +00:00
Ray Speth
3d512996f6 [Cython] Fixed a documentation error in ThermoPhase 2013-01-30 22:05:57 +00:00
Ray Speth
cccc5c7a8b [Cython] Turned Mixture.species_moles into a property 2013-01-30 22:05:52 +00:00
Ray Speth
92016a2b31 [Cython] Fixed some problems building the Sphinx documentation 2013-01-30 22:05:46 +00:00
Ray Speth
7065076320 [Cython] Changed variable names to be consistent with PEP8
Instance methods and instance variables all follow the words_with_underscores
convention, rather than using mixedCaseNames.
2013-01-30 22:05:30 +00:00
Ray Speth
f20d39cf75 [Cython] Implemented class Mixture (including unit tests) 2013-01-30 22:05:20 +00:00
Ray Speth
7527b64af7 [ck2cti] Fixed parsing duplicate reactions with explicit reverse rate constants
Fixes 139.
2013-01-22 20:26:30 +00:00
Ray Speth
78f6e61703 Combined the shared parts of AxiStagnFlow::eval and FreeFlame::eval 2013-01-17 15:31:36 +00:00
Ray Speth
40d190cd89 [Test/Cython/1D] Added a test for counterflow diffusion flames 2013-01-17 15:30:50 +00:00
Ray Speth
aac9435a0e [Cython/1D] Fixed DiffusionFlame to work with phases not containing carbon 2013-01-17 15:30:36 +00:00
Ray Speth
89406c2410 [SCons] Udated coverage testing to include the Cython module
Also, exclude the code in the 'test' and 'test_problems' directories from the
coverage statistics.
2013-01-11 22:56:52 +00:00
Ray Speth
183af676d5 [ck2cti] Added support for the UNITS keyword 2013-01-11 22:56:25 +00:00
Ray Speth
7ca8d1830e [ctml_writer] Updated constants to have more accurate values 2013-01-11 22:56:22 +00:00
Ray Speth
8ae3ca5a17 [ck2cti] Refactored to add class Parser and remove global variables 2013-01-11 22:56:16 +00:00
Ray Speth
60d44997e0 [ck2cti] Added '--permissive' flag to ignore certain errors 2013-01-11 22:56:12 +00:00
Ray Speth
1eec20baf0 [ck2cti] Duplicate tranpsort properties are now only a warning by default
For consistency with the Chemkin parser, the first set of transport properties
found are used.
2013-01-11 22:56:09 +00:00
Ray Speth
994acf84ea [ck2cti] Added ability to convert falloff reactions with explicit third bodies
For reactions written as: R1+R2(+S1)=P1(+S1), the implication is that
the third-body efficiencies for all colliders besides S1 are zero.
2013-01-11 22:56:05 +00:00
Ray Speth
121f039ea1 [ck2cti] Simplify constructors by using kwargs 2013-01-11 22:56:02 +00:00
Ray Speth
ad64554528 [ck2cti] Improved PEP8-compliance 2013-01-11 22:55:59 +00:00
Ray Speth
205706f5dd [Reactor] Avoid a segfault when using phases with no Kinetics 2013-01-07 18:08:23 +00:00
Ray Speth
c2151f1aaf [Cython] Made punctuation more consistent in docstrings
This improves the appearance of the generated docstrings for the properties of
FlameBase.
2013-01-04 21:37:15 +00:00
Ray Speth
edca92305d Enabled test of isothermalCompressibility
This test now passes as a result of merging the maintenance branch into trunk.
2013-01-04 21:37:12 +00:00
Ray Speth
68a312dc55 [Cython] Added array-valued properties to FlameBase 2013-01-04 21:37:08 +00:00
Ray Speth
589c27c161 [Cython] Made FlameBase and children regular Python classes
This makes it easier to make programmatic modifications to these classes and
extend them from pure Python code.
2013-01-04 21:37:01 +00:00
Ray Speth
f53ad9b47b [Cython] Added Sphinx docs for composite classes & importing 2012-12-26 23:56:24 +00:00
Ray Speth
8652963e6f [Cython] Modified tests to avoid unexpected failures 2012-12-26 23:56:04 +00:00
Ray Speth
a852400384 [SCons] Build the Cython module with debug symbols when requested 2012-12-26 23:56:01 +00:00
Ray Speth
0ff4964184 [Cython/1D] Relax grid tolerances on tests to reduce run times 2012-12-26 23:55:58 +00:00
Ray Speth
695b6b1266 [Cython] Skip sensitivity-related tests when Sundials is not present 2012-12-26 23:55:54 +00:00
Ray Speth
86db08ac88 Added __version__ attribute to the Cython module 2012-12-26 23:55:51 +00:00
Ray Speth
4991ada305 [SCons] Refactored configuration/compilation of the Cython module 2012-12-26 23:55:48 +00:00
Ray Speth
dafcc9e024 [SCons] Specify the compiler to use for the Cython module
This fixes problems encountered when using EPD on Windows, where the
default compiler for Python is MinGW.
2012-12-26 23:55:46 +00:00
Ray Speth
ea7d447864 [Cython] Updated test of 1D save / restore functionality 2012-12-18 00:14:35 +00:00
Ray Speth
833ca13dc1 [1D/Python] Set pressure when restoring solution from XML file
This partially addresses Issue 90.
2012-12-18 00:11:24 +00:00
Ray Speth
1e91bd59af [1D/Cython] Set pressure when restoring solution from XML file
This partially addresses Issue 90.
2012-12-18 00:10:48 +00:00
Ray Speth
14426bfc86 [1D] Added loglevel argument to control output from save and restore
Passing loglevel=0 to Sim1D::save or Sim1D::restore will suppress all output
from these functions. The default loglevel maintains the normal level of output.
2012-12-18 00:09:29 +00:00
Ray Speth
b4218203d2 [Cython] Added tests for the 1D simulation interface 2012-12-18 00:08:08 +00:00
Ray Speth
e150fb4c45 [Cython] Added examples that use the new API for the 1D flame solver 2012-12-18 00:06:36 +00:00
Ray Speth
9601895b98 [Cython] Fixed problems with unicode strings in Python 2 2012-12-18 00:04:54 +00:00
Ray Speth
b277818347 [Cython] Added infrastructure for installing examples
This includes automatic conversion of the samples from Python 3 syntax to Python
2 syntax when building the Python 2 version of the module and the "3to2" script
is available.
2012-12-18 00:03:03 +00:00
Ray Speth
306ac961c0 [Cython] Implemented specializations of Sim1D for standard flame types
FreeFlame, BurnerFlame, and CounterflowDiffusionFlame
2012-12-18 00:01:28 +00:00
Ray Speth
fb933d5c89 [Cython] Implemented methods of class Domain1D and Sim1D 2012-12-18 00:00:01 +00:00
Ray Speth
49803de297 [Cython] Added declarations for 1D simulation components 2012-12-17 23:59:48 +00:00
Ray Speth
55dec034ed Merge branch '2.0' into 'trunk'
Conflicts:
	README
	SConstruct
	configure.ac
	doc/sphinx/conf.py
2012-12-13 22:58:38 +00:00
Ray Speth
2805db17e9 [Python] Added interface to "setGridMin" in relevant 1D classes 2012-12-06 17:31:49 +00:00
Ray Speth
54e4b17aa5 [Matlab] Corrected error messages generated by setState_SP 2012-11-30 22:50:47 +00:00
Ray Speth
76a24eb9ce [1D] Create initial guess before showSolution() 2012-11-14 21:07:24 +00:00