https://github.com/piercingdan/physics-simulations
https://github.com/piercingdan/physics-simulations
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/piercingdan/physics-simulations
- Owner: PiercingDan
- Created: 2016-07-12T02:11:50.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-07-12T02:17:57.000Z (almost 10 years ago)
- Last Synced: 2025-04-08T23:37:20.849Z (about 1 year ago)
- Language: Python
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# physics-simulations
2d_Heat_Model.py - Part of project at McGill Physics Hackathon 2016
Models the heat equation as seen here: https://en.wikipedia.org/wiki/Heat_equation , given an initial 2d - gaussian distribution centered at 0 with variance of 0.1. Parameter alpha describes how fast heat is lost. The Laplacian is calculated with a finite difference of nearby units, overwrapping the edges is done to prevent the boundary conditions, which are arbitrary and do not change, from overpowering the simulation.