Commit graph

1923 commits

Author SHA1 Message Date
John Hewson
4b676b388c Changed the signature of LiquidTranInteraction::getMatrixTransProp(
DenseMatrix &mat, doublereal* speciesValues = 0 ) so that now it takes
a reference to the matrix that needs to be filled, avoiding an extra
copy construction.

For vector and DenseMatrix resize operations, added 0.0 or 0 as
initialization value so that we don't have garbage in these.  This is
most relevant for vectors of pointers where we need NULL values to
test against.
2010-01-12 00:42:50 +00:00
Harry Moffat
b41d72bf4c Merged changes from the trunk.
Note, there isn't any changes in the core code done here.
2010-01-04 01:42:45 +00:00
Harry Moffat
e381001c95 Merged changes from the 1.8.0 branch ontl the main trunk. 2010-01-04 00:46:26 +00:00
Harry Moffat
a0cdf79771 Reduced the accuracy on the comparisons 2010-01-03 23:56:43 +00:00
Harry Moffat
fd287e1d89 reduced the precision on the comparisons 2010-01-03 23:54:24 +00:00
Harry Moffat
23c50efe35 rebaselined the solution 2010-01-03 23:44:55 +00:00
Harry Moffat
2cb7eb7580 Added two new files that will be used in the windows debug compile. 2009-12-30 23:08:17 +00:00
Harry Moffat
4297e1ce11 Doxygen commit.
Added stuff to the tranprops group.
2009-12-30 18:40:44 +00:00
Harry Moffat
fabfb44b4e Switched a call in MultiPhase to be public.
switched velocityBasis to a typedef. It seemed the better solution. Note the concept is still basically undeveloped.
Doxygen changes - supporting 1.6.2
2009-12-30 17:58:38 +00:00
Harry Moffat
c03e7c2ab5 Merged the changes made in the 1.8.0 branch into the main trunk. 2009-12-29 02:47:28 +00:00
Harry Moffat
3b8018e5fb Merged the changes in the 1.8.0_Revision into this branch. 2009-12-29 02:45:58 +00:00
Harry Moffat
0ddc9d4186 Finished adding to the ignore lists... 2009-12-29 02:34:56 +00:00
Harry Moffat
01852ed442 Worked on the ignore file list 2009-12-29 02:09:01 +00:00
Harry Moffat
9cf35bff4f Removed errors in the makefiles. 2009-12-29 01:41:41 +00:00
Harry Moffat
7113dd53da Reblessed this solution -> may be changing arbitrarily and problematically 2009-12-29 01:41:01 +00:00
Harry Moffat
3a7cca584c Rebaselined a few tests.
Worked on changing the solution for 2 problematic tests: 
            catcomb_stagflow
            surf_rxn

  The catcomb problem actually needed the surface mechanism to be 
changed for it to become a reliable solve.
2009-12-29 01:28:09 +00:00
Harry Moffat
5b725eec64 Fixed the problem so that convergence would occur.
The time step in the inner loop was decreased by a factor of 100.
   Previously, there were convergence problems with this example problem.
2009-12-28 23:04:55 +00:00
Harry Moffat
a2a507d779 Reverted commit #316# , which added a pointer to a transport object.
We are trying to keep the major sections of cantera separate from each
other to impose a coarse grained modularity on the code. And, adding a
pointer here leads to their linkages at a lower level. Linkages at a
higher level are encouraged, however This is the same reason why there isn't
a kinetics pointer here as well.
2009-12-24 17:11:51 +00:00
Harry Moffat
b0a7626dcc Doxygen update. No code changed. 2009-12-23 01:52:40 +00:00
Harry Moffat
2ee8ae220d Fixed an error with the assignment and copy constructor.
The VPSSMgr object needed to be resynched with the VPStandardStateTP
object after it was set up. This was not done.
2009-12-22 22:35:30 +00:00
Harry Moffat
d96464f0c2 Fixed an error in the assignment and copy constructor.
The VPSSMgr object needed to be resynced at the end of the
assignment. This wasn't being done.
2009-12-22 22:27:01 +00:00
Harry Moffat
a7a59b84b8 Fixed an error in the assignment operator.
The internal state of the VPSSMgr object must be resynced
by calling stateState_TP() after the new VMSSMgr object is set up.
2009-12-22 22:23:53 +00:00
Harry Moffat
acf0c3f7c3 Fixed a typo that was causing sundials version 2.3 builds to fail.
The define variable was spelled incorrectly.
2009-12-21 21:02:28 +00:00
Harry Moffat
4420038d29 Fixed an error that caused sundials version 2.3 not to work as intended.
There was an error in the ifdef variable's spelling.
2009-12-21 20:27:18 +00:00
Harry Moffat
ec3c7e37c7 Fixed an error that caused sundials version 2.3 not to work as intended. 2009-12-21 20:21:40 +00:00
Harry Moffat
c865e0e4d7 Changes to allow the program to compile!
visc_Eij and visc_Sij seem to have been taken out. And, the code no longer needs to resize them.
    Also took out some warning messages
