86 Chapter 3 Evaluating Properties
Software complements and extends careful analysis, but does not substitute for it.
Computer-generated values should be checked selectively against hand-calculated,
or otherwise independently determined values.
Computer-generated plots should be studied to see if the curves appear reasonable
and exhibit expected trends.
3.3.4 Examples
In the following examples, closed systems undergoing processes are analyzed using the energy
balance. In each case, sketches of p–v and /or T–v diagrams are used in conjunction with
appropriate tables to obtain the required property data. Using property diagrams and table data
introduces an additional level of complexity compared to similar problems in Chap. 2.
IT provides data for substances represented in the Appendix tables. Generally, data are
retrieved by simple call statements that are placed in the workspace of the program.
for example. . . consider the two-phase, liquid–vapor mixture at state 1 of Example
3.1 for which p 1 bar, v 0.8475 m
3
/kg. The following illustrates how data for saturation
temperature, quality, and specific internal energy are retrieved using IT. The functions for T,
v, and u are obtained by selecting Water/Steam from the Properties menu. Choosing SI units
from the Units menu, with p in bar, T in C, and amount of substance in kg, the IT program is
p = 1 // bar
v = 0.8475 // m
3
/kg
T = Tsat_P(“Water/Steam”,p)
v = vsat_Px(“Water/Steam”,p,x)
u = usat_Px(Water/Steam”,p,x)
Clicking the Solve button, the software returns values of T 99.63C, x 0.5, and u
1462 kJ/kg. These values can be verified using data from Table A-3. Note that text inserted
between the symbol // and a line return is treated as a comment.
The previous example illustrates an important feature of IT. Although the quality, x, is im-
plicit in the list of arguments in the expression for specific volume, there is no need to solve
the expression algebraically for x. Rather, the program can solve for x as long as the num-
ber of equations equals the number of unknowns.
Other features of Interactive Thermodynamics: IT are illustrated through subsequent ex-
amples. The use of computer software for engineering analysis is a powerful approach. Still,
there are some rules to observe:
the capability to input user-supplied data.
the capability to interface with user-supplied routines.
The software is best used as an adjunct to the problem-solving process discussed in
Sec. 1.7.3. The equation-solving capability of the program cannot substitute for care-
ful engineering analysis. You still must develop models and analyze them, perform lim-
ited hand calculations, and estimate ranges of parameters and property values before
you move to the computer to obtain solutions and explore possible variations. Afterward,
you also must assess the answers to see that they are reasonable.