Skip to content

Rust implementation of a 2D MAC fluid solver with PCG based linear solver.

Notifications You must be signed in to change notification settings

jackyarndley/rust-fluid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rust-fluid

Implementation of a 2-dimensional MAC (marker and cell) fluid solver in Rust. A variety of core algorithms are implemented and can be easily changed and swapped out to customise the solving method.

Usage

Currently, the primary method of modifying the scene and parameters of the simulation is by modifying the source code. This is done using the main.rs file. An example scene is already provided.

cargo run --release

The output files are placed in the /output directory. This directory must be created prior to running the solver.

Resources

  • incremental-fluids provided comprehensive documentation and implementations of the algorithms used in this project.

About

Rust implementation of a 2D MAC fluid solver with PCG based linear solver.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages