Computational Methods in Physics PHYS 3437. Dr Rob Thacker Dept of Astronomy & Physics (MM-301C) [email protected] Today’s Lecture. Use MC techniques to simulate a random walk A few slides on random number generators. Mobility of molecules.
Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.
Computational Methods in Physics PHYS 3437
Dr Rob Thacker
Dept of Astronomy & Physics (MM-301C)
sin q df
dW=sin q dq df
Need to keep track of particles original position (i.e. (0,0,0)) current position, and the number of collisions N
Implementation hint: leaves distances in units of l. That way you can scale results after the simulation is completed for different l.
The underlying law is very obvious here
Simulating that many collisions is incredibly
difficult right now, although the US has computers
capable of almost 1015 operations per second
SGI created a random generator based upon random bits that were extracted from images of the erupting blobs inside six Lava Lite lamps
Project is no longer functioning
A new project http://www.lavarnd.org/ uses the same idea but relies on noise in the ccd of digital cameras
Ij+1 = (Ij a + c) mod m
Ij – current number [I0 – seed]
Ij+1 – next number
a - multiplier
c - increment
m – modulus
mod m=remainder after
dividing by m