游戏流体力学基础及unity代码
gitee码云地址https://gitee.com/clatterrr/FluidSimulationTutorialsUnity
qq模拟流体交流群1001290801,欢迎加入
代码作者:光影帽子
【游戏流体力学基础及Unity代码(一)】热传导方程
https://zhuanlan.zhihu.com/p/263053689
【游戏流体力学基础及Unity代码(二)】有限差分法
https://zhuanlan.zhihu.com/p/264153771
【游戏流体力学基础及Unity代码(三)】用波动方程模拟三维落雨池塘,连续性方程
https://zhuanlan.zhihu.com/p/264585002
【游戏流体力学基础及Unity代码(四)】用欧拉方程模拟无粘性染料之公式推导
https://zhuanlan.zhihu.com/p/270530827
【游戏流体力学基础及Unity代码(五)】用欧拉方程模拟无粘性染料之代码实现
https://zhuanlan.zhihu.com/p/270531017
【游戏流体力学基础及Unity代码(六)】用NavierStokes方程模拟粘性染料流动
https://zhuanlan.zhihu.com/p/283662524
【游戏流体力学基础及Unity代码(七)】车流量问题,非线性水波以及burgers方程
https://zhuanlan.zhihu.com/p/309860521
【游戏流体力学基础及Unity代码(八)】有限体积法
https://zhuanlan.zhihu.com/p/331771977
【游戏流体力学基础及Unity代码(九)】用浅水波方程模拟雨落池塘和DamBreak
https://zhuanlan.zhihu.com/p/331781508
B站视频https://www.bilibili.com/video/BV1Ry4y167MV
【游戏流体力学基础及Unity代码(十)】漩涡和模拟二维烟雾
https://zhuanlan.zhihu.com/p/340842666
【游戏流体力学基础及Unity代码(十一)】理想流体机翼绕流和升力原理
https://zhuanlan.zhihu.com/p/340848576
【游戏流体力学基础及Unity代码(十二)】卡门涡街,边界层,涡方法
https://zhuanlan.zhihu.com/p/345332340
B站视频https://www.bilibili.com/video/BV1u5411H7hr
【游戏流体力学基础及Unity代码(十三)】泊松压力方程,SIMPLE算法
https://zhuanlan.zhihu.com/p/347410166
【游戏流体力学基础及Unity代码(十四)】舌尖上的有限元Galerkin法
https://zhuanlan.zhihu.com/p/358033368
【游戏流体力学基础及Unity代码(十五)】线性有限元及弹性物体模拟
https://zhuanlan.zhihu.com/p/369505527
波前推进法网格生成https://www.bilibili.com/video/BV1ZK4y1w7R6/
弹性果冻模拟https://www.bilibili.com/video/BV1w84y1c7K2/
【游戏流体力学基础及Unity代码(十六)】非线性有限元及牛顿迭代法
https://zhuanlan.zhihu.com/p/369521901
之后预计很长一段时间不会更新了。是为了确保教程质量,以及不犯低级错误。所以你可能会发现一大堆没对应教程的代码,这些宝贵的代码收集起来很不容易,我会尽量保证代码可读性,以及我是从哪里得到的。不过一般我下载到的都是matlab或c++的,我会把它转写成python以加深理解。
以下是我收集的一些代码和网址,觉得很不错就贴上来,不定时更新。不过这些网址可能随时会挂掉
https://sites.google.com/view/sglee/research 进入页面,搜索code,找到“\21. Wanho Lee and Seunggyu Lee, Immersed boundary method for simulating interfacial problems, Mathematics 8(11) (2020) 1982 .. (IF2019:1.747) (code)”字样,点击code即可下载。这个页面上还有许多文章是可免费下载的
https://github.com/nickabattista/IB2d 很棒的开源库,有代码,论文和视频
https://github.com/shurikkuzmin/ImmersedBoundary
https://github.com/iCFD/SemiLagrangian
D:\FluidSim\FluidSim\semilagrange\SemiLagrangian-master
https://github.com/abarret/SemiLagrangian
An Introduction to Fluid-Structure Interaction: Application to the Piston Problem
项目地址 : http://www.utc.fr/~elefra02/ifs/
代码地址:http://www.utc.fr/~elefra02/ifs/archive_FSI.tar.gz
本地代码:D:\FluidSim\FluidSim\FluidSolidInteraction\archive_FSI
https://github.com/WhiteTshirtXI/IBFS_M
Efficient implementation of adaptive P1-FEM in Matlab
https://www.pplusplus.lima-city.de/femfluid.html Pressure Solve with Finite Elements 很好的matlab库
本地地址:D:\FluidSim\FluidSim\FEMNEW\FEM Fluid Source\FEM Fluid
Computationally Solving Nonlinear Membranes with Plane Stress Condition
https://github.com/vasko6d/finite-element-solver
D:\FluidSim\FluidSim\FEMGOOD\finite-element-solver-master\finite-element-solver-master
H^1-Stability of the L^2-Projection onto Finite Element Spaces on Adaptively Refined Quadrilateral Meshes
https://github.com/aschmidtuulm/h1-stability
https://github.com/tobyvg/Fluid-codes 方强流
https://github.com/Milad-Rakhsha/FEM_PDE 有限元解势流
https://github.com/emarinhoss/FEM_PETSC
https://github.com/RnkSngh/Double-Slit-Experiment 双缝
https://github.com/shardoolk/FEM
https://github.com/jborggaard/ns2d
https://github.com/Satchit4/Navier-stokes
https://github.com/coltonjconroy/DG_2d_lava_flows
https://github.com/Hahany/Finite-element-method
https://zenodo.org/record/4011630#.YMs3l2hLjIV
https://git.lacan.upc.edu/hybridLab/HDGlab HDGlab: An Open-Source Implementation of the Hybridisable Discontinuous Galerkin Method in MATLAB,里面的四边形八边形单元数据挺多
https://github.com/FESTUNG/FESTUNG
https://github.com/mfem/mfem
https://github.com/matlabfem/matlab_fem_elastoplasticity Efficient and flexible MATLAB implementation of 2D and 3D elastoplastic problems
An Introduction to Element-based Galerkin Methods on Tensor-Product Bases: Analysis, Algorithms, and Applications
D:\FluidSim\FluidSim\Galerkin\Element-based-Galerkin-Methods-master\Element-based-Galerkin-Methods-master
https://github.com/tuhouwang?tab=repositories
Nodal Based Galerkin
https://github.com/Achyut2404/nodalDG
D:\FluidSim\FluidSim\Galerkin\nodalDG-master\src
https://github.com/Jacklswalsh/DGM-Advection-AD 自适应快速一维Galerkin
D:\FluidSim\FluidSim\Galerkin\DGM-Advection-AD-main
https://github.com/asdf123101/HDPG1D
D:\FluidSim\FluidSim\Galerkin\HDPG1D-master
https://github.com/wme7/cprlinearexamples 画正方形
https://github.com/AndrewWang996/Discontinuous-Galerkin
https://github.com/Chang-Liu-0520/1D_advec_DG
https://github.com/pinkieli/Interpolation-Nodes-for-High-order-Lagrange-Finite-Elements.Nodal Discontinuous Galerkin Methods: Algorithms, Analysis, and Applications", Jan S Hesthaven and Tim Warburton.
https://github.com/QuazarTech/DG_Maxwell
D:\FluidSim\FluidSim\NavierStokes\circular tankhttps://sourceforge.net/projects/circularwavetank/
Development of Numerical Circular Wave Basin and Investigation of Tsunami-Structure Interaction
HILBERT is a Matlab library for h-adaptive Galerkin BEMhttps://www.asc.tuwien.ac.at/~praetorius/?id=hilbert
SPECTRAL METHOD FOR TIME DEPENDENT NAVIER-STOKES EQUATIONS
http://cpraveen.github.io/teaching/chebpy.html
https://github.com/jgressier/flowdyn/blob/master/flowdyn/integration.py RK4 low storage
https://team-pancho.github.io/deltaBEM/download.html
http://www.netlib.org/templates/matlab/ 就是一些共轭梯度,预处理的共轭梯度,最小残差GMRES,双共轭梯度
https://github.com/JuliaLinearAlgebra/IterativeSolvers.jl Julia语言实现的各种方程组解法。
Optimization in Practice with MATLAB®: For Engineering Students and Professionals 最优化书籍
https://github.com/Manchery/numerical-analysis-practice
https://github.com/JordanFisher/Paper-Implicit-IBM-2D/blob/master/CODE%20FREEZE/NewHeartValveSim.py 有预处理共轭梯度,快速雅可比等
https://github.com/Hannah-Zhou/Optimization_Algorithm
计算电磁学中的超大规模并行矩量法
https://github.com/team-pancho/deltaBEM
http://persson.berkeley.edu/ 特别棒的二维三维网格生成的matlab代码
https://ifsnumericaltools.weebly.com/ 也是很棒的代码 D:\FluidSim\MathsWorkMisc\mesh2d_v24\Mesh2d_v24
https://github.com/aschmidtuulm/ameshref Adaptive Mesh Refinement in 2D–An Efficient Implementation in Matlab论文对应的代码
TetGen http://wias-berlin.de/software/tetgen/formAction12.jsp
D:\FluidSim\OpenSource\tetgen1.5.1\tetgen1.5.1
https://doc.cgal.org/4.13/Manual/tutorials.html
Persson, P. O., and G. Strang (2004), A simple mesh generator in MATLAB
Adaptive Mesh Refinement in 2D An Efficient Implementation in Matlab for Triangular and Quadrilateral Meshes
H1-STABILITY OF THE L2-PROJECTION ONTO FINITE ELEMENT SPACES ON ADAPTIVELY REFINED QUADRILATERAL MESHES
Adaptive Mesh Refinement in 2D An Efficient Implementation in Matlab
Physically Based Sound for Computer Animation and Virtual Environments
教授Osher Stanley,
Geometric Level Set Methods in Imaging,Vision & Graphics
https://www.cs.ubc.ca/~mitchell/ToolboxLS/ matlab示例,非常棒的成系统的代码。
https://github.com/scikit-image/scikit-image/blob/main/skimage/segmentation/_chan_vese.py 有一个有名的python库叫scikit-image,里面实现了chanvese算法
A discrete level-set topology optimization code written in Matlab
https://www.math.ubc.ca/~cbm/cpm/
https://github.com/kimy-de/gpuallencahn 阿兰方程
An Introduction to the Numerics of Flow in Porous Media using Matlab
https://github.com/pmgbergen/porepy
https://github.com/jjhidalgo/HGCchem2 有分层现象,大佬主页https://jjhidalgo.wordpress.com/codes/
http://pages.cs.wisc.edu/~sifakis/project_pages/mgpcg.html 并行多重网格泊松求解器附代码
https://github.com/danfortunato 直接关注这个人就行了
https://github.com/lyc102/ifem ifem
https://amgcl.readthedocs.io/en/latest/examples.html
https://github.com/evstigneevnm/GMG_2D_tests
https://github.com/gnitish18/FEM_Multigrid
2D Cartesian Quadtree Adaptive Mesh Refinement (AMR) for multiphase Five Equations Model.https://github.com/dattv/2D_CARFIVE
https://github.com/Spoonacular/LBM_python
https://github.com/rarbarim/multiphase_flow_simulator 附带报告,作者还有一些别的代码
http://pages.cs.wisc.edu/~sifakis/project_pages/svd.html Computing the Singular Value Decomposition of 3x3 matrices with minimal branching and elementary floating point operations附代码
Role of the Dynamic Contact Angle on Splashing
DNSLABhttps://md-datasets-cache-zipfiles-prod.s3.eu-west-1.amazonaws.com/6gtnjwwg8j-1.zip
LESCODE https://cfd.engr.uconn.edu/ 不过代码需要填个申请表格才能获取
本地代码地址:D:\FluidSim\FluidSim\LES\les.r123\les
Turbulent Fluids – SIGGRAPH Course https://ge.in.tum.de/research/turbulent-fluids-siggraph-course/
https://github.com/thijsbon/CMF_project_thijs_victor 有湍流和墙函数
https://github.com/nasa/gfr
https://github.com/nasa/TLNS3D
https://github.com/Timmmdavis/CutAndDisplace
https://github.com/Timmmdavis/CutAndDisplace
Fast Continuous Collision Detection using Deforming Non-Penetration Filters
项目地址:http://gamma.cs.unc.edu/DNF/
代码地址:http://gamma.cs.unc.edu/DNF/request.html
https://github.com/jorgensd/MultiMeshShapeOpt_code
A generalized polynomial chaos based ensemble Kalman filter with high accuracy
https://github.com/joebling/graduate_essay
https://github.com/Mjjnuu/DoublePendulum 似乎是宇宙学
D:\FluidSim\Electron\DoublePendulum-master\python
An introduction to reservoir simulation using MATLAB
https://github.com/keileg/fvbiot
https://github.com/ep2lab 一些磁流体
https://github.com/trevorcrupi/EM-MG 电磁学的多重网格
https://github.com/rasalkumar/FEM
https://github.com/ocramz/lib_FEM_py
https://github.com/eduardobehr/pyjoule
Commics is an open-source Python module for the study of the magnetization dynamics in ferromagnetic materials via micromagnetic simulations.https://www.asc.tuwien.ac.at/~praetorius/?id=commics
http://www.k-wave.org/download.php
https://github.com/pvanberg/DGFEM-Acoustic
https://github.com/1ceaham/AcousticFVTD_GeneralImpedance
https://github.com/ivanmartinezsuarez/Matlab_FVM
https://people.sc.fsu.edu/~jburkardt/m_src/ 有各种各样的有限元matlab代码
https://github.com/weymouth/WaterLily.jl 漂亮的NS方程模拟
Extraction of Distinguished Hyperbolic Trajectories for 2D Time-Dependent Vector Field Topology
介绍页面:https://vcg.iwr.uni-heidelberg.de/people/sadlo/
A PArallel Robust Interface Simulator that combines VOF and Front-Tracking
介绍页面:http://www.ida.upmc.fr/~zaleski/paris/index.html
代码地址:http://www.ida.upmc.fr/~zaleski/paris/paris-stable.tar.gz
A Hyperbolic Geometric Flow for Evolving Films and Foams
项目地址:https://ryichando.graphics/
代码地址:https://github.com/sdsgisd/HGF
Interpolation Nodes for High-order Lagrange Finite Elements
Semi-Riemannian Manifold Optimization
https://github.com/trgao10/SemiRiem
https://github.com/noamaig/hyperbolic_orbifolds
An entropy-stable hybrid scheme for simulations of transcritical real-fluid flow[JCP的]
https://github.com/peterma123456789/DoubleFlux-1D
Ice sheet flow with thermally activated sliding
Wavelet-Fourier CORSING techniques for multi-dimensional advection-diffusion-reaction equations
River Profile
https://github.com/sfgallen/ChiProfiler
https://github.com/ISSI2015/M4 Real-Time Deformation
A fast implicit method for time-dependent Hamilton-Jacobi PDEs
https://github.com/holdmygithub/ASOInviscidSupersonicFlow 机翼设计
D:\FluidSim\FluidSim\NavierStokes\ASOInviscidSupersonicFlow-master\ASOInviscidSupersonicFlow-master
https://github.com/GerardBoberg/CompressiblePipeFlow
D:\FluidSim\FluidSim\CompressibeNewgood\CompressiblePipeFlow-master\CompressiblePipeFlow-master
https://github.com/silentmovie/RTmodel RT不稳定
https://archive.siam.org/books/cs18/
https://github.com/Maikuelet/FEM_Airplane
https://github.com/mehrdadyo/LS-IBM
Joukowski transformhttps://www.research-collection.ethz.ch/handle/20.500.11850/146738
PolyPIC: the Polymorphic-Particle-in-Cell Method for Fluid-Kinetic Coupling
https://github.com/smarkidis/fluid-kinetic-PIC
下面的主页全部是附有开源代码的
https://cs.uwaterloo.ca/~c2batty/
https://zhxx1987.github.io/#cod 猜猜这是谁?
http://gamma.cs.unc.edu/software/ 这是个项目主页,开源代码很多
https://www.cc.gatech.edu/~turk/
https://people.llnl.gov/lindstrom2 偏向几何数据处理
http://ntoken.com/pubs.html#Thuerey_2016_ofblend
http://www.tkim.graphics/
http://www.cmap.polytechnique.fr/~allaire/
https://sites.google.com/view/valentinresseguier/projects
https://www.konrad-simon.eu/wordpress/?page_id=91
http://www-personal.umich.edu/~ndk/
https://people.ece.ubc.ca/kaynama/
https://math.berkeley.edu/~strain/Codes/index.html
https://www.cwimd.nl/doku.php?id=codes:start
https://math.nist.gov/~WMitchell/
https://www.mcs.anl.gov/~fischer/me528/
吐槽这个网站验证机制太弱智,如果它要求你升级会员才能查看剩下内容,那么你只要重新换个浏览器就行了。
pyro2
netgen
scipy这玩意有一些矩阵迭代求解法
http://granoo.52083.n8.nabble.com/
clawpack
aspect https://aspect.geodynamics.org/
dealii
fenics
http://milamin.org/downloads/
内容很棒的论文以及讲义
Lecture notes Introduction to numerical methods for interfacial flows
内容不管,但是标题值得写上一万字来吐槽
A massive fractal in days, not years
code_aster https://code-aster.org/spip.php?article920







