CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[Gmsh] Rotate and duplicate mesh!

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 25, 2018, 00:40
Default Rotate and duplicate mesh!
  #1
Senior Member
 
tareqkh's Avatar
 
CFD
Join Date: Nov 2010
Location: United States
Posts: 243
Rep Power: 16
tareqkh is on a distinguished road
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!
tareqkh is offline   Reply With Quote

Old   December 23, 2019, 13:01
Default
  #2
New Member
 
LR
Join Date: Sep 2014
Posts: 6
Rep Power: 11
sabuj is on a distinguished road
Send a message via Skype™ to sabuj
Did you find a solution to this?
sabuj is offline   Reply With Quote

Reply


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 Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[ICEM] Penetrating mesh after rotating, 3D impeller, rotating zone niski88 ANSYS Meshing & Geometry 3 October 26, 2016 10:04
Regarding simulation of 360 degree geometry ahirekar10 Main CFD Forum 6 April 12, 2014 09:34
[ICEM] FIX Duplicate Element And ... ERROR For Rotating Mesh For Propeller ahmadreza ANSYS Meshing & Geometry 5 August 10, 2013 16:55
Duplicate mesh in FIELDVIEW Jing Siemens 1 August 4, 2003 03:08
Duplicate mesh in FIELDVIEW jing FieldView 0 July 28, 2003 05:05


All times are GMT -4. The time now is 01:05.