[Gmsh] mesh error after volume rotation

Melzig, Thomas thomas.melzig at ist.fraunhofer.de
Tue Dec 11 10:52:50 CET 2012


Hi all,

I have a problem meshing a rotated volume. Before the rotation the mesh
is correct, but not afterwards. There might be a problem only with the
side surfaces, because  the top and bottom surface are rotated
correctly.

Am I misssing something in the rotation command or whats wrong with my
code?

 

Hope you can help me

Thomas

 

---------------------------------------------------

 

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

Point(2) = {20,  0, 0, 2};

Point(3) = {20, 10, 0, 2};

Point(4) = { 0, 10, 0, 2};

 

Line(5) = {1, 2};

Line(6) = {2, 3};

Line(7) = {3, 4};

Line(8) = {4, 1};

 

Line Loop(9) = {5:8};

 

Plane Surface(10) = {9};

 

v1[] = Extrude {0, 0, 10} {

  Surface{10};

};

 

Rotate {{ 1, 0, 0}, { 0, 0, 0}, Pi/2} {

  Volume{v1[1]};

}

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20121211/b843106b/attachment.html>