# [Gmsh] Rotate and duplicate mesh!

 User Name Remember Me Password
 Register Blogs Members List Search Today's Posts Mark Forums Read

October 25, 2018, 00:40
Rotate and duplicate mesh!
#1
Senior Member

CFD
Join Date: Nov 2010
Location: United States
Posts: 243
Rep Power: 15
Hi All,

I would like to rotate and duplicate some surfaces retaining the
structured mesh created like ICEM in Ansys.
I tried to use:

Quote:
 Geometry.CopyMeshingMethod = 1;
before the rotate{ duplicate..} command, but I got this error
message:

Quote:
 'Only automatic transfinite surface specifications can be copied'
and then when I try to do the mesh this error:

'Surface 8 is transfinite but has 5 corners'

Here my .geo file:

Quote:
 //Geometry.CopyMeshingMethod = 1; Point(1) = {0,0,0,0.1}; Point(2) = {1,0,0,0.1}; Point(3) = {0,1,0,0.1}; Point(4) = {3,0,0,0.1}; Point(5) = {3,3,0,0.1}; Point(6) = {0,3,0,0.1}; Line(1) = {3,6}; Line(2) = {6,5}; Line(3) = {5,4}; Line(4) = {4,2}; Circle(5) = {2,1,3}; Line Loop(6) = {3,4,5,1,2}; Plane Surface(7) = {6}; Transfinite Line {1} = 40 Using Progression 1.2; Transfinite Line {4} = 40 Using Progression 1./1.2; Transfinite Line {3,2} = 20; Transfinite Line {5} = 39; Transfinite Surface {7} = {3,6,4,2}; Recombine Surface {7}; Rotate {{0, 1, 0}, {0, 0, 0}, Pi} { Duplicata{ Surface{7};} } //Geometry.CopyMeshingMethod = 1; Extrude {0, 0, 0.1} { Surface{7,8}; Layers{1}; Recombine; }
Is there any solution to this problem! Or do I need to transfinite each surface manually! Thanks for your help!

 December 23, 2019, 13:01 #2 New Member   LR Join Date: Sep 2014 Posts: 6 Rep Power: 10 Did you find a solution to this?

 Thread Tools Search this Thread Search this Thread: Advanced Search Display Modes Linear Mode

 Posting Rules You may not post new threads You may not post replies You may not post attachments You may not edit your posts BB code is On Smilies are On [IMG] code is On HTML code is OffTrackbacks are Off Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post niski88 ANSYS Meshing & Geometry 3 October 26, 2016 10:04 ahirekar10 Main CFD Forum 6 April 12, 2014 09:34 ahmadreza ANSYS Meshing & Geometry 5 August 10, 2013 16:55 Jing Siemens 1 August 4, 2003 03:08 jing FieldView 0 July 28, 2003 05:05

All times are GMT -4. The time now is 14:00.

 Contact Us - CFD Online - Privacy Statement - Top