^{Hydrogen Properties for Energy Research (HYPER) Lab}

_{Dr. Jacob Leachman}

## Welcome to the ME 527 Macroscale Thermodynamics Page

ME 527 Macroscale Thermodynamics is a classic course at WSU that compliments ME 526 Microscale Thermodynamics (a.k.a. Statistical Thermodynamics). Macroscale thermo covers three key topics:

**A rigorous review of Thermodynamic Law**from the introductory thermodynamics courses. Emphasis is on process — from system definition, assumption application, and derivation of balances. After this, a graduate student should feel comfortable teaching the beginner course with a mastery of the thermodynamic problem solving process. We cover what is easily solvable by hand, and quickly understand how and why software is so important in thermodynamics.**The structure of thermophysical properties**— understanding where thermophysical properties come from, definitions, inter-relationships, and equations of state for pure fluids and mixtures.**Entropy/Energy system optimization**— using Bejan’s constructal theories in his Advanced Engineering Thermodynamics textbook we will optimize the structure of systems from fundamental law. Snowflakes, trees, energy grids — nothing that follows the laws of thermodynamics is off limits.

Here is the course syllabus for Spring 2018: ME 527 syllabus Sp2018 In the sections below you’ll find summaries and key takeaways from the course.

## Reviewing the Laws of Thermodynamics

It may indeed be law that all legalistic processes optimize into a tree-like hierarchy. This, in a sense, is the essence of Bejan’s “Constructal Law” that all systems, when left free to optimize, will become tree-like. Over the years the laws of thermodynamics have done something similar. Here is my thermodynamic process decision tree that can solve basically any thermodynamic problem:

I know, it’s overwhelming if you’re not comfortable with thermo. Rather than thinking about this as a decision tree, let’s break it down into a process defined by the following layers:

**System definition**: You basically have four options — open or closed to mass flow, and with either an open or closed system you can do an incremental or rate balance. Draw a line showing this system and the relevant flows that cross the system boundary.**List your assumptions**: When you get good at this, your assumptions will list out in a natural order that allows you to simplify your balance. I usually list which system I’ve selected as the first assumption, what kindof heat transfer problem it is (adiabatic, given, the thing being solved for, or a rate problem), what kind of work problem it is (PV, shaft, electrical, etc), whether kinetic or potential energy terms are significant, and finally the fluid model I’ll be assuming.**Derive your balance**: Write out that entire equation at the base of the tree above — IN+PRODUCED=OUT+DESTROYED+STORED — you can balance any quantifiable thing in the universe with that equation. Applied to energy and mass it’s just IN=OUT+STORED. And it could be rate based (/time) or over an increment in time. Write out all of the possible terms, then apply your assumptions to simplify to only the relevant terms being considered for your problem.**Apply your fluid model**: With your balances fully simplified, you now have to input thermodynamic properties in order to solve the balance. This is application of the fluid model. I teach three basic models: Real, ideal, incompressible. Those three will cover just about anything. When in doubt, just use a real model and software — it’s the best you can do! Ideal and incompressible are only still useful for computational efficiency.

Understanding this process is the primary emphasis when reviewing the first law of thermodynamics and energy balances. The second law brings up additional considerations not included in our tree-like hierarchy of balances: the maximum efficiencies of components and cycles. I have not found a nice process or spectrum showing the different kinds of efficiencies and how derived. This is a problem as it is often difficult to determine which of competing systems perform better as it is somewhat an apples to apples question. Here’s a start to a thermodynamic efficiency diagram:

The problem solving process for balancing entropy is the same as that described for energy above. We just have to remember how entropy flows across system boundaries (with heat or mass) and is stored within systems. Much like energy, entropy has multiple forms (see Renyi, information, and Tsallis entropies) that can be stored and balanced in a system.

2nd Law concepts seem to be more difficult for mechanical engineering students than 1st Law. Part of this is the order in which the concepts are taught. For most of us though mechanistic systems utilizing pressure and a change in volume to accomplish work are more intuitive than thermal systems that utilize temperature and a change in entropy to accomplish heat flow. Section 2.6 in Bejan’s textbook, “A Heat Transfer Man’s 2 Axioms” does a wonderful job of helping us to see this duality of the 1st and 2nd laws.

The goal for the student is that before leaving the 2nd law, they are able to realize this beautiful duality by showing that the maximum entropy generation possible for a system is equal to the maximum possible work production — this is the core essence of availability/exergy analysis and a key point we continue to return to as we analyze cycles.

A key aspect to understanding thermodynamic cycles is to first understand the temperature gradient (analogous to an elevation gradient for an Olympic winter event) that the cycle is operating within. This temperature gradient, when presented on a T-s diagram shows that perfect cycles are indeed a square, and that power producing cycles proceed around the square in clock-wise fashion and power consuming (refrigeration) cycles move in counter-clockwise rotation. All inefficiencies we bring into cycles in our efforts to design an actual system cause deviations from this square.

To conclude our review of the thermodynamic laws and balances we directly address exergy by completing the balance (the final branch of our thermodynamic tree above). We realize that exergy is not new, and in many ways is simply a more efficient balance that combines the 1st and 2nd laws.

## The Structure of Thermophysical Properties and Equations of State

When we reviewed the laws of thermodynamics we used just three fluid models: real fluid properties from software or tables, the ideal gas fluid model, and the incompressible substance fluid model. We really didn’t discuss where they came from, just simply where they were applied and the rules for each. Yet, all of the balances of the thermodynamic laws rely on our abilities to implement property models consistent with the thermodynamic laws for our inputs to these balances.

I’ve seen thermophysical properties taught from many different angles. My approach is primarily historical, so as to empathize with mind-set of the researchers who came up with the original models. Here’s a writeup on The Ideal Early Days of Thermophysical Properties. Which leades to The not so ideal Later Days of Thermophysical Properties.

Although we can create an equation of state (EOS) with relatively intuitive pressure-density-temperature measurements, relating this EOS to other properties of interest is not easy. Hence the fundamental properties and relations:

From just one of these four potentials (u,h,a,g) and just two of our four state properties (T,P,v,s) we can estimate all other thermodynamic properties via fast differentials. This is the reason we use Helmholtz explicit EOS instead of Pressure.