Sticky Revision: |

Revision

Modified

replace some missing svn:ignore rules on various directories

Revision

Modified

reduce debug output

Revision

Modified

reduced debug output

Revision

Modified

add wall width for wallfreeconvection. add biblio note for CO2.

Revision

Modified

suppressing various debug output. changed default value of safe_print_errors to FALSE (need to review this in context of GUI layer)

Revision

Modified

add new reference state TPHS0 (needs checking still) using TPHS0 as reference state for oxygen

Revision

Modified

added test data for oxygen

Revision

Modified

Starting on support for Oxygen, no test data yet.

Revision

Modified

kludgy fix to restore test solver_qrslv to non-crashing state (thcond missing data workaround in FPROPS)

Revision

Modified

thermophys.a4c working now, still not two-phase values though.

Revision

Modified

add test of mu,k to ASCEND wrapper for FPROPS. starting to work... added 'uPa' to measures. added note about pipe.a4c not yet calculating k,mu.

Revision

Modified

add thcond,visc to ascend wrapper (only CO2 implemented/working at this stage)

Revision

Modified

plot of co2 thcond, problems with saturation region.

Revision

Modified

thcond and mu accessible from Python

Revision

Modified

checking marks

Revision

Modified

a little cleaning up of test output

Revision

Modified

thcond sort-of working, agrees with REFPROP to ~0.1%.

Revision

Modified

still looking at thcond lamc...

Revision

Modified

spreadsheet implementation for lamc, using it to check correlation and thcond.c for CO2.

Revision

Modified

working on lamc debugging for CO2

Revision

Modified

debugging lamc function (critical enhancement of thermal conductivity)

Revision

Modified

thcond working ok for co2, but no critical enhancement yet

Revision

Modified

thcond includes lamr.

Revision

Modified

added lamr, lamr+lam0 tests for CO2 -- passing.

Revision

Modified

added lamr test

Revision

Modified

lam0 fixed :-/

Revision

Modified

added debug spreadsheet for lam0 for CO2.

Revision

Modified

working more on thermal conductivity, trying to get agreement on lam0 from different sources.

Revision

Modified

thcond test for nitrogen.

Revision

Modified

extending to nitrogen

Revision

Modified

more on thcond

Revision

Modified

working on test code for thcond.

Revision

Modified

starting work on thermal conductivity implementation (with CO2 as first candidate).

Revision

Modified

starting on thermal conductivity

Revision

Modified

viscosity working for both CO2 and nitrogen. some disagreement with original publication for CO2, perhaps due to different EOS? will leave it for now as errors are <1%.

Revision

Modified

viscosity routine now matching sample data from Lemmon/Jacobsen paper.

Revision

Modified

viscosity test running, but wrong.

Revision

Modified

viscosity test case started

Revision

Modified

more on viscosity calculation, including initialisation, and CO2 data.

Revision

Modified

part of the viscosity calculation implemented

Revision

Modified

viscosity data for CO2 partly implemented

Revision

Modified

starting on viscosity support in FPROPS

Revision

Modified

add liquid sodium properties.

Revision

Modified

update comments

Revision

Modified

linear dish array model, with pressure drops in pipe segments, first attempt

Revision

Modified

cp0 problem appears to be when cp0red==1 in cp0_prepare with IDEAL_CP0 data type.

Revision

Modified

more debugging of cp0 and ideal_cp, pengrob_cp (both seem incorrect)

Revision

Modified

more on cp

Revision

Modified

debugging problem with cp0

Revision

Modified

problem with cp0 in ideal gas case.

Revision

Modified

testing ideal calcs, cf example in Bejan Tsatsaronis & Moran.

Revision

Modified

ReferenceState TPHG fixed for ideal EOS.

Revision

Modified

add missing test file

Revision

Modified

still trying to get the TPHG reference start working for ideal gas. not working yet.

Revision

Modified

working on ideal gas EOS, and implementing enthalpy of formation/absolute entropy via reference state mechanism.

