Ray Speth
b3a1e1e47c
[Cython/1D] 1D solver can be interrupted by ctrl-c
...
By calling a pure Python function each time OneDim::eval is called, we can
catch KeyboardInterrupt exceptions and abort the 1D solver loop, returning
control to Python.
Partially addresses Issue 93.
2013-03-04 17:31:41 +00:00
Ray Speth
c896501f4a
[Cython] fixed missing includes in Cython wrapper headers
2013-03-04 17:31:38 +00:00
Ray Speth
d4fb33c688
[Cython/1D] Completed Boundary1D mass/mole fraction property interface
...
Added getter for mole fractions and setter for mass fractions. This
requires that the boundary object hold a reference to the thermo object.
Resolves Issue 143.
2013-03-04 17:31:35 +00:00
Ray Speth
c084148b0e
[SCons] Python module can be installed to user's site-packages directory
...
Setting the scons options 'python_prefix=USER' or 'python3_prefix=USER' will
pass the '--user' flag to setup.py, causing the Python module to be installed to
a platform-specific directory on the user's module path.
2013-03-04 17:31:08 +00:00
Ray Speth
372d20ce6e
[Cython] setup.py no longer makes use of setuptools / distribute
...
This makes it easier to install the Python package into non-standard
locations. Requires the 'cythonize' function introduced in Cython 0.17.
2013-03-04 17:30:56 +00:00
Ray Speth
61abf3869d
[Cython] Adjust solver parameters for TestFlowReactor.test_reacting
...
This avoids CVODES failures that otherwise occur on some machines.
2013-02-15 18:20:00 +00:00
Ray Speth
1bd83d80f4
[Cython] Relaxed some test tolerances
2013-02-15 17:32:28 +00:00
Ray Speth
c3d49950bd
[Cython] Fixed location of data directory for unit tests
2013-02-15 17:32:24 +00:00
Ray Speth
3aa84e15e9
[Cython] Fixed a typo in TestDiffusionFlame
2013-02-15 17:31:11 +00:00
Ray Speth
45392f06ec
[Kinetics] Added a test for empty reaction mechanisms
2013-02-14 01:02:23 +00:00
Ray Speth
9010ecc644
[Cython] Added the radial pressure gradient as the property FlameBase.L
...
Resolves Issue 142.
2013-02-07 23:41:37 +00:00
Ray Speth
3c6f87274b
[Cython] Fixed docstring for Sim1D.save
...
Resolves Issue 141.
2013-02-07 23:41:34 +00:00
Ray Speth
840bdfffab
[Cython] Translated more samples to use use the new API
2013-02-07 23:41:30 +00:00
Ray Speth
7da738d238
Re-applied consistent formatting to trunk
...
Applied using: astyle -n --style=kr --add-brackets --indent=spaces=4
--indent-col1-comments --unpad-paren --pad-header --align-pointer=type
--lineend=linux
2013-02-07 23:40:59 +00:00
Ray Speth
a5b1d1f7f6
[Reactor] Added ability to set the CVODES "MaxErrTestFails" variable
...
Increasing this value (from the default of 7) will sometimes allow CVODES to
find solutions to problems that previously caused it to fail.
2013-02-07 23:40:40 +00:00
Ray Speth
1bdf50625d
[Cython] Fixed specification of the Accelerate framework on OS X
2013-02-07 23:40:28 +00:00
Ray Speth
463a4017eb
[Cython] Improved API for InterfaceKinetics
2013-02-07 23:40:25 +00:00
Ray Speth
677cb69a4a
[Cython] Added 'mass' property to Reactor
2013-02-07 23:40:22 +00:00
Ray Speth
655af462b0
[Cython] Added set_grid_min method to Sim1D
2013-02-07 23:40:18 +00:00
Ray Speth
40a737539a
[Cython] Fixed instantiation of ImpingingJet with non-reacting surface
2013-02-07 23:40:16 +00:00
Ray Speth
2be392e6e1
[Cython] Translated more samples to use the new API
2013-02-01 23:40:41 +00:00
Ray Speth
eb01aee6f5
[Cython] Made ReactingSurface1D.coverage_enabled into a property
2013-02-01 23:40:36 +00:00
Ray Speth
430e28e413
[Cython] Added write_csv method to FlameBase
2013-02-01 23:40:31 +00:00
Ray Speth
16f69f3738
[Cython] Added keyword argument for setting the name of Domain1D instances
2013-02-01 23:40:27 +00:00
Ray Speth
5adb60664c
[Cython] Added class ImpingingJet
...
This was called "StagnationFlow" in the old Python module.
2013-02-01 23:40:23 +00:00
Ray Speth
987291e052
[Cython] Added 'add_module_directory' utility function
2013-02-01 23:40:18 +00:00
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