Welcome Navigation Approach TEST Approach TEST-Code
(Daemons are sub-divided into these 12 sections. States, the current topic, is the best place to start.)
STATES Closed Process Closed Steady Open Steady
Open Process Closed Cycle Open Cycles States-II
HVAC Combustion Equilibrium Gas Dynamics
(Each section above is divided into two sub-sections - Manual and Applications.)
You are currently on the Manual page Applications

(This page is still under development)
Daemons>States and Properties> Manual


 

What is a state?
 
 
 
 

Thermodynamic 
systems.
 
 
 

Local Thermodynamic
Equilibrium or LTE.
 
 
 
 
 
 

A local state is a set of attributes that describe the LTE.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

State as an image - an analogy.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
  Volume vs. surface state.
 
 
 
 
 
 
 

a. Thermodynamic States: Now that we have covered how to navigate TEST and seek out the appropriate daemon for a given problem, let us visit a few  daemons . Obviously the best place to start is the state daemon ,  the foundation from which all system daemons are built. But first, let us briefly discuss what a thermodynamic state is.

In thermodynamics we deal with systems, which are defined as anything (e.g. a block of copper, a piston-cylinder device, a nozzle, a combustion chamber, an entire power plant etc.) with a clearly defined boundary. 

The working material within the system may be stationary and uniform (a block of copper at rest) or dynamic and non-uniform (a steam turbine). However if you imagine a local neighborhood  at a point - (well, not quite a point but, say, a micron sized cube)- at a given instant (again, not quite an instant but, say,  a microsecond duration), there are are still so many billions of molecules and so many trillions of collisions (or other means of energy exchange),  that a dynamic (force balance), thermal  (temperature balance) and chemical  (chemical balance) equilibriums are almost instantly established in that neighborhood. Under this triple equilibrium, also known as the local thermodynamic equilibrium or LTE., the properties  (observable characteristicssuch as the temperature or pressure) of the local system assume stable values that would not change with time were the local system instantly isolated from its surroundings.

The LTE, at a given point at a given time can be characterized by a set of attributes or properties which is called a thermodynamic state .  The list of state variables (p, T, rho, v, u, h, s, V,  etc.) that comprise a state can be quite long and may depend on the working substance, velocity and location of the observer, and even the system configuration. Evaluating a  state amounts to determining the associated state variables. Fortunately not all the state variables are independent, they are related by the equations of state making the task of state evaluation a little easier. For two states to be identical the two sets of state variables must be identical. If even one of the properties between two states are different, the states are different.

Before we start with a few concrete examples, let us draw a familiar analogy. Suppose the computer screen is a thermodynamic system where the color and brightness of each pixel is determined through  local thermodynamic equilibrium. In that case a pixel represents a little local neighborhood or the local system, and the color and brightness attributes of the pixel are the state variables. Other state variables may include the red, green, blue or gray levels, not all of which are independent and can be inferred from the color relations (equations of state). Just like an image occupying the entire screen is made up of states of  individual pixels, the state of a large system at a given instant can be expressed as an ensemble of its local states at that instant. Carrying this analogy further, we can imagine a state camera analogous to a digital camera capable of capturing the state of a system. Instead of recording the intensity of red, green and blue colors, it records the set of variables that describes the LTE at each little neighborhood. The state image captured by a state camera of a block of copper at a uniform temperature can be quite dull (a single state everywhere similar to a blue screen of death for a PC screen), while that of the turbine startup will be quite colorful with the image rapidly evolving to a complex pattern as the turbine revs up. 

We will revisit this analogy time and time again when discussing different types of systems in later chapters. 

b. Volume and Surface States: When we evaluate a state, say, at a turbine inlet, we evaluate the state at the inlet port at a given instant. It is assumed that the state   does not vary across the cross-section.  Such states are called a surface state in TEST. Similarly, when we say that a gas in a piston-cylinder device is at a particular state , it is assumed that the system is uniform so that a single state describes the entire system. This is called a volume state.


