Thermodynamics I Spring 1432/1433H (2011/2012H) Saturday, Wednesday 8:00am - 10:00am & Monday 8:00am - 9:00am MEP 261 Class ZA Dr. Walid A. Aissa Associate Professor, Mech. Engg. Dept. Faculty of Engineering at Rabigh, KAU, KSA Chapter #4 October XX, 2011
Announcements: Dr. Walid s e-mail and Office Hours walid_aniss@yahoo.com Office hours for Thermo 01 will be every Sunday and Tuesday from 9:00 12:00 am in Dr. Walid s office (Room 5-213). Text book: Thermodynamics An Engineering Approach Yunus A. Cengel & Michael A. Boles 7 th Edition, McGraw-Hill Companies, ISBN-978-0-07-352932-5, 2008
Chapter 4 ENERGY ANALYSIS OF CLOSED SYSTEMS
Objectives of CH4: To Examine the moving boundary work or P dv work. Identify the first law of thermodynamics as simply a statement of the conservation of energy principle for closed (fixed mass) systems. Develop the general energy balance applied to closed systems. Define the specific heat at constant volume and the specific heat at constant pressure.
* Relate the specific heats to the calculation of the changes in internal energy and enthalpy of ideal gases. *Describe incompressible substances and determine the changes in their internal energy and enthalpy. *Solve energy balance problems for closed (fixed mass) systems that involve heat and work interactions for general pure substances, ideal gases, and incompressible substances
Chapter 4 ENERGY ANALYSIS OF CLOSED SYSTEMS 4 1 MOVING BOUNDARY WORK One form of mechanical work frequently encountered in practice is associated with the expansion or compression of a gas in a piston cylinder device.
the expansion and compression work is often called moving boundary work, or simply boundary work. The boundary work is +ve during expansion & -ve during compression
The total boundary work done during the entire process as the piston moves is
So, p = f (V) should be available.
The boundary work done during a process depends on the path followed as well as the end states
Net work done during a cycle is the difference between the work done by the system and the work done on the system.
a) Constant Volume (V = C) process EXAMPLE 4 1 Boundary Work for a Constant-Volume Process. A rigid tank contains air at 500 kpa and 150 C. As a result of heat transfer to the surroundings, the temperature and pressure inside the tank drop to 65 C and 400 kpa, respectively. Determine the boundary work done during this process
Solution: V = C, Hence dv = 0
b) For isobaric process (p = C). EXAMPLE 4 2 Boundary Work for a Constant-pressure Process. A frictionless piston cylinder device contains 4.53 kg of steam at 413.57 kpa and 160 C. Heat is now transferred to the steam until the temperature reaches 204.4 C. If the piston is not attached to a shaft and its mass is constant, determine the work done by the steam during this process.
Solution: p, kpa p 0 = 413.57 kpa. m = 4.53 kg p = 413.57 kpa. v, m 3 /kg
T T 2 = 204.4 C 2 T 1 = 160 C 1 v 1 v 2 v
The total boundary work done during the entire process as the piston moves is But as p = C Hence, W b = p *( V 2 - V 1 ) = p *m* ( v 2 - v 1 ) kj Where, W b is the total boundary work done during the entire process as the piston moves. Evaluation of W b implies evaluation of v 1 & v 2.
From Table A-5, p sat corresponding to T = 160 C = 618.23 kpa. As p sat > p (= 413.57 kpa). Hence, state 1 is superheated steam. 1) Evaluation of v 1 From Table A-6, For p = 0.4 MPa T, C v, m 3 /kg u, kj/kg h, kj/kg 150 0.47088 2564.4 2752.8 160 v u h 200 0.53434 2647.2 2860.9
Hence, v T= 160 C, p = 0.4 MPa = 0.4836 m 3 /kg
From Table A-6, For p = 0.5 MPa T, C v, m 3 /kg u, kj/kg h, kj/kg T sat = 0.37483 2560.7 2748.1 151.83 C 160 v u h 200 0.42503 2643.3 2855.8
Hence, v T= 160 C, p = 0.5 MPa = 0.3833443 m 3 /kg Hence by interpolation, For T = 160 C p, kpa v, m 3 /kg 0.4 0.4836 0.41357 v 0.5 0.3833443
Hence, v 1 = v T= 160 C, p = 0.41357 MPa = 0.47 m 3 /kg
Similarly, 2) Evaluation of v 2 For p =0.4 MPa T, C v, m 3 /kg u, kj/kg h, kj/kg 200 0.53434 2647.2 2860.9 204.4 v u h 250 0.5952 2726.4 2964.5 Hence, v T= 204.4 C, p = 0.4 MPa = 0.5397 m 3 /kg
Similarly, From Table A-6, For p = 0.5 MPa T, C v, m 3 /kg u, kj/kg h, kj/kg 200 0.42503 2643.3 2855.8 204.4 v u h 250 0.47443 2723.8 2961.0 Hence, v T= 204.4 C, p = 0.5 MPa = 0.42938 m 3 /kg
Hence by interpolation, For T = 204.4 C p, kpa v, m 3 /kg 0.4 0.5397 0.41357 v 0.5 0.42938 Hence, v 2 = v T= 204.4 C, p = 0.41357 MPa = 0.52473 m 3 /kg
Hence, V 1 = m * v 1 = 4.53 kg * 0.47 m 3 /kg = 2.129 m 3. & V 2 = m * v 2 = 4.53 kg * 0.52473 m 3 /kg= 2.377 m 3.
Hence, W b = p *( V 2 - V 1 ) = 0.41357 MPa * (2.377 m 3-2.129 m 3 )= 0.41357 10 6 Pa * (2.377-2.129) m 3 = 1.026 10 5 J = 102.6 kj.
c) For isothermal process T= Constant). pv = mrt Hence, for isothermal process : Hence, pv = C Hence, p = C V -1 (#-1)
Hence, (#-2) Where, C = p 1 V 1 = p 2 V 2 (#-3)
EXAMPLE 4 3 Isothermal Compression of an Ideal Gas. A piston cylinder device initially contains 0.4 m 3 of air at 100 kpa and 80 C. The air is now compressed to 0.1 m 3 in such a way that the temperature inside the cylinder remains constant. Determine the work done during this process.
Solution: V 1 = 0.4 m 3,p 1 = 100 kpa and T = 80 C. V 2 = 0.1 m 3. Hence, From Eq. (#-3) Where, C = p 1 V 1 = 100 kpa * 0.4 m 3 = 40 kj Hence, From Eq. (#-2) W b = 40 kj * ln (0.1 m 3 /0.4 m 3 ) = -55.45kJ
The negative sign indicates that the work is done on the system.
d) For polytropic process ; pv n = Constant). n As, pv n = C Hence, p = C V -n (#-4)
Hence, But, C = p 2 V 2 n = p 1 V 1 n Hence,
But, From Equation of State pv = mrt Hence, (4-9) p 1 V 1 = mrt 1 & p 2 V 2 = mrt 2 (#-5)
By substituting by p 2 V 2 & p 1 V 1 from Eq. (#-4) in Eq. (4-9) to get (4-10)
EXAMPLE 4 4 Expansion of a Gas against a Spring. A piston cylinder device contains 0.05 m 3 of a gas initially at 200 kpa. At this state, a linear spring that has a spring constant of 150 kn/m is touching the piston but exerting no force on it. Now heat is transferred to the gas, causing the piston to rise and to compress the spring until the
volume inside the cylinder doubles. If the cross-sectional area of the piston is 0.25 m 2, determine (a) the final pressure inside the cylinder, (b) the total work done by the gas, and (c) the fraction of this work done against the spring to compress it.
Fig. (EXAMPLE 4 4)
V 1 = 0.05 m 3, p 1 = 200 kpa, k = 150 kn/m, V 2 = 2*V 1, A = 0.25 m 2 Required? p 2 =?, W b =?, Fraction of work done against the spring to compress it? Solution: V 2 = 2 *V 1 = 2 * 0.05 m 3 = 0.1 m 3
Displacement of the spring; x i.e.;
Force applied by the linear spring at the final state; F is F = k x = (150 kn/m)*(0.2 m)= 30 kn Additional pressure applied by the spring on the gas at this state; p is
Without the spring, the pressure of the gas would remain constant at 200 kpa while the piston is rising. But under the effect of the spring, the pressure rises linearly from 200 kpa to 200 + 120 = 320 kpa at the final state. i.e. p 2 = 320 kpa
(b) One way for finding the work done is to plot the process on a P-V diagram and find the area under the process curve. From Fig. (Example 4 4) the area under the process curve (a trapezoid) is Hence; W = 13 kj +ve sign indicates that the work is done by the system.
( c) Total work consists of two portions: I) Work represented by the rectangular area (region I) is done against the piston and the atmosphere, and II) the work represented by the triangular area (region II) is done against the spring.
Thus, - Work done against the piston and the atmosphere (region I), - Fraction of work done against the spring to compress it; (region II),
4 2 ENERGY BALANCE FOR CLOSED SYSTEMS Energy balance for any system undergoing any kind of process (as shown in Chap. 2) was expressed as: (4-11) or, in the rate form, as (4-12)
For constant rates, the total quantities during a time interval t are related to the quantities per unit time as (4-13) The energy balance can be expressed on a per unit mass basis as (4-14)
For a closed system undergoing a cycle, the initial and final states are identical, and thus, For a cycle E =0, thus Q = W.
For a closed system undergoing a cycle, the initial and final states are identical, Hence, Eq. (4-11) can be re-written as E system = E 2 E 1 = 0 (#-6) & E in E out = 0 i.e. E out = E in (#-7) Energy balance for a cycle can be expressed in terms of heat and work interactions as W net, out = Q net, in i.e. (4-16)
Energy balance (first-law) relation for a closed system becomes Q- W = E = U+ PE+ KE (4-17) where, Q net, in = Q in - Q out is the net heat input & W net, out = W out - W in is the net work output
Various forms of the first-law relation for closed systems
EXAMPLE 4 5 Electric Heating of a Gas at Constant Pressure. A piston cylinder device contains 25 g of saturated water vapor that is maintained at a constant pressure of 300 kpa. A resistance heater within the cylinder is turned on and passes a current of 0.2 A for 5 min from a 120-V source. At the same time, a heat loss of 3.7 kj occurs.
(a) Show that for a closed system the boundary work W b and the change in internal energy U in the first-law relation can be combined into one term, H, for a constant pressure process. (b) Determine the final temperature of the steam.
Solution: Q in Schematic and P-v diagram for Example 4 5.
m = 25 g, p 2 = p 1 = 300 kpa I = 0.2 A, V = 120 V, t= 5 min Q out = 3.7 kj From Eq. (4-17) Q net, in - W net, out = E= U+ PE+ KE As system is stationary, hence PE=0, KE=0 Hence, Eq. (4-17) can be re-written as 0 0 Q net, in - W net, out = E = U+ PE+ KE
i.e., Q net, in - W net, out = U (#-8) P = I 2 R = I V= 0.2 A* 120 V= 24 W Q in = P * t = 24 W* (5*60) s= 7200 J i.e. Q in = 7.2 kj W net, out = W b (#-9) But, from Eq. (4-2)
But, p 2 =p 1 = p 0. Hence, Eq. (4-2) can be re-written as: W b = p 0 ( V 2 V 1 ) (#-10) By substituting by W b Eq. (#-9)) to get: from Eq. (#-10) in W net, out = W b = p 0 ( V 2 V 1 ) (#-11) By substituting from Eq. (#-11) in Eq. (#-8) to get:
Q net, in = W net, out + U= = (p 2 V 2 p 1 V 1 ) + (U 2 U 1 ) But, By definition; p V + U = H Hence, Eq. (#-12) can be re-written as: (#-12) Q net, in = H 2 H 1 (#-13) Hence, Q in = m(h 2 h 1 ) (#-13 )
From Table (A-5); Saturated water- Pressure table h 1 = h g ( p = 300 kpa) = 2724.9 kj/kg Q net, in = Q in Q out = 7.2 kj- 3.7 kj =3.5 kj Hence, 3.5 kj = (25/1000) kg* (h 2-2724.9 kj/kg) Hence, h 2 = 2864.9 kj/kg
It is clear that h 2 (= 2864.9 kj/kg) > h g (p 2 = 300 kpa) Hence, state 2 is superheated stream. Hence, from Table (A-6); superheated stream 150 2761.2 T 2 2864.9 200 2865.9 Hence, T 2 = 199.5224 C
EXAMPLE 4 6 Unrestrained Expansion of Water. A rigid tank is divided into two equal parts by a partition. Initially, one side of the tank contains 5 kg of water at 200 kpa and 25 C, and the other side is evacuated. The partition is then removed, and the water expands into the entire tank. The water is allowed to exchange
heat with its surroundings until the temperature in the tank returns to the initial value of 25 C. Determine (a) the volume of the tank, (b) the final pressure, and (c) the heat transfer for this process.
Solution: Schematic and p-v diagram for Example 4 6
m = 5 kg, p 1 = 200 kpa, T 1 = 25 C, T 2 = T 1 = 25 C. V =?, p 2 =?, Q heat transfer with soroundings =?, (a) Evaluation of the volume of the tank, V tank From Table (A-5) for Saturated water- Pressure table T sat (p =200 kpa ) =120.21 C It is clear that T 1 < [T sat (p =200 kpa ) =120.21 C]. Hence, state 1 is compressed liquid.
It is clear that no data for compressed liquid at p =200 kpa. Hence, v 1 v f [T= 25 C]= 0.001003 m 3 /kg, u 1 u f [T= 25 C]= 104.83 kj/kg, h 1 h f [T= 25 C]= 104.83 kj/kg. Initial volume of the water (V 1 ) is V 1 = m* v 1 =5 kg * (0.001003 m 3 /kg) = 0.005 m 3.
Total volume of the tank (V tank )is twice the initial volume of the water (V 1 ) V tank = 2*V 1 = 2* 0.005 m 3 = 0.01 m 3 (b) Evaluation of final pressure, p 2 v 2 = V tank / m = 0.01 m 3 /5 kg = 0.002 m 3 /kg
Specifying conditions at state 2: At state 2, T 2 = 25 C, v 2 = 0.002 m 3 /kg From Table (A-4); Saturated water- Temperature table At T 3 2 = 25 C, v f = 0.001003 m /kg, v g = 43.34 m 3 /kg Hence, state 2 is saturated liquid-vapor mixture.
i.e., x = 2.30047-5 From Table (A-4); Saturated water- Temperature table p 2 = p sat (T = 25 C) = 3.1698 kpa
From Eq.(#-8) 0 i.e., Q net, in - W net, out = U =m(u 2 u 1 ) (#-14) From Table (A-4); Saturated water- Temperature table u f (T = 25 C) = 104.83 kj/kg u fg (T = 25 C) = 2304.3 kj/kg u 2 = u f + (x* u fg ) =104.83 +(2.30047 10-5 * 2304.3) kj/kg = 104.883kJ/kg
Hence, from Eq. (#-14) i.e., Q net, in =m(u 2 u 1 ) Hence, Q net, in = 5 kg (104.883 104.83) kj/kg Q net, in = 5 kg (104.883 104.83) kj/kg = 0.265 kj The +ve sign indicates that heat is transferred to the water
4 3 SPECIFIC HEATS The specific heat is defined as the energy required to raise the temperature of a unit mass of a substance by one degree. specific heat at constant volume ; c v. specific heat at constant volume ; c p.
specific heat at constant volume ; c v.: the energy required to raise the temperature of the unit mass of a substance by one degree as the volume is maintained constant specific heat at constant pressure ; c p.: the energy required to raise the temperature of the unit mass of a substance by one degree as the pressure is maintained constant
(4-19) Formal definitions of c v. C v dt = du at constant volume
(4-20) Formal definitions of c p. C p dt = dh at constant pressure
Eqs. (4-20) & (4-20) are properties relations and as such are independent of the type of processes. A common unit for specific heats is kj/kg C or kj/kg K. Notice that these two units are identical since T( C) T(K), and 1 C change in temperature is equivalent to a change of 1 K.
4 4 INTERNAL ENERGY, ENTHALPY, AND SPECIFIC HEATS OF IDEAL GASES Ideal gas is a gas whose temperature, pressure, and specific volume are related by p v = RT u = u(t) only But by definition; enthalpy and internal energy of an ideal gas r related by: h= u + p v (3-10) (4-21) (#-15)
By substitution by p v from Eq. (3-10) in Eq. (#-15) to get: h= u + RT (#-16) Since R is constant and u = u(t). Hence, enthalpy of an ideal gas is also a function of temperature only: i.e. h = h(t) only (4-22)
As u = u(t) only; Eq. (4-21) & h = h(t) only; Eq. (4-22). Hence, the partial derivatives; (4-19) and (4-20) turn to ordinary derivatives; i.e. du = C v (T) dt (4-23) v dh = C p (T) dt (4-24) The change in internal energy or enthalpy for an ideal gas during a process from state 1 to state 2 is determined by integrating these equations:
(4-25) and (4-26) To carry out these integrations, we need to have relations for C v and C p as functions of temperature.
The variation of specific heats with T over Small temperature intervals (a few hundred degrees or less)may be approximated as linear. Therefore the specific heat functions in Eqs. 4 25 and 4 26 can be replaced by the constant average specific heat values. Then the integrations in these equations can be performed, yielding:
(4-27) (4-28)
The specific heat values for some common gases are listed as a function of temperature in Table A 2b. The average specific heats C p,avg, and C v,avg are evaluated from this table at the average temperature (T 1 + T 2 )/2, as shown in Fig. 4 26.
FIGURE 4 26 For small T intervals, the specific heats may be assumed to vary linearly with T.
If the final temperature T 2 is not known, the specific heats may be evaluated at T 1 or at the anticipated average temperature. Then T 2 can be determined by using these specific heat values. The value of T 2 can be refined, if necessary, by evaluating the specific heats at the new average temperature.
Specific Heat Relations of Ideal Gases Differentiating the relation (#-16) h = u + RT (#-16) to get dh = du + RdT (#-17) By substituting by du & dh from Eqs. (4-23)&(4-24) in Eq. (#-17) to get C p dt= C v dt + R dt
Hence, C p = C v + R (kj/kg.k) (4 29) In addition, C p & C v are related by idealgas property called specific heat ratio k, defined as; k = C p / C v (4 31)
In molar basis; (4 31) where;, & (4 30)
To summarize Three ways of calculating u
EXAMPLE 4 7 Evaluation of the u of an Ideal Gas. Air at 300 K and 200 kpa is heated at constant pressure to 600 K. Determine the change in internal energy of air per unit mass, using (a) data from the air table (Table A 17), (b) the functional form of the specific heat (Table A 2c), and (c) the average specific heat value (Table A 2b).
Solution: (a) Evaluation u using Table A 17 u 1 = u (T=300 K) =214.07 kj/kg u 2 = u (T=600 K) =434.787 kj/kg Hence, u = u 2 u 1 = 434.79 kj/kg - 214.07 kj/kg = 220.72 kj/kg
(b) Evaluation of u using functional form of the specific heat (Table A 2c) kj/kmol.k a = 28.11, b = 0.1967-2 c = 0.4802-5 d = -1.966-9 R u = 8.31447 kj/kmol.k
C v (T) = C p (T) - R u C v (T) = (a- R u ) + bt+ ct 2 +dt 3 But, from Eq. (4 30), From Table (A 1); M (Air) = 28.97 kg/kmol
Hence, C v (T) = [(a- R u ) + bt+ ct 2 +dt 3 ]/M u = (1/M) {[(a- R u ) T+ b(t 2 /2) + c(t 3 /3) +d(t 4 /4)] T=600K - [(a- R u ) T+ b(t 2 /2) + c(t 3 /3) +d(t 4 /4)] T=300K }
u = (1/ 28.97) {[(28.11-8.31447) (600-300)]+ (0.1967-2 ) [(600 2-300 2 ) /2] + (0.4802-5 [(600 3-300 3 )/3] +(-1.966-9 (600 4-300 4 )/4] } = 223 kj/kg
(c) Evaluation of u using the average specific heat value (Table A 2b). C v (T=600 K) = 0.764 kj/kg.k C v (T=300 K) = 0.718 kj/kg.k C v, average = [C v (T=600 K) + C v (T=300 K)]/2= (0.764+0.718)/2 kj/kg.k= 0.741 kj/kg.k
Hence, u u = C v, average * [600 300] = 0.741 kj/kg.k * 300 K = 222.3 kj/kg
EXAMPLE 4 8 Heating of a Gas in a Tank by Stirring. An insulated rigid tank initially contains 0.5 kg of helium at 30 C and 3 kpa. A paddle wheel with a power rating of 15 W is operated within the tank for 30 min. Determine (a) the final temperature and (b) the final pressure of the helium gas.
Solution: p, kpa m= 0.5 kg m= 0.5 kg T 1 = 30 C p 1 = 3 kpa
m = 0.5 kg, T 1 = 30 C, p 1 = 3 kpa, P =15 W, t = 30 min. (a) T 2 =? and (b) p 2 =?. From Eq. (4-17) 0 0 0 Q- W = E = U+ PE+ KE 0 W net,out = W out - W in (4-17) (#-18) Hence,
W in = P * t (#-19) By substituting from Eq. (#-19) in Eq. (#-18) to get P * t = U=m (u 2 u 1 ) (#-20) Hence, t =30*60 = 1800 s
From Table (A-2),C v = 3.1156 kj/kg.k T 1 = 30+273 K= 303 K Hence, Eq. (#-20) can be re-written as: P * t = U=m (u 2 u 1 ) Hence, (15/1000) kw* 1800 s = 0.5 kg * 3.1156 kj/kg.k *(T 2-303 K)
T 2 =320.32 K= 47.3 K Treating Helium as an ideal gas. Hence, pv = RT As v 2 = v 1 Hence, p 2 /T 2 = p 1 /T 1 p 2 = p 1 * (T 2 /T 1 )= 3 kpa * (320.32 K / 303 K) Hence, p 2 = 3 kpa * (320.32 K / 303 K)= 3.17 kpa
EXAMPLE 4 9 Heating of a Gas by a Resistance Heater A piston cylinder device initially contains 0.5 m 3 of Nitrogen gas at 400 kpa and 27 C. An electric heater within the device is turned on and is allowed to pass a current of 2 A for 5 min from a 120-V source. Nitrogen expands at constant pressure, and a heat loss of 2800 J occurs during the process. Determine the final temperature of nitrogen..
Solution: Schematic and P-V diagram for Example 4 9.
From Eq. (4-17) 0 0 Q net, in - W b,out = E= U+ PE+ KE Q net, in = Q in Q out =(IV. t)- Q out i.e. Q net, in = [2*120 *(5*60)]/1000 kj- 2.8 kj = 69.2 kj Q net, in = H
V 1 = 0.5 m 3, p 1 = 400 kpa, T 1 = 27 C. Treating Nitrogen as ideal gas. Hence, pv = RT From Table A-2, R N2 = 0.2968 kj/kg.k, Cp, N2 =1.039kJ/Kg.K p 1 v 1 = RT 1 Hence, 400 kpa *v 1 = 0.2968 kj/kg.k *(27+273 K) v 1 = 0.55725 m 3 /Kg
v 1 = V 1 /m Hence, 0.2226 m 3 /Kg = 0.5 m 3 /m m = 2.212 kg Q net, in = H= m* h= m*(h 2 -h 1 ) i.e., Q net, in = m*cp*(t 2 -T 1 ) 69.2 kj = 2.212 kg * 1.039 kj/kg.k *(T 2-300 K) T 2 = 330.1 K i.e., t 2 = 57.1 C.
Homework 4 4C, 4 5, 4 6, 4 7, 4 8, 4 9, 4 12, 4 13, 4 14, 4 18, 4 21, 4 28, 4 56, 4 61.