CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

Aerofoil made in Gmsh, but front section missing

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 19, 2016, 11:34
Default Aerofoil made in Gmsh, but front section missing
  #1
New Member
 
Lewis
Join Date: Dec 2015
Posts: 14
Rep Power: 10
levvis is on a distinguished road
Good day all

I have created the MH45 aerofoil in Gmsh and extruded it in one cell in the Z-Direction.

I've checked mesh and it seems fine but upon viewing it in Paraview, the leading edge of the aerofoil is missing, but it is definitely there when viewed in Gmsh.

I am aware the mesh isn't very dense, but I'll refine this later.

Please find a screenshot attached, and the .geo file below.

PHP Code:
cl__1 1;

Point(1) = {1001};
Point(2) = {0.99669413, -9.724e-0501};
Point(3) = {0.98669781, -0.0001909501};
Point(4) = {0.970142830.0001940901};
Point(5) = {0.947481430.0013584701};
Point(6) = {0.919193090.0034046201};
Point(7) = {0.885777240.00640631, -01};
Point(8) = {0.847792690.01043465, -01};
Point(9) = {0.805954790.01555735, -01};
Point(10) = {0.761141180.02164179, -01};
Point(11) = {0.714129020.02832714, -01};
Point(12) = {0.665562750.03522557, -01};
Point(13) = {0.615981560.04192939, -01};
Point(14) = {0.565811240.04811779, -01};
Point(15) = {0.515459260.05355525, -01};
Point(16) = {0.465310570.05809451, -01};
Point(17) = {0.415796750.0616687, -01};
Point(18) = {0.367392950.06421657, -01};
Point(19) = {0.32056390.0656696701};
Point(20) = {0.275759780.0659648801};
Point(21) = {0.23337160.0650271801};
Point(22) = {0.193717350.0628477201};
Point(23) = {0.157106190.0594750801};
Point(24) = {0.123826310.0549906201};
Point(25) = {0.068322280.0431253201};
Point(26) = {0.068322280.0431253201};
Point(27) = {0.046530660.0359694401};
Point(28) = {0.028864290.0282031201};
Point(29) = {0.015385290.0200624701};
Point(30) = {0.006066480.0118942301};
Point(31) = {0.001252390.0049032101};
Point(32) = {0.000457750.0027744101};
Point(33) = {5.213e-050.0008029401};
Point(34) = {1.426e-05, -0.0003962201};
Point(35) = {0.00021828, -0.0014546501};
Point(36) = {0.00074788, -0.0024361301};
Point(37) = {0.00159709, -0.0034357201};
Point(38) = {0.00334092, -0.0049657801};
Point(39) = {0.00559484, -0.0065309501};
Point(40) = {0.01774266, -0.0122038601};
Point(41) = {0.03414149, -0.0172544201};
Point(42) = {0.05524391, -0.021909901};
Point(43) = {0.08078, -0.0259392101};
Point(44) = {0.08078, -0.0259392101};
Point(45) = {0.11057454, -0.0290927701};
Point(46) = {0.14453398, -0.031278401};
Point(47) = {0.18244547, -0.0325414901};
Point(48) = {0.22401044, -0.0329526401};
Point(49) = {0.3164713, -0.0316606901};
Point(50) = {0.3664005, -0.0301544301};
Point(51) = {0.41809871, -0.028215101};
Point(52) = {0.57780845, -0.021049801};
Point(53) = {0.68169412, -0.0161112801};
Point(54) = {0.7309136899999999, -0.0137834401};
Point(55) = {0.77750335, -0.0115887801};
Point(56) = {0.82090623, -0.00954710999999999901};
Point(58) = {0.89604838, -0.0060425101};
Point(59) = {0.92683839, -0.0045853501};
Point(60) = {0.95257077, -0.0033025601};
Point(61) = {0.97292132, -0.0021712801};
Point(62) = {0.98768944, -0.001125501};
Point(63) = {0.99683205, -0.0003043901};
Point(64) = {1001};
Point(65) = {1001};

Point(73) = {-4401};
Point(74) = {20401};
Point(75) = {-4, -401};
Point(76) = {20, -401};

Spline(100) = {12345678910111213141516171819202122232425272829303132333435363738394041424345464748495051525354555658596061626311};

Line(4) = {7374};
Line(5) = {7476};
Line(6) = {7675};
Line(7) = {7573};

Line Loop (1) = {4,5,6,7};
Line Loop (2) = {100};

Plane Surface(1) = {1,2};

Extrude {001}
  {
  
Surface {1};
  
Layers {1};
  
Recombine;
  }

Physical Surface("aerofoil") = {126};
Physical Surface("inlet") = {122};
Physical Surface("outlet") = {114};
Physical Surface("front") = {127};
Physical Surface("back") = {1};
Physical Surface("top") = {110};
Physical Surface("bottom") = {118};

Physical Volume(128) = {1}; 
Any ideas would be greatly appreciated
Attached Images
File Type: jpg aerofoil-problem.jpg (114.5 KB, 6 views)
levvis is offline   Reply With Quote

Old   March 20, 2016, 12:25
Default
  #2
New Member
 
Lewis
Join Date: Dec 2015
Posts: 14
Rep Power: 10
levvis is on a distinguished road
Please find a couple more screenshots attached. The meshed screenshot is the simplified geometry and the unmeshed one is the desired geometry for the aerofoil.
Excuse the extended screenshot, using a HDMI to my TV.

Just to make sure my method is correct, I created a simplified geometry and after meshing and converting to OpenFOAM, it works.

Therefore I really am stuck trying to understand where I'm going wrong with the MH45 airfoil and why it's becoming just a triangle, post mesh

Any ideas?

Thanks in advance.
Attached Images
File Type: jpg mh45geo.jpg (33.4 KB, 5 views)
File Type: jpg squaremesh.jpg (57.1 KB, 6 views)
levvis 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
Links Section - Major Update! pete Site News & Announcements 0 February 6, 2012 07:51
[Gmsh] 2D Mesh Generation Tutorial for GMSH aeroslacker OpenFOAM Meshing & Mesh Conversion 12 January 19, 2012 03:52
LiftDrag utility from v12 to v141 cfdphil OpenFOAM Running, Solving & CFD 2 December 5, 2007 05:49
aerofoil section CD Main CFD Forum 0 January 18, 2002 05:56
Front tracking Don Hawken Main CFD Forum 1 December 12, 1999 13:29


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