国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看

合肥生活安徽新聞合肥交通合肥房產生活服務合肥教育合肥招聘合肥旅游文化藝術合肥美食合肥地圖合肥社保合肥醫院企業服務合肥法律

COMP5930M 代做、代寫 c++,java 程序語言

時間:2023-12-11  來源:合肥網hfw.cc  作者:hfw.cc 我要糾錯



School of Computing: assessment brief
   Module title
 Scientific Computation
  Module code
 COMP5930M
  Assignment title
 Coursework 2
  Assignment type and description
 Coursework assignment
  Rationale
 TBA
  Weighting
 20% of total mark
  Submission dead- line
 December 14th 2023 at 10:00
  Submission method
 Turnitin submission through Minerva
  Feedback provision
 Feedback provided on Minerva
  Learning outcomes assessed
 (i) Formulate and solve systems of nonlinear equations to solve challenging real-world problems arising from en- gineering and computational science; (ii) Implement al- gorithmic solutions to solve computational differential equation problems based on mathematical theory; (iii) Analyse computational linear algebra problems to iden- tify and implement the most efficient and scalable solu- tion algorithm to apply for large problems.
  Module lead
 Dr Toni Lassila
           1

1. Assignment guidance
Provide answers to the two exercises below. Answer both exercises.
2. Assessment tasks
Exercise 1: The Burgers’ equation models the propagation of a pres- sure wave in shock tube. It is a nonlinear partial-differential equation in one spatial dimension to find u(x, t) s.t.
∂u + u∂u = ν ∂2u, (1) ∂t ∂x ∂x2
where the boundary conditions u(a, t) = ua and u(b, t) = ub for all t, and the initial condition u(x, 0) = u0(x) need to be prescribed in order to obtain a well-posed problem. Here ν is the kinematic viscosity of the fluid. For ν = 0 we have the inviscid Burgers’ equation, and for ν > 0 we have the viscous Burgers’ equation.
(a) Applying the central difference formula to the second order deriva- tive in space, the upwind difference formula
􏰀Uk−Uk 􏰁
i−1
using implicit Euler’s method leads to the discrete formulation: Uk −Uk−1 􏰀Uk −Uk 􏰁 􏰀Uk −2Uk +Uk 􏰁
Fi(U)= i i +Uik i i−1 −ν i+1 i i−1 =0 ∆t h h2
(2) for i = 2,3,...,m−1 where the interval has been discretised with
m uniformly distributed nodes and a spatial grid size h. Implement the function F as a python subroutine fun burgers.py
        def fun_burgers( uk, ukp, dt, h, nu, ua, ub )
where uk is the vector Uk of size m, ukp is the previous time-step solution vector Uk−1, dt is the time-step ∆t, h is the spatial grid size parameter h, and nu is the kinematic viscosity ν. Include the boundary conditions ua and ub in the implementation. [6 marks]
2
Uik i
to the first order derivative in space, and discretising (1) in time
 h
   
(b) Derive the analytical formulas for the nonzero elements on row i of the Jacobian matrix for (2): [4 marks]
∂Fi , ∂Fi, ∂Fi . ∂Ui−1 ∂Ui ∂Ui+1
(c) Solve problem (2) numerically using your fun burgers.py and the PDE solver template solver burgers.py provided in the course- work folder. Use the viscosity value ν = 0.01, the time-step ∆t=0.01,thegridsizeh=0.01,andafinaltimeofT =1. The initial solution u(x, 0) should be taken as a unit step located at x = 0.1 (see below) and the boundary conditions as: u(0, t) = 1 and u(1, t) = 0.
   Figure 1: Initial condition u0(x) for the Burgers’ equation (1)
Plot the solution u(x, T ) at the final time step T = 1 and include it in your report. Also report the total number of Newton iterations required for the numerical solution (sum of Newton iterations over all time steps). [2 marks]
3

(d) The solution of Burgers’ equation (1) can be shown to be a (decay- ing) wavefront that travels from left to right at a constant velocity v. What is the approximate value of the numerical wavefront ve- locity vnum for ν = 0.01, ∆t = 0.01, and h = 0.01? Measure the approximate location of the wavefront using the point where the solution u(xmid) ≈ 0.5. [1 mark]
(e) Replace the discretisation of the nonlinear convection term with the downwind difference formula
􏰀Uk − Uk 􏰁
i (3)
and solve the problem with same parameters as in (c). Plot the solution u(x,T) at the final time step T = 1 and include it in your report. Also report the total number of Newton iterations required for the numerical solution (sum of Newton iterations over all time steps). What is the numerical wavefront velocity vnum in this case?
Now set ν = 0.001 and solve the problem again using the down- wind difference formula. What do you observe? Now solve the problem with ν = 0.001 using the original upwind difference for- mula and compare the results. What is the numerical wavefront velocity vnum in this case? [7 marks]
Uik i+1
h
 4

Exercise 2: Consider the anisotropic diffusion equation to find u(x, y) s.t.
􏰀 ∂2u ∂2u􏰁
− μx∂x2 +μy∂y2 =f(x,y), (x,y)∈(0,1)×(0,1), (4)
and the boundary condition u = 0 on Γ (the boundary of the unit square), where u is a scalar function that models the temperature of a heat-conducting object modelled here as a unit square and f(x,y) is a function modelling a heat source. The heat conductivity coefficients, μx > 0 and μy > 0, can have different magnitudes (anisotropy).
(a) Discretising the problem (4) using the second-order finite differ- ence formulas
∂2u ≈ ui,j−1 − 2ui,j + ui,j+1 .
Write the second-order finite difference stencil (similarly as in Tu- torial 7)
∂2u ≈ ui−1,j − 2ui,j + ui+1,j , ∂x2 h2
  ∂y2
−μx h2 −μy h2 = fi,j.
h2 􏰀ui−1,j − 2ui,j + ui+1,j 􏰁 􏰀ui,j−1 − 2ui,j + ui,j+1 􏰁
leads to the discretised form
  ?**7;
s11 s12 s13 ?**8; ?**8;
S=s s s?**8;  21 22 23?**8;
?**8; s s s?**9;
corresponding to this finite difference scheme. [4 marks] (b) Implement a python function source function.py
    def source_function( x, y, h )
that returns the right-hand side by evaluating the function:
f(x,y) :=
⭺**;1, ifx≥0.1andx≤0.3andy≥0.1andy≤0.3 0, otherwise
.
Include the source code in your answer. [3 marks] 5
31 ** 33
(5)

 Figure 2: Computational domain for problem (4) and the sub-region where the heat source is located (in red).
(c) Modify the solver from Tutorial 7 to numerically solve the diffusion problem (4) for the right-hand side (5).
Solve the linear problem AU = F using the conjugate gradient method (without preconditioning) with the diffusion coefficients μx = 1 and μy = 1, stopping tolerance tol = 10−6, and maxi- mum of 1000 CG iterations. You can use the CG implementation in scipy.sparse.linalg.cg for this problem or code your own implementation.
Plot the solution surface and include the plot in your answer. How many iterations does it take for CG to converge in this case?
[2 marks]
(d) Consider now the use of a preconditioner to accelerate the con- vergence of CG. The incomplete-LU preconditioner approximates the system matrix A ≈ LincUinc by performing Gaussian elimi- nation but setting to zero any elements that are smaller than a dropoff tolerance ε chosen by the user. You can use the imple- mentation provided in scipy.sparse.linalg.spilu to compute
6

the incomplete factors Linc and Uinc.
Write a python implementation myPCG.py of the preconditioned
conjugate gradient from Lecture 18:
            def myPCG( A, b, L, U, tol, maxit )
that solves the preconditioning step for the residual, Mzi+1 = LU zi+1 = ri+1 , using appropriate solution algorithms. Include the source code as part of your answer. [4 marks]
(e) Solve the problem (4) again using your preconditioned CG imple- mentation from (d). Use a dropout tolerance of ε = 0.1 for the incomplete LU-factorisation.
How many nonzero elements (nnz) do the factors Linc and Uinc have in this case?
How many PCG iterations does the problem take to converge to tol = 10−6 now?
[2 marks]
(f) Repeat the experiment from (e) with different values of the dif- fusion coefficients. Solve the problem (4) with μx = 0.1 and μx = 0.01, while keeping the other value at μy = 1. Solve the problem using PCG with the same ILU-preconditioner as before with a dropout tolerance of ε = 0.1. Plot the two respective solu- tions and the respective number of CG iterations. What do you observe?
[5 marks]
3. General guidance and study support
The MS Teams group for COMP53**M Scientific Computation will be used for general support for this assignment. If your question would reveal parts of the answer to any problem, please send a private message to the module leader on MS Teams instead. You can also use the tutorial sessions to ask questions about coursework.
4. Assessment criteria and marking process
Assessment marks and feedback will be available on Minerva within
three weeks of the submission deadline. Late submissions are allowed 7

