I am trying to find out the motion of a particle in 3D governed by the Langevin equation, numerically.
Anyway, the Langevin equation is given by
m¨x=−(6πaν)˙x+Fb
where Fb is due to random fluctuations.
From various sources I've read, Fb is treated as stochastic term. According to wiki http://en.wikipedia.org/wiki/Langevin_dynamics it translates to
m¨x=−(6πaν)˙x+√2γKBTmR(t)
where γ is a friction term, and R(t) is a delta-correlated stationary Gaussian process with zero-mean.
If my guess is correct, there isn't an explicit form of R(t)?
So I'm wondering if anyone can explain what R(t) means and how I can go about trying to implement it into a simulation for example.
Answer
The exact solution of your equation can be written as
x(t)=x(0)+m6πaν˙x(0)−m6πaν˙x(0)e−6πaνmt+1m∫t0dτ1∫τ10dτ2e6πaνm(τ2−τ1)F(τ2).
x(0) and ˙x(0) are the initial conditions. Then whatever you want to compute, you can write it as an expression that depends on F(t) and take its average over the fluctuations of F(t).
For example
⟨x(t)⟩=⟨x(0)⟩+m6πaν⟨˙x(0)⟩−m6πaν⟨˙x(0)⟩e−6πaνmt+1m∫t0dτ1∫τ10dτ2e6πaνm(τ2−τ1)⟨F(τ2)⟩.
If your particle starts at rest and at the origin,
⟨x(0)⟩=0⟨˙x(0)⟩=0,
and if it experiences a constant force,
⟨F(t)⟩=F,
then you find
⟨x(t)⟩=Fm∫t0dτ1∫τ10dτ2e6πaνm(τ2−τ1)=Fmm6πaμ[t+m6πaν(e−6πaνmt−1)].
You see that you can choose the statistics of F(t) freely. Then if you know the moments of F(t), you can compute the moments of x(t). It's all about computing integrals. Typically one chooses Gaussian statistics with
⟨F(t)⟩=0,⟨F(t1)F(t2)⟩=Dδ(t1−t2).
If you insist on solving this problem numerically, you need to discretise time
t∈[0,∞[→t∈{ti}i=1,..,N.
Then you can sample F(t) according to your favourite probability distribution
P[F(t1),F(t2),..,F(tN)].
For every sample you get a discretised function, F(ti) and you can switch to finite difference derivatives (for example) to solve your differential equation. Then you average at the end.
No comments:
Post a Comment