Docsity

Computational Fluid Dynamics Assignment 6: Navier-Stokes and Euler Equations - Prof. Charl, Assignments of Mathematics

Toggle sidebar
bg1
Math/Physics 365 Computational Fluid Dynamics
Programming Assignment 6
(Spring 2000–Pruett/Sochacki)
DATE ASSIGNED: Tuesday, 9 April, 2001 DATE DUE: April 18, 2001
BACKGROUND: In class, we presented the 3D Navier-Stokes equations and then converted them to the
1D setting. We also considered the 3D Euler equations. In this assignment you will look at some aspects
of the Navier-Stokes equations and the Euler Equations.
ASSIGNMENT:
1 Write out the three 3D Navier-Stokes equations for conservation of momentum.
2 Write the 3D Euler Equations in Conservation Form (Momentum,Mass,Energy);
∂
∂t¯
V+∇·¯
F(¯
V) = ¯
0.
3 Solve the equation: ∂
∂tu+c∂
∂xu=0
u(x,0) = 1,x<0 ; 1−2x,0<x<1 ; −1,x>1
Plot your solutions in Maple and plot it over time. Compare this to the forward difference upwind
approximation to the solution. Test numerically the ratio ∆x
∆tin this scheme. Compare this to the
theoretical value for stability.
4 Consider the advection-diffusion modules associated with the handout on my web page. Test the
upwind and leap-frog schemes for stability and accuracy. Give the stability conditions.
5 Solve the Burger equation: ∂
∂tu+u∂
∂xu=0
u(x,0) = 1,x<0 ; 1−2x,0<x<1 ; −1,x>1
Plot your solution over time in Maple.
NOTES: Use the animate command in Maple to plot over time. For numerical plots use listplot and
display.

Partial preview of the text

Download Computational Fluid Dynamics Assignment 6: Navier-Stokes and Euler Equations - Prof. Charl and more Assignments Mathematics in PDF only on Docsity!

Math/Physics 365 Computational Fluid Dynamics

Programming Assignment 6

(Spring 2000–Pruett/Sochacki)

DATE ASSIGNED: Tuesday, 9 April, 2001 DATE DUE: April 18, 2001

BACKGROUND: In class, we presented the 3D Navier-Stokes equations and then converted them to the 1D setting. We also considered the 3D Euler equations. In this assignment you will look at some aspects of the Navier-Stokes equations and the Euler Equations.

ASSIGNMENT:

1 Write out the three 3D Navier-Stokes equations for conservation of momentum. 2 Write the 3D Euler Equations in Conservation Form (Momentum,Mass,Energy);

∂ ∂ t

V ¯ + ∇ · F ¯( V ¯ ) = 0 ¯.

3 Solve the equation: ∂ ∂ t u + c

∂ x u = 0

u ( x , 0 ) = 1 , x < 0 ; 1 − 2 x , 0 < x < 1 ; − 1 , x > 1 Plot your solutions in Maple and plot it over time. Compare this to the forward difference upwind approximation to the solution. Test numerically the ratio ∆ ∆ xt in this scheme. Compare this to the theoretical value for stability.

4 Consider the advection-diffusion modules associated with the handout on my web page. Test the upwind and leap-frog schemes for stability and accuracy. Give the stability conditions.

5 Solve the Burger equation: ∂ ∂ t u + u

∂ x u = 0

u ( x , 0 ) = 1 , x < 0 ; 1 − 2 x , 0 < x < 1 ; − 1 , x > 1 Plot your solution over time in Maple.

NOTES: Use the animate command in Maple to plot over time. For numerical plots use listplot and display.