Commit graph

5703 commits

Author SHA1 Message Date
Ray Speth
c3c80f79fb Remove extraneous parentheses 2015-08-02 23:06:14 -04:00
Ray Speth
89c751f217 Fix compilation problems when debug_verbose=y 2015-08-02 23:06:14 -04:00
Ray Speth
65741171f4 [Doc] Fix typos in NASA polynomial formulas 2015-07-23 16:46:08 -04:00
Ray Speth
d8772f261b [Reactor] Cannot add sensitivity reactions to initialized ReactorNet
Before, the attempt to add the reaction was silently ignored. Now, this raises
an exception.
2015-07-21 14:54:13 -04:00
Ray Speth
6cc5652de6 Remove commented-out code 2015-07-20 17:20:46 -04:00
Ray Speth
de005c083e Eliminate VCS_DATA_PTR macro 2015-07-20 16:17:31 -04:00
Ray Speth
bf2ceed60e Remove some leftover debugging ifdefs 2015-07-20 15:47:17 -04:00
Ray Speth
c49c969184 [Kinetics] Remove unused code for reactant and product "groups" 2015-07-20 14:04:53 -04:00
Ray Speth
4f1250ef53 [Kinetics] Remove unneeded variables for reaction equation
Extract this data from the reaction objects directly as needed.
2015-07-20 13:53:47 -04:00
Ray Speth
62f2af5534 [Kinetics] Eliminate unnecessary variable m_rxntype 2015-07-20 13:01:05 -04:00
Ray Speth
f623e44d32 [Kinetics] Eliminate unnecessary m_rrxn and m_prxn variables
This information can be extracted from the Reaction objects as-needed.
2015-07-20 12:56:56 -04:00
Ray Speth
ca90c671ac [Thermo/Doc] Fix description of Shomate temperature polynomial
The docstring for this function was incorrectly copied from NasaPoly1.
2015-07-17 18:21:25 -04:00
Ray Speth
b7a5aff900 [Thermo] Convert Shomate coefficients when creating objects
Do conversion to nondimensional units once when creating the ShomatePoly object,
instead of every time that properties are calculated.
2015-07-17 18:18:03 -04:00
Ray Speth
761f54f241 Eliminate unnecessary counter variable Kinetics::m_ii 2015-07-16 15:37:41 -04:00
Ray Speth
571eaeda24 [Samples] Fix compilation errors and warnings in the C++ examples 2015-07-16 12:38:34 -04:00
Ray Speth
e21a7ce7d7 Fix incorrect index check in GeneralSpeciesThermo::reportParams
The SpeciesThermoInterpType no longer knows the species index, so
it isn't actually returned by the reportParameters function.
2015-07-16 12:28:46 -04:00
Ray Speth
c08c365ebb Remove unimplemented option to use QR factorization in BandMatrix 2015-07-16 10:52:42 -04:00
Ray Speth
be0324e2cf Remove link to old dev list 2015-07-16 10:42:52 -04:00
Ray Speth
e8292d387e Fix definition of elemental mole fraction
The elemental mole fractions should be invariant under composition changes which
conserve atoms.
2015-07-16 10:41:39 -04:00
Ray Speth
97b32069cf Remove leftover "fenv" cruft 2015-07-15 12:46:48 -04:00
Ray Speth
6a9dd7f9d6 Remove unused 'csvdiff' application 2015-07-15 12:20:22 -04:00
Ray Speth
d308944509 [Test] Remove unused, platform-specific 'runtest' scripts 2015-07-15 12:17:11 -04:00
Ray Speth
f1f10b6526 Remove unused, deprecated code marked for removal after Cantera 2.2 2015-07-15 12:08:50 -04:00
Ray Speth
ad4ed9e065 Remove unnecessary printing from SurfPhase::setCoverages 2015-07-15 11:40:13 -04:00
Ray Speth
d4299fc6da [Test] Fix VCS-LiSi test to not use deprecated "testProb" constructor 2015-07-15 11:35:22 -04:00
Ray Speth
546289f737 Remove deprecated code with functional alternatives 2015-07-13 18:59:09 -04:00
Ray Speth
9e8b8e4f63 Fix incorrect references to SpeciesThermo from VPSSMgr 2015-07-13 18:48:56 -04:00
Ray Speth
7d36e1eb13 [Python/1D] Fix FlameBase.write_csv
Also add a test for this method
2015-07-08 23:57:22 -04:00
Ray Speth
d44f46aab8 [Reactor] Add bounds check on sensitivity parameter index 2015-07-07 21:00:16 -04:00
Thomas Fiala
b7f2451f06 [Doc] Improve documentation for reactor networks and add more examples
Resolves #281
2015-07-07 19:48:15 -04:00
Ray Speth
ce21b08d41 [Python] Document ThermoPhase DP, DPX, and DPY properties 2015-07-03 00:14:35 -04:00
Ray Speth
07f25621f3 [SCons] Fix include order when compiling Cython module 2015-07-01 12:24:49 -04:00
Ray Speth
9a4bc3c34f [Doc] Fix typo in Planck constant units
Fixes #280.
2015-07-01 12:04:36 -04:00
Ray Speth
812cbc4bc4 Fix user-provided BLAS/LAPACK dir in Cantera.mak
Fixes an error introduced in 5720d7cf90.
2015-06-30 23:22:46 -04:00
Ray Speth
94316d8416 [Python/Examples] Demonstrate a non-trivial velocity function
This shows how the velocity function can be used to implement a wall where the
expansion rate coefficient is a function of time.

