Hi, I can not understand exactly what is your problem.
But maybe you can look at this post
or other posts in the forum on brownian dynamics
Best regards Alessandra