[Gmsh] quad mesh of an extruded line

Paul Cristini cristini at lma.cnrs-mrs.fr
Tue Apr 30 11:59:18 CEST 2013


Dear all,

I have a very simple geometry : a square whose one side is extruded.
Unfornately, I am unable to mesh this geometry with all quads option. I 
got a crash dump

Any idea ?

thanks

Paul

-- 
*--------------------------------------------------------------------------*
  Paul CRISTINI  Charge de Recherche CNRS / CNRS Research Scientist
  --------
  CNRS - Laboratoire de Mecanique et d'Acoustique (UPR 7051)

  31 chemin Joseph Aiguier, F-13402 Marseille Cedex 20 - France
  mailto: cristini at lma.cnrs-mrs.fr
  phone number: +33 (0)4 91 16 42 89
  fax number: +33 (0)4 91 16 44 81
  http://www.lma.cnrs-mrs.fr/
*--------------------------------------------------------------------------*

-------------- next part --------------
// Gmsh project
// Maillage de deux milieux semi infinis

lc=3;
//------------------------------------
Point(1) = {  0,   0, 0, lc};
Point(2) = {100,   0, 0, lc};
Point(3) = {100, 100, 0, lc};
Point(4) = {  0, 100, 0, lc};

// Square
Line(1) = {1, 2};
Line(2) = {2, 3};
Line(3) = {3, 4};
Line(4) = {4, 1};

//-------------------------------------
h1 = newll; Line Loop(h1) = {1,2,3,4};
// 
S1=news; Plane Surface(S1) = {h1};
Recombine Surface {S1};
//--------------------------------------

su[]  = Extrude {0,3*lc,0} {Line{3}; Layers{3}; Recombine;};