Why is tetramesh painfully slow?

조회 수: 3 (최근 30일)
Pelajar UM
Pelajar UM 2022년 4월 25일
댓글: Pelajar UM 2022년 4월 25일
I have a tetrahedral mesh with 35000+ vertices and 60,000+ faces. When I use tetramesh to plot it, it takes like 10 minutes.
If I use freeboundary to exctract that triangular mesh of the surface, and use trisurf, it is extremely fast, like less than a second. Of course number of data is reduced maybe by half but I don't think this is the resason.
Because if I use pdeplot3d to plot the tetrahedral mesh, similarly, it is super-fast. Less than a second also.
It seems like tetramesh is just so slow. Why?
I can't use pdeplot3d because it only accepts nodel data for its colormap. I need to use the faces for the colormap data.
  댓글 수: 10
Bruno Luong
Bruno Luong 2022년 4월 25일
편집: Bruno Luong 2022년 4월 25일
I know well what the convex hull is, My data are random volume not a specific geometry. Does the convex volume matter for the slownest you want to point out? Yes or no?
Pelajar UM
Pelajar UM 2022년 4월 25일
No, it doesn't matter. tetramesh (DT) and tetramesh(elements, nodes) are both super slow.
I have attached a list of nodes and elements that you can try. Time tetramesh vs pdemesh3d. You will see the difference is massive.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Bounding Regions에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by