> On 16 Jul 2019, at 15:58, Lei Cao <[email protected]> wrote:
> 
> Hi all,
> 
> I have an existing .msh file which contains quad4 and tri3 elements in the 
> same physical group. I wonder how can I use splitQuadrangles to split the 
> quad4 elements such that there are only tri3 elements in this physical group.

In Python you would simply do

gmsh.merge("file.msh")
gmsh.model.mesh.splitQuadrangles(1.0)

Christophe


> 
> Thanks in advance!
> 
> Lei
> 
> _______________________________________________
> gmsh mailing list
> [email protected]
> http://onelab.info/mailman/listinfo/gmsh

— 
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science 
http://www.montefiore.ulg.ac.be/~geuzaine




_______________________________________________
gmsh mailing list
[email protected]
http://onelab.info/mailman/listinfo/gmsh

Reply via email to