Ray Speth
0901c8b25f
Cleaned up formatting of liquidvapor.cti
2012-05-11 15:27:30 +00:00
Ray Speth
924d5b27a6
Improved detection of fortran compiler for setting the module output directory
2012-05-07 18:20:25 +00:00
Ray Speth
3af22be158
Modified hydrogen equation of state to fix reference state
...
This makes the reference state for enthalpy and entropy agree with the
book from which the equation of state is taken (Reynolds, Thermodynamic
Properties in SI).
2012-05-07 18:20:23 +00:00
Ray Speth
eb12c611db
Fixed errors in implementation of carbon dioxide equation of state
...
The sign error in computing the entroy term proportional to G[0]
introduced errors in the entropy of about 3 percent.
2012-05-07 18:20:20 +00:00
Ray Speth
a4520bfe85
Added reference for the HFC-134a equation of state
2012-05-07 18:20:18 +00:00
Ray Speth
4ab7da72f7
Corrected entropy calculations for HFC-134a
2012-05-07 18:20:15 +00:00
Ray Speth
ea589078f5
Added tests for pure fluid equations of state
...
The tests include basic consistency requirements as well as
comparisons to reference data where possible.
2012-05-07 18:20:11 +00:00
Ray Speth
e2d2ba4e3d
Added 'assertNear' for comparing floats in Python unit tests
...
This method compares floats using combined absolute and relative tolerances,
instead of the "number of decimal digits" that TestCase.assertAlmostEqual uses.
2012-05-07 18:20:08 +00:00
Ray Speth
79a0165260
Removed unnecessary linker flags when building the Python extension
...
This resolves errors when compiling on OS X when the full set of
cross-compilers (e.g. for ppc) are not present, as well as several
warnings even when they are.
2012-05-07 18:20:05 +00:00
Ray Speth
58e3bade9a
Fixed value checks for falloff parameterizations
2012-04-27 21:20:46 +00:00
Ray Speth
d69eea2b3e
Dead code removal
2012-04-27 21:20:42 +00:00
Ray Speth
2193e4ceb0
Normalized formatting of Elements.h and Elements.cpp
2012-04-27 21:20:38 +00:00
Ray Speth
59a2c4c251
Note requirement of WiX for building MSI installers
2012-04-26 21:20:04 +00:00
Ray Speth
1ba0deca74
Fixed python module location in post-install message and setup_cantera script
2012-04-26 21:20:00 +00:00
Nicholas Malaya
c81db126fb
[cantera]: fixing makefile to no longer look for deprecated tests. Additionally, updating configure version to 2.0 from 1.8
2012-04-25 14:43:06 +00:00
Nicholas Malaya
79b29300a6
[cantera]: updating autotools build system. Library building, need to fix another test. Additionally, adding hypersonic flow transport model-- need to add hypersonic thermodynamics as well.
2012-04-25 13:18:25 +00:00
Ray Speth
88bcc81b57
Updated the Compilation Guide
2012-04-19 16:45:24 +00:00
Ray Speth
436b324ccf
Updated the post-build message to be platform-aware
2012-04-19 16:45:19 +00:00
Ray Speth
34cffd0135
Fixed issues generating version-dependent installer for Windows Python module
...
Passing the '--target-version' option to bdist_msi will generate an
installer that requires the right version of Python without distutils
needing to be able to find a working compiler.
2012-04-19 16:45:15 +00:00
Ray Speth
afc0bad412
Fixed an installation problem on OS X
2012-04-17 15:11:20 +00:00
Ray Speth
e2d775c2cb
Fixed configuration check for Sundials when Sundials requires BLAS/LAPACK
2012-04-16 21:00:04 +00:00
Ray Speth
8078712e2a
Fixed some more problems with overconstrained equilibrum problems
2012-04-16 20:59:58 +00:00
Ray Speth
6803cab965
Added missing data for equilibrium tests
2012-04-16 20:59:54 +00:00
Ray Speth
d4adf41799
Fixed setup of data directories on Windows
2012-04-16 20:59:48 +00:00
Harry Moffat
f5dc3480c7
Fixed an error in a reference state calculation that showed up
...
using cttables.
2012-04-13 21:36:27 +00:00
Ray Speth
3331c7f3ad
Fixed MultiPhaseEquil::getComponents when there are more elements than species
...
When the atomic composition matrix is rank deficient, rows of zeros
will be formed as the elimination proceeds. These rows are now moved
to the bottom of the matrix as they are encountered, so the final
matrix is upper triangular.
2012-04-12 21:41:31 +00:00
Ray Speth
22806f2896
Fixed some indexing problems in the equilibrium solvers
...
The expression (m_nsp - m_nel) where both of the variables are
unsigned types was being used as an array size and an upper bound for
some loop indices, neither of which work when there are more elements
than species.
2012-04-12 21:35:47 +00:00
Ray Speth
d51bd82787
Fixed uninitialized use of m_force in MultiPhaseEquil
2012-04-12 21:35:42 +00:00
Ray Speth
a42199f62a
Added tests for overconstrained equilibrium problems
2012-04-12 21:35:40 +00:00
Ray Speth
b58ba638be
Added some tests for the equilibrium solvers
2012-04-12 21:35:36 +00:00
Ray Speth
e99bd87586
Fixed SCons aliases for Python and Matlab unit tests
2012-04-12 21:35:32 +00:00
Ray Speth
16390cc547
All tests now run using "scons test"
...
The "newtest" target has been removed. Python and Matlab unit tests
can be run with "scons test-python" and "scons test-matlab",
respectively.
2012-04-12 15:28:33 +00:00
Ray Speth
987578d033
Increased timeout for ct2ctml subprocess
2012-04-12 15:28:28 +00:00
Ray Speth
bf5dfeaa97
Moved some #includes to the top of their respective files
2012-04-12 15:28:24 +00:00
Ray Speth
ba8c814814
Use the Windows Registry to set PYTHONPATH
...
Cantera's mechanism conversion scripts are now installed in the main
Cantera directory, so processing should work fine as long as Python is
on the path, whether or not the Cantera Python module is installed.
2012-04-11 20:26:05 +00:00
Ray Speth
2076f37421
Fixed a dependency issue with the MSI target
...
MSI target now automatically implies "install" (to the stage dir)
2012-04-11 20:26:02 +00:00
Ray Speth
802f5e9f06
Fixed some issues installing the Matlab toolbox on Windows
2012-04-11 20:25:59 +00:00
Ray Speth
57e1648d75
Added .gitignore for test_problems directory
2012-04-11 17:37:38 +00:00
Ray Speth
9d290e2238
Updated README
2012-04-11 17:37:36 +00:00
Ray Speth
abf2e04084
Changed visibility of symbols in ctmethods.mex on Linux
...
This allows Cantera to use BLAS/LAPACK functions included in the mex
file instead of the incompatible ones that are part of Matlab.
2012-04-11 17:37:33 +00:00
Ray Speth
a1641019dd
Made dependency of Matlab extension on the Cantera library explicit
2012-04-11 17:37:30 +00:00
Ray Speth
59b878bf41
Distinguish between factorization failures and other errors in DenseMatrix.solve
...
Input errors always throw exceptions, while factorization failures may
be indicated by the return value, depending on the
m_useReturnErrorCode variable of the DenseMatrix.
2012-04-11 17:37:27 +00:00
Ray Speth
d8a4c6705a
Added an overload of operator<< for std::vector
2012-04-11 17:37:23 +00:00
Ray Speth
eb337eac8d
Fixed 1D grid refinement based on curvature requirement
...
The variable "dz" was being used before being calculated, causing
the algorithm to never insert points based on the curvature criterion.
2012-04-10 03:13:12 +00:00
Ray Speth
d8db89e708
Propagate setSteadyMode from OneDim to child Domain1D objects
2012-04-10 03:13:07 +00:00
Ray Speth
322d8306b1
Fixed some overzealous bounds checking in ctonedim
2012-04-10 03:13:03 +00:00
Harry Moffat
26791b6f6a
Moved Mu0Poly.h to the include tree
2012-04-09 16:02:56 +00:00
Harry Moffat
99124c0dd6
Moved the RedlichKister include file to the include tree.
2012-04-09 15:23:55 +00:00
Harry Moffat
232b861284
Moved Tortuosity.h to include file structure so that 1Delectrode code can work.
...
It works and produces almost the same results as before.
Added DAE_solvers.cpp back in. There was a missing factory function.
Fixed bandsolver indexing calculations in NonlinearSolver and Bandmatrix due
to int to size_t conversion. numerics test programs now work.
2012-04-07 00:06:00 +00:00
Harry Moffat
9c06d1e07c
Fixed an error with the instanteation of electrode reactions using
...
the exchange current density formulation.
Electrode object test problems now all work.
2012-04-05 22:50:51 +00:00