Revision

Modified

cleaned up refstate stuff in carbondioxide (test is still passing). initial notes on FPROPS_REF_FORM for defining reference state relative to enthalpy of formation at standard conditions.

Revision

Modified

add heat of formation to RPP data, so that chemical reactions can eventually be calculated.

Revision

Modified

specify correlation type to avoid warning.

Revision

Modified

Workaround for MinGW32 which doesn't provide cpow function.

Revision

Modified

cleaning up (hopefully) a few compiler warnings.

Revision

Modified

few extra comments

Revision

Modified

Pipe model including emissivity and convection losses added. Note that the model doesn't include calculation of viscosity for friction equation.

Revision

Modified

add friction factor to model (no calc of viscosity yet)

Revision

Modified

Simple model of adiabatic pipe with FPROPS.

Revision

Modified

Trying to merge cycle_plot_rachel.py into cycle_plot.py. Some improvements to cycle plot of the brayton_regen and brayton_regen_reheat_intercool cycle plots to include heat exchanger dotted lines.

Revision

Modified

Attempting to sort out brayton_split_salt model. Bug 472 is causing problems here.

Revision

Modified

Add support for 'scons CC=clang' with FPROPS. Remove unused #defines in ASCEND CUnit test suits

Revision

Modified

Modified test case for bug 564 slightly, now able to access the error via valgrind as well. Valgrind output gives: solvers/qrslv/qrslv.c:3373 (structural_analysis): In QRSlv, got vused = 219... ==28310== Invalid read of size 8 ==28310== at 0x4EFCF76: CalcResidGivenValue (relation_util.c:4037) ==28310== by 0x4EFD90C: zbrent (rootfind.c:84) ==28310== by 0x4EFD235: RootFind (relation_util.c:4120) ==28310== by 0x4EFAB80: RelationFindRoots (relation_util.c:3210) ==28310== by 0x4F4C59E: relman_directly_solve_new (relman.c:1039) ==28310== by 0x4F509D7: slv_direct_solve (slv_common.c:208) ==28310== by 0x70324C6: qrslv_iterate (qrslv.c:3842) ==28310== by 0x70336E5: qrslv_solve (qrslv.c:4175) ==28310== by 0x4F60CB1: slv_solve (solver.c:364) ==28310== by 0x42F607: test_bug564 (test_qrslv.c:244) ==28310== by 0x61587A3: run_single_test (TestRun.c:1129) ==28310== by 0x6156161: CU_run_selected_tests (TestRun.c:473) ==28310== Address 0x100793d338 is not stack'd, malloc'd or (recently) free'd ==28310== ==28310== ==28310== Process terminating with default action of signal 11 (SIGSEGV) ==28310== Access not within mapped region at address 0x100793D338 ==28310== at 0x4EFCF76: CalcResidGivenValue (relation_util.c:4037) ==28310== by 0x4EFD90C: zbrent (rootfind.c:84) ==28310== by 0x4EFD235: RootFind (relation_util.c:4120) ==28310== by 0x4EFAB80: RelationFindRoots (relation_util.c:3210) ==28310== by 0x4F4C59E: relman_directly_solve_new (relman.c:1039) ==28310== by 0x4F509D7: slv_direct_solve (slv_common.c:208) ==28310== by 0x70324C6: qrslv_iterate (qrslv.c:3842) ==28310== by 0x70336E5: qrslv_solve (qrslv.c:4175) ==28310== by 0x4F60CB1: slv_solve (solver.c:364) ==28310== by 0x42F607: test_bug564 (test_qrslv.c:244) ==28310== by 0x61587A3: run_single_test (TestRun.c:1129) ==28310== by 0x6156161: CU_run_selected_tests (TestRun.c:473) ==28310== If you believe this happened as a result of a stack ==28310== overflow in your program's main thread (unlikely but ==28310== possible), you can try to increase the size of the ==28310== main thread stack using the --main-stacksize= flag. ==28310== The main thread stack size used in this run was 8388608. ==28310==

