HOME |
Light Water Approximations
|
|
Three articles on the approximation functions for the properties of
H2O have been published and associated computer code has been produced:
- Approximate Functions for the Fast Calculation
...
- Simple Functions for the Fast Approximation ...
- Extensions to the Approximation Functions ...
- The FORTRAN program (including source code) for the light water approximations.
- Errata: In file H2OPROPA.FOR there are typos. In the function DPDT(T), replace
- '... .AND. P .LT. ...' with '... .AND. T .LT. ...' in 2 places. Hat tip to
Victor M. Calo for catching the error.
- The C code (including source code) for the above plus a simple thermal hydraulic loop simulation. This was produced in part by a former student.
- If you download the
FORTRAN or C code, please send an email to Bill Garland so that you can be kept up to date on revisions.
- See the journal publication page for the full papers ( J6, J8, J13).
Note: These papers are password protected because to copyright restrictions. Individuals can contact me for further information.
Water Properties in Excel:
- Based on the above water property fits, Excel spreadsheet functions were created by Glen R. McGee using Visual Basic for Applications (VBA) to calculate water properties. This is recommended to anyone using Excel to analyse thermalhydraulic data.
- ReadMe file (pdf 12kb) - supporting documentation, short but contains important and useful information.
- T_mach2o.xls (xls 86kb) - sample file containing the functions in action.
- sample-wjg.xls (xls 340kb) - another sample file showing the functions in action and a comparison to the IAPWS funtions, also included (see below).
Other available light water property software include:
- IAPWS Water97_v13.xla – Excel Add-In for Properties of Water and Steam
in SI-Units authored by Bernhard Spang, Hamburg, Germany
available at http://alexmichinel.com/index.php?p=1_9 or http://www.falchemist.com/2010/automation/vba/steam-tables-in-excel-vba/
- These IAPWS functions are unquestionably the more definitive ones over the McMaster based ones. For heavy number crunching where speed is of the essence, or where analytical slopes are needed, or where smooth transitions across the saturation line are needed, the McMaster based fits are the better bet perhaps.