The Gurney flap is a small plate attached to or near the trailing edge of an airfoil, perpendicular to the flow on the pressure side. Being counterintuitive to the idea of a streamlined body, the Gurney flap was invented more or less accidentally by race car driver Dan Gurney.

There are two basic (and somewhat overlapping) explanations for the lift-enhancing effect:

  • The flap effectively increases camber [1], decelerating flow on the pressure side and accelerating flow on the suction side.
  • The flap decelerates the flow on the pressure side right until the edge and leads to a pressure difference between suction and pressure side which in turn leads to an increased circulation [2].

However, the flow is rather complex and includes unsteady vortex-shedding[3] at the trailing edge.

To model the effects of a Gurney flap with viiflow, a single virtual displacement element is used depending on the position of the Gurney flap. The effect of Gurney flap position and height is analyzed and compared to the experimental results. As far as the author knows, this is the first numerical analysis of Gurney flaps using a panel method. The possibility of modeling the effect of a Gurney flap using a change in the Kutta condition of a panel method has been proposed in [2], but no function that correlates the Kutta condition (or a step in pressure) to the Gurney flap height is given.

The effect of Gurney flaps on the lift of an airfoil are surprisingly well predicted with viiflow. This does not hold for the drag, though. The drag increase for Gurney flaps that are not at the trailing edge can be computed with similar accuracy compared to a fully-turbulent RANS solution, but the coefficients were significantly overpredicted. For Gurney flaps right at the trailing edge, the drag cannot be computed using the wake boundary layer at this point, and the additional drag due to the Gurney flap is estimated using the local pressure at the flap.

Experiments

The most comprehensive experimental analysis to date on an airfoil can be found in [7] where the S903 airfoil has been analyzed. The coordinates of the airfoil can be found in [8], the paneling has been increased near the trailing edge. Gurney flap position, height and influence of transition location have been evaluated. In [4] some of these experimental results are compared with computational results with a fully-turbulent RANS solver. A note on these experimental results: the legend in the drag polar plot in [7], Fig. 6, is wrong. Here, the plots have been changed assuming decreasing drag at higher lift coefficients with decreasing chord position.

In [1]:
%matplotlib inline
%config InlineBackend.figure_format = 'svg'
import viiflow as vf
import viiflowtools.vf_tools as vft
import viiflowtools.vf_plots as vfp
import matplotlib.pyplot as plt
import matplotlib
import numpy as np
import os
os.environ["OMP_NUM_THREADS"] = "1"

colors = ['k','k','k','k','k','k','k','k','k']
marks = ['o','^','v','<','>','d','^','^','^']

Results

In all cases, viiflow accurately predicts the increase in lift and change in maximum lift. The drag coefficient is less accurately predicted.

Where the Gurney flap is right at the trailing edge, the increase in drag is invisible to viiflow without further modifications. In viiflow, the drag is calculated using the Squire-Young formula using the wake boundary layer development. The wake boundary layer development depends on its initialization at the trailing edge, which is done by adding the momentum and displacement thickness of suction and pressure side and a weighted average of the shear-stress. At this point, the modeling of the flow at the trailing edge is insufficient to describe the development of the wake behind a Gurney flap. However, the increase in drag seems to be largely dependent on the pressure difference at the Gurney flap [6]. Adding the pressure afterwards to the drag coefficient markedly improves the drag prediction. In fact, the resulting polar matches the experiments better than the results of a Gurney flap at .9c or .95c.

If the transition is forced early on, the increase in drag matches the results of the RANS calculations better, though still with a significant drag bucket at low AOA. Without forced transition, the results do not get closer to the experimental results but vary significantly over the lift coefficient. Both computational methods overpredict the increase in drag.

In [2]:
# We go through the experiments using the list below,
# using hgv, the vector of gurney flap heights
# and using pchord, the position of the gurney flap
N = 400
AF = vft.repanel(vft.read_selig("S903RF.dat"),int(N),REFLIMS=[1.0,1.0,0.8,1.0],REFVAL=2)
#AF = vft.repanel(vft.read_selig("S903RF.dat"),int(N),REFLIMS=[1.0,1.0,0.8,1.0],REFVAL=1,LEFAC=5)

#fig,ax=plt.subplots(1,1)
#ax.plot(AF[0,:],AF[1,:],'.-')
#ax.axis('equal')
#error