Revision

Modified

Fix rankine_regen_water model (some initialisation had been omitted). Update plotting routine for rankine_regen_water.

Revision

Modified

Few repairs to brayton_splot.a4c and dependencies. Fixed up error reporting for unassigned integer_constant in check.c. Removed debug output in heatex_pinch.

Revision

Modified

Fixes bug 567, for the moment. More tests surely required.

Revision

Modified

Merging saheb-canvas work from Saheb in GSOC2012 into trunk (from saheb-merge branch at changeset 4445). Some minor changes needed. -- jpye.

Revision

Modified

Remove reference to 'libfprops', build external relations without library dependencies (for now).

Revision

Modified

Some updates on ascend.spec from Antonio Trande.

Revision

Modified

Working on better/faster (p,h) test suite.

Revision

Modified

Working on destructors for RunData, works from C, but not yet from Python.

Revision

Modified

Working on problem with solve_ph. Could be that one of the deriv routines is wrong in the saturation region?

Revision

Modified

fix test sat1 for n_eicosane above TP.

Revision

Modified

Fix problem with n_eicosane by adding T_t value to _rpp.c. PR saturation properties working now for all fluids for T>0.4*T_c where T_t is missing.

Revision

Modified

Down to one solitary convergence error in saturation property calculation (n_eicosane at low temperature).

Revision

Modified

Brayton cycle models working OK know with new FPROPS.

Revision

Modified

Checking Rankine cycle models with new FPROPS2 code. Some problem with rankine_regen_water.

Revision

Modified

Force use of RPP data in saturation test suite, no failover to Helmholtz data.

Revision

Modified

Added testing of saturation curve for all fluids in their 'best' correlation. Six fluids are showing occasional failures, all of them PR EOS.

Revision

Modified

Add test of saturation curve convergence for all helmholtz fluids.

Revision

Modified

Got problem with convergence of saturation properties of ethanol...

Revision

Modified

Identified problem with low-pressure (p,h) calculations with isohexane.

Revision

Modified

comment out debug file creation

Revision

Modified

Use C99 '_Complex' instead of 'complex'.

Revision

Modified

Cubic root solver was giving problems. Replacing with the one Sean/Ankit had been using.

Revision

Modified

Trying to debug fprops_triple_point for Toluene with pengrob correlation. Something strange is happening with fratio.

Revision

Modified

Revert to not using a 'libfprops.so'.

Revision

Modified

Added some C tests for sat and solve_ph routines. Added parameter 'source' to fprops_fluid, to allow data with a particular source to be specified (optionally). This allows forced testing explicitly of the RPP data even when Helmholtz data is also available. Tweaked some convergence parameters in sat.c and solve_ph.c to get convergence across broader range of parameters for more fluids (more testing required).

Revision

Modified

Update GPL header, debugging issue with (p,h) for Water.

Revision

Modified

Working on updating rankine_fprops and associated models to work with new fprops2 code. Some issue discovered with (p,h) for water (added python/solve_ph1.py to check it). Next cunit tests to drive some ASCEND models embedding FPROPS (note use of slvreq for this).

Revision

Modified

Change toluene default reference state to REF_TPF, fixes rankine_fprops model. How to specify reference states via the ASCEND wrapper, then?

Revision

Modified

Working on problem with (p,h) solution with new FPROPS code.

Revision

Modified

fix error with undefined type.

Revision

Modified

remove attempt to build MBWR.

Revision

Modified

Fix build with heatex_pinch stuff in FPROPS.

Revision

Modified

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

Modified

Fixing GPL header, removing postal address (rpmlint incorrect-fsf-address)

Revision

Modified

Fixing GPL header, removing postal address (rpmlint incorrect-fsf-address)

Revision

Modified

Fixing GPL header, removing postal address (rpmlint incorrect-fsf-address)

Revision

Modified

