Commit graph

5295 commits

Author SHA1 Message Date
Ray Speth
e02a7b0249 [Doc] Describe paths to examples for Homebrewed installation 2014-10-22 22:04:24 +00:00
Ray Speth
dd00d1bc9e [Doc] Add instructions on adding Homebrewed Cantera to the Matlab path 2014-10-22 21:48:24 +00:00
Ray Speth
f8f1c1d46d [Doc] Update OS X installation instructions to fix finding Sundials 2014-10-22 21:48:23 +00:00
Ray Speth
6287c2c311 [Kinetics] Remove unused m_index member of Kinetics classes 2014-10-22 21:48:19 +00:00
Ray Speth
584c57d569 [Kinetics] move "reaction type" up to Kinetics 2014-10-22 21:48:15 +00:00
Ray Speth
d65dbe3da2 [Kinetics] Move common Kinetics features up to the base class 2014-10-22 21:48:11 +00:00
Ray Speth
e7236df51f Formatting cleanup of InterfaceKinetics 2014-10-22 21:48:09 +00:00
Ray Speth
a208c54d1c Add a version of XML_Node::getChildren with a simpler interface 2014-10-22 21:48:04 +00:00
Ray Speth
424a04bffc [Test] Limit number of lines printed after failed test comparison 2014-10-17 23:44:59 +00:00
Ray Speth
7d9a6eeefc Deprecate class SpeciesThermoFactory 2014-10-17 23:44:56 +00:00
Ray Speth
e390beacbe Handle MineralEQ3 adjustment without using ThermoPhase object 2014-10-17 23:44:52 +00:00
Ray Speth
4dd3e1d2bc Use Species objects when adding species from XML 2014-10-17 23:44:47 +00:00
Ray Speth
11caddea1e Implement factory functions for SpeciesThermoInterpType 2014-10-17 23:44:42 +00:00
Ray Speth
5bc4a12e2e Add options for handling Species containing undefined elements 2014-10-17 23:44:37 +00:00
Ray Speth
26b6f190f3 Introduce class Species 2014-10-17 23:44:31 +00:00
Ray Speth
53abe2ee9a [Thermo] Always use GeneralSpeciesThermo
The specialized SpeciesThermo derived types offer no performance benefit now
that GeneralSpeciesThermo manages calculation of the temperature terms
efficiently.
2014-10-15 02:03:06 +00:00
Ray Speth
5cb1d6b338 [Test] Add some SpeciesThermoInterpType tests 2014-10-15 02:03:03 +00:00
Ray Speth
6c3fc200b6 Clean up implementation of GeneralSpeciesThermo 2014-10-15 02:03:01 +00:00
Ray Speth
5166336a32 [Thermo] Add continuity check to NasaPoly2 2014-10-15 02:02:58 +00:00
Ray Speth
0da3424249 [Thermo] Improve performance of GeneralSpeciesThermo
Compute the temperature polynomial only once for each parameterization type. By
doing this, we essentially get performance parity with the specialized
SpeciesThermo types (NasaThermo, ShomateThermo, SimpleThermo).
2014-10-15 02:02:55 +00:00
Ray Speth
227b342d1b Fix Nasa9PolyMultiTempRegion::updateProperties to use the correct polynomial 2014-10-15 02:02:53 +00:00
Ray Speth
40470c46af [Thermo] Separate temperature polynomial calculation from property update 2014-10-15 02:02:48 +00:00
Ray Speth
930bcceddc Clean up formatting of SpeciesThermoInterpType 2014-10-15 02:02:46 +00:00
Harry Moffat
e5c3377dd2 Changed the name of a few internal variables. 2014-10-10 01:40:40 +00:00
Ray Speth
b50ab99326 [Test] Fix fileLog class used in DH_graph_1
The class was missing the implementation of writeendl, which caused the
base class method to be called, occasionally leading to confusing test failures.