# Virtual displacemen
#                      0    1     2     3     4     5     6    7    8
hgv = np.asarray(   [0.0, 0.005, 0.01, 0.02, 0.02, 0.02, 0.02, 0,  0.01])
pchord =            [1.0, 1,     1,    1,    .95,  .9,   .9,   .9, -1.0]
forced = np.asarray([0  , 0,     0,    0,    0,    0,    1,    1,  0])

pol = []
AOARANGE = []

AOARANGE.append(np.arange(4.5,-13,-0.5))
AOARANGE.append(np.arange(5,18,0.5))

# Go over experiment setup
for i in range(len(hgv)):
    print("Running config %i of %i"%(i,len(hgv)))
    hg = hgv[i] 
    pc = pchord[i]

    # Gurney flap displacement
    vd = 0*AF[0,:]
    if pc>=1.0:
        index_gf = N-1
        index_gfp = N-2
    elif pc<=-1.0:
        index_gf = 0
        index_gfp = 1
    else:
        for k in range(1,AF.shape[1]):
            if AF[0,-k]<pc:
                index_gf = N-k
                index_gfp = N-k-1
                break
    vd[index_gf] = hg


    # Solver Setup
    RE = 1.0e6
    AOA0 = AOARANGE[0]
    # Not sure why the authors only state "Mach less than 0.2", with the chord length and RE of 1e6 it should be 0.1.
    Mach = 0.1 
    # Ncrit = 8 is a better fit to the end of the drag bucket for the non-Gurney airfoil
    Ncrit = 8
    
    s = vf.setup(Re=RE,Ma = Mach,Ncrit=Ncrit) 
    s.IterateWakes = False
    s.Silent = True
    # Use incompressible boundary layer calculation.
    s.IncompressibleBL = 1
    s.StepsizeLimit = 0.5 # Restricting the stepsize is beneficial here for some AOA
    s.ShearLagType = 1 # Better fit with RFOIL-type shear lag equation

    alv = []
    clv = []
    cdv = []
    cdvg = []
    cdvg2 = []

    for j in range(2): # aoa up and down
        
        init = True
        
        for alpha in AOARANGE[j]:
            s.Alpha = alpha
            if forced[i]:
                s.Ncrit = 0
            else:
                s.Ncrit = Ncrit
            
            if init:
                # Set-up and initialize based on inviscid panel solution
                (p,bl,x) = vf.init(AF,s)
                x[p.foils[0].N::p.foils[0].N+p.wakes[0].N-1]+=0.03#2*vd[-1]
                xn = x.copy()
                
                # Trigger transition a bit upstream of the GF
                if hg>0:
                    if pc>0:
                        xtrans = p.foils[0].X[0,index_gf]-0.0005
                        vf.set_forced_transition(bl,p,[],[xtrans])
                    else:
                        xtrans = p.foils[0].X[0,index_gf]-0.0005
                        vf.set_forced_transition(bl,p,[xtrans],[])
                    
                init = False

            res = None
            grad = None
            [xn,flag,res,grad,_] = vf.iter(xn,bl,p,s,res,grad,vd)
            # Plot geometry

            nres=np.sqrt(np.dot(res.T,res))

            if flag>0:
                # Add to end or start of polar list
                if j == 1:pos = len(alv)
                else: pos = 0
                
                # Add pressure at gf. cp = 1-ue²/2
                # cp_before: 1-0, cpafter: 1-ue²/2, cd: cp_before-cp_after
                ue_gf = bl[0].bl_fl.nodes[index_gf].ue
                ue_gfp = bl[0].bl_fl.nodes[index_gfp].ue
                cdvg.insert(pos,hg*(0.5*ue_gf**2))
                cdvg2.insert(pos,hg*(0.5*(ue_gfp**2)))

                alv.insert(pos,alpha)
                clv.insert(pos,p.CL)
                cdv.insert(pos,bl[0].CD)
            else:
                init = True

    pol.append({'CL': np.asarray(clv), 'CD': np.asarray(cdv), 'CDg':np.asarray(cdvg),'CDg2':np.asarray(cdvg2), 'hg': hg, 'al': np.asarray(alv)})
Running config 0 of 9
Running config 1 of 9
Running config 2 of 9
Running config 3 of 9
Running config 4 of 9
Running config 5 of 9
Running config 6 of 9
WARNING:ibl.ibl_classes:solve_delta: turbulent bl solve failed (Iterations exceeded) at iter=249
 xi=0.004912,delta=0.000095,theta=0.000061,ue=0.149989,n/ct=0.017259