2009-12-21 18:15:15 +00:00
John Hewson
cb5e85ed5c Removed parsing for old Liquid Transport Interaction models 2009-12-18 21:30:24 +00:00
John Hewson
b4032c9d9a Updating Doxygen comments 2009-12-18 21:28:25 +00:00
Harry Moffat
39ea7fdeab Doxygen update.
Worked on general information for the Transport classes.
2009-12-18 16:43:20 +00:00
Harry Moffat
1ab5f6725a Utility commit
- doxygen updates
   - started filling in copy constructors, assignment operator, and dupl function.
2009-12-17 22:13:14 +00:00
John Hewson
d38eea717a Updating Doxygen comments 2009-12-17 19:07:53 +00:00
John Hewson
9782ac76e8 Minor edits 2009-12-16 00:29:32 +00:00
John Hewson
8e8c7ec38f Added methods to compute current and conductivity.
Fixed bug in Stefan_Maxwell_Solve

Adding lots of comments to LiquidTransport
2009-12-16 00:27:39 +00:00
John Hewson
debcff82d9 Added a pointer to a Transport object to the
Phase class.  This allows a ThermoPhase object
to know what Transport object it is associated with.
2009-12-15 21:43:34 +00:00
Harry Moffat
0d6e6bd10b Doxygen update
- No code changes were made.
2009-12-13 18:03:53 +00:00
Harry Moffat
ccd01f5125 Doxygen update
-> no source code changed.
2009-12-13 17:30:36 +00:00
Harry Moffat
d99352f3d1 Doxygen Updates - no changes to the code 2009-12-12 00:15:00 +00:00
Harry Moffat
6b1a1ac27f Merged changes from the trunk. 2009-12-11 15:27:02 +00:00
Harry Moffat
321d387930 MetalSHEelectrons
Added a built-in type to handle electrons in metals that
    follow the SHE convention.

    Took out electrodeElectron, since it was hidden and not used.

    MetalSHEelectrons have a standard concentration of 1, instead
    of the previous treatment where SHE electrons had a standard
    concentration equal to the concentration of an ideal gas.
2009-12-11 01:32:26 +00:00
Harry Moffat
204f6bff33 Made the destructor virtual 2009-12-11 01:19:09 +00:00
Harry Moffat
9b90beb0e0 Merged changes from LiquidTransportDevelopment
There were two changes:

Additions to support some reversible reactions which have fractional
stoichiometries. These were not allowed previously. However, if
the species with fractional stoichiometries are in single-species
phases, this is ok, and actually necessary for some solid-phase
reactions.

Removed comments from DEBUG_MODE about about too high or low an activation
for electrode reactions.
2009-12-10 23:20:44 +00:00
Harry Moffat
9c6080e3c9 Turned on keyword substitution in the cpp files. 2009-12-09 17:50:27 +00:00
Harry Moffat
6d02467b7e Added the change for the bugfix to HMWSoln to the static branch
The function getActivityConcentration in the HMWSoln object had
a bug in it that caused it to be incompatible with standardConcentration()
and getActivities(). This meant that the ROP in kinetics managers
for this object was being calculated incorrectly.

This is now fixed.
2009-12-09 17:34:13 +00:00
Harry Moffat
20c74f21af Added the change for the bugfix to HMWSoln to the main branch.
The function getActivityConcentration in the HMWSoln object had
a bug in it that caused it to be incompatible with standardConcentration
and getActivities(). This meant that the ROP in kinetics managers
for this object was being calculated incorrectly.
2009-12-09 17:29:23 +00:00
Harry Moffat
1687ecaf1b Bug fix involving kinetics operators that use HMWSoln.
The member function getActivityConcentration() calculated the
   standard concentrations for solute species incorrectly. This
   caused the reaction rates of progress for kinetics operations 
   involving HMWSoln to be calculated incorrectly. In particular,
   equilibrium constants (which were and are correct) 
   were not compatible with forward vs.
   reverse ROP's.

   I fixed this error, and worked on more documentation of 
   generalized activity concentrations.
2009-12-09 16:52:16 +00:00
Harry Moffat
392683283a An initial implemention of a string representation of the
phase eos type.  We've not had this until now. 

The idea here is to have a 1 to 1 mapping between an
eosType int and a string, which can be used for writing output.
2009-12-08 17:36:40 +00:00
Harry Moffat
0e85b295cc An initial implementation of a string function that returns
the eosType(). This is something that we've been lacking.
2009-12-08 17:33:06 +00:00
Harry Moffat
2c712b8c56 Merges from the Trunk. 2009-12-06 19:25:59 +00:00
Harry Moffat
380a10a863 Added another function
initAllPts() 
to handle shallow pointer concerns.
2009-12-06 18:03:35 +00:00
Harry Moffat
a6a6761eae added another function 2009-12-06 18:02:24 +00:00