[Gmsh] Mesh of a ball
Nicolas Tardieu
ntardieu at giref.ulaval.ca
Tue Jan 20 15:10:25 CET 2004
Hi!
You had some little mistakes in your .geo file. When you define a
point, you have to give 4 real numbers, the last one being the local size
of the elements. What is weird is that you did not got an error message
from Gmsh.... I personnaly got one when trying to define such points...
Anyway, here is what your file should look like :
lc=0.1;
// two points for an arc
Point(1) = {0,0,-2.0,lc};
Point(2) = {0,-2.0,0.0,lc};
//center of the ball
Point(4) = {0.0,0.0,0.0,lc};
Circle(1) = {1,4,2};
// i want to extrude Circle 1 of an angle Pi/2 around the axis Oz
Extrude Line {1,{0,0,1},{0,0,0},Pi/2};
Nicolas
--
______________________________________
Nicolas Tardieu
GIREF
Faculté des Sciences et de Génie
Pavillon Adrien-Pouliot, bur. 2978
QUEBEC (Québec)
CANADA G1K7P4
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20040120/7b7aaf07/attachment.html>