This is a simple simulation of a Tokamak fusion reactor. It demonstrates how charged high-energy particles can be held in a magnetic bottle (the Tokamak), without touching its walls and melting them.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
B1.m
B2.m
README.md
Simulation1.m
Simulation2.m
Somulation of a Tokama fusion reactor - Croatian - GitHub.pdf
_config.yml
plotCircle3D.m

README.md

Simulation-of-a-Tokamak-Fusion-Reactor

I created a tokamak fusion reactor simulation in Matlab as part of a project at university. The two code samples I attached are a simulation of a nuclear fusion reactor. Just like the one in the Culham Centre for Fusion Energy in the UK. It demonstrates how charged high-energy particles can be held in one magnetic bottle (the Tokamak), without touching its walls and melting it. The charged particles are held together by a magnetic field produced by current coils and a rotating charged plasma cloud. The magnetic field has a very complicated shape, as it is created by multiple current coils and a rotating charged plasma cloud. The calculation of the magnetic field was performed algebraically, which significantly increased the speed and precision of the simulation.