/[ascend]/trunk/models/johnpye/fprops/helmholtz.h
ViewVC logotype

Log of /trunk/models/johnpye/fprops/helmholtz.h

Parent Directory Parent Directory | Revision Log Revision Log


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

Revision 2661 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 17 00:15:12 2013 UTC (6 years, 9 months ago) by jpye
File length: 899 byte(s)
Diff to previous 2654
Update GPL header, debugging issue with (p,h) for Water.

Revision 2654 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 16 02:04:07 2013 UTC (6 years, 9 months ago) by jpye
File length: 966 byte(s)
Diff to previous 2649
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 2649 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 12 12:39:25 2012 UTC (6 years, 10 months ago) by jpye
File length: 5865 byte(s)
Diff to previous 2467
Fixing GPL header, removing postal address (rpmlint incorrect-fsf-address)

Revision 2467 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 27 06:33:38 2011 UTC (8 years, 4 months ago) by jpye
File length: 5935 byte(s)
Diff to previous 2288
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 2288 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Aug 15 06:16:13 2010 UTC (9 years, 2 months ago) by jpye
File length: 5707 byte(s)
Diff to previous 2271
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 2271 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Aug 8 12:17:00 2010 UTC (9 years, 2 months ago) by jpye
File length: 5809 byte(s)
Diff to previous 2255
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 2255 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 4 04:43:18 2010 UTC (9 years, 2 months ago) by jpye
File length: 5662 byte(s)
Diff to previous 2252
Adding bespoke (p,h) iteration code, but looks like some errors with the partial derivatives.

Revision 2252 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Aug 3 14:30:53 2010 UTC (9 years, 2 months ago) by jpye
File length: 5589 byte(s)
Diff to previous 2248
Fixed solve_ph for saturation region.
Still not implemented 'nonsolver' for non-saturation cases.

Revision 2248 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Aug 3 08:48:59 2010 UTC (9 years, 2 months ago) by jpye
File length: 5516 byte(s)
Diff to previous 2247
More work on adding (p,h) solver in FPROPS.

Revision 2247 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Aug 3 07:51:40 2010 UTC (9 years, 2 months ago) by jpye
File length: 5491 byte(s)
Diff to previous 2236
Some work towards (p,h) solver and derivatives function for FPROPS.

Revision 2236 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 29 13:51:34 2010 UTC (9 years, 2 months ago) by jpye
File length: 5344 byte(s)
Diff to previous 2234
Initial model with support for saturation calculation with FPROPS. More debugging required.

Revision 2234 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 29 04:07:26 2010 UTC (9 years, 2 months ago) by jpye
File length: 5270 byte(s)
Diff to previous 2228
Added second derivative to spinodal plot. Looks like bugs with d2pdrho2 still.

Revision 2228 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 26 13:20:51 2010 UTC (9 years, 2 months ago) by jpye
File length: 5192 byte(s)
Diff to previous 2222
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 2222 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jul 25 14:45:45 2010 UTC (9 years, 2 months ago) by jpye
File length: 5127 byte(s)
Diff to previous 2119
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.

Revision 2119 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 9 08:40:36 2009 UTC (9 years, 10 months ago) by jpye
File length: 5125 byte(s)
Diff to previous 2116
Add helmholtz_g (Gibbs energy, needs testing).
Working on adding Chouaieb estimate of vapour density, ongoing.

Revision 2116 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 9 01:34:31 2009 UTC (9 years, 10 months ago) by jpye
File length: 5056 byte(s)
Diff to previous 2114
Trying out some numerics for saturation curve.

Revision 2114 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 8 08:08:00 2009 UTC (9 years, 10 months ago) by jpye
File length: 5013 byte(s)
Diff to previous 2107
Starting some more work on saturation curves.

Revision 2107 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Dec 4 06:25:16 2009 UTC (9 years, 10 months ago) by jpye
File length: 4891 byte(s)
Diff to previous 1996
More work on the carbon dioxide coefficients.

Revision 1996 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Feb 5 09:42:42 2009 UTC (10 years, 8 months ago) by jpye
File length: 4713 byte(s)
Diff to previous 1989
Added acentric factor to HelmholtzData.
Working on adding calculation of saturation curve using Maxwell phase-equilibrium condition (per IAPWS95).