WARNING:ibl.ibl_classes:solve_delta: laminar bl solve failed (Iterations exceeded) at iter=249
 xi=0.004610,delta=0.000120,theta=0.000057,ue=0.072175,n/ct=0.000000
WARNING:ibl.ibl_classes:solve_delta: laminar bl solve failed (Iterations exceeded) at iter=249
 xi=0.003456,delta=0.000106,theta=0.000056,ue=0.057012,n/ct=0.000000
WARNING:ibl.ibl_classes:solve_delta: laminar bl solve failed (Iterations exceeded) at iter=249
 xi=0.003722,delta=0.000125,theta=0.000068,ue=0.061959,n/ct=0.000000
WARNING:ibl.ibl_classes:Transition root finding not converged.
WARNING:ibl.ibl_classes:Transition root finding not converged.
WARNING:ibl.ibl_classes:Transition root finding not converged.
WARNING:ibl.ibl_classes:solve_delta: turbulent bl solve failed (Iterations exceeded) at iter=249
 xi=0.006138,delta=0.000037,theta=0.000021,ue=0.374687,n/ct=0.011284
WARNING:ibl.ibl_classes:solve_delta: turbulent bl solve failed (Iterations exceeded) at iter=249
 xi=0.007214,delta=0.000173,theta=0.000106,ue=1.342840,n/ct=0.014513
WARNING:ibl.ibl_classes:Transition root finding not converged.
WARNING:ibl.ibl_classes:solve_delta: laminar bl solve failed (Iterations exceeded) at iter=249
 xi=0.004934,delta=0.000031,theta=0.000014,ue=0.479081,n/ct=0.000000
WARNING:ibl.ibl_classes:Transition root finding not converged.
WARNING:ibl.ibl_classes:solve_delta: laminar bl solve failed (Iterations exceeded) at iter=249
 xi=0.004845,delta=0.000033,theta=0.000021,ue=0.521797,n/ct=0.000000
WARNING:ibl.ibl_classes:solve_delta: laminar bl solve failed (Iterations exceeded) at iter=249
 xi=0.003302,delta=0.000183,theta=0.000098,ue=0.038745,n/ct=0.000000
WARNING:ibl.ibl_classes:solve_delta: laminar bl solve failed (Iterations exceeded) at iter=249
 xi=0.003356,delta=0.000119,theta=0.000063,ue=0.070181,n/ct=0.000000
WARNING:ibl.ibl_classes:solve_delta: laminar bl solve failed (Iterations exceeded) at iter=249
 xi=0.003259,delta=0.000093,theta=0.000051,ue=0.068740,n/ct=0.000000
WARNING:ibl.ibl_classes:solve_delta: laminar bl solve failed (Iterations exceeded) at iter=249
 xi=0.003252,delta=0.000076,theta=0.000038,ue=0.081366,n/ct=0.000000
WARNING:ibl.ibl_classes:solve_delta: laminar bl solve failed (Iterations exceeded) at iter=249
 xi=0.003252,delta=0.000075,theta=0.000038,ue=0.082053,n/ct=0.000000
WARNING:ibl.ibl_classes:solve_delta: laminar bl solve failed (Iterations exceeded) at iter=249
 xi=0.003253,delta=0.000073,theta=0.000045,ue=0.092172,n/ct=0.000000
WARNING:ibl.ibl_classes:solve_delta: laminar bl solve failed (Iterations exceeded) at iter=249
 xi=0.003257,delta=0.000068,theta=0.000034,ue=0.096013,n/ct=0.000000
WARNING:ibl.ibl_classes:solve_delta: laminar bl solve failed (Iterations exceeded) at iter=249
 xi=0.003260,delta=0.000064,theta=0.000039,ue=0.114273,n/ct=0.000000
WARNING:ibl.ibl_classes:solve_delta: laminar bl solve failed (Iterations exceeded) at iter=249
 xi=0.003264,delta=0.000059,theta=0.000035,ue=0.130054,n/ct=0.000000
WARNING:ibl.ibl_classes:solve_delta: laminar bl solve failed (Iterations exceeded) at iter=249
 xi=0.003271,delta=0.000052,theta=0.000026,ue=0.141283,n/ct=0.000000
WARNING:ibl.ibl_classes:solve_delta: laminar bl solve failed (Iterations exceeded) at iter=249
 xi=0.003282,delta=0.000045,theta=0.000027,ue=0.192782,n/ct=0.000000
