|
[Sponsors] |
[Other] is it possible to bump on boundary layer? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 3, 2017, 07:35 |
is it possible to bump on boundary layer?
|
#1 |
New Member
Emma Cooke
Join Date: Mar 2017
Posts: 3
Rep Power: 9 |
Hi,
I have a 2D mesh of an aerofoil and have added a boundary layer. I would really like to refine the elements around the leading edge of the geometry without making the whole boundary layer fine. I have tried to find how to add a progression or a bump to the surface but have come across nothing. If anyone has any suggestions it would be greatly appreciated. Thanks! Last edited by cookie91; March 7, 2017 at 05:10. Reason: Attachments added |
|
March 6, 2017, 16:56 |
|
#2 |
Senior Member
CFD
Join Date: Nov 2010
Location: United States
Posts: 243
Rep Power: 17 |
I have dealt with airfoils before. Can you please attach a picture to you grid?
Best, |
|
March 7, 2017, 05:11 |
|
#3 |
New Member
Emma Cooke
Join Date: Mar 2017
Posts: 3
Rep Power: 9 |
Images now added, I hope this is a bit clearer now.
Thanks |
|
March 9, 2017, 09:10 |
|
#4 | |
Senior Member
CFD
Join Date: Nov 2010
Location: United States
Posts: 243
Rep Power: 17 |
Hi Cookie,
Quote:
Best, |
||
March 14, 2017, 07:53 |
|
#5 |
New Member
Emma Cooke
Join Date: Mar 2017
Posts: 3
Rep Power: 9 |
Hi Tareqkh,
I have a hybrid mesh as I am trying to reduce the number of elements, this is also the reason I want to refine points around the leading edge but don't want to refinement further down stream. When I try with a structured mesh the generation doesn't work properly due to the sharp leading edge curvature. What do you mean by split the leading edge with plane surface? Heres my code if it helps: //points are defined from lower surface trailing edge, clockwise to upper surface trailing edge 225 points for complete geometry. LE_index = 113; // (leading edge) last point with negative y on the lower surface lc_begin = 0.0003; lf = 0.1; prog = 1.015; startPoint = 90; endPoint = 190; numPoints = endPoint-startPoint; attachment_point = startPoint + 37; Ry = 0.3; Rx = -0.4; adjustment = 0.04; pi = 3.141592653589793; /* This section does not work to make fine leading edge // Points definition airfoil lc = lc_begin*prog^(attachment_point-startPoint); For i In {startPoint:attachment_point} Point(i-startPoint) = {x[i], y[i], 0.0, lc}; lc = lc/prog; EndFor lc = lc_begin*prog; For i In {attachment_point+1:endPoint} Point(i-startPoint) = {x[i], y[i], 0.0, lc}; lc = lc*prog; EndFor */ lc = lc_begin; For i In {startPoint:endPoint} Point(i-startPoint) = {x[i], y[i], 0.0, lc}; //lc = lc*prog; EndFor //define aerofoil spline of geometry BSpline(1) = {0:numPoints}; // Calculating the outer boundary based on the airfoil For i In {startPoint:endPoint} t[i] = (y[i+1]-y[i-1])/(x[i+1]-x[i-1]); n[i] = -t[i]; theta_n[i] = (Atan((n[i]))); If (i > LE_index) xExt[i] = x[i] + Ry*Sin(theta_n[i]); yExt[i] = y[i] + Ry*Cos(theta_n[i]); EndIf If (i <= LE_index) xExt[i] = x[i] - Ry*Sin(theta_n[i]); yExt[i] = y[i] - Ry*Cos(theta_n[i]); EndIf Point(i-startPoint+numPoints+1) = {xExt[i], yExt[i], 0.0,lf}; EndFor //Define outer boundary spline BSpline(2) = {numPoints+1:numPoints*2+1}; nLine = 2; // Join Splines Line(nLine+1) = {numPoints, numPoints*2+1}; nLine = nLine+1; Line(nLine+1) = {0 , numPoints+1}; nLine = nLine+1; //define the boundary Line Loop(100) = {2,4,-1,-3}; //define unstructured mesh Plane Surface(200) = {100}; Physical Surface(500) = {200}; //Define Boundary Layer Field[1] = BoundaryLayer; Field[1].EdgesList = {1}; //(lines) of aerofoil on both planes Field[1].NodesList = {0,100}; //(points) at which symmetry planes align Field[1].FacesList = {1}; //(surface)loop of both surfaces Field[1].hfar = 0.05; //element size far from the wall Field[1].hwall_n = 0.0000095; //element size at wall Field[1].thickness = 0.01; //BL thickness Field[1].ratio = 1.1; //ratio between two successive layers Field[1].AnisoMax = 0.0001; //maximum anisotropy of mesh Field[1].Quads = 1; //generate recombined elements in BL Field[1].IntersectMetrics = 0; //Intersect metrics of all faces BoundaryLayer Field = 1; |
|
Tags |
aerofoil, boundary layer, bump, progression |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
CFD analaysis of Pelton turbine | amodpanthee | CFX | 31 | April 19, 2018 19:02 |
[ICEM] 3D Dynamic Mesh - Boundary layer mesh issues | nathanricks | ANSYS Meshing & Geometry | 0 | September 23, 2015 06:14 |
Wrong flow in ratating domain problem | Sanyo | CFX | 17 | August 15, 2015 07:20 |
Question about heat transfer coefficient setting for CFX | Anna Tian | CFX | 1 | June 16, 2013 07:28 |
Low Mixing time Problem | Mavier | CFX | 5 | April 29, 2013 01:00 |