# [Gmsh] Fatal Error in GMSH

Natali kvnatali at mtu-net.ru
Sat Apr 3 09:22:19 CEST 2004

```HI

I need to create a volume.
I have surface and a vector to extrude my surface.

But I have not found how to get numbers of surfaces created after
"Extrude Surface" command. And I have not found how to create Volume
and get it number via this command.
I don't use "Extrude Surface {....} {Layers....}" because structured
does not suit me.

So I decided take newreg before and after "Extrude Surface" command to
create Volume.
But while generation 3D mesh I have get Fatal Error

Can you help me with this problem?

My Example:

Point(1)={30,19,0,6.28012738724303};
Point(2)={25,50,0,3.83722523715525};
Point(3)={75,45,0,3.29046120722414};
Point(4)={75,14,0,6.2};
Point(7)={44.0909090909091,48.0909090909091,0,2.9221891767415};
Point(8)={54,58,0,2.9221891767415};
Point(9)={58.6293436293436,46.6370656370656,0,2.9221891767415};
Line(1)={1,2};
Line(2)={2,7};
Line(3)={3,4};
Line(4)={4,1};
Line(5)={7,9};
Line(7)={7,8};
Line(8)={9,3};
Line(9)={8,9};
Line Loop(11)={5,-9,-7};Plane Surface(12)={11};
Physical Surface (1) = {12};
Line Loop(13)={1,2,5,8,3,4};Plane Surface(14)={13};
Physical Surface (2) = {14};
Mesh.Smoothing = 10;
ll1=newreg;
Extrude Surface {14, {0,0,40}};
ll2=newreg-1;
Volume(ll2+1)={ll1:ll2};
Physical Volume(1)={ll2+1};
-------------- next part --------------
An HTML attachment was scrubbed...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tmp.geo
Type: application/octet-stream
Size: 708 bytes
Desc: not available
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .gmsh-errors
Type: application/octet-stream
Size: 1769 bytes
Desc: not available