[Gmsh] Rotate of Duplicata Surface does not retain Transfinite structured mesh character.
Christophe Geuzaine
cgeuzaine at ulg.ac.be
Sun May 17 19:29:18 CEST 2009
Leonard Kramer wrote:
> 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."
Hi Leonard - With recent nightly builds you could add
Geometry.CopyMeshingMethod = 1;
before the Rotate command.
>
> 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-------------------------------------------------------
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> gmsh mailing list
> gmsh at geuz.org
> http://www.geuz.org/mailman/listinfo/gmsh
--
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science
http://www.montefiore.ulg.ac.be/~geuzaine