1. Trang chủ
  2. » Thể loại khác

Nonlinear analysis in chemical engineering (1980)

369 337 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 369
Dung lượng 13,25 MB

Nội dung

McGRAW-HILL INTERNATIONAL eoOK COMPANY N.:wVork Si.L ouis SanfranclSCO Auckland eo801a Gua1emala �j.°'�.:S\u rg Lisbon Loodo• Madrid Mexico Montreal New Delhi Paris San Juan SioPaulo re �;r.,: Tokyo Toronto Bruce A Finlayson Professor of Chemical Engineering and Applied Machenratks University ofWashington, Seattle NONLINEAR ANALYSIS IN CHEMICAL ENGINEERING � CONTENTS Preface I lntroduclion 1-1 Classification of Equations Algebraic Equalions 2-t 2-2 2-3 · Successive Substitution Newton-Raphson Comparison Study Questions Problems Bibliography Ordinary Qifferential Equations-lnilial-Value Problems 3-1 3-2 3-3 3-4 3-5 3-6 3-7 3-8 3-9 Terminology Interpolation and Quadrature Explicit Integration Methods Implicit Integration Methods Predictor-Corrector and Runge-Kuna Methods Extrapolation and Step-Size Control Stabi!ity High-order Schemes that are Stable and not Oscillate Equation Solvers 11 13 15 15 16 17 17 20 25 27 28 32 37 45 47 riil COl'ffENTS 3-IO S lO , Comparison s1udy Questions Problems Bibliography References 57 l8 l9 60 Boundary-Valac Problems Ordinary Diff'erenlial Equalions- MeihodofWcighted Residuals Finite Difference Method 4-3 Regular Perturbation 4-4 Orthogonal Collocation 4-5 Diffusion and Reaction-Exact Results 4-6 Perturbation Method for Diffusion and Reaction 4-7 Orthogonal Collocation for Diffusion and Reaction 4-8 Lower-Upper Decomposition of Matrices 4-9 Or1hogonal Collocation on Finite Elements 4-IO Galerkin Finite Elements 4-11 Initial-Value Techniques 4-12 Quasilinearization 4-13 Comparison 4-14 Adaptive Meshes Study Questions Problems Bibliography References 60 " 70 4-I 4-2 Parabolic Panial Differenlial Equations - Time 11.ad One Spatial Dimension 5-1 Similarity Transformation Separation of Variab les 5-3 Method ofWeigh ted Residuals 5-4 Orthogonal Colloc ation 5-5 Finite DilTerence S-& Orthogonal Colloc ation on Finite S-7 Galerkin Finite Element Method Elements S-8 Conve ctive Diffusion Equation S-9 Flow Thro ugh Porous Medin S·IO Com paris on 5-2 Study Questions Problems Bibliography References 73 79 88 94 104 113 126 136 142 143 164 166 167 170 171 l7l 172 180 184 191 214 228 230 231 "" 261 265 2'6 269 110 CONTENTS Partial Differential Equations in Two Space Dimensions 6-1 Introduction 6-2 Finite Difference 6-3 Orthogonal Collocation 6-4 Galerkin Finite Element Method 6-5 Comparison Problems Bibliography References Appendix Computer Programs ix 271 272 276 286 291 307 312 13 314 316 Author Index 359 Subject Index 361 PREFACE tho�s or a?alysis t�at arise in introduction to many m� This book provides an ns of ordinary and partial ddTerential equatio Many engineering for the solution s is arc oriented towards linear problem , yet it books, and often many courses, ng Here many methods­ engineeri in arise frequenlly that nonlinear problems applied on-are , perturbati finitc difference, finite element, orthogonal collocation of the method and the to nonlinear problems to illustrate the range of applicability arc solved useful results that can be derived from each method The same problems in practical and methods these with different methods so that the reader can assess similar cases The examples are from the author's own experience: fluid ftow f, (including polymers), heat transrer, and chemical reactor modeling The level of the book is introductory, and the treatment is oriented toward the nons�alist Even so the reader is introduced to the latest, most powerful techniques The course is based on a successrul graduate course at the University or W�ington, and most chemical engineers taking the course are experi­ men � ah�ts The reader desiring to delve deeper into a particular technique or app can follow the leads given in the bibliography of each chapter _ peciall y th�nks the class or 1979, who tested the first ��tten version ort _ k, and especially Dan David and Mike Chang, who were dtligelll _ about providing correctio ns The draft was expertly typed by Karen Fincher and Sylvia Swimm The author is also tha8k�u1 10 �1s famdy for supporting him during the pro ject-both fiscall a d psycholog cally Y Writing a book really involves the whole famil y Spe ia1 t anks go Christine, wh� gav to the author's children Mark, Cady, and r father-child time to make this book possible and to the author' _ s e contmued support and encouragement �� �� ��C:O: � : ;r 5;�1: :::/::; Seatlle 1980 n Bruce A Finlayso CHAPTER ONE INTRODUCTION The goal or this book is to bring the reader into contact with the efficient computation tools that are available today to solve differential equations modeling physical phenomena, such as diffusion, reaction, heat transfer, and ftuid flow Arter mastering the material in this book you should be able to apply a variety or methods-finite difference, finite element, collocation, perturbation, etc.-although you will not be an expert in any of them When faced with a problem to solve you will know which methods are suitable and what information can be easily determined by which method The emphasis is on numerical methods, using a computer, although some of the approaches can also yield powerful results analytically The author's philosophy is to use preprogrammed computer packages when available because they allow the reader to sample, �ruse, and solve difficult problems with less effort The reader is, however, introduced to the theory and techniques used in these computer programs 1-1 CLASSIFICATION OF EQUATIONS Equations modeling physical phenomena have different characteristics depending on how they model evolution in time and the influence or boundary condilions When conrronted with a model, expressed in the rorm of a differential equation, the analyst must decide what type or equation is to be solved That characterization determines the methods that are suitable C��sider a closed system (i.e no interchange or mass with the surroundings) contain mg three chemical components whose concentrations are given by c1, ,·�· and c3 The three components can react (say when the system is illuminated with cnonsystcm Figurel·I Rca the concentration of each ncy), and �he go, is to predict light of a specified frcqu� e The rates eaction are known as a function of the of ti� _is0 s own in Fig 1-1, and the differential species as a function reaction system concentrations The system arc equations governing this t � -k1c1+k2c·2c3 �== df (1-1) �f ==k3d initial _ zero, and the Initially the concentrations of components two and lhrce ai·e concentration of component one is given as c0• We thus wish to solve Eqs 0-l) subject to the initial conditions (1-2) Note that the conditions apply only at time zero not to later times t The reaction proceeds in time; if we know where to start we can integrate the equations indefinitely This evolution property yields equations that are called ini1ial-value problems In this case Eqs (1-1) are ordinary differential equations, since there is only one independent variable, time Thus Eqs (I-I) and (1-2) are governed by a system of ordinary differential equations that are initial-value problems In this text this_ is abbreviated to ODE IVP Consider next diffusion and reaction in a porous medium We have a hetcrogcnc�us system (solid material with pores through which the reactants and prod�cts �11Tuse), but here we model the system as simple diffusion using an tvc diffusion coefficient mass balance on a volume of the porous medium ;�:�� A 1\ · _ ?1 - - : (tJ_, + r1J)' + tJ ) r1X -1,)� �iz + R(c) (1-3) �::r; :�� th� r;•te of _reaction per unit volume (solid plus void volume� J is the r l ni f solid and ::�� 31r: one mdependent (1•6) is second-order and the theory of hnear second-order says that we must specify two constants in the t· stating two boundary conditions, one at each side e we co sid r one side of the slab as impermeable ��o Hux) and the is held fixed at the other side These boundary cond1t1ons are de -D��=O x=O (1-7] (1-8) The problem in Eqs (1-6) to (1-8) is an ordinary differential equation and a boundary-value problem ODE-BVP It is also called a two-point boundary-value problem because the two conditions are expressed at different positions IC the� had both been specified at the same point say then the problem would have been an initial-value problem This nature of boundary-v alue problems-having conditions at each end of the domain- complicates the solution characteristic of diffusion, heat transfer, and Huid-flow problems techniques but is Re�racin� our steps back to Eq (l-5) describing diffusion and ction in a l�ree-d�m rea ens1onal this time let us simplify the equation for one space d1mens1on, as beforespace, , but include transient pheno mena, such x x = ,,,, c that ,\· ( ) ;1f = iiX D,,fl.� + R(c) (1-9) This is a partial differential , · ' �ccause the solution depends on tw� i�dependent variables and equ,nion d11Terent, however Onl a ·1 The �ha�act�r of the dependence on and on �s e der an �vo lution phenome:o sin � • vativ� 1�.1 occurs, and the dependence on is n W require pos111on an mll ta l value of the concentration at each x c x r r t'(X,0)::: c·o(X) The dependence on (1-10) necessary Conditions is like boundary-value probl em and two conditions are lik E ou\d ��w be a functio� 7) a nd (1-8) ure feasible, but the concentration ��' centration We 0��i�� to variations in the bulk-stream d�IJ�=�t1a l equationcall th ' t 'com.rrespondmg t l act that one in one•:p�?c: �� e �qs (I- 7) to ( 1-10) a parabolic partial variable is evolu:: :,����� ��er=�e��· The term purubolic refers x a INTIODUCTION !! f"igurel-l Diffusioninalonr.ca1alys1pellc1 If we solve Eq ( l-5) in two or three space dimensions we also have a parabolic partial differential equation, with the I variable being evolutionary and the '¥:: ·'" and z variables being or boundary-value type In two dimensions we have (1-111 Ir we include two space dimensions but allow only steady-state situations then the equation reduces to ,1 o � "' � a ''' ( ) +a;; (D,,fy) + R(c) = o ( l-12) This equation would model both diffusion and reaction in a catalyst particle that is very long in the z direction, so that z varia1ions are negligible (see Fig 1-3) The type of boundary conditions allowed are Dirichlet-type or boundary conditions or the first kind t'= WR I TE ( 61 55 > 27 28 29 50 30 31 32 33 3' 35 36 GD T D • h XX C l h CX C I > J1 XX C J l CX C J I GO T O Ii lt WR I T E ( 61 55 h X X U h C IC U ) C Dh T l N U E 5 F O R tl A T U Z X1 f l F l 91 l O X I Z X f l 6.1 F l ) RETURN END S IJ B R DUT U I E I H I T I A L C C N I D i lt E N S I O N C C N J D O I•l•N CUl • O R E TURN END S U B R O U T I N E B C C C N1 K E T H C l C N T ) O l " E NS I D N C C N l CCC S E T C l • C C X • O I I F ft E T H • l O R CCC S E T C N • C U • l ) F OR A L L K E T H I F C PI E T H E Q G C T O Cl • t CN • O 3e 39 •037 c c c c c D D D D D D • � ·l ' � R E TURN � �� R O U T I N E D I F F U f H N , T1 C C O O T , C D l'! M D N / S U B F D / D E L X , X X U O Z ) f ( 7• ) W C h XC C 1 C DK P't O N / S U B O C / N P • A C J11 h B C U • � F E NJ E C O rt H D N / GE A R / H U S E O , N O U S E D N S T E P H T E f'I h C R PA / E D / N D ft l'! O C D ! H E N S ! O N C I N I • CDOT I N J T H l lO I S OL V E FOR CCC CCC CCC CCC CCC CCC CCC CCC CCC D C / O T • O i i l o + P A R C U • C I DC / D X l / D X IF PA R I Z I D I F FE R S / PAR I Z l + FROH ZERO ADD TO THE z•x•DC IDX D C l • h N DELX • l l ( N+ l J X • I •D E L X CI • t i l l CO • C l IF l l oNE o ll C O • C l l- 1 CL • CN IF l l oNEoNI C L • C l l+ U AA l l + o s• P A R l l l • I C L + C l l l • I C L-C l l •PAR U ) • C C I + CO l > • C CI-CO I :� :� L � � �:� !! : e E E � E E E E E E E C A L L B C C C • N M E T "1 C ' C N • T I G O T O ' 1 30 • H E T H FD CCC 91 D D E Q U A T I ON E E E E E E E E E E E E E E E E E E e E e 10 � 11 12 13 H l� 17 18 19 16 21 Z2 Z3 20 z� u Z7 2e zq z� E U • U / P AR I Z l + X • C C L - C O ) / O E L X If ( P li R < Z J E Q O J GO TD 10 10 CODT C I J • U G O TD 5 Ull T H D G O N A L C DL L O C U J O N S Yl"l /'I E T lll C CCC C T l d S I S NO T AN A P P R O P R I A T E C H O I C E F O R D I F F U S I O N C C OCIOT • DELUZ C + R S E T U P I S PROV I D E D F U R CCC �)I • Ml NO • Nl • l R • l D C 25 J•l1N surn • o DO ZO I • l N X S U M l • SUMl + C J I !! )HI U 20 ZS C D Ci T I J , • S U P U + R GO TO 5 CCC OHH CI G O N A L C OL L O C A T I O N , U N S Y M H E T R l C N X • N+Z NO • l Nl • OD l • l N T H C I + NO ) • C U I I F I ME TH E Q J h ( U • C l TH( N+l+NO) • C M D O J•l1N SUMZ • o SUH3 • o JJ • J+NO O D 45 k • l • H X S U l1 • S U M Z + A.( J J , K l • T H C K ) E E E E E PROBLE M E E E E E E E ' E E E E e E E E E E E E E E E E E 10 11 lZ 11 H 15 � n l& 19 � '1 '2 4' 45 � '7 48 49 50 51 5Z 51 M '5 56 57 58 � � � = :: ::; = � � :; $ � I w W IU w w w w w w w "' "' � + "' � _ :zo "'" • :.: � - o , c A CJ • � :a:: Q - � :z: + • -, , U x N z: :::) , ­ t\I - -1 z: :::) N N z: => a f"'l l"'I s: ::c :l :> ������ :C :::) I Vl I O w • N " � "' ;: , , , x; 2; I 4, I :> CJ => a VI O V> l"I _ ,.,, :r: Z: ::> u ::> , "' 11"1 I I ,., _ E -, z ::::i - 1¥ , .::> , ,_ , ��� O lt'\ fl\ lt'I AUT HOR Ames W L 73 2:70 Aschcr U H>5 J"71 Atkas A 171 Bailey H E., 34 5\t Bellman R Bjordammen J , 3 IN DEX Fellcn, B M., 59 Fergu1on N B.,206, 227 269.270 Finlayson, B A • 35, 54 164, 170, 206 3, 227 24 269 269, 270, 270 290 292 305 309, 314 Forsyihe G., 59 106 , 1 9, F ri n d , E O Boney L R 270 Briggs, J E 3 Brown, H G 59 Byrnc G 59 Caillaud , J B.• 59 Carey G F 54 164, Carnahan, B., 269 Cavendi11h, J C., 242 269.270 Chang, P W 305, 309, 314 Chrisiiansen.J 65, Chung, T J., Coals K H • 3 Crank J., 75, 270 Crichlow, H H • S Davenpon, M 59 Dixon, T N • 3 Douglw;, J ,Jr.• 270 Dupon1, T., 242, 27 , ) 0, J l Ea!oOn E D., 70 Ehlig, C., 242,270 Enrighl W H., 59 Gear C W 36.59 Gladwell, I., 58 Gourlay, A R., l70 Gray W G 269 270, Grcsho P M 269 Hcinrich, J C.• 219, 240, 270 Hicks, J S., 140 Hindmarsh, A c 48 59 Hood, P Hopkins, T R 2711 Hou�lis E N., 314 Huebner, K H 296 ) 4, 309 H u ll, T E., 59 Hulme, D L Huyakorn, P S 2-19 270 lsaa�wn, E 2, 16 Juckson, K R., 59 Jenlilln, O K., 24 1, 269.278 Kcller, H ll 16, l-19 140 360 AUTHOR INDEX ����� �: �:: 3!� 3, 313 315 Lambert J D 20 42, 43 58 Lapidus, L S8 Lee E S 143, Lee R L 269 Luther H A 171, 269 Lynch R E 309 314 Madsen N K 270 �����1 :���/L �1 34 49 54, 59, m Mi1chell A R., 239 270 Moler C B 59 106 319 321 Monon K W 217 269 270 Moie C D., 170 Na}fch A H., 171 N\?lrseU, S P 46, 59 Padmanabhan L 31 59 Papatheodorou T S 309 314 Parks C L., 270 Patten T W 305 309 314 Peaceman, D W 281 282 283, 285, 28(), Pearson C E Pinder G F , 269, 270 314 Prenler P M 232 270, 314 Price, H S., 242, 269 270, 27 , 310, Rice, R., 309, 314 Richtmyer, R D., 217, 269, 270 Russell R D 165 , 314 Sani, R L 269 Sedgwick, A E., 59 Scinreld, J H • 58 Se!tari, A., 242, 310, Shampine, L F , 59 Shanks, D., 104, Shih, F S 296, Siemienivich, J L., 58 Sincovec, R F., 270 Smith, I M 58 Smith, R E., 270 Spivak, A., 310, Steller, H J Stone H L 286, 3 3, Van Genuchten M T 269, Varga, R S., 242 269 Villadsen, J Wait R • 270 Walsh, L 270 Watts H A 59 Weinberger H F 269 273, Weinstein H G 28& 3 3 Weisz, P B t Wexler A 270 Wilkcs J 269 Young, D 282 Young L C 290 10 ZienkicwicL C 239, 240 270 SU BJECT INDEX gra1ilJ 24 Elcmc nt 1 l l -l ! 23 26 27 154-155 rectangular 299 J 04 tran�formahon 00 W I 04 triangular 293, 297 variablc s11c l6-I Element integral 129 30 Element mmri,, 32 I J5 29J 296, 298 J I Ellipnc partial d1ffcren11al equation tlcfinillon, cxamplc 272 2S5 29 , J09 Error ODE 1>5, 'l

Ngày đăng: 23/05/2018, 09:01