How Do You Calculate a(t+dt) Using the Velocity Verlet Algorithm?

  • Thread starter Thread starter shad0w2000
  • Start date Start date
  • Tags Tags
    Algorithm
shad0w2000
Messages
5
Reaction score
0

Homework Statement



I am going to use the velocity verlet algorithm to simulate the position, velocity and acceleration at time t of some particle.

Homework Equations



We got the Langevin equation: a(t) = -v(t)/tau - U'(x) / m + F_f(t) / m

Where tau is the mass divided by the friction coefficient, U'(x(t)) the external force and F_f(t) the fluctuating force. Let's say the external force is harmonic, ½kx(t)^2, so U'(x(t)) / m = kx(t)/m.

I have so far typed in x(t+dt), v(t+dt/2) and I need to find what a(t+dt) is. It's easier if you go see http://en.wikipedia.org/wiki/Verlet_integration" for the equations i refer to :)

As for a(t+dt) I am in doubt how I should find this, what I tried so far is:

a(t+dt) = -1/m * dV(x(t+dt))/dx

= -v(t) / tau - k*x(t+dt) / m + F_f(t)

(Where I take the value of the fluctuating force randomly from a normaldistribution)

My doubt is about the use of v(t), can I use v(t) in the above equation? I don't see how many other options I have since we need a(t+dt) to be able to calculate v(t+dt), or have I missed something?

I hope someone can help me a bit, if you need more info or anything is unclear, please tell me here.
 
Last edited by a moderator:
Physics news on Phys.org
No one able to help? :)
 
The verlet integrator is semi-implicit, which means exactly what you've noticed: you need v(t+dt) to calculate a(t+dt). In general this means that you need to solve an equation at each step (numerically). Do you have to use Verlet? The usual Runge-Kutta family is pretty good, or even just plain ol' midpoint rule?
 
Hi, I had an exam and I completely messed up a problem. Especially one part which was necessary for the rest of the problem. Basically, I have a wormhole metric: $$(ds)^2 = -(dt)^2 + (dr)^2 + (r^2 + b^2)( (d\theta)^2 + sin^2 \theta (d\phi)^2 )$$ Where ##b=1## with an orbit only in the equatorial plane. We also know from the question that the orbit must satisfy this relationship: $$\varepsilon = \frac{1}{2} (\frac{dr}{d\tau})^2 + V_{eff}(r)$$ Ultimately, I was tasked to find the initial...
The value of H equals ## 10^{3}## in natural units, According to : https://en.wikipedia.org/wiki/Natural_units, ## t \sim 10^{-21} sec = 10^{21} Hz ##, and since ## \text{GeV} \sim 10^{24} \text{Hz } ##, ## GeV \sim 10^{24} \times 10^{-21} = 10^3 ## in natural units. So is this conversion correct? Also in the above formula, can I convert H to that natural units , since it’s a constant, while keeping k in Hz ?
Back
Top