How Can Momentum Improve RK4 Integration in Vehicle Physics?

  • Thread starter Thread starter smythst
  • Start date Start date
  • Tags Tags
    Numerical Rk4
Click For Summary
Using momentum instead of accelerations in an RK4 integrator can enhance the accuracy and stability of vehicle physics simulations. The discussion highlights the challenges faced with angular motion and the need for better integration methods. Resources on numerical methods and online demos of momentum-based RK4 integrators are recommended for further understanding. Engaging with communities focused on physics engines can provide valuable feedback and assistance. Implementing momentum is a promising approach to resolving integration issues in vehicle physics.
smythst
Messages
1
Reaction score
0
I'm writing a vehicle physics engine and am using an RK4 integrator which I wrote. But I am having huge problems with angular motion. Long story short I thing it might be to do with the fact that I'm integrating from accelerations. So I'm re-writing the integrator using momentum. However I'm very sketchy about momentum and how to handle it. Anyone know where I can see some good demos of a momentum based RK4, or perhaps anyone interested in having a look at my code to see if they can help?

Cheers.
 
Physics news on Phys.org
You may find some help in In this thread.

What is it you are trying to do?
 


It sounds like you are on the right track by considering using momentum instead of accelerations in your RK4 integrator. Momentum is a key concept in physics and can greatly improve the accuracy and stability of numerical integrators. I would recommend looking into some resources on numerical methods for solving differential equations, as they often cover the use of momentum in integrators.

As for demos or examples of momentum-based RK4 integrators, there are several available online that you can refer to for guidance. Additionally, there are many forums and communities dedicated to physics engines and numerical methods, where you can seek advice and feedback on your code. It may also be helpful to work with someone who has experience in this area to review your code and offer suggestions.

Overall, it is great that you are actively seeking solutions to improve your integrator and I am sure with some additional research and support, you will be able to successfully implement momentum in your code. Best of luck!
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 11 ·
Replies
11
Views
5K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
5K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
16
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 0 ·
Replies
0
Views
1K
  • · Replies 7 ·
Replies
7
Views
912