Skip to content

Commit

Permalink
Add gmsh quad/hex node ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
inducer committed Jun 29, 2016
1 parent 0de6494 commit fc30748
Show file tree
Hide file tree
Showing 3 changed files with 889 additions and 1 deletion.
19 changes: 19 additions & 0 deletions contrib/extract-gmsh-node-order/cube.geo
@@ -0,0 +1,19 @@
Mesh.RecombineAll=1;
Mesh.Recombine3DAll=1;
Mesh.Algorithm = 8;
Mesh.Algorithm3D = 9;
Mesh.Smoothing = 0;

Mesh.ElementOrder = 4;

Point(1) = {0, 0, 0, 3};

line_out[] = Extrude {1,0,0} {
Point{1}; Recombine;
};
surf_out[] = Extrude {0,1,0} {
Line{line_out[1]}; Recombine;
};
vol_out[] = Extrude {0,0,1} {
Surface{surf_out[1]}; Recombine;
};

0 comments on commit fc30748

Please sign in to comment.