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

2 次查看(过去 30 天)
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 个评论
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 CenterFile Exchange 中查找有关 Surface and Mesh Plots 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by