Question #4 Consider the following 1-D Euler equation: др дри at дх 0 a²pu дри дрии + дх др + u дх at дх2 If the initial

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

Question #4 Consider the following 1-D Euler equation: др дри at дх 0 a²pu дри дрии + дх др + u дх at дх2 If the initial

Post by answerhappygod »

 1
1 (64.73 KiB) Viewed 48 times
Matlab coding required for all parts please answer the question fastly thanks
Question #4 Consider the following 1-D Euler equation: др дри at дх 0 a²pu дри дрии + дх др + u дх at дх2 If the initial condition is : u(x,t = 0) = 0 for 0 < x < 1, and u = 0.25 The boundary conditions are : u(0,t) = 1, u(1,t) = 0 Formulate a numerical scheme using finite volume and explicit for temporal derivative. Suggestion: Nx = 100 CFL = 0.001 and 0 <t<2 a) Write a simple MATLAB code to implement the numerical scheme. b) Compute and plot the u vs x at t = 0.5, 1.0, 1.5 and 2 c) Varies u from 0.25 to 0.1, 0.01, and 0.001 d) Discuss the results and impact of u to your solution.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply