ComputerProb2 - 1 Sep. 12, 2006 ATMS 502 - CS 505 - CSE 566...

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

View Full Document Right Arrow Icon

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

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

Unformatted text preview: 1 Sep. 12, 2006 ATMS 502 - CS 505 - CSE 566 Jewett Computer Problem 2 2- and 3-time-level multi-method comparison and evaluation Due : beginning of class – Thursday, Sep. 28. Turn in : your code (printed out, and also emailed to me), and plotted results (on paper). Problem being solved: linear advection equation. Boundary condition: periodic; c>0. Evaluation: you will overlay the true solution with each of your numerical results, as well as compute error statistics following Takacs (1985, eqn. 6.1-6.7). Schemes: there are three: 1. Lax-Wendroff (from computer problem 1) u j n + 1 = u j n " # 2 u j + 1 n " u j " 1 n ( ) + $ u j + 1 n " 2 u j n + u j " 1 n ( ) 2. Takacs (1985, eqn. 4.3) u j n + 1 = u j n " # 2 u j + 1 n " u j " 1 n ( ) + # 2 2 u j + 1 n " 2 u j n + u j " 1 n ( ) " $# # " 1 ( ) u j + 1 n " 3 u j n + 3 u j " 1 n " u j " 2 n ( ) 3. Leapfrog (3-time-level) u j n + 1 = u j n " 1 " # u j + 1 n " u j " 1 n ( ) (no Asselin filtering) Note the additional boundary term (j-2) above; you will have to change your array dimensions....
View Full Document

This note was uploaded on 10/06/2009 for the course ATMOSPHERI 502 taught by Professor Jewett during the Spring '09 term at University of Illinois at Urbana–Champaign.

Page1 / 2

ComputerProb2 - 1 Sep. 12, 2006 ATMS 502 - CS 505 - CSE 566...

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