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

[Gmsh] Problem with periodic

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 26, 2020, 18:03
Default Problem with periodic
  #1
New Member
 
Join Date: May 2020
Posts: 1
Rep Power: 0
daonguyen177 is on a distinguished road

Hi all,
I am trying to create meshes in Gmsh version 3.0.6 and import them to openFoam 6. I have a problem when using periodic in Gmsh. Here is the code:
Circle(1) = {0, 0, 15, 150, -Pi/12, Pi/12};
Circle(2) = {0, 0, 15, 80, -Pi/12, Pi/12};
Line(3) = {3, 1};
Line(4) = {4, 2};
Line Loop(1) = {2, 4, -1, -3};
Plane Surface(1) = {1};
//+
Extrude {0, 0, -10} {
Surface{1};
}
Physical Surface("inlet") = {4};
Physical Surface("outlet") = {2};
Physical Surface("walldown") = {6};
Physical Surface("wallup") = {1};
Physical Surface("side1") = {5};
Physical Surface("side2") = {3};
Physical Volume("waterflow") = {1};

Transfinite Line {3, 12, 4, 9} = 41 Using Progression 1;
Transfinite Line {2, 7, 1, 11} = 31 Using Progression 1;
Transfinite Line {5, 10, 8, 6} = 21 Using Bump 0.5;
Transfinite Surface "*";
Transfinite Volume "*";
Recombine Surface "*";

Periodic Surface {3} = {5} Rotate {{0, 0, 1}, {0, 0, 0}, -2*Pi/12};

I tried to use periodic surface for side1 and side2 but it didn't work! I also tried to use Gmsh version 4.5.4 or tried to create surface side 2 by using extrude rotate side1 but error still occurred. Any ideas for my problem? Also, any suggestion for free software for creating periodic cases! Many thanks!

Last edited by daonguyen177; June 25, 2020 at 06:48.
daonguyen177 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
SU2-7.0.1 on ubuntu 18.04 hyunko SU2 Installation 7 March 16, 2020 04:37
"Pressure Gradient p/m" problem in Periodic Boundary Condition hyugakojiro999 FLUENT 0 October 30, 2019 16:10
[ANSYS Meshing] Problem with periodic condition with split surfaces psudish ANSYS Meshing & Geometry 0 March 16, 2019 16:54
Can CFX model periodic heat transfer problem Ethan_Sparkle CFX 41 June 14, 2017 07:22
Periodic and projection problem crostolo Pointwise & Gridgen 9 March 7, 2017 02:48


All times are GMT -4. The time now is 08:27.