Computational uncertainty and optimal grid size and time step of the Lax-Friedrichs scheme for the 1D advection equation

被引:0
|
作者
Cao, Jing [1 ]
Li, Jianping [2 ,3 ]
Li, Yanjie [4 ]
机构
[1] Tianjin Univ Technol, Coll Sci, Tianjin, Peoples R China
[2] Ocean Univ China, Acad Future Ocean, Frontiers Sci Ctr Deep Ocean Multispheres & Earth, Innovat Ctr Ocean Carbon Neutral,Key Lab Phys Ocea, Qingdao, Peoples R China
[3] Pilot Qingdao Natl Lab Marine Sci & Technol, Lab Ocean Dynam & Climate, Qingdao, Peoples R China
[4] Chinese Acad Sci, Inst Atmospher Phys, State Key Lab Numer Modeling Atmospher Sci & Geoph, Beijing, Peoples R China
关键词
Lax-Friedrichs scheme; Computational uncertainty principle; Optimal grid size; Optimal time step; Universal relation; ORDINARY DIFFERENTIAL-EQUATIONS; HORIZONTAL RESOLUTION; SENSITIVITY; PRINCIPLE;
D O I
10.1016/j.aosl.2023.100331
中图分类号
P4 [大气科学(气象学)];
学科分类号
0706 ; 070601 ;
摘要
This paper examines truncation and round-off errors in the numerical solution of the 1D advection equation with the Lax-Friedrichs scheme, and accumulation of the errors as they are propagated to high temporal layers. The authors obtain a new theoretical approximation formula for the upper bound of the total error of the numerical solution, as well as theoretical formulae for the optimal grid size and time step. The reliability of the obtained formulae is demonstrated with numerical experimental examples. Next, the ratio of the optimal time steps under two different machine precisions is found to satisfy a universal relation that depends only on the machine preci-sion involved. Finally, theoretical verification suggests that this problem satisfies the computational uncertainty principle when the grid ratio is fixed, demonstrating the inevitable existence of an optimal time step size under a finite machine precision.
引用
收藏
页数:6
相关论文
共 12 条