core icon indicating copy to clipboard operation
core copied to clipboard

ac/adapt-changes capVol fails for surface meshes

Open bobpaw opened this issue 6 months ago • 3 comments

On the ac/adapt-changes branch (b15f7e204a98a50ec719c8ca40aff99ea8337d5d), the capVol cylinder fails for surface meshes. The log file is included below. Since this issue happens with and without the -m flag, I think it is a problem with MeshAdapt.

./capVol 1 pumi-meshes/cap/cyl_surf_only.cre out.cre
Initalization of MetricInterpolation ...
Threads : 1
Expiration Date = 2025-8-26
Number of Breps = 1
Loading Data Timer : cpu = 9.715e-03s  wall = 1.01e-02s

MeshAdapt: ma::configure:  Based on requested sizefield, MeshAdapt requires at least 2 iterations.
           Setting the number of iteration to 3!

MeshAdapt: version 2.0 !

MeshAdapt: coarsened 42 edges in 0.015395 seconds

MeshAdapt: iteration 0

MeshAdapt: refined 872 edges in 0.083101 seconds
coords.size() is 1
No implementation for non-tri faces!
Info: Found Infinitely Many Intersection Points!
coords.size() is 1
No implementation for non-tri faces!
Info: Found Infinitely Many Intersection Points!
coords.size() is 1
No implementation for non-tri faces!
Info: Found Infinitely Many Intersection Points!
coords.size() is 1
No implementation for non-tri faces!
Info: Found Infinitely Many Intersection Points!
coords.size() is 1
No implementation for non-tri faces!
Info: Found Infinitely Many Intersection Points!
coords.size() is 1
No implementation for non-tri faces!
Info: Found Infinitely Many Intersection Points!
face failed at /users/woodra/lore/projects/capstone/core/ma/maSnapper.cc + 943
Aborted (core dumped)

bobpaw avatar Jul 07 '25 23:07 bobpaw

Do you have a screenshot of the model? Does valgrind show any errors?

cwsmith avatar Jul 08 '25 01:07 cwsmith

It is a simple cylinder, and valgrind reports nothing further than the segfault.

Image

bobpaw avatar Jul 10 '25 15:07 bobpaw

When switched to MDS for adaptation (using the -m flag), the error is slightly different:

MeshAdapt: version 2.0 !

MeshAdapt: coarsened 41 edges in 0.003163 seconds

MeshAdapt: iteration 0

MeshAdapt: refined 877 edges in 0.038200 seconds
nDownVerts failed at /users/woodra/lore/projects/capstone/core/ma/maSnapper.cc + 936 
Aborted (core dumped)

bobpaw avatar Jul 10 '25 15:07 bobpaw