prasadchandan / go_lbm

Simple lattice boltzmann solver ported to golang

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lattice Boltzman Solver

This was a project that was created primarily to learn golang. It uses gomobile to build artifacts for android and ios, the application can also run on mac, linux and windows.

NOTE: This project is unmaintained - I have uploaded the code for reference.

Usage

  • Install pre-requisites
    • Install golang
    • Install gomobile go get golang.org/x/mobile/cmd/gomobile
    • Initialize gomobile gomobile init (This could take a few minutes)
  • Build on windows, linux or mac
    • go build .
    • Run the go_lbm binary
  • Build mobile applications
    • iOS - gomobile build -target=ios .
    • Android - gomobile build -target=android .
    • For more information on building for mobile applications, refer to gomobile docs.
  • Alternatively, use make along with the provided Makefile

Demo

Go LBM Demo

Credits

About

Simple lattice boltzmann solver ported to golang

License:Other


Languages

Language:Go 89.3%Language:Java 9.6%Language:GLSL 0.9%Language:Makefile 0.2%