联系方式

  • QQ:99515681
  • 邮箱:99515681@qq.com
  • 工作时间:8:00-23:00
  • 微信:codehelp

您当前位置:首页 >> Java程序Java程序

日期:2021-05-04 02:35

HW 5

Problem 1: Perform Von Neumann stability analysis of Crank Nicolson Method on
1D diffusion equation.
Problem 2: For the convection-diffusion equation, the steady case reads !c∇$ − Δ$ = 0$(0) = $,$(-) = 0
The dimensionless Peclet number can be defined ./ = 012 . If we normalize $ by $, and 4 by -, the nondimensional equation becomes
??
?∇$ − 1./ Δ$ = 0$(0) = 1$(1) = 0
1) Derive the analytical solution of the nondimensional equation and express it in
terms of 4 and ./
2) Plot the analytical solution with ./ = 1, 10 and 100. Comment on the plot.
3) Use central difference for both convective and diffusive terms and get the
numerical solutions for the nondimensional equation. Based on the mesh length Δ4 (uniform mesh is assumed), the local Peclet is defined as .:/ = 0;<2 = =;<=/?@ =Δ4./. Solve the non-dimensional equation with ./ = 10 and 100 with different .:/ from very large to very small. Plot the numerical solutions against the
analytical solutions. What do you see when .:/ is very big? What do you see
when .:/ is very small?
4) Try your best to establish a rigorous criterion on how small .:/ needs to be in
order to get rid of unphysical oscillatory solution.
5) Now use upwind for convection and central difference for diffusion. Repeat the
analysis for the non-dimensional equation. Does it relax the requirement of .:/?
6) Let’s make the equation dynamical. Pick any combination of time integration,
spatial discretization, and linear solvers you learned so far to solve the following
PDEs numerically. Plot the solution at three time instances (you decide when).
Do you like your method choice and your results?

版权所有:留学生编程辅导网 2021,All Rights Reserved 联系方式:QQ:99515681 电子信箱:99515681@qq.com
免责声明:本站部分内容从网络整理而来,只供参考!如有版权问题可联系本站删除。