within 14 days of the original deadline providing that a request for an extension is submitted before the deadline. Standard late penalties apply for submissions without approved extensions.
5. Presentation and referencing
When writing mathematical formulas, use similar notation and sym- bols as during the lectures and tutorials. Hand-written sections for mathematical notation are acceptable but need to be clearly readable.
You may assume theorems and other results that have been presented during lectures and tutorials as known. Any other theorems need to be cited using standard citation practice.
6. Submission requirements
This is an individual piece of work. Submit your answers through Tur- nitin as one PDF document (generated either in Word or with LaTeX). You may use hand-written and scanned pages for mathematical formu- las, but these need to be clearly legible and the document must contain at least some typeset text or Turnitin will reject it. All submissions will be checked for academic integrity.
7. Academic misconduct and plagiarism
Academic integrity means engaging in good academic practice. This involves essential academic skills, such as keeping track of where you find ideas and information and referencing these accurately in your work.
By submitting this assignment you are confirming that the work is a true expression of your own work and ideas and that you have given credit to others where their work has contributed to yours.
8. Assessment/marking criteria grid
Total number of marks is 40, divided as follows:
Exercise 1 (One-dimensional Burgers equation): 20 marks
Exercise 2 (Anisotropic diffusion and conjugate gradient): 20 marks
請加QQ:99515681 或郵箱:99515681@qq.com   WX:codehelp