WARNING:ibl.ibl_classes:solve_delta: laminar bl solve failed (Iterations exceeded) at iter=249
 xi=0.003290,delta=0.000041,theta=0.000020,ue=0.203008,n/ct=0.000000
WARNING:ibl.ibl_classes:solve_delta: laminar bl solve failed (Iterations exceeded) at iter=249
 xi=0.002943,delta=0.000049,theta=0.000024,ue=0.168878,n/ct=0.000000
WARNING:ibl.ibl_classes:solve_delta: laminar bl solve failed (Iterations exceeded) at iter=249
 xi=0.003257,delta=0.000025,theta=0.000013,ue=0.376377,n/ct=0.000000
WARNING:ibl.ibl_classes:solve_delta: laminar bl solve failed (Iterations exceeded) at iter=249
 xi=0.003262,delta=0.000022,theta=0.000014,ue=0.531837,n/ct=0.000000
WARNING:ibl.ibl_classes:solve_delta: laminar bl solve failed (Iterations exceeded) at iter=249
 xi=0.003270,delta=0.000017,theta=0.000011,ue=0.766294,n/ct=0.000000
WARNING:ibl.ibl_classes:solve_delta: laminar bl solve failed (Iterations exceeded) at iter=249
 xi=0.003271,delta=0.000017,theta=0.000009,ue=0.738045,n/ct=0.000000
WARNING:ibl.ibl_classes:solve_delta: laminar bl solve failed (Iterations exceeded) at iter=249
 xi=0.003287,delta=0.000010,theta=0.000006,ue=1.895437,n/ct=0.000000
WARNING:ibl.ibl_classes:solve_delta: laminar bl solve failed (Iterations exceeded) at iter=249
 xi=0.003294,delta=0.000013,theta=0.000005,ue=1.060902,n/ct=0.000000
WARNING:ibl.ibl_classes:solve_delta: laminar bl solve failed (Iterations exceeded) at iter=249
 xi=0.003294,delta=0.000012,theta=0.000006,ue=1.253213,n/ct=0.000000
WARNING:ibl.ibl_classes:solve_delta: laminar bl solve failed (Iterations exceeded) at iter=249
 xi=0.003302,delta=0.000011,theta=0.000007,ue=1.575591,n/ct=0.000000
WARNING:ibl.ibl_classes:solve_delta: laminar bl solve failed (Iterations exceeded) at iter=249
 xi=0.003296,delta=0.000015,theta=0.000009,ue=0.976114,n/ct=0.000000
WARNING:ibl.ibl_classes:solve_delta: laminar bl solve failed (Iterations exceeded) at iter=249
 xi=0.003270,delta=0.000021,theta=0.000011,ue=0.508458,n/ct=0.000000
WARNING:ibl.ibl_classes:solve_delta: laminar bl solve failed (Iterations exceeded) at iter=249
 xi=0.003285,delta=0.000015,theta=0.000008,ue=0.857904,n/ct=0.000000
WARNING:ibl.ibl_classes:solve_delta: laminar bl solve failed (Iterations exceeded) at iter=249
 xi=0.003295,delta=0.000012,theta=0.000008,ue=1.371785,n/ct=0.000000
WARNING:ibl.ibl_classes:solve_delta: laminar bl solve failed (Iterations exceeded) at iter=249
 xi=0.003284,delta=0.000014,theta=0.000007,ue=1.038037,n/ct=0.000000
WARNING:ibl.ibl_classes:solve_delta: laminar bl solve failed (Iterations exceeded) at iter=249
 xi=0.003274,delta=0.000015,theta=0.000008,ue=0.857426,n/ct=0.000000
WARNING:ibl.ibl_classes:solve_delta: laminar bl solve failed (Iterations exceeded) at iter=249
 xi=0.003270,delta=0.000016,theta=0.000007,ue=0.709814,n/ct=0.000000
WARNING:ibl.ibl_classes:solve_delta: laminar bl solve failed (Iterations exceeded) at iter=249
 xi=0.003267,delta=0.000017,theta=0.000009,ue=0.749330,n/ct=0.000000
WARNING:ibl.ibl_classes:solve_delta: laminar bl solve failed (Iterations exceeded) at iter=249
 xi=0.003266,delta=0.000017,theta=0.000009,ue=0.733890,n/ct=0.000000