separate bug 567 and 564, avoid a name clash, eliminate duplicate FindInsts (Dante Stroe?)

Revision

Modified

Better test for bug 567.

Revision

Modified

working on test case for bug 531, bug 566. latest tests show error in UpdateInputArgsList during sim_destroy.

Revision

Modified

Brayton cycle models, some bugs still need to be sorted out.

Revision

Modified

add label for boiler_simple heat equation, to allow disabling

Revision

Modified

missing file for heatex_pinch.

Revision

Modified

Fixed error in pinch calculation. Seems to be working OK.

Revision

Modified

Trying to split up instantiate.c. A big job actually.

Revision

Modified

Small demo of solve_ph functionality in C.

Revision

Modified

Fix for current function names

Revision

Modified

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

Modified

Added calculation of speed of sound using FPROPS. Added simple ideal-gas models of isentropic compressible flow and normal shocks (johnpye/compressible_flow.a4c) Working on adding turbine nozzle calculation and reaction turbine stage models, ongoing (not ready yet!). Added delta_specific_entropy to thermo_types.a4c.

Revision

Modified

New work towards detailed turbine model. Impulse turbine stage model partly operational, reaction stage still in progress. Added new {rot} and {RPM} measures of angle and angular speed. But note clash with {rpm} which is cycles per minute (not angle). Added calculation of c_p and c_v from FPROPS.

Revision

Modified

Fixed valve model to use mass flowrate instead of volume, in accordance with Thomas book.

Revision

Modified

better handling of units for valve coefficient.

Revision

Modified

regularised expressions noted.

Revision

Modified

a solution to the units-of-measurement thing for control valves.

Revision

Modified

Add valve model using FPROPS.

Revision

Modified

Merging in refactor of the C++ code, which is moved out of 'pygtk' and into 'ascxx'. Adding support for IPOPT 3.9.1, the current latest version. Support in dtar for parallel builds (possibly needs some testing still).

Revision

Modified

Fixes for Windows installer, allowing FPROPS to be included.

Revision

Modified

Turn off FPE in solve_ph.c (otherwise causes problems on Ubuntu 10.04 with rankine_co2 model).

Revision

Modified

Minor changes to FPROPS cycle models. Fix 'scons install' to also install FPROPS in Python path in Linux (still need to test install with Windows).

Revision

Modified

Rename 'node' to 'air_node' and 'stream' to 'air_stream' in brayton.a4c. More plotting routines in cycle_plot. Finalised combined cycle models including ammonia. Small bug in nitrogen.c when testing (./test.py nitrogen).

Revision

Modified

Fix bug in regen cycles.

Revision

Modified

Fix minor issue with building FPROPS from ~/ascend. Added heat-exchanger plopts in cycle_plot.py. Finished ammonia and toluene regen cycles.

Revision

Modified

Add data table for Tc, pc, Tt, pt etc. Add model of toluene and water regenerative rankine cycles.

Revision

Modified

Regen toluene model working, next water.

Revision

Modified

Fixing test routine.

Revision

Modified

Automatic generation of the fluids list completed now (hopefully).

Revision

Modified

moving fluids to subdirectory.

Revision

Modified

Working on streamlined system for adding/retrieving fluids.

Revision

Modified

Checking toluene Rankine cycle.

Revision

Modified

Fix basic rankine cycle plot to include condenser curve.

Revision

Modified

sat_T routine returns critical point properties if T is within 1e-8 K of critical point.

Revision

Modified

Added C test code for testing saturation curve (./test.py carbondioxide).

Revision

Modified

Add plotting of p=constant lines on Ts diagram for the power cycles. Add calculation of heat exchanger effectiveness (faulty!), trying to trap physically impossible heat exchange cases.

Revision

Modified

Trying to catch errors associated with pressure below triple point for CO2.

Revision

Modified

Resolved bug with evaluation at temperatures very very very slightly below triple point.

Revision

Modified

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

Modified

