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

2 views (last 30 days)
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 Comments
Markus
Markus on 23 Nov 2017
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?

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!