Commit graph

3189 commits

Author SHA1 Message Date
Ray Speth
a47addf412 Merge remote-tracking branch 'liquidTransportDevelop' 2012-02-09 18:05:01 +00:00
Ray Speth
98e9b0469f Restructuring subversion repository to make trunk version-independent 2012-02-09 17:08:23 +00:00
Harry Moffat
39f2e4786a Changed the default number of digits that are saved to an xml file.
This crucial change is needed if xml files are to be used as restart files,
where we will need close to machine precision.
2012-02-08 16:00:55 +00:00
Harry Moffat
cb4048249c Added a way to specify weighting norms for the residuals. 2012-02-08 15:59:11 +00:00
Harry Moffat
fdd37f5f2d Added addNamedFloat Array() to ctml. Easy way to read and write float arrays.
volt and coulomb added to units
added depth argument to several xml calls.
2012-01-23 20:59:38 +00:00
Harry Moffat
8c98b3560e Added an index lookup up capability.
Added a depth gauge to findByAttr.
2012-01-14 02:20:48 +00:00
Harry Moffat
8e1563b07d Added a recursive limit to the writes. 2012-01-13 02:24:48 +00:00
Harry Moffat
8c39c0307b Clarified the API for addChild. The function always mallocs a
new copy of the child. Added a new function, mergeAsChild(XML_Node &), for
the case where a malloc is not wanted.

Made setRoot() a recursive function, as it should be.
2012-01-09 22:32:55 +00:00
Harry Moffat
5f9c515e03 Added a new function getNamedStringValue 2012-01-09 16:12:23 +00:00
Harry Moffat
b605f1e049 Forgot to take out the definitions from one file. 2012-01-03 17:09:08 +00:00
Harry Moffat
34d3ad6a69 Added some comments to this file. 2012-01-03 17:05:28 +00:00
Harry Moffat
89497de369 Moved the getActivityConcentration() function and related
functions up to the parent level, GibbsExcessVPSSTP
2012-01-03 16:59:02 +00:00
Harry Moffat
701bcc53b1 Added a print statement. 2012-01-03 16:24:09 +00:00
Harry Moffat
267ac5b0e7 another trial 2012-01-03 15:51:02 +00:00
Harry Moffat
12a7f447fc Added a missing #endif 2011-12-21 22:47:50 +00:00
Harry Moffat
81d315e562 Start of a new Tortuosity treatment -> taking it into Cantera
in a formal way.
2011-12-14 16:03:27 +00:00
Ray Speth
b796e83f81 Improved behavior of Python module when python isn't in the path 2011-12-14 02:20:19 +00:00
Ray Speth
59083268fd Simplified Matlab startup procedure
Users can now either source 'setup_cantera' before starting Matlab or
run the ctpath.m script after starting Matlab to set the environment
variables and paths needed by Cantera.
2011-12-14 02:20:14 +00:00
Ray Speth
4aa54c3419 Export the Transport::getMassFluxes function 2011-12-14 02:08:49 +00:00
Ray Speth
107ba5d381 Added several missing functions to the Matlab toolbox 2011-12-14 01:54:18 +00:00
Ray Speth
54315d4472 Fixed segfault in Func module when using numpy
The C++ py_func_new function assumes it's being passed a 1-dimensional
array, but numpy generates 0-dimensional arrays for scalar inputs to
array / asarray, e.g. when using Func.Sin.
2011-12-14 01:47:40 +00:00
Ray Speth
5e81697129 ck2cti now detects invalid transport geometry flags 2011-12-14 01:47:35 +00:00
Ray Speth
6326963e7c Allow T** in 4-term Troe expression to be negative
Unlike the T* and T*** coefficients, T** appears in the numerator and
does not cause any problems when its value is less than or equal to 0.
2011-12-14 01:47:30 +00:00
Ray Speth
382de2d865 Fixed unused pressure in npflame1 Python demo 2011-12-14 01:36:25 +00:00
Ray Speth
f69484c5cb Fixed incorrect object name in the Python 'elementMoles' function 2011-12-14 00:46:47 +00:00
Harry Moffat
f59c07606a Added diffusion velocity returns to SimpleTransport.
Worked on documentation.
2011-12-03 03:32:18 +00:00
Harry Moffat
cc0b37123e Started to work on documentation. 2011-12-02 02:31:54 +00:00
Harry Moffat
8742d6addb Added MolarityIonicVPSS to the ThermoFactory 2011-11-09 18:39:51 +00:00
Harry Moffat
5b03c282d8 Fixed an error in the install script. 2011-11-08 23:48:14 +00:00
Harry Moffat
75b3ed6ef9 Deleted a line that snuck in that caused ctft2c to not be used when it was requested to be used 2011-11-08 21:01:07 +00:00
Harry Moffat
973d1ad926 Fixed a Makefile error 2011-11-07 21:51:51 +00:00
Harry Moffat
0d0e481e2f Added comments. 2011-11-03 20:03:23 +00:00
Harry Moffat
5f01cc30bb Worked on MolarityIonicVPSSTP, filling it in a little bit.
Changed GibbsExcessVPSSTP so that getLnActivityCoefficient() is central.
The straight activity coefficients may not be representable within
machine limits.
2011-11-01 21:09:58 +00:00
Harry Moffat
5d1e55596d Added the RedlichKisterVPSSTP thermo model to the system.
Fixed an error in MultiPhase that Carlos found.
2011-10-31 22:05:07 +00:00
Harry Moffat
2560431f07 Added a printTime option to writeStats() to turn off time printing
in output files.

