andyborrell / AeroToy

An interactive real-time fluid-rigid-body simulator with a focus on experimentation and learning.
Other
15 stars 0 forks source link
cfd fluid-dynamics fluid-simulation physics-simulation

AeroToy - A 2D fluid simulator and physics sandbox

IMAGE ALT TEXT

AeroToy is an interactive fluid simulator featuring two-way interaction between a semi-lagrangian real-time fluid simulation and a 2D rigid body physics simulation.

The purpose of AeroToy is not to provide accurate simulations for engineering purposes, but to provide accurate-enough interactive simulation to allow students or enthusiasts to experiment with the phenomena resulting from the interactions between subsonic aerodynamics and rigid bodies.

The fluid simulation is based on an algorithm ultimately derived from Stam Stable Fluids. It is therefore optimized for real-time speed rather than accuracy, but has enough accuracy to recreate many of the phenomena arising from real fluid dynamics. Some of the concepts that can be easily be explored include:

A key goal of AeroToy is that aerodynamics can be experimented with in real-time. The AeroToy editor provides a fluid simulation running in parallel with the editor UI, meaning that as wing shapes are edited or painted, the effect on air flow can be seen immediately and interactively.

Features

Craft Editor

Flight Testing

Download

Currently only a Windows binary build is available. Download from the latest release from the releases page.

Tutorial

IMAGE ALT TEXT

Source Code

Source code is not currently public. It might be in the future.