Friday, February 18, 2011

The Second Law of Thermodynamics (part 2)

A Second Statement of the Second Law
            A second way of stating the second law is sometimes phrased as something along the lines of “the entropy of the universe always increases.” For the purposes of thermodynamic calculations a property can be defined called “entropy.” This property is very exact and rigorous in a quantitative way, and can be used for both practical and theoretical calculations. However, for the purposes of this discussion, it will serve to think a little more loosely of entropy as being representative of the amount of “disorder” in a system. This expression of the second law signifies that for any real process the disorder of the universe will increase. It is important to note the part about “the universe”. That is, for any particular system going through a process the entropy may increase or decrease. However, if it decreases, then we can be sure that the increase in the entropy of the surroundings (i.e. the rest of the universe) caused by the process is bigger than the decrease in entropy was for the system. 
            This statement of the second law leads to the thermodynamic equivalent of the “frictionless pulley”, i.e. it establishes a hypothetical standard against which real processes can be measured. This standard is the very best that could theoretically be achieved by any process. For some processes (those in which no heat is transferred) this theoretical limit is for the process to occur with zero increase in entropy of the universe. That is, actual processes will have an increase in entropy, theoretically ideal processes will have no increase in entropy and no process is even theoretically possible in which the entropy of the universe decreases. 
            This limit, along with similar limits for processes that do include heat transfer, is often utilized as a check by people who are tasked with evaluating proposed inventions involving energy transformations. Before investing the effort to understand and evaluate all the details of what might be a very complicated machine, the evaluator can simply check whether the overall operation of the device as described would result in a net decrease in entropy for the device and the surroundings. If it does, the device would violate the second law and cannot possibly function as described.

            A second implication of this expression of the second law is that all processes have directions in which they will proceed and directions in which they will not. The allowable directions will be those that result in an increase in entropy for the universe. Perhaps the easiest example of this to visualize is the case of a hot bowl of soup cooling off in a cool room. The room will never spontaneously cool off while the hot soup gets hotter even though such a process could be imagined that would not violate the first law. The total amounts of energy flowing are governed by the first law, and the direction is governed by the second law.
            This behavior of heat flow is sometimes expressed by saying “heat always flows downhill” where “downhill” is established by the temperature gradient. We’ll come back to this later as another statement of the second law, however, it is immediately clear that such an observation for heat is not stranger than the corresponding observation that “water always flows down hill” where “down hill” is determined by gravity, or a potential energy gradient.
            Many chemical processes have a particular direction in which they will proceed for a given set of conditions (temperature, pressure, concentration, etc.) and those directions are always in accord with the second law. Further, in some cases where it is not otherwise clear, it is possible to predict the direction of a reaction from second law considerations.
            Finally, it is worth noting that this statement of the second law is a preferred starting point for many of the philosophical discussions that are connected to thermodynamics. Some of the simplest and most profound of these deal with the beginning and end of the universe. For example, if the total entropy of the universe as a whole always increases, what will happen when a state of “maximum entropy” is reached? Will the universe ultimately “wind down” to a final state of complete uniformity? How did the universe get “wound up” in the first place? These and other questions flow directly from an understanding of the second law, and constitute what may be one of the more prominent and popular contact points between engineering and philosophy.

Friday, February 4, 2011

The Second Law of Thermodynamics

             A lot of engineering students wonder about the Second Law of Thermodynamics before taking the thermodynamics class, and many are still wondering after the class is over. Even though they can use the equations as directed, some students still wish that they had a better “feel” for the Second Law. In this post and the next couple, I’ll try to describe the Second Law of Thermodynamics in a qualitative way in order to help develop that intuitive feeling for this important fundamental and ubiquitous physical principle. 
            The Second Law shows up all around us. It appears in everyday experiences such as the cooling of a hot bowl of soup at breakfast and in more abstract applications such as establishing a theoretical upper limit on the efficiency of internal combustion engines, turbine engines, and steam power plants. In what follows, we’ll explore several equivalent statements of the second law and talk about some implications of those statements. 


