# MeshGenerator:A Mesh generation package in MATLAB
MeshGenerator is a matlab software package used to generate various meshes in 2D such as triangles, squared, Voronoi polygons, even non-convex polygons, etc. It can be used for finite element method and virtual element method. The code is based on iFEM and mVEM(Thanks to Professor Chen Long of UCL and Terenceyuyue of SJTU), and I have mainly done some original work in generating linear and closed interface meshes.
If you need to communicate with me, you can contact me via email: 202121511185@smail.xtu.edu.cn
## installation
Add the path to MeshGenerator into the path library of MATLAB:
1.Graphical interface. Click File -> Set Path -> Add with Subfolders and chose the directory where the package iFEM is stored.
2.Command window. Go to the directory of MeshGenerator and run setpath
## NormalMesh
You can generate a normal mesh in a square, or get polygonal mesh and unstructured mesh by original mesh:
### 1.dualMesh.m
It can be used to generate a polygonal mesh by original triangular mesh data.
### 2.nonConvexMesh.m
It can be used to generator a Non convex polygon mesh, which can be used in virtual element method.
### 3.NonStructural_Mesh.m
This script file stores how to convert a normal grid into a non-structured mesh by random methods.
### 4.squaremesh.m
It can be used to generate a uniform triangular mesh.
### 5.squarequadmesh.m
It can be used to generate a uniform squared mesh.
## PolyMesher
This part is relatively independent. You can read the documents in the folder to understand its usage. If you simply use it, you can read the annotation of PolyMesher.m and PolyMesher_interfaceline.m to generator Voronoi polygonal mesh and mirrored Voronoi polygonal mesh,respectively.
## DistMesh
You can read the annotation of distmesh2d.m to generator Mesh of domains with very many shapes,even the grid with holes.
## InterfacePolymesher
This is my main original work. I created programs that can generate linear and closed interfaces. See the specific annotation of example in the interfaceline.m and interfacecolosed.m for the main usage.
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
MeshGenerator-YuriyXiong.zip (56个子文件)
MeshGenerator-main
NormalMesh
dualMesh.m 3KB
squarequadmesh.m 2KB
squaremesh.m 833B
nonConvexMesh.m 1KB
NonStructural_Mesh.m 930B
tool
rectangleDomain.m 447B
setboundary.m 3KB
showmesh.m 1KB
findelem.m 1KB
findedge.m 1KB
findnode.m 1KB
polycentroid.m 1KB
PolyMesher
demo2.jpg 108KB
MichellDomain.m 2KB
RectangleDomain.m 2KB
dUnion.m 572B
dLine.m 728B
dRectangle.m 573B
setboundary.m 3KB
showmesh.m 1KB
dCircle.m 545B
findelem.m 1KB
dIntersect.m 576B
PolyMshr_PlotMsh.m 775B
findedge.m 1KB
PolyMesher.m 8KB
PolyMesher_interfaceline.m 8KB
MbbDomain.m 2KB
findnode.m 1KB
dDiff.m 573B
HornDomain.m 1KB
InterfacePolymesher
dualMesh.m 3KB
interface1.jpg 180KB
interface2.jpg 177KB
rectangleDomain.m 447B
showmesh.m 1KB
interfaceline.m 3KB
interfaceclosed.m 3KB
DistMesh
distmeshsmoothing.m 3KB
drectangle.m 182B
huniform.m 137B
simplexvolume.m 1KB
odtmeshopt.m 3KB
myunique.m 420B
myuniformity.m 557B
circumcenter.m 469B
initdistmesh.m 1KB
meshquality.m 2KB
fixorder.m 1KB
ddiff.m 121B
simpqual.m 2KB
cleanup.m 2KB
findboundary.m 1KB
dcircle.m 153B
distmesh2d.m 3KB
README.md 2KB
共 56 条
- 1
资源评论
Yuriy_Xiong
- 粉丝: 16
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功