Unstable velocity verlet algorithm

  • Thread starter franziss
  • Start date
I implemented a velocity verlet algorithm, and use it to simulate movement of particles. Depending on the parameters, sometimes the simulation of the movment of the particles is stable, while other times, the simulation may go haywire and the position of the particles becomes exponential.

Is there a way to prevent unstable simulation? Is there any verlet algorithm that guarantees stability? E.g. a regularization parameter in the verlet algo? Or should I try constraint algorithm? I have a look at constraint algorithm, it seems that the distance between two particles is fixed to a constraint. Does constraint algorithm allows a maximum threshold, i.e. the distance between two particles cannot exceed a threshold?

Thank you for your help.

Want to reply to this thread?

"Unstable velocity verlet algorithm" You must log in or register to reply here.

Physics Forums Values

We Value Quality
• Topics based on mainstream science
• Proper English grammar and spelling
We Value Civility
• Positive and compassionate attitudes
• Patience while debating
We Value Productivity
• Disciplined to remain on-topic
• Recognition of own weaknesses
• Solo and co-op problem solving

Hot Threads