#lattice #parallel #solver #flow #source #open #fluid

nightly palarust

A parallel lattice Boltzmann solver in Rust

1 unstable release

Uses old Rust 2015

0.1.0 Nov 3, 2016

#15 in #fluid

Apache-2.0/MIT

105KB
2K SLoC

Palarust

Palarust is a two dimensional parallel lattice Boltzmann fluid flow solver written in Rust. The parallelism is handled through the great Rayon library. The name is a pun on the Palabos library which is a state of the art open source library for complex flows and beyond.

Beware that the library is still at a very early stage of development.

Quick demo

To see what Palarust can currently do, check out the palarust-demo directory, which includes demos of code using Palarust. For example, you can run the simulation of the flow past a cylinder and vizualize the result of the screen (thanks to the sdl2 library).

> cd palarust-demo
> cargo run --release -- cylinder

For more information on the available demos, try:

> cd palarust-demo
> cargo run --release -- --help

License

Rayon is distributed under the terms of both the MIT license and the Apache License (Version 2.0). See LICENSE-APACHE for LICENSE-MIT for details. Opening a pull requests is assumed to signal agreement with these licensing terms.

Dependencies

~19MB
~409K SLoC