steam_nbs


steam_nbs, a Fortran77 code which contains steam table functions devised by the Nation Bureau of Standards (NBS). This version of the code is (almost) unchanged from the original release. It can be useful when checking the revised Fortran90 version.

The code contains routines for computing various physical properties of water, related to temperature, pressure and density. Most of these routines use a standard set of SI units.

Minor changes have been made to the Fortran77 code, because of changes in the Fortran standard. In particular, in many places, the original code terminated a DO loop with a labeled statement which was neither an END DO nor a CONTINUE. These cases have been dealt with by inserting a following CONTINUE statement to which the label has been transferred. The code ought to compile now with no warnings or errors.

Licensing:

The information on this web page is distributed under the MIT license.

Languages:

steam_nbs is available in a Fortran77 version a Fortran90 version.

Related Programs:

steam, a Fortran90 code which is based on the original Fortran77 NBS steam table package;

steam_nbs_interact, a Fortran77 code which queries the NBS steam table package;

test_values, a Fortran90 code which stores selected test values of various functions, including certain functions approximated by the steam table.

Reference:

  1. Lester Haar, John Gallagher and George Kell,
    NBS/NRC Steam Tables: Thermodynamic and Transport Properties and Computer Programs for Vapor and Liquid States of Water in SI Units,
    Hemisphere Publishing Corporation, Washington, 1984, TJ270.H3
  2. C A Meyer, R B McClintock, G J Silvestri, R C Spencer,
    ASME Steam Tables: Thermodynamic and Transport Properties of Steam,
    American Society of Mechanical Engineers, 1967.

Source Code:


Last revised on 17 June 2024.