Sunday, May 14, 2017

statistical mechanics - Langevin Equation - Stochastic Differential Equation. What are the subtleties?


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)e6πaνmt+1mt0dτ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)e6πaνmt+1mt0dτ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)=Fmt0dτ1τ10dτ2e6πaνm(τ2τ1)=Fmm6πaμ[t+m6πaν(e6πaνmt1)].


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δ(t1t2).


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

classical mechanics - Moment of a force about a given axis (Torque) - Scalar or vectorial?

I am studying Statics and saw that: The moment of a force about a given axis (or Torque) is defined by the equation: $M_X = (\vec r \times \...