Personal tools
You are here: Home Forum Use Re: Problem with simple tetrahedral mesh: Line within box

Re: Problem with simple tetrahedral mesh: Line within box

Up to Use

Re: Problem with simple tetrahedral mesh: Line within box

Posted by Theophile Guillon at June 04. 2019

Hi,

I'm trying to mesh a really simple geometry (box + 1 plane + 1 Line => Partition) using NETGEN 1D-2D-3D, but I'm getting a strange meshing pattern please see the attached file.

How can I handle this?

Thank you

 

Attachments

Re: Problem with simple tetrahedral mesh: Line within box

Posted by Christophe Bourcier at June 04. 2019

Hi,

Stange indeed!

What algorithm did you use?

Try Netgen 1D2D, it should give better result.

Christophe

Re: Problem with simple tetrahedral mesh: Line within box

Posted by Theophile Guillon at June 04. 2019

Thanks for your reply,

You can take a look at the script (example) may be you will find what I am doing wrong.

I tried Netgen 1D2D, it works to mesh surfaces but this does not mesh the volume...

Attachments

Re: Problem with simple tetrahedral mesh: Line within box

Posted by Theophile Guillon at June 05. 2019

OK ! problem solved using :

Algorithm 3D => NETGEN 3D

Algorithm 2D => NETGEN 1D-2D

 

 

Attachments

Re: Problem with simple tetrahedral mesh: Line within box

Posted by Gérald NICOLAS at June 05. 2019

Another solution, using "Automatic Tetrahedralization". Perhaps not the very best for the quality of the cells, but it is effective.

Note that the partition could be simplified.

Attachments

Re: Problem with simple tetrahedral mesh: Line within box

Posted by Theophile Guillon at June 07. 2019

Thanks Gérald for the suggestion!

Ok, now is level 2 of my problem: I would like to refine the mesh along the line.

So, I created a submesh then computed the whole thing (see file attached).

Problem: the mesh along the line is indeed refined BUT none of its vertices is connected to the mesh tetrahedra.

This can be seen using the mesh viewer, and is confirmed when exporting the mesh as a text file (additional nodes are connected to edges only).

I tried to predefine points along the line then force the mesh to pass through them, but I could not make it work (MG-Tetra 3D algorithm).

According to this thread, https://www.salome-platform.org/forum/forum_10/29053836, the solution should be to cut the line with planes for each additional node I want, but this would greatly complexify the geometry.

Any suggestion as to how to raise this issue?

Many thanks.

Théophile

Attachments
Powered by Ploneboard
Document Actions