代写scalar equations、代做Python/c/c++,Java程序语言、代写Lax-Friedrichs flux代做Databas

APiE Assignment - Finite Volume for scalar equations (0.5EC)Part (i) is compulsory and is required to pass the assignment. The other parts are all optionaland are only required for the higher grades. It should be noted that part (ii) (iv) areindependent i.e. it is possible to complete (i) and (iii) or (i) and (iv) only etc...(i) Write a simple finite volume code to solve the one dimensional linear advection equation.Implement inflow on the left and outflow conditions on the right. Use the Lax-Friedrichs flux.Consider both (a) square wave initial conditions�and (b) triangular wave initial conditions�In the report please show the time evolution of the solution and explain how you implementedthe boundary conditions.(ii) Optional: Repeat question(i) for the one dimensional inviscid Burgers equation�.(iii) Optional: Investigate the effect of adding a limiter, try minmod, superbee and Woodward.Comment on which gives the best results for each problem.(iv) Voluntary +1 points: For the problem in (i) find the exact solution. For differentgrid resolutions consider the difference between the exact solution and your numerical solution.Hence comment on the error in your numerical method as a function of the grid size.2APiE Exercise - Finite Volume for systems of eqn’s (0.5 EC)Part (i) is compulsory and is required to pass the assignment. The other parts are all optionaland are only required for the higher grades.Euler equations in fluid dynamics describe the behaviour of inviscid flows. Ideal fluids that areassumed to have no viscocity are referred to as inviscid. Leonhard Euler actually derived theseequations from the conservation of mass and momentum: 1 2�For simplicity, consider a = 1.(i) Solve the equations on a unit domain 0 on the left, given by ρ = 0.5 and u = 1, and an outflow condition on the right side. As initialconditions, take uniform density ρ = 1 and velocity u = 1. Plot and comment the evolution ofthe solution until it reaches a steady state. Comment on the steady state reached.(ii) Consider now a wall at x = 0.5, separating the system into a uniform density and zerovelocity region to the left, and no material at all to the right. (You may need to place a smalldensity to the right; comment). Start your code at t = 0 with the wall already removed. Plotthe evolution of the density profile with time. You should see a sharp front (shock) propagatinginto the empty space. What is the velocity of the shock?(iii) Consider now solid walls boundary conditions at x = 0 and x = 1. Plot the evolution ofthe density.(iv) Optional: Use the MUSCL scheme. Comment of the effect.1This can be written as a system of equations,�2Note, the advection speeds for the Euler equation are u ± |a|本团队核心人员组成主要包括BAT一线工程师,精通德英语!我们主要业务范围是代做编程大作业、课程设计等等。我们的方向领域:window编程 数值算法 AI人工智能 金融统计 计量分析 大数据 网络编程 WEB编程 通讯编程 游戏编程多媒体linux 外挂编程 程序API图像处理 嵌入式/单片机 数据库编程 控制台 进程与线程 网络安全 汇编语言 硬件编程 软件设计 工程标准规等。其中代写编程、代写程序、代写留学生程序作业语言或工具包括但不限于以下范围:C/C++/C#代写Java代写IT代写Python代写辅导编程作业Matlab代写Haskell代写Processing代写Linux环境搭建Rust代写Data Structure Assginment 数据结构代写MIPS代写Machine Learning 作业 代写Oracle/SQL/PostgreSQL/Pig 数据库代写/代做/辅导Web开发、网站开发、网站作业ASP.NET网站开发Finance Insurace Statistics统计、回归、迭代Prolog代写Computer Computational method代做因为专业,所以值得信赖。如有需要,请加QQ:99515681 或邮箱:[email protected] 微信:codehelp

QQ:99515681 或邮箱:[email protected] 微信:codehelp

你可能感兴趣的:(代写scalar equations、代做Python/c/c++,Java程序语言、代写Lax-Friedrichs flux代做Databas)