I’d like to add a new numerical case to my study. It happens that the geometry is not super complex, but still almost impossible to do it by hand with gmsh python library.
I have the geometry in COMSOL, and I’d like to import it in FEniCSx. The most important point, is that I would need to import it in FEniCSx (or import the mesh, that would be even better), but I need to be able to give a tag to certain faces as it would be done with gmsh with gmsh.model.addPhysicalGroup(2, [s8, s7, s5, s2], tag=3). I have the COMSOL model, so I know the “label” of the surfaces if that’s needed.
Thank you for your advices, and if you need anything else to help, let me know !
oof I haven’t worked with COMSOL files in FEniCSx yet. When I did it with legacy-fenics I remember using the Nastran format and then used meshio (with some fixes) to convert it to XDMF. This should also work with DOLFINx