Reply To: Problem with Renaming Geometry from STL File
this is not a general solution, but merely some ideas in order to eliminate the error source (probably you have tried some of these already):
– does the problem depend on the number of cuboids/ cores?
– plot and check the material numbers in paraview, before and after each rename
– increasing the extent of the CuboidGeometry can avoid round-off errors at that stage