/[ascend]/trunk/models/johnpye/fprops/sat2.c
ViewVC logotype

Log of /trunk/models/johnpye/fprops/sat2.c

Parent Directory Parent Directory | Revision Log Revision Log


Sticky Revision:
(Current path doesn't exist after revision 2261)

Revision 2235 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 29 08:45:54 2010 UTC (9 years, 11 months ago) by jpye
File length: 7546 byte(s)
Diff to previous 2230
we'll satisfy ourselves with a finite difference approximation of helm_resid_deldeldel for the moment, and
move on with the saturation curve problem.

Revision 2230 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 27 01:56:55 2010 UTC (9 years, 11 months ago) by jpye
File length: 7322 byte(s)
Diff to previous 2228
Fixed error with use of 'abs' instead of 'fabs' in sat2.c.
This fixes convergence of CO2 and H2O everywhere except close to critical point.

Revision 2228 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 26 13:20:51 2010 UTC (9 years, 11 months ago) by jpye
File length: 7184 byte(s)
Diff to previous 2227
Add 'name' and 'T_t' (triple-point temperature) to HelmholtzData struct.
Add satcvgc.py for quick check of convergence of fprops_sat_T routine over 'all' fluids.

Revision 2227 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 26 08:40:51 2010 UTC (9 years, 11 months ago) by jpye
File length: 7206 byte(s)
Diff to previous 2225
update plot to shot unconverged points.

Revision 2225 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 26 03:40:18 2010 UTC (9 years, 11 months ago) by jpye
File length: 6995 byte(s)
Diff to previous 2224
Added python bindings for new function. 
We can see that it's not converging for about 10% of cases.

Revision 2224 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 26 01:14:48 2010 UTC (9 years, 11 months ago) by jpye
File length: 7051 byte(s)
Diff to previous 2223
Saturation curve is converging now, for CO2 and water, but haven't yet tested its 'safe' range.
There will certainly still be problems near the critical point.

Revision 2223 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jul 25 23:58:36 2010 UTC (9 years, 11 months ago) by jpye
File length: 6842 byte(s)
Diff to previous 2222
correct to Helmholtz energy, instead of Gibbs, according IAPWS95 release.

Revision 2222 - (view) (download) (as text) (annotate) - [select for diffs]
Added Sun Jul 25 14:45:45 2010 UTC (9 years, 11 months ago) by jpye
File length: 6728 byte(s)
numerical algorithms for saturation curve. algorithms are based on those used by REFPROP, but the code is a new implementation. hoping that this is all legally correct; please let me know if there are any issues -- JP.

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22