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

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

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Revision:

Revision 2670 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 23 05:58:37 2013 UTC (5 years, 7 months ago) by jpye
File length: 15246 byte(s)
Diff to previous 2654
Add test of saturation curve convergence for all helmholtz fluids.

Revision 2654 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 16 02:04:07 2013 UTC (5 years, 8 months ago) by jpye
File length: 14469 byte(s)
Diff to previous 2467
Merged (copied) fprops2 branch to trunk. This copy overwrites the trunk version of fprops,
and history is preserved via the fprops2 sequence. I hope that's OK...

Revision 2467 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 27 06:33:38 2011 UTC (7 years, 3 months ago) by jpye
File length: 12161 byte(s)
Diff to previous 2292
Add 'solve_Tx' function for convenience.
Add 'helmholtz_u_raw' and change 'helmholtz_u' so that it tests for saturation conditions.
Fixed pv.py to use new 'fprops_fluid' function.
Add example of solve_Tx function.
Fix separate build of FPROPS (independent of ASCEND).

Revision 2292 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Aug 16 08:39:06 2010 UTC (8 years, 1 month ago) by jpye
File length: 12157 byte(s)
Diff to previous 2288
Added C test code for testing saturation curve (./test.py carbondioxide).

Revision 2288 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Aug 15 06:16:13 2010 UTC (8 years, 1 month ago) by jpye
File length: 11018 byte(s)
Diff to previous 2286
Fixed some more FPE issues with pt->l going off the end of the array!
satcvgc working everywhere now except exactly at sat_p for p=p_t.

Revision 2286 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Aug 14 15:05:12 2010 UTC (8 years, 1 month ago) by jpye
File length: 11010 byte(s)
Diff to previous 2285
Working on plots for combined cycle. Something is broken with CO2 model.

Revision 2285 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Aug 14 13:47:07 2010 UTC (8 years, 1 month ago) by jpye
File length: 10951 byte(s)
Diff to previous 2284
Added routine to calculate ideal->m and ideal->c for desired reference state values.
Adjusted toluene reference state so that s=0, h=0 for liquid at the triple pt.

Revision 2284 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Aug 14 10:52:06 2010 UTC (8 years, 1 month ago) by jpye
File length: 10340 byte(s)
Diff to previous 2271
Working on combined cycle simulation using toluene in the bottoming cycle.
Seem to be getting negative values of h and s for toluene in some cases.

Revision 2271 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Aug 8 12:17:00 2010 UTC (8 years, 1 month ago) by jpye
File length: 10072 byte(s)
Diff to previous 2262
Removed p_t, p_c from HelmholtzData, added routines that calculate those values directly.
'satcvgc.py' now runs without errors for 100% of data points.

Revision 2262 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 5 08:34:43 2010 UTC (8 years, 1 month ago) by jpye
File length: 10376 byte(s)
Diff to previous 2246
Deleted sat2.c and sat2.h, that code is not being used anywhere in ASCEND/FPROPS now. REFPROP algorithm replaced by Akasaka approach.
Moving sat3.c code into sat.h.

Revision 2246 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Aug 2 05:47:27 2010 UTC (8 years, 1 month ago) by jpye
File length: 10373 byte(s)
Diff to previous 2235
Added *calculated* values of p_c to data, fixes problems with satcvgc.py for most cases.

Revision 2235 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 29 08:45:54 2010 UTC (8 years, 1 month ago) by jpye
File length: 10051 byte(s)
Diff to previous 2111
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 2111 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 8 03:05:36 2009 UTC (8 years, 9 months ago) by jpye
File length: 8942 byte(s)
Diff to previous 1920
CO2 correlation looks to be working now.
Work on support for SUNDIALS on Windows.

Revision 1920 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 3 07:02:27 2008 UTC (9 years, 11 months ago) by jpye
File length: 8889 byte(s)
Diff to previous 1919
Fixed bug with du/dT and dh/dT.

Revision 1919 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 3 05:52:22 2008 UTC (9 years, 11 months ago) by jpye
File length: 7230 byte(s)
Diff to previous 1918
Implemented (dh/drho)_T

Revision 1918 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 3 05:13:08 2008 UTC (9 years, 11 months ago) by jpye
File length: 6267 byte(s)
Diff to previous 1917
Fixed problem with dh/dT_rho.

Revision 1917 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 3 04:36:44 2008 UTC (9 years, 11 months ago) by jpye
File length: 6267 byte(s)
Diff to previous 1916
Fixed most of the problem with dh/dT_rho, still not right.

Revision 1916 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 2 08:52:46 2008 UTC (9 years, 11 months ago) by jpye
File length: 6269 byte(s)
Diff to previous 1907
Added dhdT_rho test, currently failing.

Revision 1907 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Sep 27 09:45:06 2008 UTC (9 years, 11 months ago) by jpye
File length: 5342 byte(s)
Diff to previous 1906
Working on dpdrho_T, still looks like problems with Gaussian terms.

Revision 1906 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Sep 27 08:56:29 2008 UTC (9 years, 11 months ago) by jpye
File length: 4374 byte(s)
Diff to previous 1905
Fixed initialisation error in helm_resid_deltau.

Revision 1905 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Sep 27 04:54:12 2008 UTC (9 years, 11 months ago) by jpye
File length: 4332 byte(s)
Diff to previous 1901
Calculated (dp/dT)_rho, seems to look OK when testing with hydrogen.

Revision 1901 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Sep 25 07:40:47 2008 UTC (9 years, 11 months ago) by jpye
File length: 3451 byte(s)
Diff to previous 1900
Completed hydrogen, passes tests for h,u,s,p,a to high accuracy.

Revision 1900 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Sep 25 07:34:56 2008 UTC (9 years, 11 months ago) by jpye
File length: 2986 byte(s)
Diff to previous 1898
fixed helm_resid_tau for calculation of gaussian terms.

Revision 1898 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Sep 25 07:01:05 2008 UTC (9 years, 11 months ago) by jpye
File length: 2999 byte(s)
Diff to previous 1897
Debugging hydrogen, checked helm_resid_del values against spread, seem OK...

Revision 1897 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Sep 25 03:46:29 2008 UTC (9 years, 11 months ago) by jpye
File length: 2982 byte(s)
Diff to previous 1891
Fixed small bug in helm_resid_tau, but still not correct.

Revision 1891 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 23 06:46:28 2008 UTC (10 years ago) by jpye
File length: 3028 byte(s)
Diff to previous 1886
Fixed bug in helm_resid_tau for gaussian terms.

Revision 1886 - (view) (download) (as text) (annotate) - [select for diffs]
Added Fri Sep 19 07:22:54 2008 UTC (10 years ago) by jpye
File length: 2289 byte(s)
Adding separate file with basic test routine.

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