Ray Speth
e70e5bf5be
[SCons] Fix default Python module installation path on Debian/Ubuntu
...
If Cantera is being installed to /usr/local, then on Debian-based distros, we
want the Python module to end up in /usr/local/lib/pythonX.Y/dist-packages,
which is actually the default behavior. However, /usr/local/... is *not* the
default installation prefix for Python modules on some other distros (On Fedora,
at least, it's /usr/) so using the default needs to be conditioned on the actual
distro.
2016-07-29 14:52:42 -04:00
Ray Speth
fd9d60f1ec
[ck2cti] Add support for MWON and MWOFF keywords
2016-07-28 18:40:10 -04:00
Ray Speth
1e5eb8c871
[Kinetics] Add option for Motz & Wise correction to sticking reactions
2016-07-28 18:38:40 -04:00
Santosh Shanbhogue
036eeb1678
[Python/Examples] Added option to plot results for premixed twin flame
2016-07-27 17:02:02 -04:00
Santosh Shanbhogue
1dc7071ba6
[Python/Examples] Updated premixed counterflow twin flame example
...
Corrected method of calculating strain-rate, and added functionality to compute
consumption speed
2016-07-27 17:02:02 -04:00
Ray Speth
5ec525d516
[Python/Test] Fix spurious test failures caused by assertAlmostEqual
2016-07-25 16:11:26 -04:00
Ray Speth
6b588c5140
[Python/1D] Fix default transport model selection
...
Broken in bd8a5d0 , since the base Transport class no longer returns a false
value for the transport_model property.
2016-07-25 15:35:25 -04:00
Ray Speth
3b522dcfb0
[Python/1D] Print exception messages after failed auto-solve attempts
...
This helps with debugging cases where the solver fails, especially, if the
failures are not convergence-related and cannot be resolved by successive
attempts at solving the problem.
2016-07-25 15:33:07 -04:00
Ray Speth
feca44aa2d
[SCons] Install to lib64 directory on operating systems that use this
...
Resolves #318 .
2016-07-25 14:42:46 -04:00
Ray Speth
aa42aa5c81
[ck2cti] Add tests for surface mechanism conversion
2016-07-15 17:57:13 -04:00
Ray Speth
cff277d350
[ck2cti] Add support for sticking reactions
2016-07-15 17:57:13 -04:00
Ray Speth
ff3429faa9
[ck2cti] Support different units in different REACTIONS sections
...
This is helpful when combining gas and surface mechanisms which may be written
using different energy units.
2016-07-15 17:57:13 -04:00
Ray Speth
de9bb5b1c9
[ck2cti] Add support for surface coverage dependencies
2016-07-15 17:57:13 -04:00
Ray Speth
db90a7c0a1
[ck2cti] Support conversion of surface mechanism files
2016-07-14 22:19:33 -04:00
Ray Speth
69f25b41dc
[Matlab] Fix default threshold value when displaying phase info
...
At some point (after version 2014b), Matlab started passing an additional
argument to 'display', which broke the logic for setting the default
threshold. This caused all composition data to be excluded from the report shown
by typing the name of the phase object.
2016-07-13 17:11:34 -04:00
Ray Speth
00d254a1c2
[Python] Add function to write CSV file from SolutionArray
2016-07-13 17:11:34 -04:00
Ray Speth
faa4c36e1d
[Python/Examples] Update examples to use new SolutionArray features
2016-07-09 19:15:07 -04:00
Ray Speth
8ffbbea93f
[Python/Examples] Save correct system state after integration step
2016-07-09 19:15:07 -04:00
Ray Speth
b4f2f82fe3
[Python/Examples] Rename 'gri3' to more generic 'gas'
2016-07-09 19:15:07 -04:00
Ray Speth
001b7e91eb
[Python] Add species slicing support to SolutionArray
2016-07-09 19:15:07 -04:00
Ray Speth
f2ac1f2347
[Python] Allow SolutionArray to carry 'extra' variables
2016-07-09 19:15:07 -04:00
Ray Speth
59e0f5a6d9
[Python/Examples] Update examples to use SolutionArray
2016-07-09 19:15:07 -04:00
Ray Speth
beb2056926
[Python/Test] Add tests for SolutionArray
2016-07-09 19:15:07 -04:00
Ray Speth
69bec844fd
[Python] Fix setting composition using arrays with singleton dimensions
2016-07-09 19:15:07 -04:00
Ray Speth
deafbf8888
[Python] Allow setting SolutionArray using mass/mole fraction arrays
2016-07-09 19:15:07 -04:00
Ray Speth
00b104af50
[Python/Doc] Add documentation for class SolutionArray
2016-07-09 19:15:07 -04:00
Ray Speth
2d32a35eab
[Python] Make SolutionArray compatible with InterfacePhase
2016-07-09 19:15:06 -04:00
Ray Speth
366ff043ff
[Python] Make SolutionArray compatible with PureFluid
2016-07-09 19:15:06 -04:00
Ray Speth
5c23ea3b4c
[Python] Implement SolutionArray.append
2016-07-09 19:15:06 -04:00
Ray Speth
b51b844fb4
[Python] Add more properties to SolutionArray
...
Add Kinetics and Transport properties, as well as pass-throughs for properties
and functions which are independent of the state.
2016-07-09 19:15:06 -04:00
Ray Speth
21a1be8e0a
[Python] Add Solution.state to allow faster iteration over states
2016-07-09 19:15:06 -04:00
Ray Speth
78d275b2a2
[Python] Basic implementation of SolutionArray for thermo properties
2016-07-09 19:15:06 -04:00
Ray Speth
bd8a5d0bc9
[Transport] Replace numerical constants for Transport types with strings
2016-07-07 22:52:25 -04:00
Ray Speth
7f21aa0f45
[Kinetics] Replace numerical constants for Kinetics types with strings
2016-07-07 21:36:11 -04:00
Ray Speth
0f71bbcec5
[Thermo] Replace numerical constants for ThermoPhase types with strings
...
Deprecate ThermoPhase::eosType and related methods
2016-07-07 21:36:11 -04:00
Ray Speth
e12738a5c4
[CTI/Doc] Species and element names must be separated by spaces
...
Documentation claimed commas could be used as well, but this did not actually
work.
Resolves #341 .
2016-06-29 18:13:41 -04:00
Ray Speth
4b8f8b692a
[Reactor] Deprecate Wall-based method for adding surface chemistry
...
The new method using class ReactorSurface should be used instead.
2016-06-28 14:37:59 -04:00
Ray Speth
a7aec575a9
[Matlab] Make ReactorSurface available in Matlab
2016-06-28 14:37:59 -04:00
Ray Speth
c3b9a0c821
[Python] Make ReactorSurface available from Python
2016-06-28 14:16:18 -04:00
Ray Speth
b88e2cb00d
[Matlab] Deprecate constants.m
2016-06-27 14:16:48 -04:00
Ray Speth
ffeef2240a
[Matlab] Deprecate Domain1D::z (duplicate of Domain1D::gridPoints)
2016-06-27 14:11:19 -04:00
Ray Speth
668634c969
[Thermo] Deprecate classes tpx::leekesler and tpx::RedlichKwong
...
These are implementations of tpx::Substance which cannot actually be
instantiated from within the PureFluidPhase wrapper class.
The broken implementation of a CTML class for redlich_kwong is removed here.
A functional implementation of the Redlich-Kwong equation of state remains in
class RedlichKwongMFTP.
Resolves #263
2016-06-26 20:31:48 -04:00
Ray Speth
36cff8e368
[CTML] Fix docstring of class liquid_vapor
...
See Issue #263
2016-06-26 20:30:22 -04:00
Ray Speth
5fbe2303ca
[Python] Fix test suite to work with Python 3.2
...
The u'foo' syntax which can be used in Python 2.7 and 3.3+ does not work with
Python 3.2.
2016-06-24 17:15:14 -04:00
Ray Speth
c64b714386
[Reactor] Add flow-device-specific methods for setting coefficients
2016-06-23 11:53:20 -04:00
Ray Speth
7d18120c4d
[ck2cti] Allow elements/isotopes with custom atomic weights
...
Resolves #344
2016-06-22 20:22:58 -04:00
Ray Speth
e100ef9a09
[Python] Fix exception handling when setting soret_enabled
...
The C++ exception is now correctly translated to a Python exception, instead of
causing the program to abort.
2016-05-31 18:55:07 -04:00
Ray Speth
efe43b389e
[1D] Add callback hooks to make debugging 1D solver easier
...
This allows one to define functions in Python which will be called after each
successful time step or steady state solve, from which the state of the solver
can be inspected.
2016-05-14 17:24:16 -04:00
Ray Speth
828cca3c42
[1D] Simplify initial conditions for twin flame
2016-05-14 13:45:27 -04:00
Ray Speth
ed72984361
[Test/1D] Add test for twin flame
2016-05-14 13:06:45 -04:00