Difference between revisions of "NACA0012 by Michael Alletto"

From OpenFOAM Wiki
Jump to navigation Jump to search
Line 39: Line 39:
 
The setup of the simulation shown in the next figure. Note it is taken form the tutorial $FOAM_TUTORIALS/compressible/rhoPimpleFoam/RAS/aerofoilNACA0012 and adapted for the current purpose. A brief description of the solver rhoPimpleFoam and of the dictionaries used can be found [http://www.wolfdynamics.com/validations/supersonic_wedge/tut_2D_supersonic_wedge.pdf here] and [http://www.wolfdynamics.com/validations/sod_shock_tube/sod_shock_tube.pdf here]. Another one (actually the description of rhoSimpleFoam but except the transient term both solver are similar) can be found [http://www.wolfdynamics.com/validations/expansion_fan/tut_expansion_fan.pdf here]. The solver rhoPimpleFoam together with a local time stepping (the entry localEuler has to be chosen in the fvSchemes dictionary for all transient terms) is used to simulate also the steady state simulations. The reason was that this combination was found to be more robust to obtain a converged steady solution compared to the rhoSimpleFoam solver.
 
The setup of the simulation shown in the next figure. Note it is taken form the tutorial $FOAM_TUTORIALS/compressible/rhoPimpleFoam/RAS/aerofoilNACA0012 and adapted for the current purpose. A brief description of the solver rhoPimpleFoam and of the dictionaries used can be found [http://www.wolfdynamics.com/validations/supersonic_wedge/tut_2D_supersonic_wedge.pdf here] and [http://www.wolfdynamics.com/validations/sod_shock_tube/sod_shock_tube.pdf here]. Another one (actually the description of rhoSimpleFoam but except the transient term both solver are similar) can be found [http://www.wolfdynamics.com/validations/expansion_fan/tut_expansion_fan.pdf here]. The solver rhoPimpleFoam together with a local time stepping (the entry localEuler has to be chosen in the fvSchemes dictionary for all transient terms) is used to simulate also the steady state simulations. The reason was that this combination was found to be more robust to obtain a converged steady solution compared to the rhoSimpleFoam solver.
  
The major change with respect to the afore mentioned tutorial was the enlarging of the domain in order that the distance from the airfoil to the outer boundaries is 18 chord length. The reason was to be more in line with simulation performed in the literature (see e.g. [5]). The constant angle of attach &alpha;<sub>0</sub> is achieved by applying a z-component to the velocity at the inlet. For the cases with the oscillating airfoil, the pitching angle &alpha;(t) is changed with a sine function: &alpha;(t) = 0.0438 \sin(42.5 t) about a rotating point placed at quarter chord length. The angle is expressed in radiant. The Reynolds number is set to approximately Re = 1e7.
+
The major change with respect to the afore mentioned tutorial was the enlarging of the domain in order that the distance from the airfoil to the outer boundaries is 18 chord length. The reason was to be more in line with simulation performed in the literature (see e.g. [5]). The constant angle of attach &alpha;<sub>0</sub> is achieved by applying a z-component to the velocity at the inlet. For the cases with the oscillating airfoil, the pitching angle &alpha;(t) is changed with a sine function: &alpha;(t) = 0.0438 sin(42.5t) about a rotating point placed at quarter chord length. The angle is expressed in radiant. The Reynolds number is set to approximately Re = 1e7.
  
 
[[File:Setup_alettonaca.png|450px|center|setup of the simulation]]
 
[[File:Setup_alettonaca.png|450px|center|setup of the simulation]]

Revision as of 05:05, 14 May 2020

Go back to Collection by authors.

Transonic flow around a periodically pitching NACA0012 airfoil

The scope of this tutorial is to evaluate the capability of the solver rhoPimpleFoam to simulate a periodically pitching airfoil in a transonic flow at low angles of attack. At low angles of attack the flow remains attached or forms a closed recirculation bubble after the large pressure gradient induced by a shock wave without a massive flow separation. This keeps the complexity of the flow phenomena to a minimum.

The tutorial is divided into five different smaller tutorial to make things easier for the reader. They cover the following topics:

  • Grid independence study
  • Study of the discretization of the convective schemes
  • Study of the turbulence model
  • Study of the influence of the angle of attach and Mach number
  • Apply the found setup to the moving airfoil

Introduction

Transonic means that part of the flow around the airfoil is subsonic and parts are supersonic. The Mach number far away of the airfoil Mainf < 1 is less than 1. Starting from far upstream the flow accelerates around the airfoil and becomes supersonic (Ma > 1) on one or both sides of the airfoil depending on its shape and incidence angle. Further downstream on the airfoil surface the flow becomes again subsonic by means of a nearly normal shock wave. See e.g. [1,7] for an overview on the topic.

Having a solver which is capable to simulate correctly the response of the flow to a periodically pitching airfoil at low angles of attack is the prerequisite to accurately predict more complicated phenomena like the structural response of helicopter blades to dynamic stall or the structural response of aircraft wings to buffeting flows. Dynamic stall is the transition from fully attached to fully stalled flows in periodically pitching airfoils. For a recent review on dynamic stall in compressible flows see [3]. The transonic buffet phenomena has its origin in the interaction between the shock and the separated shear layer: The interaction of a thin separated shear layer and the shock wave leads to a flow instability which manifests in a large amplitude and low frequency oscillation of the shock on the airfoil. Since the buffeting frequency lies in the low structural nodes this can lead to severe damage of the aircraft. For a recent review on this phenomena see [1,4].

The evaluation of the solver is done by means of a systematic validation. This systematic validation consists in following steps:

0) Needless to say that before tackling any problem a sorrowful literature review is indispensable in other to build up an expectation of the results one will obtain. This expectations will help as to critically evaluate the results preventing us to make too many errors or find some errors in the setup of the simulation more quickly.

1) The second step is to choose a simplified version of the problem to solve and do a systematic parameter study on this simplified problem: The parameter which we will analyze are the grid resolution, the numerical scheme and the turbulence model. For this scope we choose a fixed airfoil at given angle of attack α = 4° and given Mach number Ma = 0.725. The results are compared with experiments and other numerical results. The parameter variation and its comparison with experiments and other numerical results will show as the sensitivity of the solution on this parameter (grid resolution, numerical scheme of the convective terms and turbulence model) and its influence on the quality of the solution. Furthermore it will help as later to interpret the results of the more complex configuration which would have been rather difficult without this preliminary studies.

