Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ad115/c-scientific-simulations

Some scientific simulations written in C, with visualizations using Processing (p5js).
https://github.com/ad115/c-scientific-simulations

Last synced: 3 days ago
JSON representation

Some scientific simulations written in C, with visualizations using Processing (p5js).

Awesome Lists containing this project

README

        

Scientific simulations in C
===========================

![Lennard Jones liquid](lennard-jones.png)
![Ising model in 2D](ising2D.png)
![Montecarlo calculation of PI](pi.png)
![Ising model in 1D](ising1D.png)
![Random walkers](randomwalker.png)

A bunch of scientific simulations with respective visualizations done in C and
visualized in Javascript with [p5.js](http://hello.p5js.org/).

Each folder's README file contains instructions on how to compile and visualize
each system. Send any comments to [email protected] .

The simulated systems are the following:

Ising model in 1D
-----------------

A montecarlo simulation of the coupling of atomic spins along a line.

![Ising model in 1D](ising1D.png)

Ising model in 2D
-----------------

A montecarlo simulation of the coupling of atomic spins of atoms in a plane.

![Ising model in 2D](ising2D.png)

Montecarlo calculation of pi
----------------------------

Use geometry and probability to calculate the famous circle number.

![Montecarlo calculation of PI](pi.png)

Random walker
-------------

A cloud of random walkers in the plane.

![Random walkers](randomwalker.png)

Molecular dynamics simulation of a Lennard-Jones liquid
-------------------------------------------------------

Simulation of a system of particles that interact with the Lennard-Jones
potential, implemented using molecular dynamics with a velocity vertlet
integrator algorithm.

![Lennard Jones liquid](lennard-jones.png)