Docsity

Computational Fluid Dynamics - Programming Assignment 7 | MATH 365, Assignments of Mathematics

Toggle sidebar
bg1
Math/Physics 365 Computational Fluid Dynamics
Programming Assignment 7
(Spring 2000–Pruett/Sochacki)
DATE ASSIGNED: Wednesday, 19 April, 2000 DATE DUE: May 1, 2000
BACKGROUND: In class we have looked at 1D conservation laws and the properties of their solutions.
We have looked at numerical solutions to some 1D conservation laws. We have studied the impact of
adding viscosity to conservation laws. In this assignment you will apply these ideas to the 1D Euler
Equations and Burger’s Equation.
ASSIGNMENT:
1 Give the rarefaction wave speeds for the 1D Euler Equations.
2 Give the Rankine-Hugoniot Conditions for the 1D Euler Equations.
3 Add viscosity to Burger’s Equation ∂
∂tu+∂
∂x(u2
2) = 0
u(x,0) = 3
2−
arctanx
π
and use 3 different numerical techniques for determining numerical solutions. Plot the ’good’ solu-
tions 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 - Programming Assignment 7 | MATH 365 and more Assignments Mathematics in PDF only on Docsity!

Math/Physics 365 Computational Fluid Dynamics

Programming Assignment 7

(Spring 2000–Pruett/Sochacki)

DATE ASSIGNED: Wednesday, 19 April, 2000 DATE DUE: May 1, 2000

BACKGROUND: In class we have looked at 1D conservation laws and the properties of their solutions. We have looked at numerical solutions to some 1D conservation laws. We have studied the impact of adding viscosity to conservation laws. In this assignment you will apply these ideas to the 1D Euler Equations and Burger’s Equation.

ASSIGNMENT:

1 Give the rarefaction wave speeds for the 1D Euler Equations.

2 Give the Rankine-Hugoniot Conditions for the 1D Euler Equations.

3 Add viscosity to Burger’s Equation ∂ ∂ t

u +

∂ x

u^2 2

u ( x , 0 ) =

arctan x π and use 3 different numerical techniques for determining numerical solutions. Plot the ’good’ solu- tions over time in Maple.

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