Ad115 / C-Scientific-Simulations

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 agg.unam@ciencias.unam.mx .

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).

License:MIT License


Languages

Language:C 78.7%Language:JavaScript 11.4%Language:Python 2.7%Language:Jupyter Notebook 2.5%Language:HTML 2.2%Language:CSS 1.7%Language:Makefile 0.7%