Home

Awesome

karman_tachi

karman_taichi is an incompressible fluid solver written in the Taichi programming language. It solves a 2-D rectagular fluid field with a cylindrical obstacle. A Karman vortext street can be observed when the Reynolds number is sufficiently large.

In the following example, the animation is showing the y-direction velocity, x-direction velocity and the pressure field, respectively from top to bottom. The Reynolds number in this example is around 150. (The characteristic length used in Reynolds number should be the diameter of the cylinder, not the width of the channel.)

calculated result

Incompressible fluid solver

I used the finite volume method (FVM) to represent the Navier-Stokes equation. The Semi-Implicit Method for Pressure Linked Equations (SIMPLE) was used to solve the velocity and pressure field iteratively.

Navigating the code

The main loop of the solver is simply a implementation of what's described as the SIMPLE method.

Under construction...

About Karman vortex's simulation

Current issues