Docsity

Science Program Atmospheric Science - Problem Set 8 | MSC 321, Assignments of Earth Sciences

Toggle sidebar
bg1
MSC 321 – Problem Set 8
1 Von Neumann stability analysis
1.1 Heat Equation
The heat equation is given by the following partial differential equations: Tt=αTxx where
α > 0 is a heat diffusion coefficient, and T=T(x, t) is the temperature.
1. Using the same procedure as the one in the notes, show that a finite volume statement
of the above equation on a cell of width ∆xyields
∆xdTj
dt =Dj+1
2−Dj−
1
2, Dj+1
2= [αTx]j+1
2(1)
2. Show that the 1D finite volume discretization of the diffusive fluxes using a linear recon-
struction procedure leads to the following ordinary differential equation for the average
temperature in a cell jwhen αis constant:
dTj
dt =αTj+1 −2Tj+Tj−1
∆x2(2)
3. The above semi-discrete equation is to be integrated in time using an explicit forward
Euler scheme. Find the Von-Neumann stability criterion for this scheme:
Tn+1
j−Tn
j
∆t=αTn
j+1 −2Tn
j+Tn
j−1
∆x2(3)
1.2 Advection Equation
The finite volume discretization to the advection equation Tt+ (uT )x= 0 yields
∆xdT j
dt =Fj+1
2−Fj−
1
2, Fj+1
2= [uT ]j+1
2(4)
1. Assuming a linear reconstruction scheme Tj+1
2=Tj+Tj+1
2and a constant velocity u > 0,
the ODE for Tjis integrated using trapezoidal time-stepping as follows:
Tn+1
j−Tn
j
∆t=1
2uTn+1
j+1 −Tn+1
j−1
2∆x+1
2uTn
j+1 −Tn
j−1
2∆x(5)
Use a Von-Neumann analysis to find the amplification factor for this scheme, and to
deduce its stability characteristics.
1
pf2

Partial preview of the text

Download Science Program Atmospheric Science - Problem Set 8 | MSC 321 and more Assignments Earth Sciences in PDF only on Docsity!

MSC 321 – Problem Set 8

1 Von Neumann stability analysis

1.1 Heat Equation

The heat equation is given by the following partial differential equations: Tt = αTxx where α > 0 is a heat diffusion coefficient, and T = T (x, t) is the temperature.

  1. Using the same procedure as the one in the notes, show that a finite volume statement of the above equation on a cell of width ∆x yields

∆x

dT (^) j dt

= Dj+ 21 − Dj− 12 , Dj+ 12 = [αTx]j+ 12 (1)

  1. Show that the 1D finite volume discretization of the diffusive fluxes using a linear recon- struction procedure leads to the following ordinary differential equation for the average temperature in a cell j when α is constant:

dT (^) j dt

= α

T (^) j+1 − 2 T (^) j + T (^) j− 1 ∆x^2

  1. The above semi-discrete equation is to be integrated in time using an explicit forward Euler scheme. Find the Von-Neumann stability criterion for this scheme:

T n+ j −^ T^

n j ∆t

= α

T

n j+1 −^2 T^

n j +^ T^

n j− 1 ∆x^2

1.2 Advection Equation

The finite volume discretization to the advection equation Tt + (uT )x = 0 yields

∆x

dT (^) j dt

= Fj+ 12 − Fj− 12 , Fj+ 12 = [uT ]j+ 1 2

  1. Assuming a linear reconstruction scheme Tj+ 12 = T^ j^ + 2 T j+1 and a constant velocity u > 0, the ODE for T (^) j is integrated using trapezoidal time-stepping as follows:

T n+ j −^ T^

n j ∆t

u

T

n+ j+1 −^ T^

n+ j− 1 2∆x

u

T

n j+1 −^ T^

n j− 1 2∆x

Use a Von-Neumann analysis to find the amplification factor for this scheme, and to deduce its stability characteristics.

  1. A user decides that the linear reconstruction is not adequate and wishes to use a quadratic reconstruction procedure over the stencil j − 1 , j, j + 1 for uj+ 12 > 0:

Tj+ 12 =

−T (^) j− 1 + 5T (^) j + 2T (^) j+ 6

He wonders what the stability criteria would then be, particularly if he switches to an explicit integration scheme.

(a) show that for uniform u > 0 the ODE now takes the form

∆t

dT (^) j dt

= −μ

2 T (^) j+1 + 3T (^) j − 6 T (^) j− 1 + T (^) j− 2 6

, μ =

u∆t ∆x

(b) Using a Fourier (wave-like) decomposition of the form T (^) j = Tˆ (t)eikxj^ , where Tˆ is the time-dependent amplitude, show that the evolution of Tˆ is governed by

∆t

d Tˆ dt

μ 6

[ 8 sin^2

k∆x 2

  • i4 sin k∆x

( 1 + sin^2

k∆x 2

)] T^ ˆ (8)

(c) Using the ODE analysis of the leap-frog scheme, deduce from the above if the leap- frog scheme would be adequate form time integration. (d) show that a simple Forward Euler scheme for the above system would produce an amplification factor of the form

A = 1 − μ

sin^2

k∆x 2

− iμ

sin k∆x

( 1 + sin^2

k∆x 2

) (9)

(e) Show that the stability criterion |A| < 1 is tantamount to μ ≤ (^34)

You may find the following trigonometric identities useful

1 = sin^2 α + cos^2 α (10) sin 2α = 2 sin α cos α (11) cos 2α = cos^2 α − sin^2 α = 2 cos^2 α + 1 = 1 − 2 sin^2 α (12) 1 − cos α = 2 sin^2

α 2

1 + cos α = 2 cos^2

α 2