Abyss Ambulator
Posts: 1182
Joined: Tuesday, 13th September 2011, 20:34
simulating motion; varying speed vs a single time step
I am currently putting together a very course simulation in order to investigate some rate-dependent properties. The problem I am running into is that I need to have different rates of motion for particles (larger clusters move slower and single molecules have the fastest allowable speed), but position and time are distinctly quantized: there is a spatial grid and a time step.
Wow, I thought. This is exactly like Crawl.
One way to approach the situation is to set the fastest particles to one time step, and then require multiple steps for slower particles to move (I think this is the way you guys do it?). Another way is to set the slowest motion equal to one time step, and have the fast particles move farther. I am leaning towards the second one, as the actual animation of the paths is not as important, it is the interactions that occur on average and I can just math that out at the end. Cutting the animation would be much, much faster as well, computationally.
Anyhow, I was just curious if anybody had any comments or expertise in this kind of thing, seemed like a good place to ask. For the record, I am currently looking at a square grid (hexagonal I think would be preferable but I dont think it is easy to graph/animate in IGOR, the program I am using) and movement rates of 8, 4, 3, 2, 1, and 0 total pixels per step.