Commit graph

20 commits

Author SHA1 Message Date
Harry Moffat
6d85b768d8 Changed the estimateEP_Brinkley convergence criteria to more stringent
than the main convergence criteria in equilibrium(). This was necessary
to avoid another nonconvergence case. You don't want equilibrate() routine's
matrix algorithm to handle ill-conditioned matrices.

Changed the storage of element potentials. Now, dimensionless element
potentials are storred, instead of dimensional one. There is less dependence
on temperature.

All debugging print statements now use Cantera's writelog() utility.
2007-01-12 23:41:08 +00:00
Harry Moffat
5fc5fa51c5 solaris port 2006-12-14 18:34:56 +00:00
Harry Moffat
921caa1e5d Upgraded the BasisOptimize file. It now has been tested a bit more.
ElementRearrange() function has been added to it.

ChemEquil has been upgraded. It now uses BasisOptimize. A better
estimateElementPotentials() function has been installed that doesn't
lead to as many stalls in the main algorithm. This is achieved by
making sure that estimated mole fractions of component species are
significant.

Various tweaks to estimateEP_Brinkley() has been added. It now passes the
gri30 test problem in the fuego_tabular_props application.
2006-12-12 02:23:26 +00:00
Harry Moffat
971772db0d Utility commit:
Fixed an error in ChemEquil.cpp where there was an overwrite of an
   array.
   Added a getMoles() command to MultiPhase object.
   Added the file BasisOptimize which calculates the number of components
in a multiphase problem rigorously, using a QR factorization of the
stoichiometric coefficent matrix, and calculates an optimized basis
set of components using those species with the largest concentrations.
It also calculates the formationRxnMatrix based on those components.
This routine isn't hooked into anything yet.
2006-12-11 18:29:43 +00:00
Dave Goodwin
ce73f8bacd removed using namespace statements from Cantera header files, and fully qualified most members of std (string, vector< >, etc.) in header files. User programs may need to have "using namespace" statements added. 2006-11-27 21:43:30 +00:00
Harry Moffat
3ce657f0c7 Added a couple of comments. 2006-10-20 21:20:27 +00:00
Dave Goodwin
d7cf9cc53a added some consts, and a routine to read a multiphase mixture from an input file, but this is not yet active 2006-07-11 15:33:30 +00:00
Harry Moffat
df149f7f6c Added cvs information to the file. 2005-10-22 00:35:47 +00:00
Dave Goodwin
83501b5d72 *** empty log message *** 2005-08-18 14:44:35 +00:00
Dave Goodwin
44a4226481 enhanced and cleaned up equilibrium code 2005-07-22 03:27:12 +00:00
Dave Goodwin
673513edae improvements to equilibrate 2005-07-14 18:44:55 +00:00
Dave Goodwin
88d45066c7 cleanup 2005-06-27 14:51:05 +00:00
Dave Goodwin
0ce92af1c5 cleanup 2005-06-25 05:27:30 +00:00
Dave Goodwin
9bd690ae04 Prerelease_1_6_0_branch merged into trunk 2005-06-18 16:58:39 +00:00
Dave Goodwin
7e869c9953 *** empty log message *** 2005-01-08 22:28:01 +00:00
Dave Goodwin
d77534a8ef minor cleanup 2005-01-05 21:04:52 +00:00
Dave Goodwin
92c9d54cdb *** empty log message *** 2004-12-13 18:42:32 +00:00
Dave Goodwin
b35121c673 misc cleanup 2004-12-13 14:42:05 +00:00
Dave Goodwin
d5d13be7d4 fixed convergence problem in MultiPhaseEquil 2004-12-09 22:10:16 +00:00
Dave Goodwin
bd7c2087f5 multiphase mixtures 2004-12-01 22:56:56 +00:00