Search for question
Question

Question #4 Consider the following 1-D Euler equation: Suggestion: Nx = 50 ap dup + at əx Where is the property and u is the velocity If the initial condition is:

p(x,t = 0) = 1.5 exp(-4x) for 0≤x≤ 1, Assuming a periodic boundary condition: (0,t) = $(1,t) Formulate a numerical method using finite volume using Upwind scheme for the flux, and 4 stage Rung Kutta explicit scheme and 0 ≤ t ≤ 5 = 0 Write a simple MATLAB code to simulate the convection of the property

Fig: 1