[Gmsh] Rotate of Duplicata Surface does not retain Transfinite structured mesh character.

Leonard Kramer leonard.kramer at ymail.com
Wed May 13 15:33:08 CEST 2009


I have embedded below .geo script lines. My expectation is that duplicated and 
rotated surface  would retain the structured mesh created
successfully in the original model surface labeled "LeftSide"

How can I duplicate and rotate the structured mesh...or make the new surface 
structured like "LeftSide."

Thank you so much.
Leonard
Texas.



//------------------------------------------Begin-------------------------------------------------------
lc=5;
lcbot=30;
corner=400;
height=800;

p1=newp; Point(p1)={-corner,-corner,0,lcbot};
p2=newp; Point(p2)={0,-corner,0,lc};
p3=newp; Point(p3)={0,-corner,height,lcbot};
p4=newp; Point(p4)={-corner,-corner,height,lcbot};

l1=newl; Line(l1)={p3,p4};
Transfinite Line {l1} = 16;
l2=newl; Line(l2)={p2,p3};
Transfinite Line{l2} = 32 Using Progression 1.079;
l3=newl; Line(l3)={p1,p2};
Transfinite Line {-l3} = 16 Using Progression 1.2;
l4=newl; Line(l4)={p4,p1};
Transfinite Line{-l4} = 32 Using Progression 1.01;

//................... Sides ..................
// Side Surfaces LeftSide & RightSide
loop1 = newll; Line Loop(loop1)= {l4,l3,l2,l1};
LeftSide=news; Ruled Surface(LeftSide) = {loop1};
Transfinite Surface{LeftSide}={} Alternate;

/*
  Rotated, Duplicata of LeftSide does not retain structured mesh character of
  LeftSide surface created above.
*/
Rotate {{0,0,1},{0,0,height},Pi/2} {
    Duplicata{
        Surface{LeftSide};
    }
}
//------------------------------------------End-------------------------------------------------------



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