2) Check if the found setup gives acceptable results for other combinations of angle of attack and Mach number: This check ensures as the the setup we found with step 1 was not only luck but is applicable for a wider parameter space.

3) Simulate the more complex problem: In our case this will be the periodically pitching airfoil with the settings found in 1) and confirmed by step 2).

Setup

The setup of the simulation shown in the next figure. Note it is taken form the tutorial $FOAM_TUTORIALS/compressible/rhoPimpleFoam/RAS/aerofoilNACA0012 and adapted for the current purpose. A brief description of the solver rhoPimpleFoam and of the dictionaries used can be found here and here. Another one (actually the description of rhoSimpleFoam but except the transient term both solver are similar) can be found here. The solver rhoPimpleFoam together with a local time stepping (the entry localEuler has to be chosen in the fvSchemes dictionary for all transient terms) is used to simulate also the steady state simulations. The reason was that this combination was found to be more robust to obtain a converged steady solution compared to the rhoSimpleFoam solver.

The major change with respect to the afore mentioned tutorial was the enlarging of the domain in order that the distance from the airfoil to the outer boundaries is 18 chord length. The reason was to be more in line with simulation performed in the literature (see e.g. [5]). The constant angle of attach α0 is achieved by applying a z-component to the velocity at the inlet. For the cases with the oscillating airfoil, the pitching angle α(t) is changed with a sine function: α(t) = 0.0438 sin(42.5t) about a rotating point placed at quarter chord length. The angle is expressed in radiant. The Reynolds number is set to approximately Re = 1e7.

setup of the simulation

The boundary conditions applied are summarized in the next table. For the pressure at the inlet the freestreamPressure boundary conditions is used. It is an outlet-inlet condition that uses the velocity orientation to continuously blend between zero gradient for normal inlet and fixed value for normal outlet flow. The waveTransmissive boundary condition is an advective boundary condition where as wave speed the outgoing characteristic is taken. The freestreamVelocity velocity boundary condition switches between fixedValue and zeroGradient depending if the mass flux points inside (fixedValue) or outside (zeroGradient) the domain. The values at the inlet of the turbulence quantities (k,nuTilda, epsilon and omega) are set in a way to have already at the inlet a very small turbulent viscosity in order to resample the low turbulence intensity of the wind tunnel. The wall functions for epsilon and omega are derived by the assumption of equilibrium between production and dissipation (for the derivation see e.g. [2]). The same holds for the nutUSpaldingWallFunction (see also [6]) where a functional relation between y+ and U+ is derived which holds from the viscous sublayer to the log layer.

References

[1] Oddvar O Bendiksen. Review of unsteady transonic aerodynamics: theory and applications. Progress in Aerospace Sciences, 47(2):135{167,2011.

[2] Jonas Bredberg. On the wall boundary condition for turbulence models. Chalmers University of Technology, Department of Thermo and Fluid Dynamics. Internal Report 00/4. Goteborg, 2000.

[3] Thomas C Corke and Flint O Thomas. Dynamic stall in pitching airfoils: aerodynamic damping and compressibility effects. Annual Review of Fluid Mechanics, 47:479-505, 2015.

[4] Nicholas F Giannelis, Gareth A Vio, and Oleg Levinski. A review of recent developments in the understanding of transonic shock buffet. Progress in Aerospace Sciences, 92:39-84, 2017.

[5] Daniella E Raveh. Numerical study of an oscillating airfoil in transonic buffeting flows. AIAA journal, 47(3):505-515, 2009.

[6] DB Spalding. A single formula for the law of the wall. 1961.

[7] H Tijdeman and R Seebass. Transonic flow past oscillating airfoils. Annual Review of Fluid Mechanics, 12(1):181-222, 1980.