Harry Moffat
ff7e66e5a3
This update adds in a Multicomponent Real Gas capability to Cantera.
...
The Object is called RedlichKwongMFTP, and it implements a multicomponent real gas approximation.
Most of the functionality has been verified against sample problems involving the CO2-H2O system.
2011-07-23 00:30:35 +00:00
John Hewson
1982d0c928
Changed return flags for errors to be unique to each return condition.
...
Hopefully this will help track down convergence problems.
2011-07-15 23:27:45 +00:00
Harry Moffat
68ed8ad548
Guarded against a divide by zero that occurred when the cauchy step
...
size and residual were exactly zero.
2011-05-30 22:19:39 +00:00
Harry Moffat
4d245501cf
Update on the NonlinearSolver:
...
Update to :calcSolnToResNormVector() to align it with documentation.
2011-05-30 17:57:53 +00:00
Harry Moffat
8710440a1f
Another incremental update
...
- decideStep() has been documented and checked out
2011-05-28 02:51:49 +00:00
Harry Moffat
425085627b
Incremental work. Fixed one error in an output variable.
2011-05-28 00:18:33 +00:00
Harry Moffat
6eccfa16ed
Worked on getting the Affine solve capability working.
...
This is now working, so that we can switch to a Hessian with junk on the
diagonal when there is a condition number problem.
2011-05-17 00:45:08 +00:00
Harry Moffat
e110f91a12
Added hooks for cholesky factorization
2011-05-02 16:13:59 +00:00
Harry Moffat
198ab18640
Added a needed function
2011-05-02 16:13:03 +00:00
Harry Moffat
ac660e53c0
Added cholesky decomp routines.
2011-04-29 23:07:27 +00:00
Harry Moffat
701dd1e1cd
Added in the estimation of condition numbers for QR factored matrices.
2011-04-28 20:56:41 +00:00
Harry Moffat
24ac9bd133
Added in condition number routines for triangular matrices
2011-04-28 20:56:02 +00:00
Harry Moffat
7f485a0ba3
Worked on reducing the Print outs for DEBUG_DOGLEG option
2011-04-28 17:10:32 +00:00
Harry Moffat
60ae1d2c11
Small rebaseline for roundoff error
2011-04-19 16:45:04 +00:00
Harry Moffat
d60d189843
Fixed a bad error that crept into the solver from a recent commit
2011-04-19 16:41:45 +00:00
Harry Moffat
36b44fd278
Fixed a Makefile error.
2011-04-18 16:46:40 +00:00
Harry Moffat
1207d95824
Changed the algorithm slightly
2011-04-15 14:53:07 +00:00
Harry Moffat
5f73e33c9e
Changed the algorithms a little bit to accomodate PhaseCombo, which
...
doesn't have an ideal mixing term. This caused problems in places.
2011-04-14 18:25:24 +00:00
Harry Moffat
59a800218f
Changed getdlnActCoeffdlnN to be nonconst.
...
added getdlnActCoeffdlnN_numderiv() function
2011-04-14 18:24:13 +00:00
John Hewson
4b2b215da9
File named dlantr.o was misnamed in Makefile.in
...
--This line, and those dlantrbelow, will be ignored--
M Makefile.in
2011-04-11 21:08:08 +00:00
Harry Moffat
b20a73b92a
Fixed an error with unbalanced quotes
2011-04-11 20:52:00 +00:00
Harry Moffat
155d7604b5
Verified that the QR factorization works on one problem.
2011-04-07 16:14:00 +00:00
Harry Moffat
62af5826ea
Added a lapack routine
2011-04-07 15:58:01 +00:00
Harry Moffat
7d4222eedf
Fixed errors that were preventing linking.
2011-04-06 23:38:14 +00:00
Harry Moffat
68768e56e7
Another iteration to get the QR solve up to speed
2011-04-06 16:26:32 +00:00
Harry Moffat
fa30f63056
Added QR factorization algorithms to Cantera's fortran interface
...
within the numerics directory.
2011-04-06 15:40:04 +00:00
Harry Moffat
3994bb9438
Started an ifdef block for intermediate zeroed phases in kinetics objects.
2011-04-04 23:01:42 +00:00
Harry Moffat
0d33823d9e
Reblessed this test
2011-03-29 15:17:42 +00:00
Harry Moffat
2abd551d71
Took out all using namespace calls from headers.
2011-03-28 21:12:25 +00:00
Harry Moffat
5d5138c677
Fixed namespace issues.
2011-03-28 21:05:22 +00:00
Harry Moffat
fc816aefb6
Fixed namespace issues.
2011-03-28 21:00:26 +00:00
Harry Moffat
fc168e47ab
Fixes due to namespace isues.
2011-03-28 20:52:35 +00:00
Harry Moffat
368cdc8167
Took namespaces out of headers
2011-03-28 20:49:24 +00:00
Harry Moffat
566fcdea0c
Took out namespaces from headers.
2011-03-28 20:41:51 +00:00
Harry Moffat
d7a00c9126
Took out namespaces from headers.
2011-03-28 20:39:34 +00:00
Harry Moffat
361c8f655b
Took out namespaces from headers
2011-03-28 20:29:33 +00:00
Harry Moffat
5de392c0a6
Took out namespaces from headers.
2011-03-28 20:18:37 +00:00
Harry Moffat
905abc99af
put in namespace line
2011-03-28 20:09:51 +00:00
Harry Moffat
2d5f8c4a45
took out namespaces from headers
2011-03-28 20:08:31 +00:00
Harry Moffat
d1bc1e273c
Took out namespaces in headers.
2011-03-28 19:51:35 +00:00
Harry Moffat
0b4c221f14
Added documentation for the class
2011-03-25 18:46:04 +00:00
Harry Moffat
30d59b8c49
Added a new ThermoPhase object.
...
This one, PhaseCombo_Interaction, is based on the Margules object.
However, it eliminates the ideal solution mixing term. Therefore,
zero mole fractions are possible. Needed for the thermal battery program.
It may have some semblance of physical meaning or it may not. This
has yet to be worked out.
2011-03-24 18:43:36 +00:00
Harry Moffat
f3bec02808
A reworking of the LatticePhase and LatticeSolidPhase classes.
2011-03-11 00:10:50 +00:00
Harry Moffat
c3847347e8
Updated to reflect the renewal of the copywrite
2011-03-11 00:04:38 +00:00
Harry Moffat
f1669ba3e2
Got the dog leg algorithm into a working state, at least on one problem.
2011-02-22 18:50:54 +00:00
Harry Moffat
af4b40d9c3
Fixed the expectedResidLeg() routine. There was an error in there
2011-02-22 00:21:17 +00:00
Harry Moffat
144c6b23bd
Another delta on the dogleg implementation of the nonlinear solver.
...
Added lapack routines for calculation of condition number and to
fill out the QR factorization capability.
2011-02-19 00:08:29 +00:00
Harry Moffat
08716fa3f1
Make sure that phaseIsStable flag is set correctly
2011-02-18 23:04:50 +00:00
Harry Moffat
6dd143640c
Incremental progress on dogleg
2011-02-18 20:25:53 +00:00
Harry Moffat
3996c38b3c
Changed the residual weights formula
2011-02-16 17:46:28 +00:00