CHAP03
CHAP03
In the last chapter, we presented examples of microscopic balances in one or two dimensions for various elementary examples. In this chapter we present the general balance equations in multidimensional case. The balances, also called equations of changes can be written in cartesian, cylindrical or spherical coordinates. We will explicitly derive the balance equations in cartesian coordinates and present the corresponding equations in cylindrical and spherical coordinates. The reader can consult the books in reference for more details. Once the equations are presented we show through various examples how they can be used in a systematic way to model distributed parameter models.
3.1 Total Mass balance Our control volume is the elementary volume xyz shown in Figure 3.1. The volume is assumed to be fixed in space. To write the mass balance around the volume we need to consider the mass entering in the three directions x,y, and z.
Mass in: The mass entering in the x-direction at the cross sectional area (yz) is (vx)|x yzt The mass entering in the y-direction at the cross sectional area (xz) is (vy)|y xzt The mass entering in the z-direction at the cross sectional area (xy) is (vz)|z x y t Mass out: The mass exiting in the x-direction is: (vx)|x+x yzt The mass exiting in the y-direction is: (vy)|y+y xzt The mass exiting in the z-direction is: (vz)|z+z xy t Rate of accumulation: The rate of accumulation of mass in the elementary volume is: ()|t+t x y z - ()|t x y z (3.7) (3.6) (3.5) (3.4) (3.3) (3.2) (3.1)
103
Since there is no generation of mass, applying the general balance equation Eq. 1.2 and rearranging gives: (|t+t |t) x y z = (vx|x vx|x+x)yzt + (vy|y vy|y+y)xzt + (vz|z vz|z+z) x y t Dividing the equation by x y zt results in: (3.8)
|t +t |t vx |x vx |x+x v y | y v y | y+y vz |z vz |z +z = + + t x y z
(3.9)
By taking the limits as y,x,,z and t goes to zero, we obtain the following equation of change:
vx v y vz = t x y z
Expanding the partial derivative of each term yields after some rearrangement:
(3.10)
v v v + vx + vy + vz = ( x + y + z ) t x y z x y z
(3.11)
This is the general form of the mass balance in cartesian coordinates. The equation is also known as the continuity equation. If the fluid is incompressible then the density is assumed constant, both in time and position. That means the partial derivatives of are all zero. The total continuity equation (Eq. 3.11) is equivalent to:
0 = (
vx v y vz + + ) x y z
(3.12)
or simply:
104
0=
vx v y vz + + x y z
(3.13)
3.2 Component Balance Equation We consider a fluid consisting of species A, B , and where a chemical reaction is generating the species A at a rate rA (kg/m3s). The fluid is in motion with mass-average velocity v = nt/ (m/s) where nt = nA + nB + (kg/m2s) is the total mass flux and (kg/m3s) is the density of the mixture. Our objective is to establish the component balance equation of A as it diffuses in all directions x,y,z (Figure 3.2).
Figure 0-2 Mass balance of component A Mass of A in: The mass of species A entering the x-direction at the cross sectional (yz) is: (nAx)|x yzt where nAx kg/m2 is the flux transferred in the x-direction Similarly the mass of A entering the y and z direction are respectively: (nAy)|y xzt (3.15) (3.14)
105
(nAz)|z x y t Mass of A out: The mass of species A exiting the x, y and z direction are respectively
(3.16)
(nAx)|x+x yzt (nAy)|y+y xzt (nAz)|z+z x y t The rate of accumulation is: A|t+t x y z A|t x y z The rate of generation is: -rAx y zt Applying the general balance equation (Eq. 1.3) yields: (A|t+t A|t) x y z = (nAx|x+x nAx|x)yzt + (nAy|y+y nAy|y)xzt + (nAz|z+z nAz|z)xyt +rAx y zt
(3.20)
(3.21)
(3.22)
Dividing each term by xyzt and letting each of these terms goes to zero yields: A n Ax n Ay n Az + + + = rA t t t t
(3.23)
We know from Section 1.11.1, that the flux nA is the sum of a term due to convection (Av) and a term due to diffusion jA (kg/m2s): nA = Av + jA (3.24)
106
For a binary mixture (A,B), Ficks law gives the flux in the u-direction as :
wA u
j Au = D AB
(3.26)
where wA = A/. Expanding Eq. 3.25 and substituting for the fluxes yield:
vx v y v z A A + A + + + vx + v y A + vz A t y z x y z x D AB wA D AB wA D AB wA )+ ( )+ ( ) x ( = rA x y y z z
(3.27)
This is the general component balance or equation of continuity for species A. This equation can be further reduced according to the nature of properties of the fluid involved. If the binary mixture is a dilute liquid and can be considered incompressible, then density and diffusivity DAB are constant. Substituting the continuity equation (Eq. 3.13) in the last equation gives:
2 A 2 A 2 A A A A A ) = rA + + + + + v v v D x y z AB 2 2 2 t x y z x y z
(3.28)
This equation can also be written in molar units by dividing it by the molecular weight MA to yield:
2C A 2C A 2C A C A C A C A = RA + + + v x x + v y y + v z z D AB { x 2 y 2 z 2 reaction 144444 4 2444444 3 14444 4 244444 3
Convection Diffusion
accumulation
C A 3 t 1 2
(3.29)
107
The component balance equation is composed then of a transient term, a convective term, a diffusive term and a reaction term.
3.3 Momentum Balance We consider a fluid flowing with a velocity v(t,x,y,z) in the cube of Figure 3.3. The flow is assumed laminar. We know from Section 1.11.2 that the momentum is transferred through convection (bulk flow) and by molecular transfer (velocity gradient).
Figure 0-3 Balance of the x-component of the momentum Since, unlike the mass or the energy, the momentum is a vector that has three components, we will present the derivation of the equation for the conservation of the xcomponent of the momentum. The balance equations for the y-component and the zcomponent are obtained in a similar way. To establish the momentum balance for its xcomponent we need to consider its transfer in the x-direction, y-direction, and zdirection.
Momentum in:
108
The x-component of momentum entering the boundary at x-direction, by convection is: (vxvx)|x yzt (3.30)
The x-component of momentum entering the boundary at y-direction, by convection is: (vyvx)|y xzt and it enters the z-direction by convection with a momentum: (vzvx)|z xyt (3.32) (3.31)
The x-component of momentum entering the boundary at x-direction, by molecular diffusion is: (xx)|x yzt (3.33)
The x-component of momentum entering the boundary at y-direction, by molecular diffusion is: (yx)|y xzt and it enters the z-direction by molecular diffusion with a momentum: (zx)|z xyt Momentum out: The rate of momentum leaving the boundary at x+x, by convection is: (vxvx)|x+x yzt (3.36) (3.35) (3.34)
109
and at boundary y+y,: (vyvx)|y+y xzt and at boundary z+z: (vzvx)|z+z xyt (3.38) (3.37)
The x-component of momentum exiting the boundary x+x, by molecular diffusion is: (xx)|x+x yzt and at boundary y+y: (yx)|y+y xzt and at boundary z+z:: (zx)|z+z xyt Forces acting on the volume: The net fluid pressure force acting on the volume element in the x-direction is: (P|x P|x+x) yzt The net gravitational force in the x-direction is: g|x x yz t Accumulation is: 110 (3.43) (3.42) (3.41) (3.40) (3.39)
(vx|t+t vx|t) x yz
(3.44)
Substituting all these equations in Eq. 1.5, dividing by x y zt and taking the limit of each term goes zero gives:
( v x ) ( v x v x ) ( v x v y ) ( v x v z ) P + + + = ( xx + yx + zx ) + g x t x y z x y z x
(3.45)
(3.46)
yx xx zx P + + + g x ) x y z x
Using the equation of continuity (Eq. 3.10) for incompressible fluid, Equation (3.46) is reduced to: v x v v v P + v x x + v y x + v z x = ( xx + yx + zx ) + g x x y z x y z x t (3.47)
xx =
yx =
zx =
(3.48)
(3.49)
111
The momentum balances in the y-direction and z-direction can be obtained in a similar fashion: 2 v y 2 v y 2 v y P v y v y v y v y 2 + 2 + 2 + v + v + v = y z x x x y + g y t y z y z 1 2 3 14444 444 1 4 24 3 4 244444 3 1 4 24444 3 accumulation
(3.50)
generation
(3.51)
3.4 Energy balance In deriving the equation for energy balance we will be guided by the analogy that exists between mass and energy transport mentioned in Section 1.11.3 We will assume constant density, heat capacity and thermal conductivity for the incompressible fluid. The fluid is assumed at constant pressure (Fig 3.4). The total energy flux is the sum of heat flux and bulk flux: e = q + CpTv Therefore, the energy coming by convection in the x-direction at boundary x is: (qx + CpTvx)yzt Similarly the energy entering the y and z directions are (qy + CpTvy)xzt (qz + CpTvz) x y t (3.54) (3.55) (3.53) (3.52)
112
The energy leaving the x,y and z directions are: (qx + CpTvx)|x+x yzt (qy + CpTvy)|y+y xzt (qz + CpTvz)|z+z x y t The energy accumulated is approximated by: (CpT|t+t CpT|t) x yz (3.59) (3.56) (3.57) (3.58)
qy |y qz |z+
z
y x qx |x z qx |x+
x
qy |y+
qz |z
Figure 0-4 Energy Balance in Cartesian coordinates The rate of generation is H where H includes all the sources of heat generation, i.e. reaction, pressure forces, gravity forces, fluid friction, etc. Substituting all these terms in the general energy equation (Eq. 1.7) and dividing the equation by the term xyzt and letting each of these terms approach zero yield:
( CpT ) ( CpTv x ) ( CpTv y ) ( CpTv z ) qx q y qz + = H + + + + + y z t x y z x
(3.60)
113
Cp
(3.61)
Using the equation of continuity (Eq. 3.10) for incompressible fluids the equation is reduced to: T T T T q x q y q z + Cp + v + v + v + + = H x y z t x y z y z x Using Fourier's law:
dT du
(3.62)
qu = k
(3.63)
(3.64)
The energy balance includes as before a transient term, a convection term, a diffusion term, and generation term. For solids, the density is constant and with no velocity, i.e. v = 0, the equation is reduced to:
2T 2T 2T T Cp = k H + x 2 + y 2 + z 2 { t 1 4 2 4 3 generation 144 4 2444 3 accumulation
Transport by thermal diffusion
(3.65)
114
3.5 Conversion between the coordinates So far we have shown how to derive the equation of change in Cartesian coordinates. In the same way, the equations of change can be written other coordinate systems such as the cylindrical or spherical coordinates. Alternatively, one can transform the equation of change written in the Cartesian coordinates to the others through the following transformation expressions. The relations between Cartesian coordinates (x,y,z) and cylindrical coordinates (r,z,) (Figures 1.3 and 1.4) are the following: x = rcos(), Therefore;
y = tan 1 ( ) x
y = rsin(),
z=z
(3.66)
r = x2 + y2 ,
(3.67)
The relations between Cartesian coordinates (x,y,z) and spherical coordinates (r,,) (Figures 1.3 and 1.5) are:
x = r sin() cos(),
Therefore;
y = r sin() sin(),
z = r cos()
(3.68)
r = x2 + y 2 + z 2 ,
= tan 1 (
x2 + y 2 ), z
y = tan 1 ( ) x
(3.69)
Accordingly, we list the following general balance equations in the three coordinates. These equations are written under the assumptions mentioned in previous sections. For the more general case, where density is considered variable the reader can consult the books listed in the references.
115
vx v y vz + + )=0 x y z
(3.70)
Component balance for component A in binary mixture with chemical reaction rate RA:
2C A 2C A 2C A C A C A C A C A v v v D + + + + + = ) y z AB 2 x x + RA t y z y 2 z 2 x
Energy balance
(3.71)
T T T T 2T 2T 2T + Cp(v x + vy + vz ) = k( 2 + 2 + 2 ) + H Cp t x y z x y z
Momentum balance x component
(3.72)
vx v v v 2v 2v 2v P + (vx x + v y x + vz x ) = ( 2x + 2x + 2x ) + g x t x y z x y z x
(3.73)
y component: v y t v y x v y y v y z 2v y x
2
+ (vx
+ vy
+ vz
) = (
2v y y
2
2v y z
2
P + g y y
(3.74)
z component
116
vz v v v 2v 2v 2v P + (vx z + v y z + vz z ) = ( 2z + 2z + 2z ) + g z t x y z x y z z
(3.75)
(3.76)
Component balance for component A in binary mixture (A-B)with reaction rate RA:
1 C A C A C A C A 1 C A 1 2C A 2C A + vz + + vr + v (r )+ 2 ) + RA = D AB 2 2 r r r r z t r r z
(3.77)
Cp
(3.78)
(3.79)
1 rv r 1 2 vr 2 v 2 v r P ( )+ 2 + ) + g r r r r r z 2 r 2 r 2
component:
117
vv v v v v v + (vr + + r + vz ) = t r r r z 1 rv 1 2v 2 vr 2v P ( )+ 2 + + 2 ) + g r r r r 2 r 2 z
(3.80)
z component
v v v z v v 1 v z 1 2vz 2vz P + (vr z + z + v z z ) = ( (r )+ 2 + 2 ) + g z t r z r z r r r z r 2
(3.81)
(3.82)
Component balance for component A in binary mixture (A-B) with reaction rate RA :
C A C A v + vr r + r t 1 D AB 2 r v C A C A = + r sin( ) 2 C A C 2C A 1 1 ) + RA (sin( ) A ) + 2 2 (r )+ 2 r r r sin( ) r sin ( ) 2
(3.83)
Energy balance
v T T v T T + + + Cp v r r = t r r sin( ) 1 2 T T 2T 1 1 + H + + k r ( ) (sin( ) ) r 2 r r r 2 sin( ) r 2 sin 2 ( ) 2
Cp
(3.84)
118
P + g r r
(3.85)
component:
2 v v v v v v vr v v cot( ) = + vr + + + r r r r r t sin( )
(3.86)
component
v v v v v vr v v v cot( ) = + vr + + + + r t r r sin( ) r r 1 v 2v 1 1 sin( )v 1 2 (r 2 )+ 2 2 )+ 2 ( 2 r r r sin( ) r r sin ( ) vr 2 2 cos( ) v 1 P + r 2 sin( ) + r 2 sin 2 ( ) r sin( ) + g
(3.87)
3.6 Examples of Application of Equations of change Practically all the microscopic balance examples treated in the previous chapter can be treated using the equations of change presented in this chapter. In this section we review some of the previous examples and present additional applications.
3.6.1 Liquid flow in a Pipe To model the one dimensional flow through the pipe of an incompressible fluid (Example 2.2.1) we may use the continuity balance. For constant density we have the continuity equation in cylindrical coordinates (Eq. 3.76).
119
1 rvr v vz + + =0 r r r z
(3.88)
The plug flow assumptions imply that vr = v = 0, and the continuity balance is reduced to:
vz =0 z
(3.89)
3.6.2 Diffusion with Chemical Reaction in a Slab Catalyst To model the steady state diffusion with chemical reaction of species A in a slab catalyst, (Example 2.2.3) we use the equation of change (Eq. 3.71). The fluid properties are assumed constant, C A C A C A C A 2C 2C A 2C A + + vx + vy + vz D A ( 2A + ) = RA x y z t x y 2 z 2
(3.90)
C A =0. t
flow then vx = vy = vz = 0. For diffusion in the z-direction only, the following holds:
=0. = x y
d 2C A DA = RA dz 2
(3.91)
120
The isothermal plug flow reactor (Example 2.2.5) can be modeled using the component balance equation (3.77). The plug flow conditions imply that vr = v = 0 and
= =0. r
C A C A 2C A = v z + DAB RA t z z 2
(3.92)
For the non-isothermal plug flow reactor (Example 2.2.6), the energy balance is obtained by using Eq. 3.78. For fluid with constant properties and at constant pressure, we have: T T v T T 2T 1 T 1 2T 2T + Cp (v r + + vz ) = k( 2 + + + ) + H r r r 2 2 z 2 t r r z r
Cp
(3.93)
= =0, r
forces, the term H includes the heat generation by reaction rate RA and heat exchanged with the cooling jacket, htA(T Tw). Equation (3.93) is reduced to:
Cp
T T 2T D = Cpv + k 2 H r ko e E / RT C A ht (T Tw ) t z z A
(3.94)
3.6.4 Energy Transport with Heat Generation Consider the example of a solid cylinder of radius R in which heat is being generated due to some reaction at a uniform rate of H (J/m2s). A cooling system is used to remove heat from the system and maintain its surface temperature at the constant value Tw (Figure 3.5). Our objective is to derive the temperature variations in the cylinder. We assume that the solid is of constant density, thermal conductivity and heat capacity. Clearly this is a distributed parameter system since the temperature can vary with time and with all positions in the cylinder. We will use then the equation of change (Eq. 3.78) in cylindrical coordinates for a solid:
121
T k 2T 1 T 1 2T 2T ( 2 + = + 2 2 + 2 )+ H t Cp r r r r z Cp
(3.95)
The variation of temperature is only allowed in radial directions. Therefore, the terms
2T z 2
and
2T 2
are zero.
0=
k d 2T 1 dT ( 2 + )+ H Cp dr r dr Cp
(3.96)
Or equivalently: d 2T 1 dT + )= H 2 dr r dr k
(3.97)
122
(3.98)
at r = 0
(3.99)
1 d dT (r )= H r dr dr k
(3.100)
(3.101)
The left hand side is the rate of diffusion of heat per unit volume while the right hand side is the rate of heat production per unit volume.
3.6.5 Momentum Transport in a Circular Tube We revisit example 2.2.2 where we derived the steady state equations for the laminar flow inside a horizontal circular tube. We will see how the model can be obtained using the momentum equation of change. We assume as previously that the fluid is incompressible and Newtonian. The momentum equations of change in cylindrical coordinates are given by Eqs. (3.79-3.81). A number of simplifications are used: The flow has only the direction z, i.e. vr = v = 0. The flow is at steady state,
v z =0 t
The momentum equation in cylindrical coordinates Eq. 3.81 is reduced to: 123
vz
(3.102)
(3.103)
We also note that because the flow is symmetrical around the z-axis we have necessarily no variation of the velocity with , i.e.
2 vz 2 =0
Equation 3.102 is then reduced to
(3.104)
d 2 v z 1 dv z dP dr 2 + r dr = dz
(3.105)
Since the left hand side depends only on r, this equation suggests that Therefore:
dp P = dz L
dP is constant. dz
(3.106)
where P is the pressure drop across the tube. Equation 3.105 is equivalent to:
d 2 v z 1 dvz P = + 2 r dr L dr
(3.107)
with the following conditions identical to those in Example 2.2.2. Note also that Eq. 3.107 can also be written as: 124
d rv z P ( )= dr dr L
(3.108)
(3.109)
where rz is the shear stress. The left term is the rate of momentum diffusion per unit volume and the right hand side is in fact the rate of production of momentum (due to pressure drop). Note then the similarity between Eq. 3.109 for momentum transfer with Eq. 3.101 for heat transfer.
3.6.6 Unsteady state Heat Generation We reconsider Example 3.6.4 but we are interested in the variations of the temperature of the reactor with time as well. This may be needed to compute the heat transferred during start-up or shut-down operations. Keeping the same assumptions as Example 3.3.4 (except the steady state assumption), the energy balance in cylindrical coordinates yields:
T 1 d dT =k (r )+ H t r dr dr k
Cp
(3.110)
125
We consider a fluid flowing at constant velocity vz into a horizontal cylindrical tube. The fluid enters with uniform temperature Ti. The wall is assumed at constant temperature Tw. We would like to model the variations of the fluid temperature inside the tube. To apply the energy equation of change (Eq. 3.78) we will assume that the fluid is incompressible, Newtonian and of constant thermal conductivity. Since the system is at steady state d/dt = 0 and the flow is one-dimensional energy equation in cylindrical coordinates Eq. 3.78 is reduced to: T 2T 1 T 1 2T 2T + + = k( 2 + ) t r r r 2 2 z 2 r vr = v = 0, the
Cpv z
(3.114)
Figure 0-6 heat transfer with constant wall temperature Since the temperature is symmetrical then neglect the conduction term
2T z
2
2T 2
. The system is
126
Cpv z
T 2T 1 T = k( 2 + ) t r r r
d rv z P ( )= dr dr L
(3.115)
(3.116)
These two equations are therefore coupled by vz, with the previous boundary conditions for vz, At r = R, At r = 0, At z = 0, At r = 0, At r = R, vz = 0 dvz/dr = 0 T = Ti dT/dr = 0 T = Tw (3.117) (3.118) (3.119) (3.120) (3.121)
3.6.8 Laminar Flow and Mass Transfer We consider the example of a fluid flowing through a horizontal pipe with constant velocity vz. The pipe wall is made of a solute of constant concentration CAw that dissolved in the fluid. The concentration of the fluid at the entrance z = 0 is CAo. The regime is assumed laminar and at steady state. The fluid properties are assumed constant. We would like to model the variation of the concentration of A along the axis in the pipe. The component balance for A (Eq. 3.77) is:
C A ) 2 2 r + C A + C A ) rr r 3 2 z 2
vr
C A C A C A + v + vz = D AB ( r z
(r
(3.122)
vz
C A = D AB ( z
(r
(3.123)
127
2C A z 2
C A ) (r C A r vz = D AB rr z
(3.124)
The equation (Eq. 3.116) is unchanged. The two equations are coupled through vz. The boundary conditions are analogous to the previous example: At r = R, At r = 0, At z = 0, At r = 0, At r = R, vz = 0 dvz/dr = 0 CA= CAo dCA/dr =0 CA= CAw (3.125) (3.126) (3.127) (3.128) (3.129)
Note the similarity between this example and the heat transfer case of the previous example.
128
102