Error : PLC Error: A segment and a facet intersect at point
Hello, I'm trying to create a mesh for an electrochemical process simulation. For this I need a thin box (which I call strip), passing through some hollow boxes (electrodes) as in the attached image, all this immersed in a tank with an aqueous solution.
I tried to do this by creating a large box containing everything and using fragment
, but for some reason, I'm getting the following error:
Exception: PLC Error: A segment and a facet intersect at point
I looked at #766 (closed) and #1081 (closed) so I guess the problem is that I have some overlapping volumes. However, I thought that the fragment
method would remove any overlap and make the interfaces conformal.
I don't know if it may be related, but I notice that when I use fuse
for the electrode (hollow box) and the strip (thin box), I get a mesh including the space in between. Could it be that this is happening inside the routine for fragments and causing my volumes to overlap.
Thanks in advance!
Here is my code: mwe.py