Not setting the mode of the output file caused it not to be automatically created,
so the log file usually wasn't even being written.
2014-10-08 16:54:55 +00:00
Ray Speth
044235c065 [SCons] Remove unnecessary uses of pjoin 2014-10-08 16:54:49 +00:00
Ray Speth
43f022384c Add version of installVPThermoForSpecies without unused arguments
Deprecate the old version of SpeciesThermoFactory::installVPThermoForSpecies.
2014-10-08 16:54:44 +00:00
Ray Speth
c4a5f2667f Remove CTML_VERSION macros
CTML_VERSION_1_4_1 was never used, and defining CTML_VERSION_1_4 broke reading
values written by the addInteger and addFloat functions with the getInteger and
getFloat functions, respectively.
2014-10-08 16:54:42 +00:00
Ray Speth
0db18ad0b1 [SCons/Test] Re-run tests if shared library changes 2014-10-08 16:54:39 +00:00
Ray Speth
17c3b019c0 [Kinetics] Deprecate unused methods for writing hard-coded mechanisms 2014-10-08 16:54:35 +00:00
Ray Speth
609a7e07ac [Kinetics] Deprecate unused methods of rate coefficient implementations 2014-10-08 16:54:31 +00:00
Ray Speth
c31aadc57f [Doc] Give better examples for using 'const_cp' 2014-10-08 16:54:26 +00:00
Ray Speth
4457b4297c [Doc] Describe syntax for specifying coverage dependencies 2014-10-08 16:54:21 +00:00
Ray Speth
4fe752f5f2 [Kinetics] Fix calculation of coverage-dependent reaction rates
The formula used was not consistent with the standard formulation for
coverage-dependent reaction rates, which uses 10 as the base for the
temperature-independent term with the coverage in the exponential (see
Eq. 11.113 of Kee et al.).

The impact of this change should be minor, as most coverage-dependent reaction
rates appear not to use this term of the parameterization.
2014-10-08 16:54:18 +00:00
Ray Speth
b1e89a09a8 [Doc] Fix errors in NASA9 formula documentation
Also, remove duplicate (erroneous) documentation from Nasa9PolyMultiTempRegion
and replace this with a reference to the docs for Nasa9Poly1.
2014-10-08 16:54:14 +00:00
Ray Speth
f58fb95404 [Doc] Fix version number shown in Doxygen documentation 2014-10-08 16:54:09 +00:00
Bryan W. Weber
9ed87e857c [Cython] Allow None when setting the quality of a PureFluid
Allow None as an option for the quality as well as the
temperature and pressure when setting the state of a PureFluid.
Completes r3213.
2014-10-08 12:42:15 +00:00
Bryan W. Weber
7c60182142 Allow None when setting the state of a PureFluid
Allow None as an option when setting the temperature and quality or
pressure and quality of a PureFluid. This mimics similar functionality
for Solutions.
2014-10-08 12:37:41 +00:00
Ray Speth
5624794faf Remove unusable Adsorbate::install method
This method shouldn't exist, since it's not part of the base class
(SpeciesThermoInterpType) interface.
2014-10-03 22:15:11 +00:00
Ray Speth
55fab6ca83 Deprecate unused return value of importPhase 2014-10-03 22:15:08 +00:00
Ray Speth
6d4271fdfe [Test] Improve visibility of total test suite failures
Treat crashes when running the GTest test programs and the Python test suite as
being more severe than individual test failures.
2014-10-03 22:15:06 +00:00
Ray Speth
a5149ae665 [1D] Reduce default minimum grid size
The new value is OK even for high pressure flames - it is less than the mean
free path in air at 100 bar and 300 K.
2014-10-03 22:15:03 +00:00
Ray Speth
4910b1bc1c Fix compilation with Visual Studio 2013
Fixes regression introduced in r3125.

Resolves Issue 240.
2014-10-03 16:48:21 +00:00
Ray Speth
787c90adeb [Thermo] Make header files for SpeciesThermoInterpType descendants public 2014-10-03 01:45:58 +00:00
Ray Speth
5b1b08849c Additional uses for getValue with default value 2014-10-03 01:45:54 +00:00
Ray Speth
a74fda8ad2 Introduce 'getValue' to avoid making std::map members mutable 2014-10-03 01:45:49 +00:00
Ray Speth
91f3a2b073 Fix statements that called the assignment operator twice 2014-10-03 01:45:41 +00:00
Ray Speth
ceeaaecae7 [Test] fix some size_t warnings 2014-10-03 01:45:38 +00:00
Ray Speth
23921c7889 [Test] Run 'appdelete' at end of GTest tests
This makes it easier to find memory leaks when using Valgrind by suppressing
false positives associated with data cached by Cantera.
2014-10-01 17:52:28 +00:00
Ray Speth
ab4813c592 [Test] Fix memory leaks in CtiConversionTest and ChemkinConversionTest 2014-10-01 17:52:26 +00:00