Basis of the First and Second Laws
            Most people feel like they have an intuitive feel for the First Law of Thermodynamics which simply states that energy can neither be created nor destroyed. Energy can change forms; we often buy energy from a utility in the form of electricity, then convert that electrical energy into light, or heat, or vibrations of a stereo speaker, etc. However, a careful accounting of all of the energy involved in any such transformation will show that no energy appears or disappears in the process. This “law” is simply an expression of many observations: in all of history no one has ever been able to show that energy could be annihilated or created out of nothing. Those cases where somebody claimed such a process have, under careful scrutiny, always been shown to involve an error or a trick, but never a violation of the First Law of Thermodynamics. The Second Law of Thermodynamics is based upon a similar body of experience but for some reason it is much more common to find people proposing hypothetical devices or processes that would violate the second law than the first law. However, in all of history, spanning scales from sub-cellular processes to processes inside suns, nobody has ever found an exception to the Second Law of Thermodynamics. As with the First Law, it is really just a very distilled statement of an enormous number of observations, and seems to just be the way that the universe works.


One Statement of the Second Law
            There are many different ways of expressing the second law but in general, any one of them can be shown to logically imply all others. Each different expression usually has one or more classes of situations to which it is most applicable. In order to begin to get a feel for the second law we will consider several of these expressions and their implications.

            One way of stating the Second Law is to say that not all heat energy can be transformed into work. Before exploring that statement further, it is necessary to establish some nomenclature and definitions. In the language of thermodynamics, heat is energy that moves due to a temperature difference and work is energy associated with things like moving a force through a distance, a torque through an angular displacement or equivalent processes. (In fact, the fundamental distinction between heat and work is made on the basis of the second law.) We have use for both types of energy: we use heat to cook our food, warm our houses, sterilize medical instruments, etc., and we use work to turn the wheels on a car, or to turn the shaft of an electrical generator to produce electricity. Electrical energy, which is a form of work, can be used to power motors and electronic appliances, or it can be converted into heat as it is in toasters and electric ovens. A heat engine is any device that operates continuously to turn heat into work. Internal combustion engines, Stirling engines, and steam power plants all function as heat engines. Returning now to our statement of the second law, we see that this statement is saying that no heat engine can turn all heat into work. 
Some of the heat that is put into the heat engine from a high temperature source can be converted into work, but some (non-zero) fraction must be sent on as heat to some lower temperature sink. The amount of heat that is turned into work divided by the total amount of heat that goes into the heat engine is termed the thermal efficiency. The second law can be used to determine the maximum possible thermal efficiency for a heat engine. This maximum depends on both the high temperature at which heat is supplied and the low temperature at which it is rejected. Depending on how well it is designed, an actual engine might have any efficiency from zero up to the maximum, but no engine can have an efficiency better than the maximum efficiency determined by the second law. This statement of the second law also implies that different forms of energy have different values. That is, if all work can be converted into heat, but not all heat can be converted into work, then clearly work is more valuable to us than heat. This distinction is never made by the first law. The first law only accounts for total amounts of energy and ignores the value of different forms. The two laws are each useful in their own way.
 An illustrative comparison can be drawn by considering the way that we keep track of automobiles. For some purposes, such a sizing a parking lot, we are only interested in the number of cars. An expensive car does not take any more spaces than a cheap one. For other purposes, such as budgeting, the price of each car is every bit as important as the number of cars. It would be impossible to ignore automobile values and always deal only in numbers of cars. Similarly, for engineering purposes the second law is as important as the first law since it establishes the value of different forms of energy.

            Finally, the second law can be used to make a quantitative valuation of different forms of energy. For our purposes it will suffice to say that the valuation is made based on the percentage of energy that can be changed into work, and the higher the temperature, the bigger percentage and hence, the higher the value. Thus work is always more valuable than heat, and high temperature heat is more valuable than low temperature heat. This aspect of the second law is easily accessible from common experience. For example, there is an enormous amount of heat contained in warm ocean water, but because it is only slightly warmer than the air, it is very “low grade” heat, and it is very difficult to harvest it economically. On the other hand, a hot geothermal spring might contain much less total heat than, say, the gulf stream, but because it is at a higher temperature, it can be converted to work at a much higher efficiency.

Second Law, part 2

Second Law, part 3