# MATLAB Toolbox for Handling 2D and 3D FEM Meshes
![license - BSD](https://img.shields.io/badge/license-BSD-green)
![language - MATLAB](https://img.shields.io/badge/language-MATLAB-blue)
![category - science](https://img.shields.io/badge/category-science-lightgrey)
![status - maintained](https://img.shields.io/badge/status-maintained-green)
This **MATLAB** toolbox offers numerous functionalities for handling **2d and 3d meshes**:
* **Parse geometry** (edge, surface, and volume) - 'extract_geom.m'
* **Plot geometry** (edge, surface, volume, normal vector, and tangential vector) - 'plot_geom.m'
* **Assign variables** to the vertices of the meshes - 'extract_data.m'
* **Plot variables** (scalar variable and vector field) - 'plot_data.m'
* **Integrate variables** on the meshes (scalar variable and vector field) - 'integrate_data.m'
* **Interpolate variables** on the meshes - 'interp_data.m'
The toolbox can be used for the following tasks:
* Processing **finite element method (FEM)** results (e.g. COMSOL, ANSYS, OpenFOAM)
* Handling **geographic information system (GIS)** data (e.g. digital elevation model)
* Handling **additive manufacturing** data (e.g. 3d printing)
## Examples
The example [run_bridge_example.m](run_bridge_example.m) handles a complex 3d structural analysis:
<p float="middle">
<img src="readme_img/bridge.png" width="600">
</p>
The example [run_simple_example.m](run_simple_example.m) uses a simple 2d and 3d electrostatic simulation.
This example is used to systemically test/demonstrates the different functions of the toolbox:
<p float="middle">
<img src="readme_img/simple_1.png" width="400">
<img src="readme_img/simple_2.png" width="400">
</p>
<p float="middle">
<img src="readme_img/simple_3.png" width="400">
<img src="readme_img/simple_4.png" width="400">
</p>
<p float="middle">
<img src="readme_img/simple_5.png" width="400">
<img src="readme_img/simple_6.png" width="400">
</p>
## Limitations
The following limitations apply to the toolbox:
* For 2d meshes and 3d surfaces, only triangular meshes are supported (no quadrilateral meshes)
* For 3d volumes, only tetrahedral meshes are supported (no hexahedral meshes)
* The integration and interpolation methods are considering linear schemes (no higher-order)
* Probably not scalable to very large meshes (tested with 3.5 million vertices and 7 million triangles)
## Compatibility
The toolbox requires the following software packages:
* Tested with MATLAB R2018b
* No toolboxes are required
* Compatibility with GNU Octave not tested but probably slightly problematic
The following software packages are used for generating the data of the examples:
* COMSOL 5.4 for generating the meshes and the solutions
* Inventor 2019 for the CAD drawings
## Author
**Thomas Guillod** - [GitHub Profile](https://github.com/otvam)
## License
This project is licensed under the **BSD License**, see [LICENSE.md](LICENSE.md).
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
matlab算法,工具源码,适合毕业设计、课程设计作业,所有源码均经过严格测试,可以直接运行,可以放心下载使用。 Matlab(Matrix Laboratory)是一种专为数值计算和科学与工程应用而设计的高级编程语言和环境。在算法开发和实现方面,Matlab具有以下一些好处: 1. 丰富的数学和科学函数库:Matlab提供了广泛的数学、信号处理、图像处理、优化、统计等领域的函数库,这些函数库可以帮助开发者快速实现各种复杂的数值计算算法。这些函数库提供了许多常用的算法和工具,可以大大简化算法开发的过程。 2. 易于学习和使用:Matlab具有简单易用的语法和直观的编程环境,使得算法开发者可以更快速地实现和测试他们的算法。Matlab的语法与数学表达式和矩阵操作非常相似,这使得算法的表达更加简洁、清晰。 3. 快速原型开发:Matlab提供了一个交互式的开发环境,可以快速进行算法的原型开发和测试。开发者可以实时查看和修改变量、绘制图形、调试代码等,从而加快了算法的迭代和优化过程。这种快速原型开发的特性使得算法开发者可以更快地验证和修改他们的想法。 4. 可视化和绘图功能:Matlab具有强大的可视化和绘图功能,可以帮助开发者直观地展示和分析算法的结果。开发者可以使用Matlab绘制各种图形、曲线、图像,以及创建动画和交互式界面,从而更好地理解和传达算法的工作原理和效果。 5. 并行计算和加速:Matlab提供了并行计算和加速工具,如并行计算工具箱和GPU计算功能。这些工具可以帮助开发者利用多核处理器和图形处理器(GPU)来加速算法的计算过程,提高算法的性能和效率
资源推荐
资源详情
资源评论
收起资源包目录
用于处理2D和3D FEM网格的MATLAB工具箱(高分毕设).zip (28个子文件)
fem_mesh_matlab-master
LICENSE.md 1KB
.gitattributes 66B
model_bridge
bridge.mph 11.11MB
bridge.iam 102KB
bridge_car.ipt 156KB
bridge_structure.ipt 213KB
bridge.stp 112KB
bridge.mat 491KB
run_bridge_example.m 2KB
run_extract_comsol.m 6KB
model_simple
simple.mph 1.89MB
simple.mat 67KB
run_simple_example.m 8KB
readme_img
simple_3.png 86KB
simple_5.png 124KB
simple_2.png 453KB
bridge.png 849KB
simple_4.png 97KB
simple_1.png 117KB
simple_6.png 178KB
fem_mesh_utils
extract_data.m 1KB
extract_geom.m 9KB
interp_data.m 2KB
plot_data.m 5KB
plot_geom.m 4KB
integrate_data.m 5KB
.gitignore 44B
README.md 3KB
共 28 条
- 1
资源评论
若明天不见
- 粉丝: 1w+
- 资源: 273
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功