cantera/test_problems/cathermo/testIAPWS
Ray Speth a6f939c2fe Applied consistent formatting to all C++ code
Done using astyle:
astyle --style=kr --add-brackets --indent=spaces=4 --indent-col1-comments --unpad-paren --pad-header --align-pointer=type --lineend=linux
2012-02-10 17:24:00 +00:00
..
Makefile.am [cantera]: all files are now on the same (correct) linkage page 2012-02-06 20:41:16 +00:00
output_blessed.txt Changed the blessed file, to reduce the precision. 2008-03-31 21:55:37 +00:00
README Added the first test for IAPWS 2006-07-04 00:21:28 +00:00
runtest [cantera]: done with tests in cathermo 2012-02-02 22:18:30 +00:00
testIAPWSphi.cpp Applied consistent formatting to all C++ code 2012-02-10 17:24:00 +00:00

This test is used to make sure that the basic functions in
the water property routine satisfies the derivative tests
specified in the paper:

W. Wagner, A. Prub, "The IAPWS Formulation 1995 for the
Thermodynamic Properties of Ordinary Water Substance
for General and Scientific Use," J. Phys. Chem.
Ref. Data, v. 31, 387 - 442, 2002.

On page 436 of that reference, value for phi, the nondimensional
helmholtz free energy and its first and second derivatives,
are given at 2 representative points. This test makes sure
that the values agree with the paper's values.