Started moving blocks around in configure.in, and fixed an error
that corrupted FLIBS.
2011-10-25 16:02:05 +00:00
Harry Moffat
974fecdd5a Fixed this test case as an example.
Took the timing out of the blessed solution
  The solution stayed the same.
2011-10-25 15:57:20 +00:00
Harry Moffat
b80d34b66e Fixed a memory leak.
The gastran object is now officially owned by the dusty gas tran
object.
2011-10-20 17:14:57 +00:00
Harry Moffat
aa623afbd3 Fixed runtest 2011-10-20 14:51:43 +00:00
Harry Moffat
2191ad93e5 Fixed runtest 2011-10-20 14:49:19 +00:00
Harry Moffat
b9c9f81761 Made the BandMatrix class and SquareMatrix inherit from a common
parent so that they can be used interchangeably in other software.

Removed PsuedBinaryVPSSTP in favor of MolarityIonicVPSSTP
2011-10-19 20:45:06 +00:00
Harry Moffat
0d74e7ddd0 Added namespace to get it to compile 2011-10-19 19:28:56 +00:00
Harry Moffat
695868ef38 Added namespace to get it to compile 2011-10-19 19:24:37 +00:00
Harry Moffat
8efa87d791 Added namespace to get it to compile 2011-10-19 17:11:21 +00:00
Harry Moffat
5b06c6b289 Added namespaces so that it would compile. 2011-10-19 17:05:45 +00:00
Harry Moffat
a292978c08 Added apps/lib apps/include and apps/bin to the install directory
structure
2011-10-19 15:40:13 +00:00
Harry Moffat
e8d6649c7b Doxygen updates
-> Also moved implementation functions for BandMatrix into the cpp file
2011-10-13 21:16:06 +00:00
Harry Moffat
6cf9c46630 Worked on lvl 4 printouts 2011-10-10 16:51:52 +00:00
Harry Moffat
7d63cd24d4 Fixed the trust region calculation 2011-10-08 01:02:29 +00:00
Harry Moffat
a510731dca Fixed a column scaling error for the dogleg method 2011-10-05 17:30:08 +00:00
Harry Moffat
6a3c7eabd4 Added a getMoleFraction to GibbsExcess at the start of the
calculation. Want the mole fraction to be synched at all times.
2011-10-04 23:33:58 +00:00