Commit graph

5200 commits

Author SHA1 Message Date
Ray Speth
e65539833d [ck2cti] Fix error message produced when the input file is unreadable 2014-09-07 21:16:46 +00:00
Harry Moffat
e0527bc899 Allowed interfacial reactions without metal phases to work within this class.
Fixed an error in getExchangeCurrentDensityFormulation().
2014-09-03 22:27:51 +00:00
Harry Moffat
42a934a37e InterfaceKinetics rewrite -> next iteration. Addition of Affinity input terms. 2014-09-03 16:46:53 +00:00
Harry Moffat
021c8f9880 InterfaceKinetics rewrite -> addition of BV and Affinity reactions, next interation. 2014-09-03 04:55:27 +00:00
Ray Speth
6a07722675 [Thermo] Remove unnecessarily overridden methods in PureFluidPhase 2014-09-02 22:34:25 +00:00
Thomas Fiala
d6dd968891 [1D/Examples] Add new diffusion flame examples
These two examples show how to run sequences of diffusion flames while varying
certain parameters (pressure or strain rate). They make use of scaling rules to
provide improved initial guesses for the continuation runs, increasing
computational efficiency.

Resolves Issue 229.
2014-09-02 22:34:23 +00:00
Ray Speth
1e2ba1f0d2 [1D/Python] Fix spurious 'divide by zero' warning 2014-09-02 22:34:21 +00:00
Thomas Fiala
46231379c1 [1D/Python] Add solver warnings for diffusion flame solutions
Adds warnings that check if the solution of a counterflow diffusion flame is
reasonable (not extinct, and not too close to the boundaries of the domain).

Resolves Issue 231.
2014-09-02 22:34:18 +00:00
Ray Speth
22a6bb9ef2 [1D/Python] Fix initial profile generation for diffusion flames
Don't assume that the leftmost grid point is z = 0.
2014-09-02 22:34:16 +00:00
Ray Speth
1e5eba4819 [Doc] Add OS X installation instructions using Homebrew 2014-09-02 22:34:13 +00:00
Ray Speth
fb0e9e4816 [Doc] Add installation instructions for Windows binaries 2014-09-02 22:34:11 +00:00
Ray Speth
0fd419028a [Doc] Add local tables of contents to Reactor and 1D documentation
This makes these pages, which document many classes, easier to navigate.
2014-09-02 22:34:08 +00:00
Bryan W. Weber
671d6eb576 Fix WiX complains that @Action is deprecated 2014-08-28 22:06:09 +00:00
Bryan W. Weber
73fa1a17a0 Fix bdist complains about invalid version number 2014-08-28 22:06:05 +00:00
Thomas Fiala
68e84bdff7 [Python/1D] Add strain rate calculation for diffusion flames
Allows calculation of strain rate based on various definitions.

