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
Ray Speth
3fec861d1f
[Cython] Added tests for sensitivity analysis
2012-11-02 20:07:32 +00:00
Ray Speth
fe6b5d3c0b
Changed the ordering of Reactor sensitivity coefficients
...
The order now matches the order in which the corresponding sensitivity reactions
are added to the ReactorNet, regardless of the order in which Reactors and Walls
are added to the network.
Sensitivity parameter names can be accessed using the "sensitivityParameterName"
method of ReactorNet, and the "sensParamID" methods of Reactor and Wall have
been removed as they no longer meaningful.
2012-11-02 20:07:25 +00:00
Ray Speth
b3e25ee963
Modified Reactor::updateState to get sensitivity analysis working
...
Sensitivity analysis requires that the system responds appropriately to small
perturbations in the solution, a condition which is not satisfied when using the
default iterative method implemented by ThermoPhase::setState_UV. Instead, we
now use Newton's method to calculate the mixture temperature to within a small
multiple of machine precision.
2012-11-02 20:07:21 +00:00
Ray Speth
e34ac55f4f
[Cython] Added sensitivity analysis to Reactor / ReactorNet
2012-11-02 20:07:15 +00:00
Ray Speth
845b73405e
Merge bug fixes from 2.0 maintenance branch
2012-10-30 15:46:10 +00:00