hmwk_6_2010 - UNIVERSITY OF NOTRE DAME Department of Civil...

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

View Full Document Right Arrow Icon
UNIVERSITY OF NOTRE DAME Department of Civil Engineering and Geological Sciences CE 30125 November 18, 2010 J.J. Westerink Due: November 30, 2010 Homework Set # 6 Corrections Nov. 23, 2010 Background: Partial differentiation in a discrete context is implemented simply by holding the indices in the directions other than those being differentiated constant. We can then apply all the one-dimensional discrete differentiation formulae. Note that for a three dimensional spatial coordinate system ( x,y,z ), the discrete indices would be ( i,j,k ). Problem 1 Write down a second order accurate approximation to the following three dimensional partial differential equa- tion at node ( i,j,k ) Background: Initial value problems are solved one step at a time (going from one time level to the next time level is called time stepping ). It involves writing a discrete algebraic form of the differential equation to connect two time levels. Starting with the functional value specified as the initial condition, you advance from one level to the next solving for one unknown at a time using the algebraic equation that you have developed. Problem 2 Solve the problem Using a forward Euler method for with time steps equal to , , and . Compare, by plotting the three solutions and comment. Develop your own MATLAB or Fortran code to do this problem. 2 f x 2 ------- 2 f y 2 2 f z 2 2 f x y ----------- 2 f y z ++ Bxyz ,, () = dy dt ----- y 2 t 5 y 5 --------------- = y 0 1 = 0 t 4 ≤≤ Δ t 0.2 = Δ t 0.02 = Δ t 0.002 =
Background image of page 1

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

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

This note was uploaded on 03/02/2012 for the course CE 30125 taught by Professor Westerink,j during the Fall '08 term at Notre Dame.

Page1 / 3

hmwk_6_2010 - UNIVERSITY OF NOTRE DAME Department of Civil...

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

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