Resolves Issue 230.
2014-08-28 16:55:44 +00:00
Ray Speth
0886de8650 Include CVodes error text in resulting CanteraErrors
Failures in 'integrate' and 'advance' now include the error text provided by
CVodes directly, rather than just the numerical error code. This is especially
helpful in cases where the direct output from CVodes to stderr is lost
(e.g. when running from the Matlab GUI).
2014-08-28 16:55:41 +00:00
Ray Speth
002c158761 Cleanup include statements
Move includes from header to implementation files where possible, and remove
unnecessary includes.
2014-08-28 16:54:13 +00:00
Ray Speth
5505b791b7 Make get_XML_Node search for both XML and CTI input file formats
This makes it possible to use species and reactions from external CTI files,
rather than only external XML files, since the datasrc extension assumed in the
cti->xml conversion is .xml.
2014-08-28 16:54:08 +00:00
Bryan W. Weber
f0bb0f8492 [Doc] Fix some Sphinx warnings
Comments are also added to note places where the function
signatures embedded by Cython produce warnings in Sphinx.
These warnings should be ignored until Sphinx supports this.
2014-08-26 22:04:59 +00:00
Thomas Fiala
dfab2edb3d Properly clean up after a build.
Fixes Issue 232.
2014-08-26 22:04:55 +00:00
Bryan W. Weber
32d5d7b8b2 [Matlab] Fix build warnings about Contents.m 2014-08-26 22:04:50 +00:00
Bryan W. Weber
6bf39e87c4 [Matlab] Minor fixes to docs and screen output
Fix missing parameter docs in Matlab ReactorNet setTolerances. Fix missing semicolon in ThermoPhase display
2014-08-26 22:04:46 +00:00
Harry Moffat
979bdffe6e InterfaceKinetics rewrite -> implementation of BV and affinity reactions
next iteration
2014-08-26 20:55:38 +00:00
Harry Moffat
9e05e85b66 Fixed a typo in HAVE_FENV_H implementation 2014-08-26 20:54:52 +00:00
Harry Moffat
08fe85b4cd Check for fenv.h availability. Apparently, MS visual doesn't have C99 support before 2013, so previous commit didn't compile on MSVISUAL.
If fenv.h not available, program now error exits if fenv functions are requested.
2014-08-26 17:55:44 +00:00
Bryan W. Weber
b7bce3f66d Fix errors in MATLAB compiling on Windows. Fixes Issue 85. 2014-08-26 12:15:01 +00:00
Ray Speth
71cabc86ef [SCons] Express dependencies for rebuilding Doxygen documentation 2014-08-25 22:18:56 +00:00
Ray Speth
85abe2e008 [SCons] Update documentation for SCons commands 2014-08-25 20:02:34 +00:00
Bryan W. Weber
eeab08d683 Allow auto conversion of Python examples on Windows
3to2 cannot be called as an executable on Windows, but it can be called
as a script. Assume that the 3to2 script is installed in
PYTHONROOT\Scripts, which is the default for installation by pip.
2014-08-25 18:41:56 +00:00
Harry Moffat
3a6d72346d Made a member public for now, until further development is done. 2014-08-21 23:27:12 +00:00
Harry Moffat
e6863bfdae InterfaceKinetics rewite: added rmcVector and identifyMetalPhases routine.
added utility to clean tests. tests don't rerun when they should!
2014-08-21 21:40:26 +00:00
Harry Moffat
69c09709d1 Interfacekinetics rewrite:
Decided to break out an ElectrodeKinetics object for now. We'll see how it goes.
2014-08-21 00:49:41 +00:00
Harry Moffat
0d9b7d7868 Updated doxygen make generation capability.
Started to modify doxygen content to get rid of the large number of warnings.
2014-08-21 00:48:04 +00:00
Harry Moffat
81556ea8aa Rewrite of InterfaceKinetics - next iteration. 2014-08-14 00:00:00 +00:00
Harry Moffat
6741d8f7c6 InterfaceKinetics rewrite -> addition of general BV reactions and affinity formulation. 2014-08-12 23:02:47 +00:00
Harry Moffat
fcbf41ac73 Changed the default to not crop the printout of any small numbers. 2014-08-12 22:45:53 +00:00
Harry Moffat
8ea3da7247 Took out duplicate operator= 2014-08-05 23:44:31 +00:00
Harry Moffat
e129d02d93 Added in real number overflow exception control.
There are a series of activity coefficients for published battery models
 which actually overflows. Cantera was treating this as a nonerror and changing
the return results without comment. This is not correct. Made the behavior a
user controlled capability.
2014-08-05 23:42:24 +00:00
Harry Moffat
cdec2e90c7 Fixes need to restore capability to solve banded systems with nonlinear solver 2014-08-05 23:11:58 +00:00
Harry Moffat
9a9455a93a Changed the blessed file. The report function has changed the number of significant figures reported. 2014-08-05 22:07:04 +00:00
Steven DeCaluwe
ccc4dda228 Adding helper functions to HighPressureGasTransport.cpp 2014-08-05 15:01:13 +00:00
Steven DeCaluwe
1aae8967cc More cleanup of HighPressureGasTransport.cpp 2014-08-05 15:01:11 +00:00
Steven DeCaluwe
ad5ee88446 Cleaning up whitespace and other issues in HighPressureGasTransport.cpp 2014-08-05 15:01:09 +00:00
Ray Speth
907bbd8b79 Allow importing phases from XML or CTI strings 2014-07-30 16:59:51 +00:00
Ray Speth
a22a767be1 Fix some compiler warnings 2014-07-30 16:59:45 +00:00
Ray Speth
56ccc667df Fix some uninitialized member variables 2014-07-30 16:59:39 +00:00
Ray Speth
7ebfbed486 [Doc] Add note about required SCons version for VS2013 2014-07-30 16:59:36 +00:00
Ray Speth
4a1aee131d [Cython/Examples] Update surf_pfr to show reactor network reinitialization 2014-07-30 16:59:34 +00:00
Ray Speth
2b67ec4538 [Test] Add surface kinetics test based on the sofc.py example 2014-07-30 16:59:30 +00:00
Ray Speth
0440e3fcf1 [Python/Examples] Update adiabatic.py to use features of the Cython module 2014-07-30 16:59:27 +00:00