Skip to content

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

License

Notifications You must be signed in to change notification settings

Ad115/C-Scientific-Simulations

Repository files navigation

Scientific simulations in C

Lennard Jones liquid Ising model in 2D Montecarlo calculation of PI Ising model in 1D Random walkers

A bunch of scientific simulations with respective visualizations done in C and visualized in Javascript with p5.js.

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

Ising model in 2D

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

Ising model in 2D

Montecarlo calculation of pi

Use geometry and probability to calculate the famous circle number.

Montecarlo calculation of PI

Random walker

A cloud of random walkers in the plane.

Random walkers

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published