有限元讨论班的代码。 参考教材:Jacob Fish 和 Ted Belytschko 的《A First Course in Finite Elements》。 您可以去 b-ok.cc(可能需要翻墙)或者 清华网盘 下载。
Demo codes for FEM (Finite Element Method) workshop. We are following A First Course in Finite Elements by Jacob Fish and Ted Belytschko.
-
Part1.ipynb
一维梁的拉伸(或压缩),截面均匀和不均匀情况。 Tensile of 1D beams with uniform and non-uniform cross-section.
-
Example8-1.ipynb
,Example8-2.ipynb
参考教材的两道例题,三角形网格和四边形上的二维热传导方程,使用 SymPy 辅助推导。 Example 8.1 and 8.2 of Fish's A First Course in Finite Elements in which a heat conduction problem is solved. SymPy is used for symbolic computations.
视频讲解:b站
-
two_dim_heat.py
by soundsinteresting二维圆盘的热传导方程,三角网格。 Heat equation for a 2d disk with triangular mesh.
视频讲解:b站
-
Part2.ipynb
二维热传导方程,四边形网格。网格在
square5x5.ply
中。 2D heat conduction with quadrilateral mesh. One can find the mesh we used insquare5x5.ply
.视频讲解:b站
-
Beam3D.py
andBeam3D.ipynb
by soundsinteresting三维杆的弯曲,三角形网格。网格数据在
Beam.*.vtk
中。 Bend of 3-dim beam with tetrahedron mesh. One can find the mesh we used inBeam.*.vtk
. -
doing by dashu233
纳维斯托克斯方程
-
packages-compare.md
选择各种 Python 包的笔记。 Notes about choosing Python packages.