<<

EPJ Web of Conferences 114, 02 109 (2016 ) DOI: 10.1051/epjconf/20161104 2109 C Owned by the authors, published by EDP Sciences, 2016

Numerical solution of inviscid and viscous laminar and turbulent flow around the

Martin Slouka1,a, Karel Kozel1,2

1Dept. of Technical Mathematics, Faculty of Mechanical Eng., CTU in Prague, 121 35 Prague 1, Czech Rep. 2Institute of Thermomechanics, Academy of Science CR, 182 00 Prague 8, Czech Rep.

Abstract. This work deals with the 2D numerical solution of inviscid compressible flow and viscous compressible laminar and turbulent flow around the profile. In a case of turbulent flow algebraic Baldwin- Lomax model is used and compared with Wilcox k-omega model. Calculations are done for NACA 0012 and RAE 2822 airfoil profile for the different angles of upstream flow. Numerical results are compared and discussed with experimental data.

1 Introduction and Mathematical models used in this work are based on the C∂u ∂u S 1 ∂u solution of the inviscid compressible flow and viscous = D i + j T− k , ij D ∂ ∂ T ij ∂ compressible laminar and turbulent flow around E xj xi U 3 xk the airfoil. (3) Computational domain represents NACA 0012 and ∂ C p S q = − D T . RAE 2822 airfoil profiles. The results show differences i −1 Pr ∂x E ρ U between the uses of each numerical model and i experimental results. This system is closed by following equation

2 Governing equations F 1 2 2 V p = () −1 Ge − ()u + v W . (4) The two-dimensional viscous compressible flow is H 2 X prescribed by the system of Navier-Stokes equations in following conservation form In the equations above denotes density, (u, v) are components of local velocity in x and y direction + + = + respectively, e denotes total energy per unit volume, p is Wt Fx Gy Rx Sx , (1) pressure given by previous equation of state, ij is shear stress, qi represents heat flux, represents dynamical where . Following constants were used in previous equations: W = (), u, v, e T , is isentropic exponent equalled to 1.4, Pr is Prandtl T number equalled to 0.7. F = ()u, u2 + p, uv, ()e + p u , Viscous compressible turbulent flow represents T system of Reynolds averaged Navier-Stokes equations = ()2 + ()+ G v, uv, v p, e p v , (2) (RANS) which is formally the same as (1) with enclosed R = ()0, , , u + v − q T , used model of which is algebraic Baldwin- xx xy xx xy x Lomax or two-Wilcox k- model [1] in this work. = ()+ − T S 0, xy, yy, u xy v yy qy Inviscid flow is represented by the system of Euler equations which is simply reached after neglecting of viscosity in viscous fluxes on the right hand side in the system (1).

a Corresponding author: [email protected]

This is an Open Access article distributed under the terms of the Creative Commons Attribution License 4.0, which permits distribution, and reproduction in any medium, provided the original work is properly cited. EPJ Web of Conferences

3 Models of turbulence 3.2 Wilcox k- model 3.1 Baldwin-Lomax model The two-equation model is given by transport equations for two characteristic scales of turbulent motion, in this Baldwin-Lomax (B-L) model is the modification of basic case turbulent energy k and specific dissipation rate . Cebeci and Smith algebraic turbulent model. The Then turbulent viscosity is defined as is divided into two regions, inner region k (close to the wall) and outer region. Turbulent viscosity μ = ρ . (13) in the inner part is given by t ω

μ = ρ 2κ 2 2 Ω The Wilcox k- model [1] was used as follow ti Fd y (5) ∂() F V ∂()k u jk ∂ C S ∂k where vorticity is in 2D case defined as + = P + GD + * T W ∂ ∂ k ∂ E t U ∂ t x j x j HG x j XW ∂u ∂v Ω = − , (6) − * k , ∂y ∂x (14) ∂() ∂()u ∂ F ∂ V + j = P + G() + W ∂ ∂ k ∂ t ∂ van Driest function given as follow t x j k x j HG x j XW

− k2 + C , C 1 u y S D F = 1− expD − T (7) d D ν T E A w U where ∂u P = τ i (15) and friction velocity by formula k ij ∂ xj

