CHAPTER 5. - ENTROPY¶
Clausius Inequality¶
Till now we have been dealing with systems that interact with just two thermal reservoirs. However in real life systems may accept and reject heat at variable temperatures.
Let us consider a system as shown in the figure below that undergoes a cyclic process accepting and rejecting heat at variable temperatures. Let us also assume that heat is supplied to this variable reservoir from yet another thermal reservoir with a fixed temperature \(T_R\). So if the temperature \(T\) of the system is below \(T_R\), we can put a reversible heat engine device \(R\) to operate between the high temperature reservoir and the system to extract some work \(W_R\). When the temperature \(T\) of the system is above \(T_R\), we can use the same reversible device in reverse mode to act like a heat pump. Now, however, the work done by the reversible device will be negative as work will have to be done on the device.
Using the first law of thermodynamics we have:
where \(\delta W_C=\delta W_{sys}+W_R\) is the combined work done by the system and the reversible device.
As the cyclic device is a cylic one, we can make use of the second law corrolary related to absolute scale of temperature given in (5) and write:
Eliminating \(\delta Q_R\) from the two equations we get:
- If this work is integrated over a complete cycle of the system while also assuming integral no of cycles of the reversible device and considering that the cyclic integral of the internal energy of the system will be zero.
- we have:
Now we observe that the combined system is exchanging heat with only single thermal reservoir and producing work \(W_C\) during a cycle. Now according to the second law (kelvin-planck statement), a net positive work output can never be obtained. Hence this term \(W_C\) must be either less than zero or zero. So a yet another important and useful corollary of the second law of thermodynamics known as the Clausius Inequality is obtained and is given below:
Important
Clausius Inequality
For a system passing through a cyclic process involving heat exchanges
where delta Q is the is a differential heat transfer to the system at an absolute temperature of \(T\)
The above equation holds true for all cycles, reversible or irreversible. The equality holds true for reversible cycle. We can specifically write this as:
Entropy Definition¶
The cyclic integral of the quantity \(\frac{dQ}{T}\) is zero. This behaviour belongs to system property whose value depend only on the state and after a complete cycle the sum total of all the differential changes is zero. Recognising this clausis identified a new thermodynamic property called entropy (\(S\)) and defined it as:
Integrating this over a interval gives us the change in entropy as below:
Important
Entropy
On per unit mass basis,
Attention
It is important to note that in going from state 1 to state 2, entropy should be evaluated for a reversible process path only. Only then can a unique value of entropy be obtained. If this integral is performed over an arbitrary path its value will become path dependent and entropy \(s\) will not qualify as a property. So whether the path in moving from state 1 to state 2 is reversible or not, the change in entropy will be evaluated only by integration along the reversible path.
For the special case of isothermal heat transfer the change in entropy is easy to calculate as the temperature is constant and is given by :
which after simplification yields:
Important
Entropy change in internally reversible isothermal process
The principle of entropy increase¶
Consider a cycle that is made up of two processes 1-2, which is an arbitrary process (reversible, irreversible or internally reversible) and process 2-1 which is internally reversible.
From the clausius inequality we can write:
or,
The second integral can be evaluated using the definition of entropy and can be written as:
rearranging,
For a steady one dimensional flow through a control volume in which the fluid experiences a change of state from 1 at entry to 2 at exit, the change of entropy can be written in a time rate equation as
\[\dot{m}(s_2 - s_1) \geq \int_1^2 \frac{d\dot{Q}}{T}\]
removing the inequality in equation (7),
where \(S_{gen}\) is the entropy generated within the system due to irreversibilities and is always a positive quantity.
For an isolated system (adiabatic and closed) we have \(\delta Q = 0\), therefore equation (7) reduces to
Important
Entropy Increase Principle
For an isolated system:
The universe as a whole can be looked upon as an isolated system. Every process that occurs in the universe ultimately leads to a net increase in its entropy level. As one goes “forward” in time, the entropy of universe can increase, but not decrease. Hence, from one perspective, entropy can be looked upon as an arrow of time. When measured for an isolated system, it helps distinguish the past from the future
Tds Relations¶
Consider a closed system undergoing a cyclic process which is internally reversible. The first law equation in its differential form (14) can be applied and written as:
By using the entropy definition and the equation for boundary work we have:
Substituting we have
Dividing by \(m\) we get the relation on per unit mass basis as:
Important
First Tds or Gibbs equation
or,
Using the equation of enthalpy we can write
\[h = u + Pv\]
taking a differential
or,
eliminating \(du\) from the first \(Tds\) relation we get
on simplification we get the second important \(Tds\) relationship
Important
Although these Tds relationships have been developed in the context of closed reversible systems, the resultant equation holds good for any process reversible or irreversible. These relationships show how the property entropy is related to other thermodynamic properties. Since, all properties are only a function of state they are considered path independent.
Entropy Change of Liquids and Solids¶
Liquids and solids are incompressible substances and therefore \(dv=0\) during any process. The first Tds relationship (10) can be written as
Now by definition of specific heat at constant volume we can write
But for liquids and solids \(c_p = c_v = c\), and therefore we can simply write
entropy change can be written as
Entropy Change of Ideal Gas¶
The ideal gas equation can be rearranged as follows
substituting in the first Tds relationship (10) we get
the change in entropy ,
or,
The change in enthalpy can also be evaluated using the second Tds relationship in a similar fashion as above to obtain
For an accurate evaluation of the first term the specific heats as functions of T must be known.For an approximate analysis, an average value of \(c_p\) or \(c_v\) can be used. The resulting errors with this approximation are fairly acceptable. Thus the change in entropy for an ideal gas can be expressed in terms of average specific heats as
Isentropic Processes of Perfect Gas¶
An ideal gas is just a theoritical model providing the simplest equation of state. To further simplify analysis additional approximation is made by assuming that the specific heats of the gas are constant. This simpliefied model of ideal gas is called perfect gas.
An isentropic process is one which is both adiabatic and reversible.
If the process is adiabatic we have \(Q=0\). Substituting in (8) we get the following relationship, \(S_2 = S_1 + S_{gen}\) or as a simple inequality
Important
For an adiabatic process
or on per unit mass basis
For reversible process there is no entropy generated in the system therefore \(S_{gen}=0\). So for an isentropic process
Important
For an isentropic process (adiabatic and reversible)
or on per unit mass basis
Utilizing the equality above, for a perfect gas undergoing an isentropic process the entropy change equation given in (13) can be written as
Making use of the following ideal gas relationships
we have after substitution in above equation and simplification
Making use of the second Tds relation and the equation derived at :eq:entropy_ideal_gas_second, we can similarly get the following result
Substituting :eq: second_isentropic_relation in (15) we get
All the above isentropic relations can also be written in an alternative form and are presented below
Important
Isentropic Relations for Perfect Gas
Work Done in Reversible Steady State Flows¶
The equation for work done under steady state conditions was developed in Chapter 02 - First Law of Thermodynamics. This is reproduced below:
The differential form of this equation for a reversible process can be written as
From the definition of entropy given at (3), we can substitute \(\delta q\) and write
Using the second Tds relationship given at (11) and substituting \(Tds\) we get
simplifying and rearranging we get
Integrating over the process we get an important relation for work done in steady flow process:
If the inlet conditions are denoted by (1) and outlet by (2), and substituting for \(ke\) and \(pe\) we get the work done in a reversible steady flow process as:
Important
Work Done in Reversible Steady Flow Process
Bernoulli equation¶
The work done in a reversible steady flow process has been derived in the previous section at equation (19). For the case of incompressible fluids, the equation assumes a simpler form after carrying out the integration. For incompressible fluids, the specific volume \(v\) remains unchanged. The work done in case of reversible steady flow with incompressible liquids can be written after integration and some rearrangement as
Important
Work Done in Reversible Steady Flow Process (Incompressible Fluid)
For the special case, when there is no work done on or by the system \(w_{rev}=0\) such as a nozzle or pipe section where the irreversibilities due to friction can be neglected, the above equation can be further simplified to:
Or,
Or using \(\rho=\frac{1}{v}\) for a streamline where no work is performed and no friction or viscous losses happen, we get the popular equation of Fluid Mechanics known as the Bernoulli equation:
Reversible is Ideal¶
In the previous chapter, it was demonstrated that cyclic devices are the most efficient, when operating between any two thermal reservoirs. Even for non cyclic processes, where the system goes from state 1 to state 2, the reversible process is the most efficient one.
For proof, let us consider both a reversible process and irreversible process between state 1 and 2. From the first law of thermodynamics as applied to controlled volumes/flow process
eliminating the right hand side of the equation as they are equal for both equations we have
on rearrangement,
Using the definition of entropy \(\delta q_{rev} = Tds\) in the above equation we have
All actual processes have some irreversibility. By entropy generation principle, refer (7) we have
and therefore the quanitity on the right hand side is a postive quantity Therefore
Now for a turbine, the work done has a positive sign, therefore in terms of magnitudes
Now for a turbine, the work done has a positive sign, while for compressors they have a negative sign, therefore in terms of magnitudes
Important
A turbine working on internally reversible process between two states produces more work than turbine working on internally irreversible process
A compressor working on internally reversible process between two states consumes less work than compressor working on internally irreversible process
T-s and h-s entropy diagrams¶
Property diagrams are used to aid in visualization of the thermodynamic process. Two property diagrams are commonly used utilizing entropy as a the variables on the x-axis. These are the Temperature-entropy (T-s) diagram and the enthalpy-entropy(h-s) diagram which is also known as the mollier chart.
The following figure illustrates a T-s diagram.
The figure above shows a reversible process 1-2. The area under the curve of this reversible path gives us the heat input to the process.
Isothermal processes appear as horizontal line segments while isentropic processes appear as vertical line segment on the T-s diagram. This is illustrated in the figure below:
The other diagram called the enthalpy-entropy diagram or h-s diagram is extensively used in the study of steady flow devices like compressors, turbines and nozzles. On an h-s diagram the vertical distance denotes the change in enthaly \(\varDelta h\) and the horizontal distance \(\varDelta s\) denotes the change in entropy. Now practically as most compressors, turbines and nozzles are adiabatic in their operation, the change in enthalpy corresponds to work delivered or absorbed and the change in entropy is mainly attributed to the entropy generated within the system. Such entropy gets generated as part of the work gets converted to heat due to friction, viscosities or due to sudden expansion and contractions. The h-s diagram manages to capture both key concerns of a designer the work input output and the losses.
An h-s diagram showing expansion process in a turbine is shown in the figure below.
The expansion process is from pressure \(p_1\) to pressure \(p_2\). The isobars corresponding to these pressures are shown as blue lines in the figure. process is adiabatic in nature. If no irreversibilities were present in the system, the process would have traced the course 1-2s and delivered work equivalent to the corresponding change in enthalpy \(\varDelta h_{is}\). However as irreversibilities are present the process traces the path 1-2. The work done in this case \(\varDelta h\) is lower than the isentropic work \(\varDelta h_{is}\). Further for an ideal gas, we know that enthalpy is a function of temperature alone. Since state \(2\), has higher enthalpy than state \(2s\) we can say that the exhaust for the actual process is hotter than the reversible process.