Dear Freefem users:
I recently encountered a problem where I encountered the following error when using Tetgen to generate tetrahedral meshes for three coaxial cylinders.
erro message : [Assertion fail : (tabregion.N( ) == 5 * nbregion)]
I have attached my program and hope to receive help.
Thank you
help.edp (2.3 KB)
Your domain
array has wrong size. It must be 5*nbregion
. For each region you have to supply x0,y0,z0,label,voltet
. Where x0,y0,z0
are coordinates of point of the domain, label
is the label of your region, and voltet
the size of tetrahedra.
Thank you for your reply. I also noticed this issue in the manual, and after making the necessary changes, it now displays intersecting error messages. Does this mean that Tetgen cannot be used for coaxial cylindrical structures? Because their bottoms intersect.
Thank you again and I hope to receive further assistance from you.
Erro message:PLC Error: Two segments intersect at point (0.2,0.0350105,-0.0422254).
help.edp (2.3 KB)