Skip to content

A parallel implementation of the Lattice Gas Cellular using MPI in python

License

Notifications You must be signed in to change notification settings

thekartikay/lattice-gas-ca

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lattice-gas-ca

Introduction

According to Wikipedia,

Lattice gas automata (LGA), or lattice gas cellular automata, are a type of cellular automaton used to simulate fluid flows. They were the precursor to the lattice Boltzmann methods. From lattice gas automata, it is possible to derive the macroscopic Navier-Stokes equations

Here is a prallel implementation of the Lattice Gas Cellular Automata. The serial implementation is a modified version of William Power's repository LGS

Requirements

Language: Python

Libraries:

  • mpi4py
  • numpy
  • random
  • matplotlib
  • sys
  • math

Usage

Serial:

$ python lattice-serial.py

Parallel:

$ mpirun -n <number of processes> python lattice-parallel.py

References

About

A parallel implementation of the Lattice Gas Cellular using MPI in python

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages