13-14 July 2023
This talk demonstrates a parallel Lattice–Boltzmann solver for computational fluid dynamics written in Rust using the Rust rayon library. Rayon is a data-parallelism library for Rust that guarantees data-race freedom and makes it easy to convert a sequential computation into a parallel one by using parallel iterators. The talk demonstrates how to use rayon to parallelize scientific PDE solvers, using the Lattice–Boltzmann method as an example.