1/ 2 τ C ∂u S represents production of turbulent energy and u = w = D T . (8) ρ ∂y E Uw ρ C ∂ ∂ S D ui ui T C = max , 0 . (16) D 2ω D ∂x ∂x T Turbulent viscosity in outer region is given by E j j U Following model coefficients are used: = 5/9, = 3/40, μ = α * = 9/100 and = * = 1/2. to CcpFw Fk . (9)

Function Fw is determined by the relation 4 Numerical method

F = y F . (10) w max max 4.1 Numerical scheme where Fw is the maximum of the function bellow Finite volume method was applied on cell centred non- orthogonal structured grid with quadrilateral cells. = Ω F y Fd (11) For numerical solutions Lax-Wendroff scheme in McCormack modification was used with predictor step and ymax is the distance from the wall in which n +1/2 = n − n F(ymax) = Fmax holds and Wi, j Wi, j tResWi, j (17)

−1 F C S6 V and corrector step as follow = G + D y T W Fk 1 5.5 DCKL T . (12) G E y U W + 1 + + H max X W n 1 = ()W n + W n 1/2 − t Res W n 1/2 . (18) i, j 2 i, j i, j i, j In Baldwin-Lomax turbulent model following constants are used: = 0.4, A = 26, = 0.0168, C = 1.6 and The Jameson’s artificial dissipation model was cp applied to damp the oscillations. CKL = 0.3. ~ n +1 = n +1 + ( n ) Wi, j Wi, j AD Wi, j , (19)

n n n n AD(W )= C (W + - 2W + W − ) i, j 1 1 i 1, j i, j i 1, j , (20) + ()n n + n C2 2 Wi, j−1 - 2Wi, j Wi, j−1

02109-p.2 EFM 2015

n n n p + − 2 p + p − ψ = i 1, j i, j i 1, j , (21) 1 n + n + n pi+1, j pi, j pi−1, j

n n n p + − 2 p + p − ψ = i, j 1 i, j i, j 1 . (22) 2 n + n + n p i, j+1 p i, j p i, j−1

4.2 Boundary conditions Inlet boundary conditions were realized for inviscid flow as follow: inlet velocity Ma together with angle of attack , density and total energy per volume e were set; pressure p was extrapolated from the flow field. In a case of viscous flow the inlet pressure p was set. Figure 2. NACA 0012 airfoil, inviscid flow, Ma = 0.8, = Outlet boundary conditions were the same for the 1.25º, Mach number isolines by [2] both type of flow. Outlet pressure was set and other variables extrapolated from the flow field. Solid wall condition was realized by the adding of virtual cells. In a case of inviscid flow velocity components were prescribed so that sum of velocity vectors equals zero in its tangential component. In a case of viscous flow velocity components were prescribed so that sum of velocity vectors equals zero on the wall.

5 Numerical results and discussion Mach number isolines are shown in all pictures together with inlet flow parameters below where Ma corresponds to the inlet Mach number and is attack angle of inlet flow. Numerical results were validated for different setting of artificial dissipation to damp the oscillations and in a case of viscous model the influence on the Figure 3. NACA 0012 airfoil, inviscid flow, Ma = 0.8, = physical viscosity was checked. 1.25º, pressure coefficient Cp along the profile The set of the following six figures corresponds with results of the calculation of transonic inviscid flow for NACA 0012 and RAE 2822 airfoil respectively. This configuration was set as a reference for the testing of behaviour of the inviscid model with regarding to the proper setting of the artificial dissipation. Mach number isolines and pressure coefficient Cp are compared with [2].

Figure 4. NACA 0012 airfoil, inviscid flow, Ma = 0.8, = 1.25º, pressure coefficient Cp along the profile by [2]

Figure 1. NACA 0012 airfoil, inviscid flow, Ma = 0.8, = 1.25º, Mach number isolines

02109-p.3 EPJ Web of Conferences

Figure 5. RAE 2822 airfoil, inviscid flow, Ma = 0.73, = 2.79º, Mach number isolines Figure 7. NACA 0012 airfoil, viscous laminar flow, Ma = 0.85, = 0.0º, Re = 5×102, Mach number isolines

