Open xinchenee opened 6 years ago
Could you supply a minimal working example with a .mphtxt
file to illustrate what you are trying to do and what is not working as you expect? I'd be happy to take a look.
I normally use Comsol to create meshes, but before to use it on Scuff I need to "process it". I export the mesh as a .stl and later I use another program (gmsh in my case) to covert it to .msh.
Exporting mesh as binary stl from Comsol and then converting that to *.msh with gmsh seemed to work for me. I had initially a problem with "invalid mesh topology: edge 2 of panel 0 also belongs to panels 0 and 0" with Comsol generated mesh, but I suspect it had to do with me using SI units in making a small nano-particle in Comsol. Presumably should have used micrometer as length unit also in Comsol since the problem went away when particle was "scaled" bigger in Comsol.
according to https://github.com/HomerReid/scuff-em/blob/master/doc/docs/reference/Geometries.md, it says comsol meshing works. But we use mesh file format, .mph, .mphbin, .mphtxt, .mphphb supported by comsol, but none of them can be read by scuffem.