掃一掃在手機打開當前頁
  • 上一篇:CAN201 代做、代寫 Python語言編程
  • 下一篇:代寫COM6471、代做 java 語言編程
  • 無相關信息
    合肥生活資訊

    合肥圖文信息
    流體仿真外包多少錢_專業CFD分析代做_友商科技CAE仿真
    流體仿真外包多少錢_專業CFD分析代做_友商科
    CAE仿真分析代做公司 CFD流體仿真服務 管路流場仿真外包
    CAE仿真分析代做公司 CFD流體仿真服務 管路
    流體CFD仿真分析_代做咨詢服務_Fluent 仿真技術服務
    流體CFD仿真分析_代做咨詢服務_Fluent 仿真
    結構仿真分析服務_CAE代做咨詢外包_剛強度疲勞振動
    結構仿真分析服務_CAE代做咨詢外包_剛強度疲
    流體cfd仿真分析服務 7類仿真分析代做服務40個行業
    流體cfd仿真分析服務 7類仿真分析代做服務4
    超全面的拼多多電商運營技巧,多多開團助手,多多出評軟件徽y1698861
    超全面的拼多多電商運營技巧,多多開團助手
    CAE有限元仿真分析團隊,2026仿真代做咨詢服務平臺
    CAE有限元仿真分析團隊,2026仿真代做咨詢服
    釘釘簽到打卡位置修改神器,2026怎么修改定位在范圍內
    釘釘簽到打卡位置修改神器,2026怎么修改定
  • 短信驗證碼 寵物飼養 十大衛浴品牌排行 suno 豆包網頁版入口 目錄網 排行網

    關于我們 | 打賞支持 | 廣告服務 | 聯系我們 | 網站地圖 | 免責聲明 | 幫助中心 | 友情鏈接 |

    Copyright © 2025 hfw.cc Inc. All Rights Reserved. 合肥網 版權所有
    ICP備06013414號-3 公安備 42010502001045

    国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看
    色综合导航网站| 日韩少妇中文字幕| 久久久久久久久久久国产| 日产日韩在线亚洲欧美| www.xxxx精品| 国产日韩精品电影| 天堂av在线中文| 国产成人小视频在线观看| 国产成人高潮免费观看精品| 欧美亚洲一级二级| 九九久久久久久久久激情| 国产精品激情av电影在线观看| 国产综合 伊人色| 精品免费日产一区一区三区免费| 91精品久久久久久久久久入口| 日本精品久久久久久久久久| 日韩高清专区| 欧美激情国产日韩| 亚洲欧洲久久| 久久久久久久久久久免费| 日韩有码视频在线| yellow视频在线观看一区二区| 日本精品性网站在线观看| 日韩wuma| 狠狠色伊人亚洲综合网站色| 亚洲成人av动漫| 国产精品丝袜久久久久久消防器材| 国产精品一区二区久久| 天天摸天天碰天天添| 性欧美亚洲xxxx乳在线观看| 欧美精品成人91久久久久久久| 国产高清自拍99| 国产日韩二区| 日本在线一区| 欧美视频免费看欧美视频| 国内精品中文字幕| 日本午夜一区二区三区| 欧美一区二区视频在线播放| 国产自偷自偷免费一区| 97精品免费视频| 国产无套粉嫩白浆内谢的出处| 国产无套内射久久久国产| 91精品国产乱码久久久久久久久 | 国产精品久久久久久搜索| 91精品国产高清自在线| 久久久久久久激情| 欧美精品www| 日本精品一区在线观看| 国产麻豆日韩| 久久久国产一区二区三区| 亚洲欧美国产不卡| 欧美精品国产精品久久久| yellow视频在线观看一区二区| 久久久久一本一区二区青青蜜月| 国产精品大陆在线观看| 日韩亚洲欧美一区二区| 操人视频欧美| 国产精品福利在线观看网址| 日韩中文字幕免费在线| 国产精品一 二 三| 国产欧美在线看| 久久国产精品一区二区三区| 久久久久国产精品免费| 欧美在线视频一区二区三区| 欧美精品99久久| 久久最新免费视频| 国产成人高潮免费观看精品| 欧美精品亚州精品| 欧美xxxx黑人又粗又长密月| 97久久精品国产| 精品国产日本| 红桃av在线播放| 日韩中文在线中文网三级| 亚洲爆乳无码专区| 国产乱码精品一区二区三区不卡| 久久天天躁狠狠躁夜夜躁| 日韩在线视频在线观看| www婷婷av久久久影片| 蜜臀久久99精品久久久无需会员| 欧美日韩一区在线播放| 久久久久久久国产精品| 日本三级久久久| 国产成人精彩在线视频九色| 性欧美长视频免费观看不卡| 国产一区二区三区播放| 久久九九亚洲综合| 欧美日韩亚洲一区二区三区在线观看| 久久久久久99| 日本一区二区三区四区在线观看| 91九色精品视频| 亚洲精品日韩av| 99久久国产免费免费| 中文字幕乱码一区二区三区| 国产乱人伦精品一区二区三区| 国产精品国语对白| 国产日韩av在线播放| 色综合导航网站| 高清国产一区| 亚洲国产精品www| 成人a在线视频| 五码日韩精品一区二区三区视频 | 日韩免费在线免费观看| 欧美一级黑人aaaaaaa做受| 久久久久综合一区二区三区| 青青青在线播放| 国产精品入口夜色视频大尺度| 久久久久久18| 国产麻豆电影在线观看| 伊人久久99| 国产成人精品免高潮费视频| 日韩人妻一区二区三区蜜桃视频| 九色91国产| 欧美精品欧美精品系列c| 久久在线精品视频| 国产精品一区二区三区四区五区| 久久久久久国产精品美女| 国产精品99久久久久久大便| 国产精品无码av无码| 欧美视频在线播放一区| 国产精品久久久久久久久久久久久| 国内自拍中文字幕| 欧美激情18p| 91高清免费视频| 欧美性受xxx| 久久久久久91| 久久99精品久久久久子伦| 黄色片网址在线观看| 一区二区三区视频| 国产成人综合一区二区三区| 欧美精品成人网| 亚洲影院污污.| 国产精品手机在线| 91久久久久久久一区二区| 欧美日韩在线成人| 亚洲蜜桃在线| 国产精品极品尤物在线观看| 91精品国产91| 欧美一级爱爱视频| 亚洲最大成人在线| 精品一区二区视频| 亚洲一区二区三区乱码| 久久久久久久久久久视频| 国产一区二区三区四区五区加勒比| 亚洲高潮无码久久| 国产精品第1页| 国产高清精品一区二区| 国产女人18毛片水18精品| 日本一区二区三区四区在线观看| 国产精品久久久久免费| 久久久久99精品成人片| 精品视频免费观看| 日韩精品一区二区三区不卡| 精品国产乱码久久久久软件| 国产白丝袜美女久久久久| 国产剧情久久久久久| 免费在线国产精品| 日本a视频在线观看| 一本一本a久久| 国产精品福利在线观看| 久久riav二区三区| 97人人模人人爽人人喊中文字| 欧美成人第一区| 欧美一区1区三区3区公司| 欧美激情综合色综合啪啪五月| 国产精品视频一区国模私拍| 久久手机视频| 99在线观看视频| 国产网站免费在线观看| 欧美性一区二区三区| 视频一区国产精品| 亚洲一区美女视频在线观看免费| 国产精品久久久久高潮| 久久综合伊人77777尤物| 国产激情美女久久久久久吹潮| 隔壁老王国产在线精品| 麻豆av一区二区| 精品人妻大屁股白浆无码| 日本精品www| 日本亚洲欧洲色α| 色之综合天天综合色天天棕色| 亚洲精品一区二区三区樱花| 中文字幕一区二区三区有限公司| 欧美久久精品一级黑人c片| 国产成人免费观看| 国产成人精品无码播放| 国产成人无码精品久久久性色| 久久99精品国产一区二区三区| 久久美女福利视频| 国产freexxxx性播放麻豆| 久久久99爱| 久草精品电影| 日韩色av导航| 国产精品十八以下禁看| 国产精品久久久久久久小唯西川 | 精品蜜桃一区二区三区| 久久夜色撩人精品| 国产精品福利在线观看| 久久这里只有精品99| 欧美成在线观看| 一区二区三区观看|