Figure 6. RAE 2822 airfoil, inviscid flow, Ma = 0.73, = 2.79º, pressure coefficient Cp along the profile Figure 8. NACA 0012 airfoil, viscous laminar flow, Ma = The next set of figures shows some test cases of 0.85, = 0.0º, Re = 5×102, Mach number isolines by [2] viscous laminar and turbulent flow. First set of figures shows laminar flow around the NACA 0012 airfoil for the inlet Mach number Ma = 0.85 with angle of attack = 0.0º and Re = 500. The case is quite far from the real physical conditions but it is generally used as the test case for the laminar model validation. Quite good result is clear and can be compared e.g. with results in [2]. The other figures show comparison between the used two different models of turbulence and experimental data. Inlet Mach number is Ma = 0.15 with angle of attack = 0.0º and Reynolds number Re = 2.88×106. It is seen good correlation to the each other.

Figure 9. NACA 0012 airfoil, viscous laminar flow, Ma = 2 0.85, = 0.0º, Re = 5×10 , pressure coefficient Cp along the profile

02109-p.4 EFM 2015

Figure 10. NACA 0012 airfoil, viscous laminar flow, Figure 13. NACA 0012 airfoil, viscous turbulent flow, 2 6 Ma = 0.85, = 0.0º, Re = 5×10 , pressure coefficient Cp along Ma = 0.15, = 0.0º, Re = 2.88×10 , pressure coefficient the profile by [2] Cp along the profile

Figure 14. NACA 0012 airfoil, viscous turbulent flow, Wilcox Figure 11. NACA 0012 airfoil, viscous turbulent flow, B-L k- model, Ma = 0.15, = 10.0º, Re = 2.88×106, Mach 6 model, Ma = 0.15, = 0.0º, Re = 2.88×10 , Mach number number isolines isolines

Figure 15. NACA 0012 airfoil, viscous turbulent flow, Wilcox 6 k- model, Ma = 0.15, = 10.0º, Re = 2.88×10 , pressure coefficient Cp along the profile Figure 12. NACA 0012 airfoil, viscous turbulent flow, Wilcox 6 k- model, Ma = 0.15, = 0.0º, Re = 2.88×10 , Mach number isolines

02109-p.5 EPJ Web of Conferences

The results of turbulent flow around the NACA 0012 profile are shown also at the figures above. In this case inlet Mach number was set to Ma = 0.15 and angle of attack = 10.0º, Reynolds number Re = 2.88×106. Pressure coefficient is compared with experimental data by [3] for the upper surface with free transition. The deviation close the leading edge is visible and needs to be more investigated. It can be caused e.g. by coarse grid spacing in x axis around the leading edge. Also the problem of artificial dissipation model needs to be solved in the next study to reduce the influence of additional numerical viscosity that could be also the source of incorrect behaviour.

6 Conclusions The developed software was successfully tested for some basic types of the calculations of inviscid and viscous turbulent flow around the NACA 0012 and RAE 2822 airfoil. Deeper testing still needs to be done in a case of viscous turbulent flow to verify the possibilities of different numerical approaches as well as the testing of another modification of two-equation k- model. Also the deeper investigation will be done at a field of the transition between the laminar and turbulent flow.

Acknowledgements The research has been financed in part by grants P 101/10/1329 and P 101/12/1271 and by the Education for Competitiveness Operation Programme.

References

1. D. C. Wilcox, AIAA J., 46, 2823, (2008) 2. J. Fort, K. Kozel, J. Fürst, J. Halama, J Dobes Num. solution of flow problems I (CTU in Prague, Prague 2004) 3. N. Gregory, C. L. O'Reilly, NASA R&M, 3726, (1970) 4. R. Dvorak, K. Kozel, Mathematical modelling in (CTU in Prague, Prague, 1996) 5. R. Dvorak, Transonic Flows (Academia, Prague, 1986) 6. M. Slouka, K. Kozel, Topical Problems of Fluid Mech. 2014, 127-130 (2014) 7. M. Slouka, K. Kozel, Topical Problems of Fluid Mech. 2013, 57-60, (2013) 8. M. Slouka, K. Kozel, 2013, 29-30, (2013)

02109-p.6