FluidSimulationTutorialsUnity
No description available
Install / Use
/learn @clatterrr/FluidSimulationTutorialsUnityREADME
简介
游戏流体力学基础及unity代码
github地址https://github.com/clatterrr/FluidSimulationTutorialsUnity
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以加深理解。
以下是我收集的一些代码和网址,觉得很不错就贴上来,不定时更新。不过这些网址可能随时会挂掉
浸入边界法Immersed Boundary Method
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://www.math.nyu.edu/~peskin/ib_lecture_notes/index.html
https://github.com/shurikkuzmin/ImmersedBoundary
半拉格朗日Semi-Lagrange
https://github.com/iCFD/SemiLagrangian
D:\FluidSim\FluidSim\semilagrange\SemiLagrangian-master
https://github.com/abarret/SemiLagrangian
Fluid Solid Interaction
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库
代码地址:https://www.pplusplus.lima-city.de/lib/data/femfluid/FEM%20Fluid%20Source.zip
本地地址:D:\FluidSim\FluidSim\FEMNEW\FEM Fluid Source\FEM Fluid
https://www.math.hu-berlin.de/~cc/cc_homepage/software/software.shtml
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/Vinay5SVeerapur/Finite-element-analysis/blob/master/BEAM%20equation.ipynb
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/nileshjchoudhary/Flow-through-driven-cavity-Finite-element-analysis-CFD
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
Galerkin
An Introduction to Element-based Galerkin Methods on Tensor-Product Bases: Analysis, Algorithms, and Applications
https://github.com/fxgiraldo/Element-based-Galerkin-Methods
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/hanveiga/higher-order-methods/blob/master/dg1d.py
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
Unstructed mesh
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/JuliaNLSolvers/NLsolve.jl/blob/master/src/solvers/trust_region.jl 置信域
https://github.com/Hannah-Zhou/Optimization_Algorithm
计算电磁学中的超大规模并行矩量法
https://github.com/team-pancho/deltaBEM
https://github.com/taichi-dev/taichi/blob/master/examples/mgpcg_advanced.py
网格生成
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
http://www.robertschneiders.de/meshgeneration/software.html
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
非定常流
https://www.mathworks.com/matlabcentral/fileexchange/?q=profileid:4187051
声学
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
Closet Point Method
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/
浅水波
项目地址:https://web.cse.ohio-state.edu/~wang.3602/courses/cse3541-2019-fall/index.html
unity 包:https://web.cse.ohio-state.edu/~wang.3602/courses/cse3541-2019-fall/lab4/wave_example.unitypackage
多重网格
http://pages.cs.wisc.edu/~sifakis/project_pages/mgpcg.html 并行多重网格泊松求解器附代码
https://github.com/JuliaLinearAlgebra/AlgebraicMultigrid.jl/tree/master/src 代数多重网格
https://github.com/danfortunato 直接关注这个人就行了
https://github.com/pymatting/pymatting/blob/master/pymatting/preconditioner/vcycle.py
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_Multigr
Related Skills
node-connect
349.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.4kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
349.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
349.0kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
