|
[Sponsors] |
Simultaneous rotation and translation yields strange results with gmsh |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
New Member
Bernhard Peters
Join Date: Jan 2013
Posts: 4
Rep Power: 14 ![]() |
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. |
|
![]() |
![]() |
![]() |
![]() |
#2 |
New Member
Batu
Join Date: Dec 2016
Location: Turkey
Posts: 5
Rep Power: 10 ![]() |
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 |
|
![]() |
![]() |
![]() |
![]() |
#3 |
New Member
Bernhard Peters
Join Date: Jan 2013
Posts: 4
Rep Power: 14 ![]() |
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}; }; |
|
![]() |
![]() |
![]() |
Tags |
extrude rotation, gmsh 4.0.4 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Natural convection in a closed domain STILL NEEDING help! | Yr0gErG | FLUENT | 4 | December 2, 2019 01:04 |
How to use translation and rotation periodic boundary condition in helical pipe? | teguhtf | FLUENT | 3 | August 14, 2019 06:30 |
Strange results with flapping wing | mpimpi | FLUENT | 0 | April 11, 2015 13:50 |
Mesh motion with Translation & Rotation | Doginal | CFX | 2 | January 12, 2014 07:21 |
How to set domain translation and rotation in CFX | ricardo.halfeld | CFX | 7 | September 8, 2009 19:22 |