MuGeminorum / FluidS

It uses Navier-Stokes equation as the physical model, the numerical solution obtained by real-time calculation includes scalar and velocity fields displayed in the OpenGL control. Users have a choice of 64x64 and 128x128 resolutions and 7 color options.|使用纳维-斯托克斯方程作为物理模型,实时计算得到的数值解便是标量场及速度场的分布情况,并显示在OpenGL控件中。用户有64x64和128x128两种分辨率以及7种颜色选项可供选择。

Home Page:https://foruda.gitee.com/images/1681966668770061631/919d708e_10787834.png

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FluidS

license AppVeyor Github All Releases GitHub release

Its core algorithm of the simulation process refers to Robert Bridson's Fluid Simulation for Computer Graphics. It uses the numerical solution of Navier-Stokes equations to predict the density and velocity distribution of particles in each frame displayed in the OpenGL widget of Qt. There are two resolution options for users: 64 × 64 and 128 × 128. Users can also change display mode between density and velocity in 7 colors.

fsd fsv
Density field Velocity field

Code download

git clone https://github.com/MuGeminorum/FluidS.git

Environment installation, configuration & code debugging, release

Please refer to this blog post for this section.

License

GPL-v3

Flat icon set from easyicon

All source codes are licensed under GPL-3.0

If you want to make any modification on these source codes while keeping new codes unprotected by GPL-3.0, please contact me for a sublicense instead.

About

It uses Navier-Stokes equation as the physical model, the numerical solution obtained by real-time calculation includes scalar and velocity fields displayed in the OpenGL control. Users have a choice of 64x64 and 128x128 resolutions and 7 color options.|使用纳维-斯托克斯方程作为物理模型,实时计算得到的数值解便是标量场及速度场的分布情况,并显示在OpenGL控件中。用户有64x64和128x128两种分辨率以及7种颜色选项可供选择。

https://foruda.gitee.com/images/1681966668770061631/919d708e_10787834.png

License:GNU General Public License v3.0


Languages

Language:C++ 92.1%Language:Batchfile 6.1%Language:QMake 1.8%