Change tetrahedral mesh to hexahedral

14 views (last 30 days)
I'm using Matlab 2019b. I have an stl file, that I read using STL File Reader version 1.2.0.0:
[f,v] = stlread('filename');
I see quite straightforward how to get a tetrahedral mesh out of it, but I need a hexahedral one. How can I obtain it? Or is there an easy way to convert a tetrahedral mesh into hexahedral?
Thank you for your time.
  7 Comments
Roberto Garza
Roberto Garza on 28 May 2020
It is quite close to the expected one: the tooth in the lower part is due to points within the volume and not on the surface. But I think that omitting temporarily that internal disk, the same scipt gives the correct result.
Salvatore Veneruso
Salvatore Veneruso on 2 Jun 2022
Hi, I make a tet FEMesh with generatemesh function. Is it possible to convert in hex mesh?

Sign in to comment.

Accepted Answer

darova
darova on 28 May 2020
Here is the way
Result
  3 Comments
Salvatore Veneruso
Salvatore Veneruso on 2 Jun 2022
Hi, I make a tet FEMesh with generatemesh function. Is it possible to convert in hex mesh? @darova

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!