时间校正的Verlet数值积分公式(The time

编程入门 行业动态 更新时间:2024-10-26 00:25:19
时间校正的Verlet数值积分公式(The time-corrected Verlet numerical integration formula)

Johnathan Dummer在网上有一个常用的verlet集成公式,称为Time-Corrected Verlet。 不过,我读过几篇论坛帖子,人们在某些情况下会得到奇怪或意想不到的结果。

公式由Johnathan Dummer提供:

x1 = x + (x – x0) * dt / dt0 + a * dt^2

还有一个叠加的答案 ,它表明杜默的时间校正公式被打破,海报将他自己的推导作为正确的公式推出。

建议通过一个stackoverflow答案正确的公式

x1 = x + (x – x0) * dt / dt0 + a * dt * (dt + dt0) / 2

那么,Dummer的公式真的坏了吗? 如果是的话,海报的推导是否更好?

PS:Dummer在他的网站上使用verlet积分公式x1 = x - x0 + a * dt^2而不是正确的x1 = 2x - x0 + a * dt^2也很奇怪。

There is a commonly used verlet-integration formula on the web by Johnathan Dummer, called Time-Corrected Verlet. However I've read several forum posts, that people get weird or unexpected results with it in certain conditions.

Formula by Johnathan Dummer:

x1 = x + (x – x0) * dt / dt0 + a * dt^2

There is also a stackoverflow answer, which states that Dummer's time-corrected formula is broken and the poster presents his own derivation as the correct one.

Suggested correct formula by a stackoverflow answer

x1 = x + (x – x0) * dt / dt0 + a * dt * (dt + dt0) / 2

Well, is Dummer's formula really broken? If yes, is the derivation of the poster better?

PS: It is also weird that Dummer uses the verlet integration formula x1 = x - x0 + a * dt^2 on his website instead of the correct x1 = 2x - x0 + a * dt^2.

更多推荐

本文发布于:2023-08-07 04:34:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1459580.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:数值   公式   积分   时间   time

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!