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]};

}

_______________________________________________
gmsh mailing list
gmsh@geuz.org
http://www.geuz.org/mailman/listinfo/gmsh

Reply via email to