Commit graph

5164 commits

Author SHA1 Message Date
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
Ray Speth
4236c97259 [Test] Add multiphase equilibrium tests based on 'adiabatic.py' example 2014-07-30 16:59:23 +00:00
Ray Speth
03a4f63729 [Cython] Use __slots__ to prevent accidental invalid attribute assignment 2014-07-30 16:59:17 +00:00
Ray Speth
c8bb3a0c52 [Cython] Fix some tests that weren't actually working correctly
These tests were setting values to incorrectly named properties,
so they weren't actually testing the functionality that they should
have been.
2014-07-30 16:59:14 +00:00
Ray Speth
28d389b120 [Scons] On Windows, print compilation architecture during build process
This helps in debugging certain compilation / linker issues
2014-07-30 16:59:11 +00:00
Ray Speth
169e6f1c11 [SCons] Remove outdated references to ct2ctml.log 2014-07-30 16:59:09 +00:00
Ray Speth
dc31982a2b [MixMaster] Remove broken/orphaned gri30.py 2014-07-30 16:59:07 +00:00
Ray Speth
232e28d2c8 Check file modification time before reusing cached XML 2014-07-30 16:59:04 +00:00
Ray Speth
063c2a261a Eliminate redundancy between get_XML_File and get_CTML_Tree
get_CTML_Tree and getCtmlTree are now deprecated in favor of get_XML_File
2014-07-30 16:58:55 +00:00
Ray Speth
6866725b57 Simplify implementation of get_XML_File
This is easier now that we don't have to write the XML file to disk
when importing from a CTI file.
2014-07-30 16:58:52 +00:00
Ray Speth
73af17bd54 Fix ambiguous call to 'pow'
This caused compilation errors with MSVC.
2014-07-29 00:51:00 +00:00
Steven DeCaluwe
9c3ac51818 Adding cpp and header files for HighPressureGasTransport module 2014-07-28 21:04:11 +00:00
Steven DeCaluwe
14019cfd2e Adding HighPressureGas transport module. 2014-07-28 21:02:18 +00:00
Steven DeCaluwe
8954090881 Modifying TransportFactory::fitProperties to eliminate an assumption
that the phase of interest is an ideal gas.
2014-07-28 18:18:41 +00:00
Ray Speth
6c3867ca79 [SCons] Let SCons choose the default version of MSVC
The near-requirement of using the same version of MSVC as Python was compiled
with has been relaxed by the move to compiling the Python extension in SCons
rather than letting Distutils do it.
2014-07-25 18:33:02 +00:00
Ray Speth
b141760015 [Doc] Update instructions for checking out the code 2014-07-25 18:33:00 +00:00
Ray Speth
67539df9f2 Fix #includes to work with Visual Studio 2013 2014-07-25 18:32:57 +00:00
Ray Speth
4f3dd0624f [SCons] Fix build errors when path to Python contains spaces 2014-07-25 18:32:54 +00:00
Ray Speth
93719f0261 [Doc] Fix syntax highlighting in CTI guide 2014-07-25 18:32:47 +00:00
Ray Speth
a6350348a1 [Doc] Fix 'currentmodule' directive for ctml_writer functions 2014-07-25 18:32:42 +00:00
Ray Speth
6867381781 [CTI] Document options for controlling mechanism validation
Add documentation for the validate() function, and remove documentation
for the non-existent 'no_validation' flag.
2014-07-25 18:32:39 +00:00
Ray Speth
1e078d4fd3 [Kinetics] Change temperatures used for P-log validation
For rate expressions with negative activation energies, evaluating at
unphysically low temperatures (e.g. 1 K) could lead to overflows in calculating
exp(Ea/RT) that are not indicative of problems at more reasonable temperatures.
2014-07-25 18:32:37 +00:00
Ray Speth
8f4ab714ac [Samples] Modify surf_pfr to keep pressure constant
The structure of this calculation previously led to an apparent increase in
pressure along the length of the reactor.  This is a good example of when to use
a PressureController.
2014-07-25 18:32:34 +00:00
Ray Speth
1cd82d40af Remove 'SQUARE' and 'DSIGN' macros 2014-07-25 18:32:29 +00:00
Ray Speth
8aab7f527a Use std::max_element instead of reimplementing it 2014-07-25 18:32:26 +00:00
Ray Speth
41a6e78ff1 Remove incorrect comments from 'newTransportMgr' functions 2014-07-25 18:32:24 +00:00
Ray Speth
d5b873b697 [1D] Fix mass flux reported by Inlet1D for freely-propagating flames 2014-07-18 18:10:56 +00:00
Ray Speth
bc70da4252 [Matlab] Change log level for Transport construction 2014-07-18 18:10:54 +00:00
Ray Speth
884dd36b9c [Reactor] Remove unused reactor connectivity calculation 2014-07-18 15:14:12 +00:00
Ray Speth
1b1703cc56 [Reactor] Remove unused variable ReactorBase::m_init 2014-07-18 15:14:07 +00:00
Bryan W. Weber
ad3ac0a1ad [Matlab/Doc] Add automatically generated Contents.m to the toolbox. 2014-07-18 14:37:47 +00:00
Bryan W. Weber
cd8e9242a6 [Doc] Allow differentiation of classes from functions in the Matlab docs 2014-07-18 14:37:42 +00:00
Bryan W. Weber
c6ac27b07c [Doc/Matlab] Add documentation for all Matlab functions 2014-07-18 14:35:41 +00:00
Bryan W. Weber
0a0d5f2947 [Matlab] Add option to specify transport modeling to @Solution constructor. Add options to specify information about @Wall on construction. Verify job number for @Domain1D 2014-07-18 14:35:28 +00:00
Bryan W. Weber
a067fcbc37 [Samples/Matlab] Fix bugs in conhp and conuv Matlab samples 2014-07-18 14:35:22 +00:00
Bryan W. Weber
6cd78c0233 [Matlab] Move @Solution/soundspeed.m and set.m to @ThermoPhase. Delete duplicated 1D/nComponents.m method 2014-07-18 14:35:15 +00:00
Bryan W. Weber
a8304e146e [Matlab] Fix small bugs. Add clear method to Transport, qdot and vdot to Wall. 2014-07-18 14:35:05 +00:00