Trying to track down an error that's started occurring with CO2 saturation curves.

Revision

Modified

Working on plots for combined cycle. Something is broken with CO2 model.

Revision

Modified

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

Modified

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

Modified

Add extra condition in sat.c to allow Akasaka algorithm to converge for toluene.

Revision

Modified

Fixing ignore list, adding couple of short test routines.

Revision

Modified

jpye: Merging r2695:3040 from 'hongke' branch into trunk. Thanks HongKe for all your work!

Revision

Modified

Combined cycle working now with CO2 as the working fluid in the rankine cycle.

Revision

Modified

Combined-cycle model converges with FPROPS! Now it's getting useful :-)

Revision

Modified

remove (v,T) code, rankine models now converge with FPROPS.

Revision

Modified

Basic Rankine model converging using FPROPS. The more complex models are not yet converging.

Revision

Modified

Fixing error return from asc_helmholtz function. The bug with 'defaultall' functionality is still here... see boiler_simple_test mode in models/johnpye/fprops/rankine_fprops.a4c.

Revision

Modified

adding ph mode to stream_state_test.

Revision

Modified

Add fprops_Tvsh_ph to asc_helmholtz for calculation in terms of (p,h). The routine does not seem to work particularly well though.

Revision

Modified

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

Modified

Seem to have fixed the solve_ph problems, but new problems in fprops_sat_p have arisen.

Revision

Modified

Avoid stepping outside saturation region in fprops_sat_hf.

Revision

Modified

Improved first guess has eliminated many of the errors, still problems though.

Revision

Modified

Adding better starting guess for T,rho when solving (p,h) in compressed subcritical liquid region.

Revision

Modified

The (p,h) function is converging almost everywhere. The home-made Newton iteration wasn't starting well for supercritical states when the starting guess had rho = rho_c, so changing slightly away from fixed almost all the problems.

Revision

Modified

cleaning up couple of compiler warnings.

Revision

Modified

A basic fprops_sat_p function working now. Need to add p_t, T_t data to all materials.

Revision

Modified

Removing these; code was moved into sat.[ch].

Revision

Modified

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

Modified

First attempt at Akasaka algorithm. But something's badly broken in the test suite, need to go find what.

Revision

Modified

Error messages to detect temperatures below critical point.

Revision

Modified

Working on convergence of (p,h) over wide range.

Revision

Modified

Debugging nan in f1 in helm_resid_deldel.

Revision

Modified

Converging in supercritical region now. Fixed some nan errors in helmholtz, needs cleaning up.

Revision

Modified

Converging... for one little case at least.

Revision

Modified

Adding bespoke (p,h) iteration code, but looks like some errors with the partial derivatives.

Revision

Modified

For some reason the fdfsolver is not varying the guess values...

Revision

Modified

Cleaning up syntax of some derivs.h calls; working towards getting nonsolver working.

Revision

Modified

Fixed solve_ph for saturation region. Still not implemented 'nonsolver' for non-saturation cases.

Revision

Modified

Added binding for solve_ph, but code is not yet completed.

Revision

Modified

Fixed error in helmholtz_g (another one). fprops_sat_p is working for simple cases now. Added p_t value for water from IAPWS95 rev 2009.

Revision

Modified

Trying to add Tsat(p) routine to FPROPS.

Revision

Modified

More work on adding (p,h) solver in FPROPS.

Revision

Modified

Some work towards (p,h) solver and derivatives function for FPROPS.

Revision

Modified

Added *calculated* values of p_c to data, fixes problems with satcvgc.py for most cases.

Revision

Modified

Adding support for changeble fluid in rankine_fprops models. Ammonia saturation line is OK now, was just missing p_c value. Problem case added in phsx_test.

Revision

Modified

Add simple Rankine cycle model using FPROPS for steam calculation.

Revision

Modified

Initial model with support for saturation calculation with FPROPS. More debugging required.

Revision

Modified

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

Modified