Also extend the integration interval for this example to actually demonstrate
ignition of both mixtures.
2015-06-24 15:20:00 -04:00
Ray Speth
d373e0751e Remove unnecessary explicit specification of namespace Cantera 2015-06-24 14:45:55 -04:00
Ray Speth
079ef0caf9 Update comments regarding critical / saturation properties 2015-06-24 13:26:47 -04:00
Ray Speth
140da430c0 Check for non-existent species in setMass/MoleFractionsByName 2015-06-24 13:05:28 -04:00
Ray Speth
c4bb938b1b [Equil] Hide verbose output at default log level 2015-06-24 13:05:28 -04:00
Ray Speth
f252ff16cb [Test] Move "ChemEquil_gri_pairs" to GTest suite
Also extend test to cover MultiPhase and VcsNonideal solvers as well.
2015-06-24 13:05:28 -04:00
Ray Speth
4273fe865d [Doc] Update list of SCons options shown in Sphinx docs 2015-06-23 23:15:40 -04:00
Ray Speth
0590b2cda8 [Reactor] Deprecate possibly-ambiguous names in componentIndex
Resolves #274.
2015-06-22 18:12:05 -04:00
Ray Speth
eb75e8b6cc [SCons] Fix BLAS/LAPACK-related variables in Cantera.mak
* Fix logic for when BLAS/LAPACK libraries need to be explicitly listed
* ctlapack and ctblas are no longer separate libraries
2015-06-22 16:53:04 -04:00
Ray Speth
4efad93a6d [Kinetics] Fix handling of integral, explicit reaction orders
If any of the reaction orders differ from the corresponding stoichiometric
coefficients, the reaction needs to be handled as the general case, instead of
just when the orders are non-integral.
2015-06-22 11:56:56 -04:00
Ray Speth
6f7241b08b Remove dead code from class Application 2015-06-21 19:01:15 -04:00
Ray Speth
1d7104a96b Fix race condition when Python 2 and Python 3 tests run in parallel 2015-06-19 14:23:45 -04:00
Ray Speth
c446686c85 [SCons] Fix test summary when tests are run in parallel 2015-06-19 11:53:07 -04:00
Ray Speth
be24e9daf1 [Reactor] Move reactor contents check into ReactorBase::contents
The check introduced in f6f868fe28 takes place too late, as the pointer to
ReactorBase.m_thermo has already been dereferenced at this point. Most compilers
let this pass, but it is techincally incorrect.
2015-06-18 17:51:46 -04:00
Ray Speth
f6f868fe28 [Reactor] Check for Reactor contents before installing FlowDevice
Fixes #279.
2015-06-18 14:37:54 -04:00
Ray Speth
c0fa589b8c [Reactor] Fix segfaults in updateMassFlowRate due to unset parameters
The downstream and upstream Reactors, the "master" flow controller, and the
coefficient arrays were being read without checking that they had been
initialized.

Fixes #278.
2015-06-18 12:18:59 -04:00