Commit graph

1080 commits

Author SHA1 Message Date
Harry Moffat
536db63f5b Took out a write statement that was causing test failures. 2007-12-19 16:16:34 +00:00
Harry Moffat
7ce5a02121 Added an id tag to the file 2007-12-19 15:32:40 +00:00
Dave Goodwin
27056f0ee4 *** empty log message *** 2007-12-19 07:23:25 +00:00
Dave Goodwin
9ccb851cba *** empty log message *** 2007-12-19 04:02:42 +00:00
Dave Goodwin
eb2f05874e *** empty log message *** 2007-12-18 03:04:49 +00:00
Dave Goodwin
81637032f6 *** empty log message *** 2007-12-18 02:54:14 +00:00
Dave Goodwin
e02cb93ea1 added LineBroadener 2007-12-18 02:53:12 +00:00
Dave Goodwin
c9b7f0e988 *** empty log message *** 2007-12-18 02:44:22 +00:00
Dave Goodwin
97b4c08a56 added cantera_iface 2007-12-18 02:41:05 +00:00
Dave Goodwin
e581fe0d85 *** empty log message *** 2007-12-17 22:56:07 +00:00
Dave Goodwin
a201e7c538 *** empty log message *** 2007-12-17 22:43:09 +00:00
Dave Goodwin
355ef35537 updated constants to 2006 CODATA recommendations 2007-12-17 14:22:39 +00:00
Dave Goodwin
a1c481ca5a *** empty log message *** 2007-12-17 08:18:01 +00:00
Dave Goodwin
dc94ba0dec *** empty log message *** 2007-12-17 07:51:37 +00:00
Dave Goodwin
d971dafbff *** empty log message *** 2007-12-15 23:32:07 +00:00
Dave Goodwin
9d38835054 adding support for spectroscopy 2007-12-15 17:18:20 +00:00
Dave Goodwin
c438d5846f added spectroscopy support 2007-12-15 17:15:46 +00:00
Harry Moffat
02ff1a6071 Decreased the tolerance in the setState_UV() routine. This tolerance is
needed for the accurate calculation of Jacobians.
2007-12-04 17:37:41 +00:00
Harry Moffat
235958d810 Fixed an error in setState_UV() and similar routines that was occasionally
causing numerical errors in the calculation of Jacobians.
If the tolerances to these routines were set too low for calculation
of Jacobians, then the dt*=1.5 logic was causing the evaluation to
kick out of the routine with an incorrect deltaU value on the first
iteration. This meant that the numerically derived Jacobian entry
was off by a factor of 50%.
2007-12-04 17:34:19 +00:00
Harry Moffat
5060afcec3 Bug Fixes to ctml_writer.py. There were some undefined symbols, 'eV' and
'ElectronMass' that were causing all cti to ctml conversions processes
using python to fail.
This checkin defines these symbols. The test suite now passes.
2007-12-03 22:04:37 +00:00
Harry Moffat
310babdc20 Eliminated a doulbe addition case 2007-12-03 21:46:51 +00:00
Dave Goodwin
670502b8c2 *** empty log message *** 2007-11-27 13:26:07 +00:00
Dave Goodwin
aba8abdfa6 *** empty log message *** 2007-11-27 13:04:17 +00:00
Dave Goodwin
8ee5b76fc9 added SemiconductorPhase 2007-11-26 22:45:19 +00:00
Harry Moffat
d76694119c Upgraded algorithm for setState_HP() and friends.
Replaced the bare Newton's method with a root finder. This algorithm
is tolerant of step jumps in Thermo parameters at the temperature
boundaries.
The algorithm also has an initial treatment of spinodals. Basically,
if we are currently liquid, we want to stay liquid. If we are currently
gas, we want to stay gas.
2007-10-26 15:34:49 +00:00
Harry Moffat
34e3416a4c Changes due to more testing involving UV equil runs on a NASA9 mechanism.
-> Changed the damping strategy
  -> Upgraded the initial find-temperature strategy
  -> changed the solution tolerance requirements -> sometimes it was
          getting hung up at the end.