Added second derivative to spinodal plot. Looks like bugs with d2pdrho2 still.

Revision

Modified

helm_resid_deldeldel implementation complete... now for testing.

Revision

Modified

working towards implementing helm_resid_deldeldel

Revision

Modified

Adding helm_resid_deldeldel function, in progress.

Revision

Modified

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

Modified

Add error count.

Revision

Modified

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

Modified

update plot to shot unconverged points.

Revision

Modified

Plot error values as well.

Revision

Modified

Added python bindings for new function. We can see that it's not converging for about 10% of cases.

Revision

Modified

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

Modified

correct to Helmholtz energy, instead of Gibbs, according IAPWS95 release.

Revision

Modified

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

Modified

Playing around with temperature limits.

Revision

Modified

Copying HongKe's methane correlation to trunk (pending testing?) and fixing helmholtz_g as suggested by Shrikantch (also needs double-checking). Fixed problem with GSL in fprops/SConstruct.

Revision

Modified

Bump trunk to 0.9.8. Some work on detection of SUNDIALS on Linux (will need to be reviewed on Windows). Update DistTar for smoother building of tarball, less stray deps.

Revision

Modified

Revision

Modified

Revision

Modified

Test file for solving phase criterion using QRSlv (no success yet).

Revision

Modified

Various efforts at implementing Maxwell phase criterion, nothing working yet.

Revision

Modified

Switched to derivative-free method, more luck with convergence but wrong result still.

Revision

Modified

Attempt at implementing solver for saturation state using GSL fdfsolver.

Revision

Modified

Fixed bug in Chouaieb vapour density calc.

Revision

Modified

Fix build of SharedObject. Put Chouaieb and Rackett models in separate functions.

Revision

Modified

Add helmholtz_g (Gibbs energy, needs testing). Working on adding Chouaieb estimate of vapour density, ongoing.

Revision

Modified

Fix build for Linux.

Revision

Modified

Improving Python build of FPROPS. Added spinodal.py for visualisation of spinodal points. Added placeholder critical and triple point data for the other fluids (needs to be filled in). Allow peering inside helmholtz data form Python (eg to access critical point data).

Revision

Modified

Trying out some numerics for saturation curve.

Revision

Modified

Add code to evaluate phase criterion (not solving yet).

Revision

Modified

Starting some more work on saturation curves.

Revision

Modified

Update copyright info. Add citation for CO2.

Revision

Modified

Fixing for new test.h fn sig.

Revision

Modified

CO2 correlation looks to be working now. Work on support for SUNDIALS on Windows.

Revision

Modified

Still working on CO2 bugs.

Revision

Modified

Fixed problem with CO2 pressure calc. Still need to fix c,m for enthalpy & entropy.

Revision

Modified

Fixed error in CO2 cp0 expr.

Revision

Modified

More work on the carbon dioxide coefficients.

Revision

Modified

Starting on CO2 properties from paper by Span and Wagner.

Revision

Modified

Fixed compile for new header file locations <ascend/compiler/xxx.h> etc.

Revision

Modified

Break ASCEND into dev package and main package. Fix up gtksourceview syntax rules, add more keywords, remove C cruft. Add tools/scons/ascend.py tool for detecting ASCEND when building software using SCons. DTAR now fails if dpkg-buildpackage fails, keeps temp files hanging around for inspection. Plots generated by 'plot.a4l' no longer add legend if no labels specified. Committing python bindings for FPROPS. Much testing remains to be done there.

Revision

Modified

Commenting out fprintfs in helmholtz.c so that ASCEND extfn can build. Revert canvas to Gaphas zoomtool.

Revision

Modified

Added acentric factor to HelmholtzData. Working on adding calculation of saturation curve using Maxwell phase-equilibrium condition (per IAPWS95).

Revision

Modified

Add support for hydrogen, water in ASCEND.

Revision

Modified

