Chemical Engineering Hand Written_Notes_Part_71

Chemical Engineering Hand Written_Notes_Part_71 - 144 4....

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
144 4. ODE-IVPS AND RELATED NUMERICAL SCHEMES The new value x ( n +1) is a function of only the past value of x i.e., x ( n ) . This is a non-iterative scheme. Implicit Euler method: (3.15) d x dt = x ( n +1) x ( n ) h = F [ x ( n +1) ,t n +1 ] x ( n +1)= x ( n )+ hF ( n +1) , ( n =0 , 1 , ....... , n 1) Each of the above equation has to be solved by iterative method. For example if we use successive substitution method for solving the resulting nonlinear equation(s), the algorithm can be stated as follows: Initialize: x (0) ,t f ,h, ,N = t f /h FOR n = 1 TO n = N x (0) ( n +1)= x ( n )+ hF [ x ( n ) ,t n ] WHILE ( δ> ) x ( k +1) ( n +1)= x ( n )+ hF [ x ( k ) ( n +1) ,t n +1 ] δ = || x ( k +1) ( n +1) x ( k ) ( n +1) || || x ( k ) ( n +1) || END WHILE x ( n +1)= x ( k ) ( n +1) END FOR 3.2.2. Variable stepsize implementation with accuracy monitoring. One prac- tical di culty involved in the integration with f xed stepsize is the choice of
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 11/26/2011 for the course EGN 3840 taught by Professor Mr.shaw during the Fall '11 term at FSU.

Page1 / 2

Chemical Engineering Hand Written_Notes_Part_71 - 144 4....

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online