16.12.2012 Views

Computer Algebra Recipes

Computer Algebra Recipes

Computer Algebra Recipes

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

7.3. SIMULATING SOLITON COLLISIONS 309<br />

equation (taking ® =1),<br />

@Ã<br />

@t<br />

@Ã<br />

+ Ã<br />

@x + @3Ã =0: (7.4)<br />

@x3 They used a CDA for each ¯rst derivative, approximated @ 3 Ã=@x 3 by<br />

μ 3 @ Ã<br />

@x3 <br />

=(Ãi+2;j ¡ 2 Ãi+1;j +2Ãi¡1;j ¡ Ãi¡2;j)=(2 h<br />

P<br />

3 ); (7.5)<br />

and averaged à in the nonlinear term equally over the three grid points (i+1;j),<br />

(i; j), and (i ¡ 1;j). Setting r = k=h3 , the Zabusky{Kruskal algorithm is<br />

Ãi;j+1 = Ãi;j¡1 ¡ rh 2 (Ãi+1;j + Ãi;j + Ãi¡1;j)(Ãi+1;j ¡ Ãi¡1;j)=3<br />

¡ r (Ãi+2;j ¡ 2 Ãi+1;j +2Ãi¡1;j ¡ Ãi¡2;j);<br />

(7.6)<br />

with j =1; 2;:::: This scheme is numerically stable for r

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!