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

mesh created by GMSH

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 8, 2021, 11:38
Default mesh created by GMSH
  #1
New Member
 
OK
Join Date: Aug 2021
Posts: 1
Rep Power: 0
Xuan Nam DO is on a distinguished road
Dear all,

I have solved this problem.

Thanks

Xuan Nam Do

--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Dear all,

I would like to create a mesh using GMSH software. Unfortunely, the compilation procedure can not finish due to the errors with the report "2 boundary nodes are considered once".

Could anyone please help me to solve the problem?

Thank you so much in advance

Sincerely yours,
Xuan Nam Do

// Gmsh

b = 200;
h = 200;
h1 = 97.5;
h1 = 102.5;
bcr = 25;
hcr = 5;
gap = 10;
lc = 3;

Point(1) = {0, 0, 0, lc};
Point(2) = {b, 0, 0, lc};
Point(3) = {b, (h-hcr)/2, 0, lc};
Point(4) = {b-bcr, (h-hcr)/2, 0, lc};
Point(5) = {b-bcr, (h+hcr)/2, 0, lc};
Point(6) = {b, (h+hcr)/2, 0, lc};
Point(7) = {b, h, 0, lc};
Point(8) = {0, h, 0, lc};
Point(9) = {0, (h+hcr)/2, 0, lc};
Point(10) = {bcr, (h+hcr)/2, 0, lc};
Point(11) = {bcr, (h-hcr)/2, 0, lc};
Point(12) = {0, (h-hcr)/2, 0, lc};
Point(13) = {-gap, (h+hcr)/2, 0, lc};
Point(14) = {-gap, h+gap, 0, lc};
Point(15) = {b, h+gap, 0, lc};
Point(16) = {0, -gap, 0, lc};
Point(17) = {b+gap, -gap, 0, lc};
Point(18) = {b+gap, (h-hcr)/2, 0, lc};
Point(19) = {b, (h-hcr)/2, 0, lc};

Line(1) = {1, 2};
Line(2) = {2, 3};
Line(3) = {3, 4};
Line(4) = {4, 5};
Line(5) = {5, 6};
Line(6) = {6, 7};
Line(7) = {7, 8};
Line(8) = {8, 9};
Line(9) = {9, 10};
Line(10) = {10, 11};
Line(11) = {11, 12};
Line(12) = {12, 1};
Line(13) = {7, 15};
Line(14) = {15, 14};
Line(15) = {14, 13};
Line(16) = {13, 9};
Line(17) = {1, 16};
Line(18) = {16, 17};
Line(19) = {17, 18};
Line(20) = {18, 19};

Line Loop (1) = {1,2,3,4,5,6,7,8,9,10,11,12};

Plane Surface (1) = {1};

Line Loop (2) = {7, 8, -16, -15, -14, -13};

Plane Surface (2) = {2};

Line Loop (3) = {-20, -19, -18, -17, 1, 2};

Plane Surface (3) = {3};

Physical Surface(1) = {1, 2, 3};

Last edited by Xuan Nam DO; August 8, 2021 at 18:19.
Xuan Nam DO is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Can't convert my mesh created in Gmsh to OpenFOAM Crystal 95 OpenFOAM 1 May 2, 2018 11:42
hybrid mesh created by pointwise fails mesh check in fluent due to left-handed faces Hamid.de Pointwise & Gridgen 4 November 9, 2016 12:20
OpenFOAM 1.7.1 installation problem on OpenSUSE 11.3 flakid OpenFOAM Installation 16 December 28, 2010 09:48
fluent add additional zones for the mesh file SSL FLUENT 2 January 26, 2008 12:55
Icemcfd 11: Loss of mesh from surface mesh option? Joe CFX 2 March 26, 2007 19:10


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