The question was redirected to GMSH-developers. They gave the following
answer [1]:

================================================================

You should extrude with an angle strictly smaller than Pi. 
Otherwise, there is a problem with indetermination.
Try:

// foil parameters
r1 = 2.0;
d  = 0.1;
r2 = r1 + d;

// size parameters
h1 =  4.0;
h2 = 10.0;
b = 2*r2*1.1;

// Mesh
lc = 2*d;
lv = 5;

p1 = newp; Point(p1) = {r1  , 0, h1+d, lc};

wall[] = Extrude  {0, 0, h2-h1-2*d} { Point{ p1 }; Layers{ lv }; };

wall1[] = Extrude  { {0, 0, 1}, {0, 0, 0},Pi/2 } { Line { wall[1] }; };
wall2[] = Extrude  { {0, 0, 1}, {0, 0, 0}, Pi/2 } { Line { wall1[0] }; };

wall3[] = Extrude  { {0, 0, 1}, {0, 0, 0},-Pi/2 } { Line { wall[1] }; };
wall4[] = Extrude  { {0, 0, 1}, {0, 0, 0},-Pi/2 } { Line { wall3[0] }; };


Regards,
Ruth


--
Dr. Ir. Ruth V. Sabariego

================================================================

Please, close the bug, if the problem is solved.

[1] http://geuz.org/pipermail/gmsh/2011/006829.html

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/886607

Title:
  Segmentation fault on extrude

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gmsh/+bug/886607/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to