CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Special Topics > Mesh Generation & Pre-Processing

Simultaneous rotation and translation yields strange results with gmsh

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 15, 2018, 12:57
Default Simultaneous rotation and translation yields strange results with gmsh
  #1
New Member
 
Bernhard Peters
Join Date: Jan 2013
Posts: 4
Rep Power: 13
BPeters is on a distinguished road
Running this simple script in gmsh 4.0.4 for generating a mesh for a screw feeder e.g. basically cyndrical outline yields a very strange outline that deviates much from a circle.


cl1 = 1;
shift=-0.081;
timesPi=2.0;

// points
Point(1) = {0, 0.002, 0, cl1};
Point(2) = {0, 0.002, 0.08, cl1};
Point(3) = {0, 0.045, 0.08, cl1};
Point(4) = {0, 0.045, 0.0, cl1};

Line(1) = {1, 2};
Line(2) = {2, 3};
Line(3) = {3, 4};
Line(4) = {4, 1};
Line Loop(1) = {1, 2, 3, 4};

Plane Surface(1) = {1};

surfaceVector1[] = Extrude {{0, 0, shift}, {0, 0, 1}, {0, 0, 0}, 2*Pi} {
Surface{1}; Layers{20};
};




Any suggestion to get it into a circular outline is welcomed.
BPeters is offline   Reply With Quote

Old   November 16, 2018, 09:29
Default
  #2
New Member
 
Batu
Join Date: Dec 2016
Location: Turkey
Posts: 5
Rep Power: 9
BM_CFD is on a distinguished road
I believe this video is addressing your problem which is translating and rotation. Although the video in German I believe you can still understand it. If you still have problem after watching, let me know.

Batu
BM_CFD is offline   Reply With Quote

Old   November 19, 2018, 02:52
Default helix geoemtry in gmsh
  #3
New Member
 
Bernhard Peters
Join Date: Jan 2013
Posts: 4
Rep Power: 13
BPeters is on a distinguished road
I know this video and it uses smaller angles. Even if I use smaller angles say Pi/2 the distortion is still there. My application is similar to generating a helical coil with a rectangular cross-section.

Here the geo script for a quick check:


cl1 = 1;
shift=-0.081;
timesPi=2.0;

// points
Point(1) = {0, 0.002, 0, cl1};
Point(2) = {0, 0.002, 0.08, cl1};
Point(3) = {0, 0.045, 0.08, cl1};
Point(4) = {0, 0.045, 0.0, cl1};

Line(1) = {1, 2};
Line(2) = {2, 3};
Line(3) = {3, 4};
Line(4) = {4, 1};
Line Loop(1) = {1, 2, 3, 4};

Plane Surface(1) = {1};

surfaceVector1[] = Extrude {{0, 0, shift}, {0, 0, 1}, {0, 0, 0}, 2*Pi} {
Surface{1}; Layers{20};
};
BPeters is offline   Reply With Quote

Reply

Tags
extrude rotation, gmsh 4.0.4


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
Natural convection in a closed domain STILL NEEDING help! Yr0gErG FLUENT 4 December 2, 2019 00:04
How to use translation and rotation periodic boundary condition in helical pipe? teguhtf FLUENT 3 August 14, 2019 05:30
Strange results with flapping wing mpimpi FLUENT 0 April 11, 2015 12:50
Mesh motion with Translation & Rotation Doginal CFX 2 January 12, 2014 06:21
How to set domain translation and rotation in CFX ricardo.halfeld CFX 7 September 8, 2009 18:22


All times are GMT -4. The time now is 13:29.