The Steam Table Daemon
Fig.1 Volume and Surface states are extension of the core thermodynamic state. 

 

 

  

Classification of Properties














































Six classes of
working substance.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Fig. 2.1 A typical thermodynamic plot (T-v) showing a number of states in different regions. 

c. State Properties: Not all  state attributes are of equal significance. A property is a state variable that does not depend on the history of the system. If a state of a local system at an instant is know, the properties there will have unique values irrespective of what this system has gone through up to this moment.

Some properties , such as molecular mass, critical temperature, enthalpy of formation etc., depend on the nature of the working substance and do not change with location or time in a given system. Such properties are intrinsic to the material of the working substance and are called Material Properties. An important material property is the molecular mass, MM , defined as the mass of a kmol (or pound mole) of the material, a kmol (or lbmol) being a standard number (Avogadro Number) of molecules chemists prefer to use to count the multitude of molecules or atoms just as a dozen is preferred for counting eggs in a super market. The total amount of matter can be expressed through mass m or the number of kmols n=m/MM .

Properties such as temperature T , static pressure p , specific volume v , density rho , internal energy u , enthalpy h , entropy s etc., are  independent of the frame of reference. The velocity or location of the observer will not change the value of such properties intrinsic to the thermodynamic state. They are called the thermodynamic properties and are tabulated in thermodynamic tables found at the appendices of most textbooks.  The best way to measure thermodynamic properties is to move with the flow, if any, at the location of interest so that there is no dynamic effect. Some of the properties are derived from others:  rho=1/v and h=u+pv are thermodynamic  relations which are always true.

There are quite a few dynamic properties, such as the velocity,  the kinetic energy, the dynamic pressure etc., that depend on the velocity of the observer. There are others such as the potential energy that depend on the location of the reference point or datum. They are called the extrinsic properties . The velocity Vel , height z from a common reference point called the datum, specific kinetic energy k.e.=Vel^2/2 , specific potential energy p.e.=gz , specific total energy e=u+ke+pe , and specific total enthalpy j=u+ke+pe   are examples of extrinsic properties.

There are some other variables, such as the total mass m , volume Vol , area of cross section A of a pipe, or the mass flow rate mdot=rho*A*Vel , which depend on the state as well as system configuration. They are called the System Properties .  Some of the system properties appear as part of the state daemon in TEST. 

Sometime the same variable can be classified in different ways depending on how a working fluid is modeled. Density for instance, can be a material property for a solid and a thermodynamic property for a gas. The extrinsic properties e and reduce to thermodynamic properties u and h if the kinetic and potential energy changes are negligible in a problem.

Another way to classify the state variables is to consider if the attributes are additive or not. Variables such as temperature, pressure, velocity, density etc., which are not cumulative in nature are called intensive variables, while variables such as mass, volume, internal energy, enthalpy, entropy etc. are additive and are called extensive. If an overall system represented by a single state is divided into any number of sub-systems, the temperature, an intensive variable, is identical between the overall system and the individual sub-systems, while the volume, an extensive variable, of the overall system is the sum of the volumes of the sub-systems. 