WARNING:ibl.ibl_classes:solve_delta: laminar bl solve failed (Iterations exceeded) at iter=249
 xi=0.003265,delta=0.000017,theta=0.000009,ue=0.718093,n/ct=0.000000
Running config 7 of 9
Running config 8 of 9
In [3]:
matplotlib.rcParams['figure.figsize'] = [10, 7] # Make plots bigger than default
fig,ax = plt.subplots(1,2)
cmap = plt.get_cmap("tab10")

# Part one, influence of height
namesVF = ['VIIFLOW',None,None,None,\
          None,None,\
          'VIIFLOW forced',None,\
          None]

linestyle_vf = ['-','-','-','-','-','-','-','-','-']

for k in range(4):
    ax[0].plot(pol[k]['al'],pol[k]['CL'],'-',color=colors[k],label = namesVF[k])
    ax[1].plot(pol[k]['CD']*1+1*(pol[k]['CDg']),pol[k]['CL'],color=colors[k])
    #ax[1].plot(pol[k]['CD']*1+1*(pol[k]['CDg2']),pol[k]['CL'],color='m')


namesEXP = ['Exp. Clean','Exp. GF 0.5%','Exp. GF 1%','Exp. GF 2%','Exp. GF 2% .95c',\
            'Exp. GF 2% .9c','Exp. GF 1%\nUpper Surface']
for k in range(4):
    Data = np.genfromtxt('S903GurneyCL.csv',skip_header=1,delimiter=",",usecols=[2*k,2*k+1])
    ax[0].plot(Data.T[0],Data.T[1],'o',color = colors[k],label = namesEXP[k],marker=marks[k])
    Data = np.genfromtxt('S903GurneyPolar.csv',skip_header=1,delimiter=",",usecols=[2*k,2*k+1])
    ax[1].plot(Data.T[0],Data.T[1],'o',color = colors[k],marker=marks[k])

ax[0].legend(frameon=False,title='Influence of flap height')
ax[0].set_xlim(-15,20)
ax[1].set_xlim(0,0.04)
ax[1].set_ylim(-.75,1.6)
ax[0].set_ylim(-.75,1.6)
ax[0].set_xlabel('AOA (°)')
ax[0].set_ylabel('CL')
ax[1].set_xlabel('CD')


# Part two, influence of chord position
fig,ax = plt.subplots(1,2)
kcol = 0
for k in [0,3,4,5]:
    ax[0].plot(pol[k]['al'],pol[k]['CL'],'-',color=colors[k],label = namesVF[k])
    if k==0: useg=0
    else: useg=1
    ax[1].plot(pol[k]['CD']*1+useg*pol[k]['CDg'],pol[k]['CL'],color=colors[k])
    kcol+=1

kcol = 0
for k in [0,3,4,5]:
    Data = np.genfromtxt('S903GurneyCL.csv',skip_header=1,delimiter=",",usecols=[2*k,2*k+1])
    ax[0].plot(Data.T[0],Data.T[1],':o',color = colors[kcol],label = namesEXP[k],marker=marks[k])
    Data = np.genfromtxt('S903GurneyPolar.csv',skip_header=1,delimiter=",",usecols=[2*k,2*k+1])
    ax[1].plot(Data.T[0],Data.T[1],':o',color = colors[kcol],marker=marks[k])
    kcol+=1

ax[0].legend(frameon=False,title = 'Influence of flap position')
ax[0].set_xlim(-15,20)
ax[1].set_xlim(0,0.04)
ax[1].set_ylim(-.75,1.6)
ax[0].set_ylim(-.75,1.6)
ax[0].set_xlabel('AOA (°)')
ax[0].set_ylabel('CL')
ax[1].set_xlabel('CD')


# Part three, comparison with fully-turbulent RANS
fig,ax = plt.subplots(1,2)
kcol = 0
for k in [6,7]:
    ax[0].plot(pol[k]['al'],pol[k]['CL'],'-',color=colors[kcol],label = namesVF[k],linestyle=linestyle_vf[k])
    if k>3: useg=0
    else: useg=1
    ax[1].plot(pol[k]['CD']*1+useg*pol[k]['CDg'],pol[k]['CL'],color=colors[kcol],linestyle=linestyle_vf[k])
    kcol+=1
    
