Triangular 3D mesh
显示 更早的评论
Hi, I'm attempting to utilise some code I've been given which models a hypersonic flow. To do so, it imports geometry in the form of a point cloud and a connectivity matrix. The code doesn't give any indication as to how to create the mesh, so I'm attempting to create it by importing an STL file and then using generateMesh - the only issue is that the code I'm using requires triangular elements while generateMesh gives me elements with either 10 (using quadratic) or 4 (using linear) points - is there any way for me to convert these to triangular elements?
Thanks
A
回答(1 个)
Cris LaPierre
2018-12-26
0 个投票
If you already have the points and the connectivity matrix, you should be able to use triangulation and then triplot. Look at this example for more details.
类别
在 帮助中心 和 File Exchange 中查找有关 STL (STereoLithography) 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!