Revision 1989 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Feb 3 07:29:29 2009 UTC (10 years, 8 months ago) by jpye
File length: 4564 byte(s)
Diff to previous 1988
Added helmholtz_w and helmholtz_cp.
Added test for helmholtz_w with water.
This exposes the fact that helm_resid_deldel and helm_resid_deltau need critical terms added.

Revision 1988 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Feb 3 05:38:33 2009 UTC (10 years, 8 months ago) by jpye
File length: 4425 byte(s)
Diff to previous 1920
Added critical terms to helm_resid_tautau.
Tests for water for cv pass.

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

Revision 1915 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 2 08:49:17 2008 UTC (11 years ago) by jpye
File length: 4201 byte(s)
Diff to previous 1905
Adding calculation of derivatives of h.

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

Revision 1904 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Sep 27 03:32:21 2008 UTC (11 years ago) by jpye
File length: 3895 byte(s)
Diff to previous 1887
Removed redundant HelmholtzExpTerm, and corrected nitrogen.c to use
HelmholtzGausTerm instead.

Revision 1887 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 22 10:05:27 2008 UTC (11 years, 1 month ago) by jpye
File length: 4285 byte(s)
Diff to previous 1885
Working on debugging gaussian terms.

Revision 1885 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Sep 19 04:46:18 2008 UTC (11 years, 1 month ago) by jpye
File length: 3815 byte(s)
Diff to previous 1874
Starting work on data structures for 'critical terms' as used in water and hydrogen correlations.

Revision 1874 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Sep 18 04:27:16 2008 UTC (11 years, 1 month ago) by jpye
File length: 2752 byte(s)
Diff to previous 1863
Added some GPL headers, fixing water helm_ideal coefficients.

Revision 1863 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 15 03:12:29 2008 UTC (11 years, 1 month ago) by jpye
File length: 1994 byte(s)
Diff to previous 1850
Added tests for Helmholtz energy, still failing.

Revision 1850 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 2 06:56:47 2008 UTC (11 years, 1 month ago) by jpye
File length: 1925 byte(s)
Diff to previous 1847
Added ideal cp0 values to test data and added
calculation function for this. Works for nitrogen 
but not for ammonia.

Revision 1847 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 1 05:42:21 2008 UTC (11 years, 1 month ago) by jpye
File length: 1866 byte(s)
Diff to previous 1838
Split out ideal curves from helmholtz.c.

Revision 1838 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 28 08:32:29 2008 UTC (11 years, 1 month ago) by jpye
File length: 2846 byte(s)
Diff to previous 1835
Added 'exponential' terms for nitrogen correlation (still testing).

Revision 1835 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Aug 25 08:18:23 2008 UTC (11 years, 1 month ago) by jpye
File length: 2321 byte(s)
Diff to previous 1832
Checked in generalised version of ideal gas component.
Working on adding the 'exponential' term for the Nitrogen correlation.

Revision 1832 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 22 07:23:58 2008 UTC (11 years, 2 months ago) by jpye
File length: 1384 byte(s)
Diff to previous 1829
Refactor helm_resid_tau.

Revision 1829 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 22 05:00:53 2008 UTC (11 years, 2 months ago) by jpye
File length: 997 byte(s)
Diff to previous 1826
Added entropy relation and tests. All entropy tests pass to within 0.03%.

Revision 1826 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 21 08:32:33 2008 UTC (11 years, 2 months ago) by jpye
File length: 928 byte(s)
Diff to previous 1825
Fixed: tests for pressure relation are working now.

Revision 1825 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 21 05:03:19 2008 UTC (11 years, 2 months ago) by jpye
File length: 869 byte(s)
Diff to previous 1822
Added functions for enthalpy and internal energy.
Test suites still needed!

Revision 1822 - (view) (download) (as text) (annotate) - [select for diffs]
Added Wed Aug 20 09:06:39 2008 UTC (11 years, 2 months ago) by jpye
File length: 742 byte(s)
More on helmholtz functions.

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