Algorithm of Lightning Strikes? Given an array of charge for a given area (2D or 3D), what algorithm would describe the path that lightning takes?
An example algorithm would be from the highest charge of the cloud, find the lowest charge adjacently below and move there. Repeat until ground reached.
 A: I have seen a presentation in a lab recently, from a group working precisely on the simulation of lightning. I was surprised to see, at a small scale, how crooked and twisted on itself, was the path of the lighting, due to retro-action of the magnetic field, created by the current, and the varying electric field, on the path itself. The path ends up rolled many times on itself because of that.
About calculus, indeed one would need PIC (particle in cell) as stated above, to model the dynamics of electons and species at low pressures, together with finite elements, to model the electric and magnetic field, and the concentrations at higher pressures. These algorithms are very intensive, and as stated above again, it is difficult to reproduce the correct branching of lighting. Branching in plasma simulations is a difficult thing, subject to research. It is not impossible that in the case of lighting, a lot of "luck" - or chaos, small perturbations changing the path a lot - takes place.
A: Plasma physics is usually computed with particle-in-cell methods.
http://en.wikipedia.org/wiki/Particle-in-cell