It is customary in thermodynamics to express the total amount of an extensive variable with capitalized symbols, Vol, U , H, S etc., and to reserve the lower-case letters for intensive properties p , x, y  etc. The notable exceptions are temperature T, the total mass m,  and the total number of moles n . When the extensive properties are expressed on unit mass basis (for instance, kJ/kg for energy) - v (=V/m), u(=U/m ), h(= H/m) , and s (= S/m for example - they are called specific properties If expressed on the basis of unit mole (kJ/kmol for energy) , they are called molal specific properties . The generic symbol phi is used to represent any specific properties. Other symbols adopted are Vel for velocity, ke (= Vel ^2 ) for specific kinetic energy and pe (=gz , z being the height of a local system from a standard datum) for specific potential energy, KE (=m * Vel^2 ) for total kinetic energy and PE (=mgz ) for total potential energy.
 

d.  Modeling the Working Material: All working materials analytically treated by engineering thermodynamics must be modeled as a pure substance , a substance with a fixed chemical composition (spatially). Moist air, a mixture of dry air and water vapor,  steam, a mixture of saturated liquid and saturated vapor, pure nitrogen, they all satisfy the definition of a pure substance. Further classification depends on how the thermodynamic properties are found. A brief discussion of different categories and the underlying thermodynamic models is given below. Once the thermodynamic properties are found, the rest of the state variables

1 Solids/Liquids (SL) : When all the states of interest involve a pure solid or a liquid (pure means fixed chemical composition, an alloy therefore is a pure solid) without any possibility of a change of phase, this is the model of choice. In this model rho (=1/v) is a material property and u and s are function of temperature only. 

Solid/Liquid Model: u2-u1=c(T2-T1), rho=constant ; All other thermodynamic properties are derived from basic thermodynamic relationships such as h=u+pv and the Tds relation.

2 Phase-Change Fluids (PC): In many situations, the working fluid may exist in different phases - liquid, vapor or a mixture of the two - for the states of interest. The working fluid, called a phase-change fluid under these circumstances, may exist as a  supercooled liquid (also called compressed liquid), saturated liquid, saturated vapor, superheated vapor or a saturated mixture of liquid and vapor. States are computed by interpolating property data from the saturated table and the superheated table with a simplified model used for the supercooled liquid. 

Supercooled Model: phi=phi_f(T), where phi stands for specific properties and the subscript f signifies saturated liquid. All other thermodynamic properties are derived from basic thermodynamic relationships such as rho=1/v; h=u+pv and the Tds relation.

By convention the locus of the saturated liquid states is called the f-line and the locus for the saturated vapor states the g-line (see Fig. 2.1). The critical point is the state, state-7 in Fig. 2.1, at which the two lines meet and the properties there are called critical properties. At pressures above the critical pressure p_c, there is no clear demarcation between the phases suggesting a continuos change of phase. But at temperatures below the critical temperature T<T_c (and p>p_c) the fluid is assumed to be liquid by convention. 

Under high pressures (p>p_c ), the supercooled model may not be accurate and direct interpolation from supercooled liquid table is preferred. In TEST, the "*" suffix is used after the material name (H2O* , for instance) whenever such tables are used in the liquid region. 

The Steam Table Daemon

3  Ideal Gas (IG) : Superheated vapor at  high temperatures (relative to the critical temperature) or low pressure (relative to the critical pressure) obeys simplified equations of states and is called a gas. A gas that follows the ideal gas model, described below, is called an ideal gas. Although the term 'ideal' may suggest idealized behavior under artificial conditions, the accuracy of this model is quite adequate for engineering purpose, especially at temperatures above twice the critical temperature and pressure below one tenth of the critical pressure.

Ideal Gas Model: pv=RT,  where the species-specific gas constant  R can be expressed as R=Rbar/M , where Rbar is the universal gas constant with a value of 8.314 kJ/kmol.K in SI units. u=f(T) or more precisely du=c_v*dT , where c_v is the specific volume at constant volume, a thermodynamic property that is also a function of temperature. Once u is tabulated or obtained by integrating the c_v vs. T relation for a given ideal gas, all other properties can be derived from basic thermodynamic relationships such as rho=1/v; h=u+pv and the Tds relation.
 

4  Perfect Gas (PG) : In many practical problems involving gases, the temperature variation may not be significant (tens of degrees as opposed to hundreds or thousands of deg-C). The variation in  c_v, therefore, can be neglected to simplify the ideal gas model further. Because variation of cv with T arises from  molecular activities (such as rotation or vibration of the atoms), mono-atomic gases such as He, Ar, Ne, etc. with simplified single-atom molecular structure (it takes at least two atoms in a molecule for vibrations or rotation, it takes two to tango) exhibits a constant c_v at all temperatures. If c_v can be regarded as a constant, an ideal gas can be modeled as a perfect gas.

Perfect Gas Model: pv=RT, where, R=Rbar/M; u=f(T) or more precisely u_2-u_1=c_v(T_2 -T_1), where c_v is a material property. All other thermodynamic properties can be derived from basic thermodynamic relationships such as, rho=1/v;h=u+pv and the Tds relation.
 

5  Real Gas (RG) :  Deviation from ideal gas behavior can be quantified through the compressibility factor Z=v/v_ideal, which can be correlated to the non-dimensional pressure (reduced pressure p_R=p/p_cr )  and temperature (reduced temperature T_R=p/p_cr ) through the use of universal generalized compressibility chart. The generality, covering all fluids with known critical properties over a huge range of temperature and pressure, brings about lack of high accuracy. The real gas model is, therefore, applied to a fluid as a last resort when the ideal gas assumption is invalid (at very high pressure or very low temperature), and/or phase-change tables are not available. Gas under almost any condition, vapor or even liquid can be treated as a real gas if an approximate answer is all that is sought. 

Real Gas Model: pv=zRT, where, R=Rbar/M z=f(T_R, p_R).The departure of u and s from their ideal gas limit is correlated to the reduced temperature and pressure. The rest of the thermodynamic properties can be derived from basic thermodynamic relationships such as, rho=1/v; h=u+pv and the Tds relation.
 

6  Mixtures :  A Mixture of two or more working fluids within a given category can qualify as a pure substance provided it has a uniform chemical composition. Mixtures of solids or liquids are treated in TEST as custom substance with user-specified material properties. A Mixture of gases and all its components must follow the same gas model. If there are only two components A and B, the resulting binary mixtures can be represented with the help of an additional material property mass fraction x_A=m_A/m (or the mole fraction y_A=n_A/n). All other material properties can be derived through suitably averaging of the component properties. The rest of the properties are obtained following the underlying gas model.

Mixture of any number of gases are handled by the General Mixture model. Once the mixture is specified, it is frozen for a given problem. More on this daemon in can be found in the States-II section.

Moist air is a special mixture of dry air and water vapor, each treated as an ideal gas, and is discussed in the Psychrometry chapter.

Modern refrigerants are sometimes derived by mixing components that are phase-change fluids. Such mixtures of phase-change fluids creates a variable saturation pressure at a given saturation temperature. Although these mixtures are not generally covered in textbooks, TEST handles many of such refrigerant mixture under the same category as other phase change fluids. In TEST  a % suffix is added at the end of such mixtures (R-407c% for instance). 



 

 
 

Phase-Changer?
 
 
 
 
 

Ideal-Gas?
 
 
 
 
 
 
 
 

Perfect-Gas?
 
 
 
 
 
 
 
 
 

Real-Gas?
 
 
 
 
 
 
 
 
 
 
 
 

Solid or Liquid?
 
 
 
 
 
 

Mixture?
 
 
 
 
 
 
 
 
 

One fluid, many models!

e. Approach to Classify a Working  Substance

If the working substance is not a solid, treat the fluid as phase-changer,  provided  saturation and superheated tables are available (TEST : Material must be listed in the phase-changer database). 

If the working fluid is gaseous and no phase-change tables are available, start with the ideal gas model. For T>2T_cr or p<0.01p_cr, this model yields quite reasonable results. Because  cv and cp are temperature dependent, you may still need ideal gas tables or functional correlation between cp and T , and material property M to determine the specific properties  (TEST: The particular gas must be listed in the ideal gas database).

If the gas happens to be a noble gas (He, Ar, Ne etc.) or the temperature variation in the problem of interest is not large, use the perfect gas model. All the ideal gas assumptions are retained for a perfect gas; moreover, cv and cp are constant producing simpler formulas for the evaluation of specific properties. You will need the material property cp and M to determine the specific properties  (TEST: If a particular gas is not in database, you can create a custom gas by specifying the material properties).

If the ideal gas assumptions breaks down because T<2T_cr and/or p>0.01p_cr, and there are no phase-change tables available, try the real gas model as the last resort. This is quite an universal model capable of handling  gas, vapor, liquid-vapor mixture and even liquid phase. Of course, such generality comes at the expense of accuracy. The critical properties, the generalized compressibility chart and the enthalpy and entropy departure charts must be available to apply the real gas model (TEST: The particular gas must be listed in the real gas database).

If the phase of the working substance is consistently a solid or a liquid with no possibility of a phase change, the solid/liquid model is applicable.  You will need the material properties rho and c to determine the specific properties  (TEST: If a particular solid or liquid is not available, you can create a custom solid or liquid by specifying the material properties).

If the working substance has multiple chemical components, it still can be treated as a pure substance, a mixture ,  provided the components belong to a single category above. If chemically different components from different categories are mixed, say liquid nitrogen (real gas or phase-change model) and gaseous oxygen ( ideal gas or perfect gas), the resulting mixture is not a pure substance , a prerequisite for classical thermodynamic treatment.

f. What Model to Choose? Sometime a working fluid can fall under different categories. For instance H2O can be found in the Solid/Liquid, Ideal Gas, Perfect Gas, Real Gas and Phase-Change categories. Unless there is any particular reason for using a specific model, use the following order in choosing a model: phase-changer, soild/liquid, perfect gas, ideal gas, real gas, mixture. The simplest model for liquid water in a pumping problem is the solid/liquid model. However, if the possibility of a phase change exists (pumping saturated water for instance), a phase-change model would be much more accurate. Water vapor in moist air can be treated as a perfect gas without any lack of accuracy. The ideal gas model is suitable in combustion problems because the temperature variation can be significantly large. The real gas model, despite its lack of accuracy, can be very useful in regions not covered by the phase change tables and for fluids for which tables are not available.



 
The Steam Table Daemon
Fig. Image of the Daemons.States.Volume.Phase-Change  page. 


 

The steam table.



 
 

The tab buttons.
 
 
 
 
 

Global controls.

g. The State Daemons: The State Daemons are at the core of all TEST daemons, and learning how to use just one of those effectively is the key to understanding all others. You will find two flavors of state daemons: the volume state and the surface state daemons, which characterize the states in a uniform control volume and a uniform flow cross-section respectively. Let us discuss a volume state daemon shown in Fig. 1 in some details. As you read on, try to experiment with a live daemon on the primary window.

Most
State Daemons look alike, so always double check the name of the working substance from the hierarchical page name and the Title Panel , the first panel of a daemon. The next panel, called the Tab Panel contains a row of buttons that work as tabs with the current tab highlighted in a yellow background. Click the I/O tab and see how the state panel get replaced with on-line instructions. Click the States tab to get back to the state panel.

The next panel, called the Global-Control Panel,  contains a few global control buttons, which will be discussed later. The radio buttons Mixed and SI , and  English allow used of any combination of units,  the System International (often, mistakenly, referred to as the Metric system) or the English system. Units can be changed at any time during a problem solving session.



 

 
 

Local controls.
 
 
 
 
 
 
 
 

Widgets are windows gadgets.

h. The State Panel: Tucked in between the  Global-Control Panel and the Message Panel at the very bottom, is  the State Panel . The first row of controls, consisting of two buttons, two choices and a textfield  is the Local-Control Panel. Slowly move the pointer over any widget and a description appears in the Message Panel (the textfield at the bottom with a light blue background). While working with a daemon , keep an eye on this panel for warnings, error messages and solution tips. 

The lower part of the state panel gives a definition of the extended state used in TEST. The main body consists of a group of widgets representing state variables such as pressure, temperature etc. Notice that the symbols, p, T, x etc., are followed by a numeric suffix, the state number. If you choose a different state, say, State-2, from the State Choice (next to the Calculate button) of the Local-Control Panel , the suffix after the symbols changes to 2 globally. 



 

 
 

State variables
or properties.
 
 
 
 
 
 
 
 
 
 
 
 

Variable-widgets.

At first it appears that there are way too many state variables in the State Panel, making it cumbersome to locate a variable of interest. But as you gain experience with TEST , you will realize that the variables are listed in the same order in all the daemons, and variables that seem superfluous may play an important role in a different problem.  For instance, the quality x, the third variable on the first row, is an important variable for a two-phase mixture. What about the unconventional variable y ? Move the pointer slowly over the y-widget and its definition and unit, Vapor Volume Fraction (y=Vol_vap/Vol): %, appears on the Message Panel. 

Suppose we would like  to evaluate the enthalpy, h ,  of steam at a pressure of 100 kPa and a quality of 0.5. 

Note that every variable-widget has four components: a checkbox, the variable symbol with the state suffix, a value field and a unit choice. On the primary window choose a state, say, State-1 from the State Choice. Click the p1-box to turn on the p-widget . The background color of the variable-widget becomes lighter (your monitor must be set to display 32-bit color), the variable symbol changes font (p1 to  p1), the unit changes color (kPa to kPa ) and the background of the value field becomes yellow with the cursor appropriately positioned for you to type in a value. If you turn-off (by un-checking the box) the p-widget , it goes back to its original format. Now turn on the  p-widget and x-widget (do not bother to enter the values at this point). Now try turning on the T-widget . The daemon does not allow you to do so (with appropriate message on the Message Panel ) because one cannot independently specify pressure, quality and temperature of a two-phase mixture. 

Now enter pressure by clicking on the value (yellow) field to position the insertion cursor and then typing in the value 100   for p1   (you do not need to hit 'Enter'). To enter quality as a fraction, type in .5 and change the  unit from % to fraction by choosing the desired unit from the Unit Choice.



 
State panel of the Smart Steam Table
Fig. 3 Clicking the checkbox of a variable can turns it on (ready for input) or off (make
it an unknwn).

 

 
 

Calculate a state
 
 
 
 
 
 
 
 

Switch units.
 
 
 
 
 
 
 
 

Use any 
independent set of variables.

To evaluate the state, simply click the Calculate button. The phase composition of the mixture (liquid, superheated vapor or two-phase mixture) is displayed on the textfield of the local-control panel, and all the variables including enthalpy, that could be calculated from the given input, are displayed. A curious student of thermodynamics may notice the value of y   and, realizing that the liquid phase occupies only 0.06% of the volume while contributing 50% of the steam mass, wonder how foggy the steam looks. 

The desired variable, enthalpy h, is shown to have a value of 1546.36 kJ/kg.  To express it in another unit, say, cal/g, simply choose the desired unit from the unit choice and the unit conversion is done on-the-fly producing a value of 396.325 cal/g for h. If you click on the English radio-button, the entire state is converted to english system. Now go back to SI units by clicking the SI button.

Now, suppose instead of known p and x, p and h are supplied for the same state and we are to determine x. Simply turn-off x and click on the h-checkbox. The value of h remains unaltered (you do not have to type it in again). Calculate the state to find x to be 50%, the expected result. Now suppose h and s are supplied instead. As you Calculate the state following the same procedure x is evaluated as 50% and the pressure as 100.025 kPa. The 0.025% error in p is an acceptable price to pay considering how laborious it is to manually evaluate p from a given pair of h and s (you do not even know whether to start at the superheated table or the saturation table).


Phase 
determination.
 
 
 
 
 

Algebraic 
expressions
 
 
 
 
 
 
 
 
 
 
 
 
 

Thermodynamic 
plots

The state daemon determines the phase composition as part of the solution. But what if you know the phase composition? How, for instance, do you evaluate the state if steam becomes saturated vapor at the same pressure as in the previous example?  For that choose State-2 from the State Choice . Saturated vapor implies that the quality x is 100%. Enter x2 . Instead of entering the value of p2 as 100 kPa, use the algebraic relation =p1 in the value field. A Calculate finishes up the job.

You can use any valid algebraic expression using the following syntax. Start all expressions with the = sign. To use a state variable in an expression, the symbols used in the daemons must be respected (pressure at state 5, for instance, must be expressed as p5, not pressure5 or P5). Examples of valid expressions are: = p3 , = h+p*v , = h + p *v , =200 , =p3*Vol3^1.4/ p2 , =(h2-h1)/(h3-h1)

Suppose we are interested in a third state, isentropic to state-2 at a pressure 10 times that of state-1. Choose State-3 from the state selector, enter p3 as =10*p1 and  s3 as =s2 , and Calculate

Calculated states are automatically saved in a stack and can be recovered by simply choosing the state number from the State Choice . The calculated states can also be shown on a variety of thermodynamic plots such as T-s , h-s , p-v etc. Simply choose the desired plot from the Diagram Choice situated next to the State Choice in the local control panel (see Fig. 2 below).
 



 
 
The Steam Table Daemon
Fig. Image of the Daemons.States.H2O  page.  The calculated states are plotted on a T-s
diagram in a floating window.

 

 
 

Multiple solutions.
 
 
 
 
 
 
 
 
 

State properties are
color coded for easy identification.

Sometime there are multiple solutions for a given pair of state variables, s=4.45 kJ/kg.K and  x=50% for instance. Choose State-4 from the State Choice . Enter s4 and x4 and Calculate . Notice that the a warning appear on the Message Panel about the existence of multiple solutions in the message panel. A two-phase mixture at several pressures may have the same entropy. 

There is a reason why different colors are used to display the  Variable Symbols  in the State Panel .  The first group of variables,  p through s, are the Thermodynamic Properties (in blue), which do not depend on the velocity or position of the observer. Variables Vel through j , are evaluated relative to the frame of reference and are called the Extrinsic Properties (in green) , useful for engineering problem solving. The third group of variables, displayed in black, depends on the system configuration (such as volume or area of cross section etc.) and are called the System Properties (in black). Variables Vel and z have a default value of  zero in most daemons, which can be changed by turning the variable widget off and then back on. Some state daemons, such as the ideal gas state daemon, contain state variables (such as molecular mass) that are intrinsic to the material and are called the Material Properties (in red) .



 

 

The Super-Calculate button.

i. The Super-Calculate Button: The Super-Calculate button recalculates all the States from the given information in two or three passes.

It produces a detailed printer friendly output on the Instructions/Output window. By copying the content of this window (see Fig. 4) to any word processor, one can print or record the details of the calculations. 

It also produces a table of properties (for the calculated staetes) that can be copied into any spreadsheet for further processing. 

And, finally, a few lines of TEST-Codes are produced that can be used to instantly reproduce the visual solution at a later session. For more information, read theo TEST-Codes section in this Tutorial. 



 
The Steam Table Daemon
Fig. Image of the I/O window displaying the TEST-Codes generated by the solution.

 

 
 
 
 

What-If scenarios.

j. Parametric Studies: Suppose we would like to repeat the previous calculations, this time for a different initial pressure, say, 300 kPa. Load State-1 from the state selector, change p1 to 300 kPa. Calculate the new state. To propagate the change in State-1Super-Calculate button. Had we used absolute value of pressures in the calculations of all the three states, we would have been forced to change each pressure separately. To take maximum advantage of this button, algebraic relations should be used wherever possible.

Because all the variables are visually exposed, any coceivable combination of variables can be changed in a parametric study. The working fluid can be changed in a similar manner. Just choose a different fluid from the fluid selector and Super-Calculate the entire solution.

The Super-Iterate button is used in rare situations, whereby states are related in such convoluted manner that further iterations are necessary after the use of the Super-Calculate button. The Super-Initialize button initializes all the calculated states so that one can start all over.  The Load button is for loading TEST-Codes for regenerating an existing solution. It is quite useful for sharing solutions in a peer group. Also if the working fluid model is to be changed (for instance, treating R-134a as a real gas vs. a phase-change fluie), the TEST-Code can transport the solution without having to enter all the input variables all over again.




You are currently on the Manual page Applications

Copyright 1998-2003: Subrata Bhattacharjee