2007-10-12 21:36:55 +00:00
Harry Moffat
a7eda07d3e Changed tolerances due to a user problem (involving ionized gases)
failing.
2007-10-11 21:17:19 +00:00
Harry Moffat
d47551a0c5 Changed the Element potential algorithm to accept temperatures that
venture out of bounds more. There was a user issue where this cropped
up, and triggered a false convergence error.
Upped the debug printouts on this issue too.
2007-10-11 16:03:01 +00:00
Harry Moffat
26797f4a59 Fixed an error in the entropy calculation for NASA9 polynomials. 2007-10-09 21:02:49 +00:00
Harry Moffat
5a4576a65e Fixed a bug in the conversion of files from cti to ctml format, having
to do with NASA9 polynomials.
Added a comma to the NASA9 floatArray block.
2007-10-09 15:23:08 +00:00
Harry Moffat
a278779178 Fixed an error that affected the calculation of transport properties
for mechanisms with all NASA9 species. The max and min temperatures
weren't being computed, which caused NaN's to appear during the
transport property data fitting procedure.
2007-10-06 02:24:13 +00:00
Harry Moffat
35d96f6d03 Changed the PITZER_TEMP_COMPLEX1 parameterization to use 5 coefficients
for beta1 and 5 coefficients for beta2. They are now the same as
beta0 and Cphi.
All xml blocks using this parameterization must be modified accordingly.
2007-10-02 00:49:55 +00:00
Harry Moffat
46324c7eea Fixed a typo 2007-09-30 15:58:56 +00:00
Harry Moffat
a97e2824fa Added an ignore file 2007-09-30 15:57:27 +00:00
Harry Moffat
a8fe60d601 Fixed a bug in reporting parameters for Nasa9MultiTempRegion
Changed the Nasa9 reporting parameters routine to be compatible with
the multi temperature region reporting parameters.
2007-09-14 16:05:42 +00:00
Harry Moffat
e961587418 Missed a file in the NASA9 commit of yesterday 2007-09-14 14:19:52 +00:00
Harry Moffat
7c89caa61f Added a missing file to the list of objects 2007-09-13 15:46:44 +00:00
Harry Moffat
f70c394fa6 This checkin adds the ability to read NASA9 polynomial standard states,
with arbitrary number of temperature intervals,
to Cantera's underlying routines.

Cantera can now read fortran formatted
NASA9 polynomials to create cti files

The cti files can then be translated into xml files.

And, the xml files can now be read into constant pressure standard state
objects and used normally within the guts of Cantera.

Currently, the standard state just links into the GeneralSpeciesThermo
object, which means that it's calculation speed is slow. However, atm
this satisfies the initial use case for this new capability.

In the near future, I'll push this out to the matlab and python interfaces.
2007-09-13 15:05:39 +00:00
Harry Moffat
b7e616a2a2 Added a config.h compiler define in, to handle incompatibilities across
platforms.
2007-09-12 22:10:46 +00:00
Harry Moffat
bb52a2bc61 Fixed a spelling mistake. 2007-09-11 21:00:39 +00:00
Harry Moffat
27495b4591 Added a file 2007-08-29 20:52:48 +00:00
Harry Moffat
e3d50370dd Fixed a Solaris compile issue.
Solaris decided a declaration was actually a definition.
So, I changed the way templated static storage is declared. It
still needs to be defined once and only once on all platforms.
2007-08-29 20:51:33 +00:00
Harry Moffat
ac36eab391 Solaris Bug fix:
solaris complained about the overload between ioflag as a parameter
and as member data. So, I changed the member data name to m_ioflag.
2007-08-29 19:57:48 +00:00
Harry Moffat
7b2ccd7517 Fixed another error in the make install command (that I created).
The cantera-demos directory wasn't being populated.
2007-08-28 22:15:16 +00:00
Harry Moffat
b14f6d3e94 Missed installing the main ctmethods* file.
Adding it here.
2007-08-28 18:59:01 +00:00
Harry Moffat
0ff546f855 Added tmp files to this list 2007-08-27 16:35:58 +00:00
Harry Moffat
da855b9b18 Added a .cvsignore file for this directory. Files that get created when
the python scripts are actually run from within the directory are
added to the .cvsignore file.
2007-08-27 16:32:51 +00:00
Harry Moffat
116756ddc5 added a file 2007-08-23 21:53:24 +00:00
Harry Moffat
60a93559af Added a capability to solve the surface pseudosteady state problem
via a damped newton's method. It also employs a false transient
algorithm when far from the solution.
2007-08-23 21:43:07 +00:00
Harry Moffat
12e9694043 Fixed the order of initializations so that it wouldn't produce
a warning message.
Doxygen additions.
2007-07-31 21:14:05 +00:00