Still some error near critical point for calculation of speed of sound. However this error is not reconcilable with both IAPWS95 and REFPROP8, because those two sources give different values. The value returned by FPROPS is midway between the two.

Revision

Modified

Normalising code for critical terms; still a bug with calculation of helmholtz_w in critical region.

Revision

Modified

Added critical terms to helm_resid_deldel and helm_resid_deltau. Tests are still not passing though, need to check for errors.

Revision

Modified

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

Modified

Added critical terms to helm_resid_tautau. Tests for water for cv pass.

Revision

Modified

Added evaluation of helm_resid_tau, gives correct values for entropy with water.

Revision

Modified

Fixed helm_resid and helm_resid_del with critical terms.

Revision

Modified

Added critical term calculation in helm_resid. Added gaussian and critical term values for water from IAPWS95. Added some test data from IAPWS95 to water.c tests.

Revision

Modified

Added Wiki link.

Revision

Modified

Added derivatives for u in ASCEND hooks.

Revision

Modified

Checked u,h derivatives with ammonia, nitrogen, hydrogen, all appear to be OK and match finite difference estimates.

Revision

Modified

Fixed (du/drho)_T

Revision

Modified

Fixed bug with du/dT and dh/dT.

Revision

Modified

Implemented (dh/drho)_T

Revision

Modified

Fixed problem with dh/dT_rho.

Revision

Modified

Fixed most of the problem with dh/dT_rho, still not right.

Revision

Modified

Added dhdT_rho test, currently failing.

Revision

Modified

Adding calculation of derivatives of h.

Revision

Modified

The helmholtz_p function now provides its own derivatives to ASCEND. Restored full test suite for Hydrogen.

Revision

Modified

helm_resid_deldel working now, dpdrho_T fixed. Need to wire in with ASCEND now.

Revision

Modified

Working on dpdrho_T, still looks like problems with Gaussian terms.

Revision

Modified

Fixed initialisation error in helm_resid_deltau.

Revision

Modified

Calculated (dp/dT)_rho, seems to look OK when testing with hydrogen.

Revision

Modified

Removed redundant HelmholtzExpTerm, and corrected nitrogen.c to use HelmholtzGausTerm instead.

Revision

Modified

Expanded the ASCEND interface for fprops to include p,u,s,h,a.

Revision

Modified

Completed hydrogen, passes tests for h,u,s,p,a to high accuracy.

Revision

Modified

fixed helm_resid_tau for calculation of gaussian terms.

Revision

Modified

Fixed hydrogen for helmholtz_p (there was a typo in the power term coeffs!)

Revision

Modified

Debugging hydrogen, checked helm_resid_del values against spread, seem OK...

Revision

Modified

Fixed small bug in helm_resid_tau, but still not correct.

Revision

Modified

Fixed bug in helm_resid_tau for gaussian terms.

Revision

Modified

Note about wrong functions (needing rewrite).

Revision

Modified

Fixed little error with nitrogen after last changes.

Revision

Modified

Added correlations for hydrogen (from thesis of Jacob Leachman).

Revision

Modified

Working on debugging gaussian terms.

Revision

Modified

Adding separate file with basic test routine.

Revision

Modified

Starting work on data structures for 'critical terms' as used in water and hydrogen correlations.

Revision

Modified

Add missing term for phi0 for nitrogen.

Revision

Modified

All tests for ammonia pass to within 5.5% (h, u, s, a, p). Remaining error needs further investigation; it looks that REFPROP's cp0 is not agreeing with Tillner-Roth but this needs to be double-checked.

Revision

Modified

Nitrogen passes all tests now: p, u, h, s, a.

Revision

Modified

helm_ideal_tau seems to agree now.

Revision

Modified

Apparently a problem in helm_ideal_tau with exponential terms?

Revision

Modified

helm_ideal checked against 'simple' function for comparison.

Revision

Modified

Added precalc.c, used by precalc.py for preparing cp0 coefficients from phi0.

Revision

Modified