# Add CFD results from thesis
names = ['Clean Exp.','OVERFLOW','GF Exp',None]
linestyle = ['o',':','o',':']
for k in [1,3]:
    Data = np.genfromtxt('GurneyS903Lift.csv',skip_header=1,delimiter=",",usecols=[2*k,2*k+1])
    ax[0].plot(Data.T[0],Data.T[1],linestyle[k],color = colors[k],label = names[k])
    Data = np.genfromtxt('GurneyS903Polar.csv',skip_header=1,delimiter=",",usecols=[2*k,2*k+1])
    ax[1].plot(Data.T[0],Data.T[1],linestyle[k],color = colors[k],label = names[k])    

kcol = 0
for k in [0,5]:
    Data = np.genfromtxt('S903GurneyCL.csv',skip_header=1,delimiter=",",usecols=[2*k,2*k+1])
    ax[0].plot(Data.T[0],Data.T[1],'o',color = colors[kcol],label = namesEXP[k],marker=marks[k])
    Data = np.genfromtxt('S903GurneyPolar.csv',skip_header=1,delimiter=",",usecols=[2*k,2*k+1])
    ax[1].plot(Data.T[0],Data.T[1],'o',color = colors[kcol],marker=marks[k])
    kcol+=1



ax[0].legend(frameon=False,title = 'Comparison with \n(fully-turbulent) RANS')
ax[0].set_xlim(-15,20)
ax[1].set_xlim(0,0.04)
ax[1].set_ylim(-.75,1.6)
ax[0].set_ylim(-.75,1.6)
ax[0].set_xlabel('AOA (°)')
ax[0].set_ylabel('CL')
ax[1].set_xlabel('CD')


# Part four, influence of upper/lower
fig,ax = plt.subplots(1,2)
kcol = 0
for k in [0,2,8]:
    ax[0].plot(pol[k]['al'],pol[k]['CL'],'-',color=colors[k],label = namesVF[k])
    useg=1
    ax[1].plot(pol[k]['CD']*1+useg*pol[k]['CDg'],pol[k]['CL'],color=colors[k])
    kcol+=1

kcol = 0
for k in [0,2,6]:
    Data = np.genfromtxt('S903GurneyCL.csv',skip_header=1,delimiter=",",usecols=[2*k,2*k+1])
    ax[0].plot(Data.T[0],Data.T[1],':o',color = colors[kcol],label = namesEXP[k],marker=marks[k])
    Data = np.genfromtxt('S903GurneyPolar.csv',skip_header=1,delimiter=",",usecols=[2*k,2*k+1])
    ax[1].plot(Data.T[0],Data.T[1],':o',color = colors[kcol],marker=marks[k])
    kcol+=1

ax[0].legend(frameon=False,title = 'Airfoil side')
ax[0].set_xlim(-15,20)
ax[1].set_xlim(0,0.04)
ax[1].set_ylim(-.85,1.6)
ax[0].set_ylim(-.85,1.6)
ax[0].set_xlabel('AOA (°)')
ax[0].set_ylabel('CL')
ax[1].set_xlabel('CD')
Out[3]:
Text(0.5, 0, 'CD')
2022-06-26T19:31:17.979932 image/svg+xml Matplotlib v3.3.3, https://matplotlib.org/
2022-06-26T19:31:18.163932 image/svg+xml Matplotlib v3.3.3, https://matplotlib.org/
2022-06-26T19:31:18.332934 image/svg+xml Matplotlib v3.3.3, https://matplotlib.org/
2022-06-26T19:31:18.495932 image/svg+xml Matplotlib v3.3.3, https://matplotlib.org/

Pressure Distribution

In [7] the pressure coefficients over the airfoil surface is given for a lift coefficient of 0.7. The effect of the Gurney flap on the pressure is well predicted. For the 1c Gurney flap, the step in pressure at the trailing edge smaller in the simulations, but the global pressure distribution matches well. For the .9c configuration the step matches quite well, but the decrease in speed before the flap is underpredicted.

The transition seems to occur rather sooner on the suction side in the experiments. In fact, it seems to occur around .05c regardless of Gurney flap position (though it should be a pressure distribution without forced transition), but maybe something else is going at this location. On the pressure side, the transition does not seem to occur as suddenly as it occurs in the simulations. This may explain the difference in surface speed in the .9c configuration.

