@NilsBerglund
  @NilsBerglund
Nils Berglund | An improved device sorting particles by size @NilsBerglund | Uploaded September 2024 | Updated October 2024, 1 hour ago.
This variant of the videos youtu.be/qozGp_KR_DA and youtu.be/feEDk9e4HPM of a device sorting particles by size contains two improvements. The first one, suggested in a comment, is to have a conveyor belt bringing the particles from the opposite side, and dropping them more to the left, in order to use a longer stretch of the sieves. The second improvement is that the circular obstacles forming the sieves do not rotate at constant speed, but rotate sometimes faster and sometimes slower. This reduces the number of particles getting stuck in the sieves, in a similar way as "rattling" the sieves now and then would.
The sorting set-up consists in three grids of obstacles with decreasing space between them, acting as particle sieves. The conveyor belt effect results from the segments forming the belt exerting a tangential force on the polygons, in addition to the normal force. The tangential force is proportional to the difference between the tangential speed of the polygon and the speed of the belt.
To compute the force and torque of polygon j on polygon i, the code computes the distance of each vertex of polygon j to the faces of polygon i. If this distance is smaller than a threshold, the force increases linearly with a large spring constant. In addition, radial forces between the vertices of the polygons have been added, whenever a vertex of polygon j is not on a perpendicular to a face of polygon i. This is important, because otherwise triangles can approach each other from the vertices, and when one vertex moves sideways, it is suddenly strongly accelerated, causing numerical instability. A weak Lennard-Jones interaction between polygons has been added, as it seems to increase numerical stability.
Unlike in some previous videos involving interacting polygons, there is no thermostat in this simulation. Instead, friction forces (both linear and angular) have been added for numerical stability. In addition, the particles are subject to a gravitational force directed downwards.
The color of the polygons depends on their size.
To save on computation time, particles are placed into a "hash grid", each cell of which contains between 3 and 10 particles. Then only the influence of other particles in the same or neighboring cells is taken into account for each particle.
The Lennard-Jones potential is strongly repulsive at short distance, and mildly attracting at long distance. It is widely used as a simple yet realistic model for the motion of electrically neutral molecules. The force results from the repulsion between electrons due to Pauli's exclusion principle, while the attractive part is a more subtle effect appearing in a multipole expansion. For more details, see en.wikipedia.org/wiki/Lennard-Jones_potential

Render time: 1 hour 17 minutes
Compression: crf 23
Color scheme: Turbo, by Anton Mikhailov
gist.github.com/mikhailov-work/6a308c20e494d9e0ccc29036b28faa7a

Music: "Running Errands" by TrackTribe@TrackTribe

Current version of the C code used to make these animations:
github.com/nilsberglund-orleans/YouTube-simulations
https://www.idpoisson.fr/berglund/software.html
Some outreach articles on mathematics:
https://images.math.cnrs.fr/auteurs/nils-berglund/
(in French, some with a Spanish translation)

#molecular_dynamics #polygons #conveyor
An improved device sorting particles by sizeWeather on terraformed VenusFour waves in shallow water on the sphereA light source moving in and out of focus of a gradient index lensFour interacting pressure systems on a rotating sphereWaves of two different frequencies crossing a larger regular square latticeRefraction and reflection of a shock wave - Source in the lower speed mediumBloopers 17: You look lonely. I can fix that. Replicated DNA getting pinnedSorting magnetized bestagons by sizeA conveyor belt with shovels at lower frictionIncreasing the wavelength even more in a magnetron-shaped resonatorUsing seven sources to excite resonant modes in a circle

An improved device sorting particles by size @NilsBerglund

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER