This is a model of a fluid consisting of particles interacting through attraction, repulsion and spin. The change in the overall balance of forces leads to the formation of different dynamic patterns from micro to macro space. The concept is based on experimental research into fluid dynamics. Codes are several options for setting up the mode. Open for collaboration.
Particle-based simulation (N = 600) with the following local forces:
-
Attraction:
$F_{attr} = \frac{k_{attr}}{r^2 + s_{attr}}$ -
Repulsion:
$F_{repel} = -\frac{k_{repel}}{r^2 + s_{repel}}$ ,$F_{repel} = -\frac{k_{repel}}{r^4 + s_{repel}}$
- Tangential direction: perpendicular to radial vector
$F_{spin} = \frac{k_{spin} \cdot spin_i \cdot m}{r^2 + s_{spin}}$ - where damping multiplier
$m = \min\left(\frac{r}{r_{damp}}, 1.0\right)$
This simulation is based on the experimental research regarding the fluid dynamics and quantum physics. Full paper: Hydrodynamic model of gravity as a secondary effect of electromagnetic dipoles and the hypothesis of superfluid space-time. (Zenodo)
- Ensure you have
numpyandmatplotlibinstalled. - Run
simulation.pyto see the animated output.
You can try for free online open source version:
Keywords:
simulation physics quantum cellular-automata complexity cosmology astrophysics artificial-life cosmos superfluid fluid-dynamics emergent-behavior
