Top 17 Python Physic Projects


thermo
Thermodynamics and Phase Equilibrium component of Chemical Engineering Design Library (ChEDL)
Project mention: What are your favorite Python libraries?  reddit.com/r/ChemicalEngineering  20210302fluids: Fluid dynamics ht: Heat Transfer chemicals: Chemical Data thermo: Phase Equilibrium (hasn't had a release in a while, but fairly complete)


Project mention: Show HN: prometeo – a PythontoC transpiler for highperformance computing  news.ycombinator.com  20211117
No, I mean nanosecond and picosecond precision realtime systems. Exhibit A: https://github.com/mlabs/artiq


pycbc
Core package to analyze gravitationalwave data, find signals, and study their parameters. This package was used in the first direct detection of gravitational waves (GW150914), and is used in the ongoing analysis of LIGO/Virgo data.
Project mention: [OC] All the observed gravitational waves from black hole and neutron star mergers  reddit.com/r/dataisbeautiful  20210625Original source: https://github.com/gwastro/3ogc Codes used: PyCBC (a python toolkit for GW analysis) https://github.com/gwastro/pycbc + matplotlib

DiffractionSimulationsAngularSpectrumMethod
Implementation of the angular spectrum method in Python to simulate arbitrary light diffraction patterns.
Project mention: Physics simulation showing in detail the coherent wavefront reconstruction of customized diffraction patterns from holographic films  reddit.com/r/Physics  20211031The source code I implemented for propagating the wavefront and creating the holograms can be found here.

Project mention: In a demonstration of Einstein’s E=mc2, collisions of light yielded electrons and positrons. Physicists are claiming the first direct observation of the longsought BreitWheeler process, in which two particles of light, or photons, crash into one another & produce an electron & a positron.  reddit.com/r/science  20210810
I am trying to create a cellular automata based on electromagnetism and see what happens if I add gravity to it. I found this repository that simulates EM and managed to add gravity to it just by adding a scalar field that averages itself over time with neighboring cells and making the gravity in a spot proportional to the difference of the G scalar field at that location relative to it's neighbors.

Scout APM
Scout APM: A developer's best friend. Try free for 14days. Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.


You can play around with this topic using the python package PyAutoLens (https://github.com/Jammy2211/PyAutoLens)

Project mention: OPEM 1.3 Released : Open Source PEM Fuel Cell Simulation Tool  reddit.com/r/coolgithubprojects  20210630

IncoherentLightSimulation
Simulation of the propagation of incoherent light, aiming to illustrate the concept of spatial coherence.
Project mention: Simulation of the double slit experiment with incoherent light at three different time scales. As the field is averaged over a few microseconds, wave interferences disappear! [OC]  reddit.com/r/educationalgifs  20210730The simulations were done with the meep finite difference scheme, programmed in C++. The interface to the simulation was programmed with Python and its source code can be found here.

Project mention: How do you get more eyes to a opensource projects as a beginner?  reddit.com/r/opensource  20211108
Here it is by the way: https://github.com/ConceptJunkie/rpn


NbodysimulationwithpythonGravitysolarsystem
Nbody simulation with python pygame, (solar system)
Falling sand code: https://github.com/Josephbakulikira/SimpleFallingSand/blob/master/main.py Hilbert curve (fractal) : https://github.com/Josephbakulikira/HilbertCurvespacefillingwithpygame Ant Colony simulation: https://github.com/Josephbakulikira/AntColonySimulationwithpython Nbody simulation(Gravity): https://github.com/Josephbakulikira/NbodysimulationwithpythonGravitysolarsystem

Project mention: Time evolution of a quantum particle in a 2D box  reddit.com/r/Physics  20210310
Check out this interactive one! The Falstad applets don't get enough love. I also have old similar source here (Reddit thread).

Twobodysproblem
A simulation aproximating the problem with 2 bodys that experiment any central force.

Python Physics related posts
 Physics simulation showing in detail the coherent wavefront reconstruction of customized diffraction patterns from holographic films
 Give a Rigid Body initial velocity?
 The diffraction pattern of the Koch snowflake fractal is another fractal
 Visualization of paper dependencies
 Diffraction pattern of the mandelbrot set viewed at increasing distance from the aperture plane, made solving the wave equation. It doesn't matter how complicated the aperture is, the final pattern will always be radially symmetrical.
 Simulation of the double slit experiment with incoherent light at three different time scales. As the field is averaged over a few microseconds, wave interferences disappear! [OC]
 Simulation of incoherent light made solving Maxwell equations. As the field is averaged over a few microseconds, wave interferences disappear!
Index
What are some of the best opensource Physic projects in Python? This list will help you:
Project  Stars  

1  clifford  608 
2  thermo  332 
3  artiq  285 
4  PyDy  267 
5  pycbc  222 
6  DiffractionSimulationsAngularSpectrumMethod  145 
7  fdtd  138 
8  projectile  122 
9  PyAutoLens  109 
10  opem  102 
11  IncoherentLightSimulation  76 
12  rpn  21 
13  gopem  17 
14  NbodysimulationwithpythonGravitysolarsystem  8 
15  misc  3 
16  Twobodysproblem  1 
17  Library  0 
Are you hiring? Post a new remote job listing for free.