Steam Tables (and Thermodynamic Properties of Fluids In General)

A little while ago I was ruminating on the subject of needing to know the thermodynamic properties of materials before you could do simulations of those materials. I therefore figured I’d spend the week dusting off some old functions I’d written for the saturated thermodynamic properties of steam and implementing them as a web page using Javascript and jQuery. That work is proceeding but let me describe how I produced the functions themselves.


I started by using a curve fit program I’d written to develop functions of the thermodynamic properties of saturated water in its liquid and gaseous forms.  The fit program could also generate functions for the first three derivatives of the originally fit functions in many cases, although it was rare to ever employ more than the first derivative. In order to make reasonable curves I had to do the fits piece-wise over the applicable range of temperatures and pressures.  The resulting functions looked something like this:

The functions can be written more efficiently but this is the closest translation from the original Pascal.  If I chose to continue using these tools I would make them far more efficient.

This entry was posted in Simulation and tagged , , , , . Bookmark the permalink.

Leave a Reply