In this simulation, particles interacting with a Lennard-Jones potential now additionally experience Couloumb forces. The blue particles have a charge of -1. and the red particles have a charge of +1. Unlike in reality, I have changed the attraction rules by reversing the sign of the resulting Coulomb forces. Now equal charges attract each other!
The real value of the Coulomb force is much too strong, so I had to decrease the Coulomb constant. This video is not meant to reflect real physics in any way!
Update: The vertical symmetry is due to the bottom wall being 0.1 points higher than it should be. This is due to the barrier used in a other video. If the barrier is not active it should stay at 0, the same hight as the floor wall. But i had the floor as double line because the plottet line was otherwise too thin. thats why the floor was actually higher than intended. Video with rotational symmetry is comming soon!
The particles are homogeneously distributed on a 2D grid.
00:00 20x20, 361 Particles
01:18 30x30, 841 Particles
03:23 40x40, 1521 Particles
05:28 50x50, 2401 Particles
07:33 58x58, 3249 Particles
The last clip is on a 58x58 grid at 5000K. Rendering the 58x58 clip clip took almost 3 hours.
Watch the particles under the microscope: • Touchscreen pixels under the microscope at...
This simulation was done in MATLAB. The code is available for free at MathWorks: (Coulomb-Force not yet indcluded) https://www.mathworks.com/matlabcentr...
PS: The time steps are much smaller than in the previous videos, so they move slower even though they are at higher temperature.
PPS: I had to reuplad this one because the video had only 24 FPS.