Skip to content

toropippi/2D_Fluid_Simulation_Python-HSP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

2D_Fluid_Simulation_Python-HSP

ブログの流体力学のサンプルコード

cfd.py:単体実行可能

84fac621

nabie01.hsp:単体実行可能

実行にはHSPインストールが必要。
HSPのインストールはこちらから(Windowsのみ) https://hsp.tv/idman/download.html
クリックしたところの流速が変わる
hsp

Unityフォルダ

UnityフォルダのほうはC#移植版となっている
mudai

さらに移流精度の良いやつ

上記3つは一次風上差分のコードとなっており、やや精度が悪い
そこでCIP法を使って実装したコードを別Repositoryで公開しているのでそれも適宜参照を
https://github.com/toropippi/Unity_GPGPU_2DFluid_CIPScheme image

About

流体力学のサンプルコード、言語はPythonまたはHSP

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •