Howto calculate the Volume of a triangular mesh after using the triangulation function

3 ビュー (過去 30 日間)
Markus
Markus 2017 年 11 月 23 日
コメント済み: Markus 2017 年 11 月 23 日
Hello together,
I extracted from an existing mesh from another program and specific data format information about the points (x,y,z) and the connectivity table. Both information works perfectly with the triangulation function https://de.mathworks.com/help/matlab/ref/triangulation.html , which allows me to reproduce the 3D-mesh in matlab with the same elements. But here I got stuck. I need the volume of the resulting geometry. I found two functions which seems promising but both failed https://de.mathworks.com/matlabcentral/fileexchange/26982-volume-of-a-surface-triangulation and https://de.mathworks.com/matlabcentral/fileexchange/15221-triangulationvolume. Any one else faced once the same problem or has an idea?
Thanks in advance, Markus
  2 件のコメント
KSSV
KSSV 2017 年 11 月 23 日
You got tetrahedrons eh?
Markus
Markus 2017 年 11 月 23 日
No, right now its only triangles. You are right this can be a Problem. However, then i have to generate tetrahedrons first. the boundary for 3D tetrahedrons are them the mesh with the defined z coordinates and a plain mesh with Zero elevation. Any idea how to do this?

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeTriangulation Representation についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by