In [4]:
N = 400
#AF = vft.repanel(vft.read_selig("S903RF.dat"),int(N),REFLIMS=[1.0,1.0,0.8,1.0],KAPFAC=.5,REFVAL=3,LEFAC=5,TEFAC = .5)
AF = vft.repanel(vft.read_selig("S903.dat"),int(N),REFLIMS=[1.0,1.0,0.8,1.0],REFVAL=3,LEFAC=3)
# Pressure comparison
hgv = np.asarray([0.0,0.02,0.02])
pchord = [1,1,.9]
alphas = [4.5,0.15+1.05,1.5+.6] # ->CL=0.7, read form above
lines = ['-','--',':']
shiftx = .6
shifty = 0
fig,ax = plt.subplots(1,1)
ax = [ax]
names = ['Clean VIIFLOW', 'GF VIIFLOW 2% 1c','GF VIIFLOW 2% .9c']
for k in range(len(hgv)):
    hg = hgv[k] 
    pc = pchord[k]
    alpha = alphas[k]
    
    vd = 0*AF[0,:]

    if pc>=1.0:
        index_gf = N-1
    else:
        for j in range(1,AF.shape[1]):
            if AF[0,-j]<pc:
                index_gf = N-j
                break
    vd[index_gf] = hg
    
    s.Alpha = alpha
    (p0,bl0,x0) = vf.init(AF,s)

    if hg>0 and False:
        xtrans = p0.foils[0].X[0,index_gf]-0.001*10
        vf.set_forced_transition(bl0,p0,[],[xtrans])
    [x,flag,res,grad,_] = vf.iter(x0,bl0,p0,s,None,None,vd)

    ax[0].plot(p0.foils[0].X[0,:]+k*shiftx,-p0.cp[0:p0.foils[0].N]+k*shifty,label=names[k],color = colors[k],linestyle=lines[k])
    print(flag,p0.CL) # Print to check the CL ~.7

names = ['Clean EXP', 'GF EXP 2% 1c','GF EXP 2% .9c']
for k in range(3):
    Data = np.genfromtxt('S903GurneyCP.csv',skip_header=1,delimiter=",",usecols=[2*k,2*k+1])
    ax[0].plot(Data.T[0]+k*shiftx,Data.T[1]+k*shifty,'o',color = colors[k],label = names[k],marker=marks[k])
ax[0].legend(frameon=False)
ax[0].set_xlabel('x/c, shifted by .6 per case')
ax[0].set_ylabel('-CP')
ax[0].text(.5,.9,'Pressure distributions\nCL 0.7',
        horizontalalignment='left',
        transform=ax[0].transAxes);

fig,ax = plt.subplots(1,1)
ax = [ax]
vfp.plot_geometry(ax[0],p0,bl0);
1 0.7020746949644606
1 0.7056441849599286
1 0.7035262127726801
2022-06-26T19:31:20.709956 image/svg+xml Matplotlib v3.3.3, https://matplotlib.org/
2022-06-26T19:31:20.805956 image/svg+xml Matplotlib v3.3.3, https://matplotlib.org/

[1] Liu, Tianshu, and Javier Montefort. Thin-airfoil theoretical interpretation for Gurney flap lift enhancement. Journal of Aircraft 44.2 (2007): 667-671.

[2] Jeffrey, David, Xin Zhang, and David W. Hurst. Aerodynamics of Gurney flaps on a single-element high-lift wing. Journal of Aircraft 37.2 (2000): 295-301.

[3] Troolin, D. R., E. K. Longmire, and W. T. Lai. Time resolved PIV analysis of flow over a NACA 0015 airfoil with Gurney flap. Experiments in Fluids 41.2 (2006): 241-254.

[4] Coder, James George. CFD Investigation of Unsteady Rotorcraft Airfoil Aerodynamics. (2010).

[5] Storms, Bruce L., and Cory S. Jang. Lift enhancement of an airfoil using a Gurney flap and vortex generators. Journal of Aircraft 31.3 (1994): 542-547.

[6] Jeffrey, David, Xin Zhang, and David W. Hurst. Aerodynamics of Gurney flaps on a single-element high-lift wing. Journal of Aircraft 37.2 (2000): 295-301.

[7] Maughmer, Mark D., and Götz Bramesfeld. Experimental investigation of Gurney flaps. Journal of Aircraft 45.6 (2008): 2062-2067.

[8] Somers, Dan M. Effects of Airfoil Thickness and Maximum Lift Coefficient on Roughness Sensitivity: 1997--1998. No. NREL/SR-500-36336. National Renewable Energy Lab., Golden, CO (US), 2005.