[Gmsh] Problems with compounded curves and surfaces

Christophe Geuzaine cgeuzaine at uliege.be
Fri Jan 24 13:02:50 CET 2020

> On 24 Jan 2020, at 08:40, Pouria <p.araghchi at googlemail.com> wrote:
> Dear Gmsh-/Onelab-team,
> currently, I am working with Gmsh to use it as my main mesh generating tool for my simulations (with Abaqus). 
> There, I need to remesh the old geometry (in form of a .geo file) and then I want to export the new geometry or mesh to Abaqus.
> Before, I used the remesh option in Gmsh, but it didn't solve the problem, because it deleted all the sets (physical tags) which I need for further steps.
> Recently, I tried to use the "compound" option, but I have encountered one problem. When compounding the old geometry (compound curves and compound surfaces) and meshing, the 1d elements still contain the lines elements of my old geometry. 
> Here I want Gmsh to delete the curves that belong to the old geometry and only show the curves that belong to the new mesh.
> Furthermore, I can't find a way to map the previous curve sets (physical tag) to the newly created curves.

Indeed, we didn't move the physical group definitions to the new entities. 

Give the latest development snapshot a try: this is now implemented.


> Is there a way to map old sets to new meshes?
> I have also posted a question on stack exchange. There is a more elaborate example with graphics and the .geo file.
> I also attached the .geo file for better visualization. 
> I hope that you can help me with this problem.
> Thanks.
> Pouria Araghchi
> <geoFile.geo>_______________________________________________
> gmsh mailing list
> gmsh at onelab.info
> http://onelab.info/mailman/listinfo/gmsh

Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science 

More information about the gmsh mailing list