leomartire / gmsh-fix-flat-quads

Fixes the flat quadrilaterals in a GMSH .msh file, i.e. the quadrilaterals having jacobian=0 somewhere.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gmsh-fix-flat-quads

Fixes the flat quadrilaterals in a GMSH .msh file, i.e. the quadrilaterals having jacobian=0 somewhere.

Usage

python GmshFixFlatQuads.py -i extMesh.msh -o extMesh_out.msh
python GmshFixFlatQuads.py -i extMesh.msh -o extMesh_out.msh -v 1

Illustration

mesh with element 1 having Jacobian = 0 (node 3) modified mesh

About

Fixes the flat quadrilaterals in a GMSH .msh file, i.e. the quadrilaterals having jacobian=0 somewhere.

License:GNU General Public License v3.0


Languages

Language:Python 100.0%