Reverted ammonia cp0 coefficients to calculated values, rather than hacky curvefit values.

Revision

Modified

Add README for fprops.

Revision

Modified

Fixed water helm_ideal calculation.

Revision

Modified

Added some GPL headers, fixing water helm_ideal coefficients.

Revision

Modified

Adding water to fluids set (for the purpose of debuggin using freesteam code).

Revision

Modified

Worked out that errors in helmholtz_a are linear in T... what to do?

Revision

Modified

More accurate value of the linear constant gives better agreement of h, u for nitrogen.

Revision

Modified

Fixed error in helmholtz_a.

Revision

Modified

More debugging

Revision

Modified

helm_resid seems to agree with spreadsheet now, still perhaps probs with helm_ideal.

Revision

Modified

Nitrogen test spreadsheet.

Revision

Modified

Still working on fixing helmholtz_a.

Revision

Modified

working on debugging helmholtz_a.

Revision

Modified

Added tests for Helmholtz energy, still failing.

Revision

Modified

Remove stderr from default build.

Revision

Modified

Fix offsets for u, h. Still need to fix entropy routines.

Revision

Modified

Comments about difference in cp0.

Revision

Modified

Fixed error in helm_ideal_tau formula.

Revision

Modified

p, u, h working for nitrogen, still problems with s.

Revision

Modified

Maxima macros for ideal gas relations.

Revision

Modified

Fixed evaluation of cp0 for both ammonia and nitrogen now.

Revision

Modified

Fixed up some warnings for non-test mode.

Revision

Modified

Added ideal cp0 values to test data and added calculation function for this. Works for nitrogen but not for ammonia.

Revision

Modified

Working on fixing the ideal component curves so that they calculate directly from the cp0(T) form. Currently broken.

Revision

Modified

Add 'ideal.c' to the compile lists.

Revision

Modified

Split out ideal curves from helmholtz.c.

Revision

Modified

Add more to validation spreadsheet.

Revision

Modified

Working on helmholtz_h with nitrogen.

Revision

Modified

Cleaned up helmholtz_resid_del, seems to be fixed now.

Revision

Modified

Add validation spreadsheet.

Revision

Modified

tighter nitrogen error tolerance for helmholtz_p.

Revision

Modified

Fixed calculation of nitrogen helmholtz_p.

Revision

Modified

Fixed test data for ammonia p,h,s: agreement to 0.09% for all values.

Revision

Modified

Getting closer with nitrogen test data.

Revision

Modified

Added 'exponential' terms for nitrogen correlation (still testing).

Revision

Modified

Fixed helm_resid and helm_resid_tau.

Revision

Modified

Checked in generalised version of ideal gas component. Working on adding the 'exponential' term for the Nitrogen correlation.

Revision

Modified

Adding nitrogen properties (ongoing)

Revision

Modified

Converted ammonia data and tests into a separate file.

Revision

Modified

Refactor helm_resid_tau.

Revision

Modified

Fix copyright date.

Revision

Modified

All tests pass to max error 2.0% (errors for low temperature liquids)

Revision

Modified

Added entropy relation and tests. All entropy tests pass to within 0.03%.

Revision

Modified

Fixed some problems with helmholtz_h.

Revision

Modified

Test cases for helmholtz_p now passing, need to fix helmholtz_u.

Revision

Modified

Fixed: tests for pressure relation are working now.

Revision

Modified

Added functions for enthalpy and internal energy. Test suites still needed!

Revision

Modified

Added helmholtz_u and helmholtz_h, still require testing.

Revision

Modified

Testing of ammonia p(rho,T) relation.

Revision

Modified

More on helmholtz functions.

Revision

Modified

Added on_load method to test model. Added simple SConstruct to demonstrate building library independently.

Revision

Added

Added new code for calculating properties according to modified BWR correlation, also some initial work on Helmholtz free energy correlation.

john.pye@anu.edu.au | ViewVC Help |

Powered by ViewVC 1.1.22 |