scieee AI-readable full text Open interactive document viewer

CFD analysis of the air flow through horizontal axis wind turbines

Silva, Diogo Miguel Costa da

Abstract

The main purpose of this thesis was the development of a procedure which allowed to perform numerical simulations of atmospheric flows over a flat terrain and through a wind turbine. The modelling and simulation work was carried out with the use of the Computational Fluid Dynamics (CFD) software ANSYS Fluent. For the CFD procedure, the 3D Reynolds Averaged Navier-Stokes Equations using the π‘˜-πœ€ turbulence model was employed, considering some modifications in the model constants to account for an atmospheric flow. Regarding the modelling practice of the neutral atmospheric boundary layer, custom equations were used for representing the logarithmic velocity profile, the turbulent kinetic energy and turbulent dissipation rate. Some practices were also dedicated to the establishment of accurate boundary conditions of the computational domain as well as the selection of the wall function representing the ground. The rotor of the wind turbine was modelled with the use of a porous jump boundary condition, in which the rotor is considered an actuator disc with an infinite number of blades. In this work, four different major simulations were performed. In the first one, a CFD procedure was created which allowed to recreate an atmospheric flow in a flat terrain with a high-level accuracy, with only a 1.5% error in velocity discrepancies. For the second simulation, a CFD technique was developed to model the flow of the wind through an actuator disc. This model was validated with the Jensen and the Larsen mathematical wake models, and it displayed a capability of accurately modelling the far-wake of the turbine, with an error of roughly 5%. The third and fourth simulations include the analyses of the wake effects between two wind turbines. In the third, the rotors are distanced 6D in the prevailing wind direction and it shows a 10% decrease in the wind velocity and a 28% decrease in the power output of the downstream turbine. In the fourth, the rotors are distanced just as in the third simulation but also 4D in the perpendicular direction. Consequently, the wake effects of the upstream turbine did not directly affect the downstream turbine.

Full text

Universidade do Minho Escola de Engenharia Diogo Miguel Costa da Silva CFD Analysis of the Air Flow Through Horizontal Axis Wind Turbines November 2021 Universidade do Minho Escola de Engenharia Diogo Miguel Costa da Silva CFD Analysis of the Air Flow Through Horizontal Axis Wind Turbines DissertaΓ§Γ£o de Mestrado Mestrado Integrado em Engenharia MecΓ’nica Trabalho efetuado sob a orientaΓ§Γ£o do(s) Professor Doutor JosΓ© Carlos Fernandes Teixeira Professora Doutora Senhorinha de FΓ‘tima Capela Fortunas Teixeira Eng. Agostinho Paulo Ferreira Pinto November 2021 ii DIREITOS DE AUTOR E CONDIÇÕES DE UTILIZAÇÃO DO TRABALHO POR TERCEIROS Este Γ© um trabalho acadΓ©mico que pode ser utilizado por terceiros desde que respeitadas as regras e boas prΓ‘ticas internacionalmente aceites, no que concerne aos direitos de autor e direitos conexos. Assim, o presente trabalho pode ser utilizado nos termos previstos na licenΓ§a abaixo indicada. Caso o utilizador necessite de permissΓ£o para poder fazer um uso do trabalho em condiΓ§Γ΅es nΓ£o previstas no licenciamento indicado, deverΓ‘ contactar o autor, atravΓ©s do RepositΓ³riUM da Universidade do Minho. LicenΓ§a concedida aos utilizadores deste trabalho AtribuiΓ§Γ£o CC BY https://creativecommons.org/licenses/by/4.0/ iii ACKNOWLEDGMENTS Several people supported and contributed in many ways to the development of this Master’s thesis. As such, some acknowledgement must be addressed. First of all, I would like to thank my supervisors, Professor JosΓ© Carlos Teixeira and Professor Senhorinha Teixeira, whose guidance and continuing support throughout the whole research allowed me to always keep working in the right direction. Thank you for all the advice, accessibility and motivation that helped me keep pushing. To JoΓ£o Silva, I would like to express my sincere gratitude for all the help and support and all the time spared assisting me. JoΓ£o’s help was key in the development of this thesis and the discussions we had helped me learn and understand better how to correctly work with computational fluid simulations. I want to thank Mr. Paulo Pinto, CEO and COO of the company MEGAJOULE, for all the help, time and technical advice, which allowed to improve the development of this work and perform a more critical thinking and approach to the problems. I would like to express my deep gratitude to all my family for all the support throughout all my academic years at University of Minho and through the couple of months of making this thesis. In particular, my parents and my brother, for always believing in me and always supporting and caring for me. To all my friends, thank you for being by my side during these university years, for being so supportive and for the so many countless good memories. Finally, I would like to give my thank you to everyone who helped and contributed in some way to the work developed. iv STATEMENT OF INTEGRITY I hereby declare having conducted this academic work with integrity. I confirm that I have not used plagiarism or any form of undue use of information or falsification of results along the process leading to its elaboration. I further declare that I have fully acknowledged the Code of Ethical Conduct of the University of Minho. CFD Analysis of the Air Flow Through Horizontal Axis Wind Turbines v RESUMO Com esta dissertaΓ§Γ£o pretendeu-se o desenvolvimento de um procedimento que permitisse a realizaΓ§Γ£o de simulaΓ§Γ΅es numΓ©ricas de escoamentos atmosfΓ©ricos sobre uma superfΓ­cie plana e por uma turbina eΓ³lica. O processo de modelaΓ§Γ£o e de simulaΓ§Γ£o foi realizado com o software de DinΓ’mica de Fluidos Computacionais (CFD) denominado ANSYS Fluent . Para o procedimento CFD, as equaΓ§Γ΅es 3D Reynolds Averaged Navier-Stokes juntamente com o modelo de turbulΓͺncia π‘˜-πœ€ foram utilizadas, considerando certas modificaΓ§Γ΅es nas constantes do modelo. Relativamente Γ  modelaΓ§Γ£o de uma camada limite atmosfΓ©rica neutra, foram aplicadas equaΓ§Γ΅es personalizadas para representar um perfil de velocidades logarΓ­tmico, a energia cinΓ©tica de turbulΓͺncia e a taxa de dissipaΓ§Γ£o de turbulΓͺncia. As condiΓ§Γ΅es de fronteira, bem como a funΓ§Γ£o de parede foram definidas por forma a representar corretamente o terreno do domΓ­nio. O rotor da turbina eΓ³lica foi assumido como um disco atuador com um nΓΊmero infinito de pΓ‘s e modelado atravΓ©s de uma condiΓ§Γ£o de fronteira de meio poroso. Neste estudo foram realizadas quatro simulaΓ§Γ΅es principais. Na primeira, o procedimento CFD concebido permitiu recriar um escoamento atmosfΓ©rico do vento por um terreno plano, sendo que apenas apresenta um erro de 1.5 % em termos de variaΓ§Γ£o de velocidade. Na segunda simulaΓ§Γ£o foi desenvolvida uma abordagem CFD que permite a modelaΓ§Γ£o do vento atravΓ©s de um disco atuador. Este modelo foi validado com os modelos Jensen e Larsen e foi assim comprovado que o modelo CFD Γ© capaz de modelar a esteira a uma longa distΓ’ncia, com um erro de cerca de 5%. A terceira e quarta simulaΓ§Γ΅es incluem a anΓ‘lise dos efeitos de esteira entre duas turbinas eΓ³licas. Na terceira simulaΓ§Γ£o, os rotores estΓ£o distanciados 6D na mesma direΓ§Γ£o e consegue-se verificar uma diminuiΓ§Γ£o de 10% na velocidade do vento e uma diminuiΓ§Γ£o de 28% da potΓͺncia extraΓ­da pela turbina a jusante. Na quarta simulaΓ§Γ£o, os rotores estΓ£o espaΓ§ados como na terceira simulaΓ§Γ£o, mas tambΓ©m a uma distΓ’ncia de 4D na direΓ§Γ£o perpendicular. Os resultados permitiram verificar que os efeitos de esteira nΓ£o afetam diretamente a segunda turbina para a direΓ§Γ£o do vento assumida. PALAVRAS-CHAVE: ANSYS Fluent , CFD, Energia EΓ³lica, Escoamento de Vento AtmosfΓ©rico, Turbinas EΓ³licas de Eixo Horizontal CFD Analysis of the Air Flow Through Horizontal Axis Wind Turbines vi ABSTRACT The main purpose of this thesis was the development of a procedure which allowed to perform numerical simulations of atmospheric flows over a flat terrain and through a wind turbine. The modelling and simulation work was carried out with the use of the Computational Fluid Dynamics (CFD) software ANSYS Fluent. For the CFD procedure, the 3D Reynolds Averaged Navier-Stokes Equations using the π‘˜-πœ€ turbulence model was employed, considering some modifications in the model constants to account for an atmospheric flow. Regarding the modelling practice of the neutral atmospheric boundary layer, custom equations were used for representing the logarithmic velocity profile, the turbulent kinetic energy and turbulent dissipation rate. Some practices were also dedicated to the establishment of accurate boundary conditions of the computational domain as well as the selection of the wall function representing the ground. The rotor of the wind turbine was modelled with the use of a porous jump boundary condition, in which the rotor is considered an actuator disc with an infinite number of blades. In this work, four different major simulations were performed. In the first one, a CFD procedure was created which allowed to recreate an atmospheric flow in a flat terrain with a high-level accuracy, with only a 1.5% error in velocity discrepancies. For the second simulation, a CFD technique was developed to model the flow of the wind through an actuator disc. This model was validated with the Jensen and the Larsen mathematical wake models, and it displayed a capability of accurately modelling the far-wake of the turbine, with an error of roughly 5%. The third and fourth simulations include the analyses of the wake effects between two wind turbines. In the third, the rotors are distanced 6D in the prevailing wind direction and it shows a 10% decrease in the wind velocity and a 28% decrease in the power output of the downstream turbine. In the fourth, the rotors are distanced just as in the third simulation but also 4D in the perpendicular direction. Consequently, the wake effects of the upstream turbine did not directly affect the downstream turbine. KEYWORDS: ANSYS Fluent, Atmospheric Wind Flow, CFD, Wind Energy, Horizontal Axis Wind Turbines vii TABLE OF CONTENTS Acknowledgments ............................................................................................................................... iii Resumo............................................................................................................................................... v Abstract.............................................................................................................................................. vi Table of Contents .............................................................................................................................. vii List of Figures ...................................................................................................................................... x List of Tables .................................................................................................................................... xiii List of Abbreviations ......................................................................................................................... xiv List of Symbols .................................................................................................................................. xv 1. Introduction ................................................................................................................................ 1 1.1 Motivation ........................................................................................................................... 1 1.2 Objectives ........................................................................................................................... 3 1.3 Thesis Structure .................................................................................................................. 3 2. Literature Review ........................................................................................................................ 5 2.1 Wind Resources and Energy ................................................................................................ 5 2.2 Atmospheric Boundary Layer ............................................................................................... 7 2.3 Wind Turbine Characteristics ............................................................................................... 9 2.4 Wind Turbine Aerodynamics and Wakes ............................................................................. 11 2.4.1 Aerodynamics of a Wind Turbine ................................................................................ 12 2.4.2 The Betz Limit ........................................................................................................... 15 2.4.3 Wake Effect and Behaviour ........................................................................................ 16 2.4.4 Wake Models ............................................................................................................. 17 2.5 Wind Numerical Modelling Review ..................................................................................... 21 3. Methodology ............................................................................................................................. 29 3.1 Computational Fluid Dynamics .......................................................................................... 29 3.1.1 CFD Principles ........................................................................................................... 30 3.1.2 Governing Equations of Fluid Flow .............................................................................. 30 3.1.3 ANSYS Fluent ............................................................................................................ 32 3.1.4 Finite Volume Method ................................................................................................ 33 viii 3.2 Turbulence Modelling ........................................................................................................ 33 3.2.1 Reynolds-Averaged Navier Stokes Equations (RANS) ................................................... 35 3.2.2 π‘˜-πœ€ Model ................................................................................................................. 36 3.3 Solver Configuration .......................................................................................................... 38 3.3.1 Solver Selection ......................................................................................................... 38 3.3.2 Discretization Method ................................................................................................ 39 3.4 Neutral Atmospheric Boundary Layer Modelling ................................................................. 42 3.4.1 Assumptions .............................................................................................................. 42 3.4.2 Velocity and Turbulence Properties ............................................................................ 43 3.5 Boundary Conditions ......................................................................................................... 44 3.6 Wall Functions ................................................................................................................... 46 3.7 Rotor Modelling ................................................................................................................. 48 4. Model Implementation and Validation ........................................................................................ 53 4.1 Atmospheric Flow on a Flat Terrain .................................................................................... 53 4.1.1 Computational Domain .............................................................................................. 53 4.1.2 Meshing .................................................................................................................... 54 4.1.3 Fluent Set Up ............................................................................................................ 57 4.1.4 Results ...................................................................................................................... 58 4.2 Atmospheric Flow with a Wind Turbine ............................................................................... 63 4.2.1 Wind Turbine V42-600 kW ......................................................................................... 64 4.2.2 Computational Domain .............................................................................................. 66 4.2.3 Meshing .................................................................................................................... 67 4.2.4 Fluent Set Up ............................................................................................................ 70 4.2.5 Results ...................................................................................................................... 72 4.2.6 Grid Dependency Test ................................................................................................ 78 4.2.7 Validation of the CFD Model ....................................................................................... 79 5. Wind Turbines CFD Analysis ...................................................................................................... 83 5.1 Computational Domain ...................................................................................................... 84 5.2 Mesh ................................................................................................................................ 86 xv LIST OF SYMBOLS Symbols: π‘Žξ¬¦ Acceleration vector m/s2 π‘Ž Axial induction factor - π‘Ž1 Larsen model coefficient - π‘Ž2 Larsen model coefficient - π‘Ž3 Larsen model coefficient - π‘Ž4 Larsen model coefficient - 𝐴0 Area of the cross section of the inlet of the stream-tube m2 𝐴1 Wind turbine swept area m2 𝐴2 Area of the cross section of the outlet of the stream-tube m2 𝐴𝑓 Area of a cell face m2 𝑏1 Larsen model coefficient - 𝑐0 Cell centre m 𝐢1 Larsen model constant related to the proportionality constant of the wake - 𝐢2 Pressure jump coefficient mβˆ’1 πΆπœ€1 Turbulence model constant - πΆπœ€2 Turbulence model constant - 𝐢𝑃 Power coefficient - 𝐢𝑃,π‘šπ‘Žπ‘₯ Maximum power coefficient - 𝐢𝑆 Roughness constant - 𝐢𝑇 Thrust coefficient - πΆπœ‡ Turbulence model constant - 𝐷1 Diameter of the wind turbine rotor m 𝐷π‘₯ Diameter of the turbine wake at a distance π‘₯ m 𝐸 Empirical constant for the conversion of roughness length into roughness height - 𝑓 Frequency of the varying wind directions % 𝐹 Force vector N πΊπ‘˜ Production of turbulence kinetic energy kg/(mβˆ™s3) xvi πΌπ‘Ž Ambient turbulence intensity - π‘˜ Larsen model π‘˜ value - π‘˜ Turbulent kinetic energy m2/s2 π‘˜π‘€ Wake decay constant - 𝐾𝑆 Roughness height m π‘š Larsen model π‘š value - π‘š Mass kg π‘šσ°‡— Mass flow rate kg/s 𝑁𝑓 Number of nodes on a cell face - 𝑝 Static pressure Pa 𝑃 Output power of a wind turbine W 𝑃0 Ambient Pressure Pa 𝑃1 Pressure at the wind turbine Pa π‘Ÿ Cylindrical coordinate m π‘Ÿξ¬¦ Displacement vector from the upstream cell centroid to the face centroid m π‘Ÿ1 Radius of the wind turbine rotor m 𝑅9.6 Wake radius at a downstream distance of the wind turbine of 9.6 times the rotor diameter m 𝑅𝑀 Wake radius m π‘†πœ€ User-defined source term for πœ€ kg/(mβˆ™s4) π‘†π‘˜ User-defined source term for π‘˜ kg/(mβˆ™s3) 𝑆𝑀 Force source factor kg/(sβˆ™m3) 𝑑 Time s 𝑇 Thrust N π‘ˆ 󰇍 󰇍  Velocity vector m/s 𝑒 Velocity m/s π‘’βˆ— Friction velocity m/s 𝑒0 Free-stream wind speed m/s 𝑒1 Velocity at the rotor m/s 𝑒2 Velocity downstream of the rotor m/s 𝑒π‘₯ Hub height wind speed downstream of a wind turbine at a certain distance π‘₯ m/s xvii 𝑉 Cell volume m3 π‘₯ Distance m π‘₯0 Location of the rotor m 𝑦0 Aerodynamic roughness length m 𝑦+ Non-dimensional distance - 𝑧 Height m 𝑧0 Aerodynamic roughness length m 𝑧𝑝 Distance in the mesh from the centre-point of the wall adjacent cell to the wall m Greek symbols: 𝛼 Face permeability m2 βˆ†π‘ Pressure drop Pa βˆ†π‘’ Deficit in velocity due to the wake effects m/s βˆ†π‘š Porous media thickness m πœ€ Turbulent dissipation rate m2/s3 πœ… Von Karman Constant - πœ‡ Fluid dynamic viscosity kg/mβˆ™s 𝜌 Air density kg/m3 πœŽπœ€ Turbulent Prandtl number for πœ€ - πœŽπ‘˜ Turbulent Prandtl number for π‘˜ - πœπ‘–π‘— Viscous stresses on each respective direction Pa πœ™ General variable - πœ™π‘“ Value of a variable at the cell face centroid - πœ™π‘“     Arithmetic average of the nodal values on the cell face - πœ™π‘›     Nodal values on the face - πœ” Specific Dissipation rate 1/𝑠 βˆ‡πœ™ Gradient of a variable - 1 1. INTRODUCTION 1.1 Motivation The global energy consumption is growing every year and, with climate changes becoming a problem of prime concern, wind energy represents a vital role in mitigating both the energy crisis and the environmental problems. Wind power has received substantial attention for the past two decades and it is now one of the most significant renewable energy sources. As wind energy plays a key role in mitigating climate changes, it is expected to grow substantiality in the coming decades. The increase in wind energy demand has led to an increase of the wind rotors to drastic sizes since, the bigger the turbine, the bigger will be the energy output because the energy harvested is proportional to the swept area of the rotor. As shown in Figure 1, wind turbine sizes have increased in last decades and are expected to grow even more, up to diameters three times the length of a Boeing 747-8 airplane. Figure 1 – Evolution of wind turbine sizes [1] Nowadays, it is very common to witness the utilization of multiples wind turbines to form a wind farm in order to generate more energy taking into account limited area resources. However, these wind parks have the downside that the downstream wind turbines have to operate in the wake of those upstream, which results in a massive power loss. In a wind park, the wake effects causes a decrease in the power output and an increase in the loads of the downstream turbines in comparison to those facing freestream flows. Hence, it is very important to understand and analyse the wake characteristics of a wind turbine and the effects on how a 2 wake impacts the performance of a downstream turbine in order to rearrange the multiple wind turbines in a reasonable and efficient way. These studies on how a wind farm should be laid out, allows to maximize the production of a wind park and thus make them more cost-effective. This analysis can be applied to onshore wind farms (Figure 2 - a) as well as offshore wind farms (Figure 2 - b). Figure 2 – Onshore (a) and Offshore (b) wind farms Being capable of studying where to place a wind turbine, how to displace a group of turbines in a wind farm and the dimensions of the turbine allows to reduce costs and improve the performance and output of these structures. To perform this kind of researches, many depend on Computational Fluid Dynamics (CFD) analysis and commercial software that allow to study these types of atmospheric flows and evaluate different wind turbine arrangements and study their wake impacts. As such, numerical investigation and simulation have become a valuable asset in the wind energy sector, as it helped this industry become more effective and productive. b) a) 3 1.2 Objectives The main objective of this work was to establish and develop a CFD model capable of analysing the atmospheric wind flow on a flat terrain and through a horizontal axis wind turbine. The main tool used for this purpose was the commercial CFD software ANSYS Fluent. In order to accomplish the main objective of the project, several sub-objectives were also defined: β€’ Creation of a CFD method capable of simulating the wind flow in the atmospheric boundary layer; β€’ Develop a way to model a simplified wind turbine rotor; β€’ Test and validate the CFD model in order to evaluate its accuracy; β€’ Study and compare various parameters and their variations such as velocity, pressure, and turbulent kinetic energy on different cases; β€’ Analyse the impact of the wake effects produced by wind turbines. 1.3 Thesis Structure This thesis is divided into six chapters: Introduction, Literature Review, Methodology, Model Implementation and Validation, Wind Turbines CFD Analysis, and Conclusions and Future Work. In Chapter 2, a literature review is presented, and many relevant topics are explored and studied. This assessment includes the analysis of wind resources and wind energy; the atmospheric boundary layer and all its different sections; the wind turbine key components and characteristics and the aerodynamics and wakes of wind turbines in which an in-depth analysis is performed. This evaluation also includes a review on many scientific articles and books related to wind numerical modelling in order to better understand how to achieve the pretended CFD final model. In Chapter 3, all the methodology involved in establishing the CFD procedure is detailed, and each step and decision taken towards the creation of the model is justified. First, an explanation regarding the theory behind CFD is described, where the basics and the principles on how CFD simulations works, as well as the governing equations of fluid flow on which CFD is based on are explained. Also, a quick introduction to the software ANSYS Fluent is performed and the finite volume method numerical technique is described. After this brief introduction to CFD, many different aspects are addressed, such as: how to model the turbulence in ANSYS Fluent and which turbulence model is the most accurate and computational cost-effective for the problem in hand; which solver configurations are the most adequate 4 for the CFD analysis; how to model a neutral atmospheric boundary layer taking into account some assumptions and simplifications and considering a logarithmic wind velocity profile and adapted turbulent kinetic energy and turbulent dissipation rate; which boundary conditions work best with the computational domain of the problem; which wall function to apply to the bottom of the domain and which criteria needs to be taken into account when implementing an accurate ground to wind interaction and how to model the rotor of the wind turbine using a simple and effective method. Chapter 4 contains the simulations that allowed to implement and validate the final CFD procedure, detailing their pre-processing and post-processing information. Here are presented two simulations: a neutral atmospheric flow in a flat terrain and a wind flow through one wind turbine as an actuator disc. For both analysis, the computational domain is described, the meshing procedure is detailed, the set-up is delineated, and the results are discussed. For the case of the wind flow through one wind turbine, a grid dependency test is also performed as well as a validation process with the use of mathematical wake models. Chapter 5 covers two more complex simulations involving two wind turbines. Here, a simulation of a wind flow through two wind turbine distanced in-line and a simulation of a wind flow through two wind turbines distanced in-line and across are presented. All the steps taken to implement these simulations are detailed and some conclusions are extracted in terms of far wakes and power losses due to wind shadowing. Finally, in Chapter 6, the main conclusions of this thesis and some suggestions for future works that can be explored are presented. 5 2. LITERATURE REVIEW This chapter reviews many key aspects relevant for the whole thesis. This involves some explanations regarding wind flows at an atmospheric level as well as some general knowledge about wind turbines technology and their aerodynamics. The last section presents an investigation of various studies similar to the one developed in this thesis in order to better understand the methods used by several authors to model not only the atmospheric wind flow but also the wind turbine rotors. 2.1 Wind Resources and Energy Wind is atmospheric air in motion. Wind can be categorized depending on its velocity and turbulence. As such, the velocity of the motion of the air describes the strength of the wind flow and it is directly related to the amount of energy carried by the wind, more specifically, its kinetic energy [2]. Wind is actually originated by the solar radiation since, as the sun heats up the earth surface, air in different regions warms up at different levels and this uneven heating incites the creation of convective processes that drives the air motion. As such, air is pushed from high to low pressure areas and, due to the Earth’s rotation, friction and inertial forces are balanced [2]. It is important to understand the flow of the wind in different scales since different studies might require different analysis scales and dimensions. Correspondingly, wind can assume a range of spatial scales, from global circulation on the planetary scale to a mesoscale regional and microscale local wind. This wide range can be visualized in the Figure 3, where the different atmospheric heights for different kinds of studies are visualized. Understanding the type of problem allows to apply a correct wind flow scale. Figure 3 – Wide range of wind flow scales relevant to the wind energy sector [3] 6 Wind power relates to the extraction of the kinetic energy present in the air motion of the wind. A wind turbine is capable of harvesting this energy and convert it into electricity. Consequently, understanding the flows of the wind can help to maximize the output of a wind turbine. To properly assess the power to be produced by a wind turbine at a specific location, a probability distribution can be used in order to analyse the wind distribution throughout a year. This is due to the fact that the wind speed can vary with time ranging from weeks, to seasons and even to years [4]. Knowing the probability of a certain wind speed and its direction is consequently very important when analysing the wind power potential of an area and assessing a wind turbine. For this matter, a Weibull distribution and a wind rose can be used. These probability tools are displayed in Figure 4. The wind speed is constantly varying and, to be able to predict a wind turbine production, it is essential to know how often the wind is blowing and how strongly. The wind variation for a typical site is usually described using a Weibull distribution. This is a probability density distribution in which the highest value, called the modal value, represents the wind speed with highest probability of blowing. This Weibull distribution changes from place to place, and it may vary in its shapes and in its mean values. In terms of assessing the direction in which the wind is blowing, a wind rose can be used. This compass like graph shows the distribution of wind speeds (𝑒) and the frequency of the varying wind directions (𝑓). By analysing it, it is possible to determine the most common wind direction at a specific site and thus make a more efficient installation of wind turbines. For example, for the case shown in Figure 4, with the use of the wind rose it is possible to determine that the wind mostly blows from the east and west and that the average wind speed after the Weibull fit is 6.9 m/s. Figure 4 – Wind rose and Weibull distribution, respectively 7 2.2 Atmospheric Boundary Layer The understanding of the wind flow through the lower atmosphere is a complex task and also a crucial aspect that plays an important role in terms of changes to the physical characteristics of the wind flow. It is also a very important topic when dealing with wind farm site-assessment applications and with modelling the wind flow in CFD purposes. The atmospheric boundary layer (ABL), also known as planetary boundary layer, is the lowest region of the Earth’s atmosphere, where most of the transport processes of heat or momentum take place. This turbulence is created by mainly two factors: by disturbances caused by ground surface friction produced by obstructions such as trees, buildings, hills and cities, and by thermal convection effects driven by heating and cooling, causing a vertical movement of air masses due to the variation of its density when the local air temperature is different to its surroundings. Therefore, it is clear that the boundary layer is characterised by wind shear and turbulence [4][5]. The top of the ABL could basically be specified as the place where the turbulence disappears, since above the boundary layer the air movement is smooth and it could be treated as laminar flow, unless there are some major disturbances like storms and hurricanes. Because it depends mostly on the type of terrain, this layer can vary in thickness/height, from 250 m over the sea to about 500 m or even 1,000 m over the land. But this value is always changing and varies in time and space, where in statically stable situations, it can range from tens of meters while in convective conditions over deserts for example it can reach several kilometres [4][5]. In terms of wind engineering, ABL is the most important layer in the atmosphere to study since some of the largest wind turbines have top blade-tip heights of around 150 m, making it so that all wind turbines operate within the planetary boundary layer and always experience turbulence in the wind. The ABL can be divided into three different sections vertically, as shown in the Figure 5, going from the interfacial layer to the inner layer and finishing in the outer region before reaching the free atmosphere. Figure 5 – Layers of the atmospheric boundary layer [6][7] 14 rate must be constant along all flow and since the axial velocity on the rotor (𝑒1) is reduced due to the energy extraction, the area of the cross-section ( 𝐴1) needs to increase. As mentioned before, an important aspect regarding the flow is the pressure drop, since it allows to determine the thrust. It is possible to calculate this gradient by applying Bernoulli’s equation to the fluid flow to the upstream (equation (3)) and downstream (equation (4)) section, as such: 𝑃0+12 𝜌 𝑒02=𝑝+12 𝜌 𝑒12 (3) π‘βˆ’βˆ†π‘+12 𝜌 𝑒12=𝑃0+12 𝜌 𝑒22 (4) By combining the two previous equations it is possible to get the value of the pressure drop in the rotor: βˆ†π‘=12 𝜌 (𝑒02βˆ’π‘’22) (5) The thrust on the rotor can be described using the pressure difference and the swept area of the actuator disc. Using equation (6), thrust can be calculated as a function of the wind speed at the inlet and at the outlet of the tube domain: 𝑇=βˆ†π‘ 𝐴1= 12 𝜌 𝐴1(𝑒02βˆ’π‘’22) (6) The thrust can also be described using the non-dimensional thrust coefficient (Equation (7)): 𝐢𝑇=𝑇 12 𝜌 𝐴1𝑒02 (7) Both equations (6) and (7) have the limitation that they only work when both the velocity upwind and downwind are known and to obtain these values special instrumentation in front and behind the rotor are needed. The reduction of the wind velocity on the disc and along the flow can be expressed by means of an axial induction factor (π‘Ž). This factor is then the fractional decrease in the wind velocity between the freestream and the turbine rotor and it can be calculated by Equation (8): π‘Ž=𝑒0βˆ’π‘’1 𝑒0 (8) It is possible to derive the velocity values 𝑒1 and 𝑒2 as a function of the axial induction factor (Equations (9) and (10)): 15 𝑒1=𝑒0 (1βˆ’π‘Ž) (9) 𝑒2=𝑒0 (1βˆ’2π‘Ž) (10) All wind turbines are characterized by a power coefficient (𝐢𝑃). This indicates the fraction of the available wind power which is extracted by the rotor and varies with the oncoming wind speed. So, the power produced by a wind turbine can be non-dimensionalized by rearranging Equation (1): 𝐢𝑃=Power extracted Power available= 𝑃 12 𝜌 𝐴1𝑒03 (11) It is also possible to calculate the power coefficient 𝐢𝑃 with the use of the axial induction factor, as well as the thrust coefficient 𝐢𝑇 previously mentioned using Equations (12) and (13): 𝐢𝑃= 4π‘Ž (1βˆ’π‘Ž)2 (12) 𝐢𝑇= 4π‘Ž (1βˆ’π‘Ž) (13) 2.4.2 The Betz Limit Because the power coefficient is the power produced by the turbine disc dividing by the power available in the air in the absence of the actuator disc, this value can never be 100%. Wind turbines work by slowing down the wind going through in order to extract energy from the flow. If a wind turbine were to be 100% efficient, then basically all of the wind would have to stop completely when in contact with the turbine, which is realistically impossible. In 1919, the German aerodynamicist Albert Betz came up with the maximum theoretically achievable value of the efficiency of a wind turbine. The maximum value of 𝐢𝑃 can be determined when: 𝑑𝐢𝑃 π‘‘π‘Ž=4(1βˆ’π‘Ž)(1βˆ’3π‘Ž)=0 (14) Doing this results in an optimum axial induction factor value of π‘Ž=1 3 and a maximum power coefficient of 𝐢𝑃,π‘šπ‘Žπ‘₯=16 27= 0.593. This is also known as the Betz limit in which states that the maximum possible theoretical power coefficient of an ideal wind turbine is 59.3% [8][13]. In reality, this maximum achievable power coefficient is even further reduced due to wake rotation, accounting for a finite number of blades and by considering tip losses and aerodynamic drag. Nowadays, a wind turbine is typically 30% to 45% efficient, rising to 50% at times of peak wind. 16 As shown in Figure 9, 𝐢𝑃 is maximum for an axial induction factor of π‘Ž=1 3. On the other hand, the thrust coefficient is maximum for a value of π‘Ž=1 2. This brings a new problem in which for values of π‘Žβ‰₯1 2, the wind velocity becomes zero or even negative when considering Equation (10). Because it is impossible for the wind velocity to have a negative value right after the turbine, the Betz theory is only representative for π‘Ž<1 2 [8]. With this in mind, when the power production by an ideal rotor is maximum (π‘Ž=1 3), the thrust coefficient takes a value of 𝐢𝑇=8 9. Figure 9 – Power and thrust coefficients (𝐢𝑃, 𝐢𝑇) as a function of the axial induction factor (π‘Ž) for an ideal horizontal axis wind turbine [13] 2.4.3 Wake Effect and Behaviour Wind turbines extract energy from the wind. When the wind hits a wind turbine, its speed is reduced behind the rotor and it swirls the air flow, causing turbulence. This result is known as wake effect of a wind turbine. In a wind farm, this effect is a very important issue and by understanding its aerodynamics and the properties of the wake it is possible to calculate optimal wind farm structures in order to maximize energy production. Wind turbine wakes are divided into two main types which are the near wake and the far wake, as shown in Figure 10. In the near wake, the wind turbine directly disturbs the wind flow and is usually associated with the region from the turbine to 2-4 rotor diameters downstream. In this zone directly behind the rotor there are steep gradients of pressure, axial velocity and wake expansion. It is 17 characterized by being the location where the velocity deficit is highest, where tip vortices are created and where it is possible to observe turbulent mixing in the shear layer. The far wake is located downstream the near wake and it is the region that is mostly studied when analysing the wake effect on other turbines in a wind farm. In this zone, the effects of momentum deficit and increased level of turbulence disappear due to the turbulent diffusion of the wake, affected by the atmospheric turbulence. This turbulence mixing accelerates the wake recovery in terms of both the velocity deficit and the turbulence intensity, until it reaches a point where the flow fully recovers. Figure 10 – Wake development of a HAWT [15] 2.4.4 Wake Models The study of wind turbine wakes and its effects on the downstream flow is crucial to evaluate energy production. For this effect, the use of wake models can help predict the behaviour of the wake of a specific wind turbine and help to predict its performance. Wake models are used to describe the wakes of wind turbines. These models can be characterised by the domain, the wake, the wake boundary and the rotor. Wake modelling is capable of characterizing the flow behind wind turbines and there are two main physical phenomena of interest in the wake: the velocity (or momentum) deficit, which causes a reduction in the power output of any downstream turbines, and the growth of the level of turbulence, which provokes unsteady loading on downstream turbines. For this study, the Jensen and the Larsen wake models are utilized and compared to predict the wake effect as well as to serve as validation models for the CFD simulations. Jensen Wake Mathematical Model The Jensen model is an analytical model created in 1983 by N. O. Jensen, which was later modified by KatiΔ‡. This wake model is considered very simple but also one of the most widely used 18 models, since it assumes a linearly expanding wake with a velocity deficit that is only dependent on the distance behind the rotor [16]. With this model, the velocity profile within the wake is considered ideal and the near field is neglected and vortex shedding is ignored. Since the Jensen model uses the linear momentum theory, it is derived by conserving the momentum downstream of the turbine and only the momentum is used to approximate the wind spread and velocity behind the wind turbine [12]. Because this model is based on the assumption that the wake is turbulent and that tip vortices are neglected, this wake model is only applicable in the far wake region, being that it is not capable of accurately modelling the near wake of the wind flow [17]. The inputs needed to operate the Jensen model are the free stream velocity (𝑒0), the diameter of the turbine (𝐷1), the thrust coefficient (𝐢𝑇) and the wake decay constant (π‘˜π‘€). A representation of this model in shown in Figure 11. Figure 11 – Jensen Wake Model scheme [16] As shown in Figure 11, the wake decay constant (π‘˜π‘€) is the slope or rate of increase in the diameter of the wake. This constant can be calculated using a simplified equation: π‘˜π‘€=0.5 ln(𝑧 𝑧0) (15) where 𝑧0 is the terrain roughness and 𝑧 is the turbine hub height. Because the wake decay constant is an empirical constant which takes into account many parameters such as ambient turbulence intensity, turbine-induced turbulence and atmospheric stability, usually default values are used for different situations. The wake decay constant was first compared to empirical data from a wind turbine cluster by I. KatiΔ‡, in which was assumed π‘˜π‘€ = 0.075 for upwind 19 turbines and π‘˜π‘€ = 0.11 for downwind turbines. Basically, a small constant gives a large power reduction in a narrow zone, whereas a large value gives a smaller reduction in a wider zone [11]. Even though it is possible to calculate this parameter, it depends on multiple factors. Because of this, the wake decay constant is usually assumed as the default values of π‘˜π‘€ = 0.075 for onshore cases and π‘˜π‘€ = 0.04 for offshore applications [17]. With the Jensen model, the velocity deficit caused by the rotor is described by the previously mentioned axial induction factor as a function of the thrust coefficient (Equation (13)). It is also possible to determine the evolution of diameter of the wake (𝐷π‘₯), as such: 𝐷π‘₯=𝐷1+2 π‘Ž π‘₯ (16) This wake model is capable of estimating the hub height wind speed downstream of a wind turbine (𝑒π‘₯) at a certain distance π‘₯ using Equation (17) [18]: 1βˆ’π‘’π‘₯ 𝑒0=1βˆ’βˆš1βˆ’πΆπ‘‡ (1+π‘˜π‘€ π‘₯ π‘Ÿ1)2 (17) where π‘Ÿ1 is the rotor radius. By rearranging Equation (17) in order of 𝑒π‘₯, it is possible to calculate all wind velocities for a range of values of π‘₯ (Equation (18)): 𝑒π‘₯(π‘₯)=𝑒0[1βˆ’1βˆ’βˆš1βˆ’πΆπ‘‡ (1+π‘˜π‘€ π‘₯ 𝑅)2] (18) Larsen Wake Mathematical Model The Larsen model, also known as the EWTSII model (European Wind Turbine Standards II), is considered a rather different wake model than the Jensen model since it is governed by the incompressible cylindrical Navier-Stokes equation, while the latter one uses energy derivation. This Larsen model assumes that a wind turbine acts as a perturbation on the mean flow and, according to Larsen himself, the apparent mean flow that is spreading downstream of a wind turbine is due to conventional shear and wake contributions, which expand in space and attenuate with the downstream distance from the turbine [19]. As well as in the Jensen model, the wake does not interact with the freestream around. In Figure 12 a demonstration of this model is shown. 20 Figure 12 – Larsen Wake Model scheme [16] It is important to note that for the Larsen model, the axial velocity (𝑒π‘₯) is denoted as a combination of the free stream velocity (𝑒0) and the velocity of the wake deficit (βˆ†π‘’) (Equation (19)): 𝑒π‘₯(π‘₯,π‘Ÿ)=𝑒0+βˆ†π‘’(π‘₯,π‘Ÿ) (19) where π‘Ÿ is the cylindrical coordinate of the wake. As seen in Equation (19), in the Larsen model, the wind velocity is a function of the position in the π‘₯ direction but also in the coordinate direction π‘Ÿ. It is important to note that the deficit in velocity due to the wake effects (βˆ†π‘’) is usually a negative number. According to this model, the wake radius (𝑅𝑀) is expressed as a function of the downstream distance π‘₯, using Equation (20): 𝑅𝑀(π‘₯)= (105 𝐢12 2 πœ‹ )1 5(𝐢𝑇 𝐴1 ( π‘₯+ π‘₯0))1 3 (20) To solve Equation (20), one must firstly calculate the unknowns 𝐢1 and π‘₯0. The term 𝐢1 is a constant related to the proportionality constant of the wake and the term π‘₯0 represents the location of the rotor. These two parameters can be calculated using Equations (21) and (22): 𝐢1=(π‘˜ 𝐷1 2)5 2 (105 2 πœ‹)βˆ’1 2(𝐢𝑇 𝐴1 π‘₯0)βˆ’5 6 (21) π‘₯0=9.6 𝐷1 (2 𝑅9.6 π‘˜ 𝐷1)3βˆ’1 (22) where 𝑅9.6 represents an approximation to the wake radius at a downstream distance of the wind turbine of 9.6 times the rotor diameter (9.6 𝐷1). 21 As seen in Equation (21), in order to get 𝐢1, the value of π‘˜ is needed. This value can be obtained through the use of 𝐢𝑇 and Equations (23) and (24). π‘š= 1 √1βˆ’πΆπ‘‡ (23) π‘˜=√(π‘š+1) 2 (24) For π‘₯0, the term 𝑅9.6 needs to be calculated, which can be determined with Equation (25): 𝑅9.6=π‘Ž1 𝑒(π‘Ž2 𝐢𝑇2+π‘Ž3 𝐢𝑇+π‘Ž4)(𝑏1 πΌπ‘Ž+1)𝐷1 (25) where πΌπ‘Ž is the ambient turbulence intensity and π‘Ž1 , π‘Ž2 , π‘Ž3 , π‘Ž4 and 𝑏1 are coefficients that are determined empirically as shown in Table 2. Table 2 – Larsen model coefficients [19] π’‚πŸ π’‚πŸ π’‚πŸ‘ π’‚πŸ’ π’ƒπŸ Coefficient Values 0.435449861 0.797853685 -0.124807893 0.136821858 15.6298 By means of the Equations (20) through (25), and by Equation (26), it is possible to calculate the velocity deficit along the π‘₯ direction of the flow. βˆ†π‘’(π‘₯,𝑅𝑀)=βˆ’π‘’0 9(𝐢𝑇 𝐴1 ( π‘₯+π‘₯0)βˆ’2)1 3 (𝑅𝑀3 2 (3 𝐢1 𝐢𝑇 𝐴1 ( π‘₯+ π‘₯0))βˆ’1 2βˆ’(35 2 πœ‹)3 10(3 𝐢12)βˆ’1 5)2 (26) Finally, with Equation (19) and the values of the velocity deficit for each distance π‘₯ downstream the wind turbine, one can calculate the wind velocity along the flow of the turbine. 2.5 Wind Numerical Modelling Review In Table 3 and Table 4, a summary about the technical aspects of the CFD simulations of various documents is presented. 22 Table 3 – Wind Simulations Review Author Objective Type of Terrain/Scale Key Findings Validation Palma et al. 2008 [20] Provide a global view of the wind flow over a cliff, enabling the identification of separated flow regions, clearly unsuitable for installation of wind turbines, with the use of CFD techniques. Narrow piece of land. The map of the terrain presents contour heights at every 10m with a domain of 7,000m x 5,000m, with a top boundary set at 1,500m. z0land=0.03m; z0sea=0.0002 m ● The results favour the usage of 3D nonlinear (CFD) models as a complement to simpler models developed for wind flows over simple orography since they revealed aspects left unnoticed by more traditional approaches. Field measurements taken with sonic and cup anemometers. Zhang, 2009 [5] Evaluate the CFD prediction of ABL flow field over different terrains by studying aspects such as viscous model, wall functions, inlet wind velocity profile and top boundary condition. Flat terrain with a computational domain of 10,000m x 1,000m with a height of 500m. The interval size of the mesh is 100m. z0=0.03m ● A suitable fineness of vertical mesh is important to get a flow closer to homogenous one. ● Setting the roughness height of the terrain as 20 times the roughness length improves the simulation but this value shouldn’t be larger than the distance from the wall to the first cell centre. - Prospathopoulos et al. 2010 [21] Predict the power production from entire wind farms in flat and complex terrain using the actuator disc approach. The terrain is flat and the computational domain is extended 20D downstream in the axial direction and 10D off the rotor planes in the lateral direction. ● Wind turbines are modelled as momentum absorbers by means of their thrust coefficient using the actuator disc approach. Measurements of a large wind farm Parente et al. 2011 [22] Develop an improved k-Ξ΅ turbulence model for the numerical simulation of neutral ABL flows, with arbitrary sets of fully developed inlet conditions. Flat terrain with a bluff-body. ● Results indicate the capability of the approach on ensuring a homogeneity of velocity and turbulent quantities throughout an empty computational domain. Wind tunnel data Kim et al. 2012 [23] Predict wind flow around a small hill in order to accurately predict forest fire spread. Small hill covered with low scrub and weeds (𝑧0=0.03 m). The domain has a 5m resolution. The first cell height of the domain is 2 m. All the cells are hexahedral and total number of cells is around 11 million. ● Atmospheric boundary condition for velocity and turbulence dissipation at inlet face is essential. Measured data from anemometers Balogh et al. 2012 [24] Present modifications of the wall function and turbulence model in order to retrieve an overall consistent treatment of the neutral ABL. The complex terrain study is the Askervein hill in a domain with 6,000m x 6,000m x 1,000m with the origin located at the hill top. ● The major influences on the results are due to appropriate inlet and wall conditions on the results. ● The results indicate satisfactory predictions for velocity whereas the performance of the model for turbulent kinetic energy appears inadequate Experimental data from the Askervein Hill. Avila et al. 2013 [25] Predict and optimize the production of wind farms using a CFD model that includes meteorological data assimilation, complex terrain and wind turbine effects. The terrain domain has an area of 20,000m Γ— 20,000m in the horizontal and 8,000m in the vertical. Element resolutions range from 20m in the inner farm zone to 300m in the buffer zone. ●The discretization of the Navier Stokes and k-Ξ΅ equations is stable and gives accurate results when comparing against experimental results. Experimental data 23 Table 3 – Wind Simulations Review (cont.) Author Objective Type of Terrain/Scale Key Findings Validation Sridhar, 2015 [6] Validate and compare three turbulence models (k-Ξ΅, k-Ο‰ and SST) for the wind flow over complex and 2D terrains. Terrain covered by mountains in Nygardsfjell, Norway. The dimensions of the computational domain are 2,000m x 1,000m x 2,000m. ● The flow separation regions were well captured by the models, however SST was capable of predicting the separating flows effectively compared to the other two models. Experimental data Lovatto et al. 2015 [26] Develop a CFD capable of overcoming the limitations of linear models on predicting the wind flow over complex terrains. The terrain is complex, and the computational domain is 10,000m x 10,000m x 2,000m ● The new methodology implemented is capable of determining an acceptable inlet velocity profile of the neutral ABL. Anemometer measurements Blocken et al. 2015 [27] Evaluate the accuracy of 3D steady RANS simulations with a revised k-Ξ΅ model for calculating mean wind-velocity patterns over natural complex terrains that can be used as input for real-time ship manoeuvring simulations. The complex terrain study is in Ria de Ferrol in Galicia, Spain. The computational geometry has a horizontal resolution of 10 m. The height of the domain in 1 km. ● The methodology used can provide an accurate assessment of the complex mean wind-flow the funnelling effect by the natural complex topography on the wind. ● CFD allows to provide whole-flow field data on the relevant parameters in all points of the domain. One-point field measurements, taken during 4 weeks Nedjari et al. 2017 [28] Study numerically the wind turbine wake evolution in wind farms over both complex and flat terrains, modelling the turbine with the actuator disc model. In the flat terrain, the domain has a width of 1 km with z0=0.01m. The complex terrain, with a domain of a length of 28D and a height of 8D, involves variation in the domain bottom, with a minimum elevation of 340m and a maximum of 400m. ● The hybrid method (CFD+AD) used gave satisfactory wake results even in the near wake region. ● The terrain effects on the wake are reduced at the highest hub level with symmetrical wake sizes downstream the rotor. Nibe experimental data Liu at al. 2017 [29] Study and validate the generic behaviour of the wake effect of a wind turbine in complex terrain in a qualitative way rather than providing a detailed expression of the actual wind farm. The complex terrain is a mountainous area of southwest China. The computational domain has an area of 3,000m x 2,000m with a height of 20,000m. The ground is meshed with a first layer height of 5m and 10 layers in height direction with 1.2 growth ratio. ● The study proved that the steady CFD simulation with improved AD method was able to evaluate wind resource well and give good balance between computing efficiency and accuracy. ● The rotor is modelled by porous cells instead of the swept area of the rotor. Wind measurements taken using ground-based Doppler light detection and lidar instruments. Dhunny et al. 2017 [30] Perform CFD simulations around a complex terrain and investigate computational parameters to determine an accurate method to preview the wind flow. Complex terrain with forests and large mountains of the island of Mauritius. 𝑧0land=0.03 m; 𝑧0sea=0.0001 m ● With this study, some specific regions were determined to be viable for proper wind farming throughout the year. on-site measurements from nine meteorological stations through a two-year period. Sessarego et al. 2018 [31] Describe CFD simulations using AD+RANS of flows in a wind farm in a complex terrain and present comparisons of the computational results with utility scale field measurements. Complex terrain in Shaanxi, China. z0=0.1m. ● Results from the AD-RANS simulations show that this method can can reasonably predict the flow patterns and performance of the wind farm in a complex terrain. Data collected during 12 months from met masts and from wind turbines. 30 3.1.1 CFD Principles Every CFD study is comprised by three main elements [10]: β€’ Pre-processor: the user defines all the inputs of a flow problem such as the geometry/computational domain, the control volumes or elements (meshing), the physical phenomena that is being modelled, the fluid’s properties and the specification of the problem’s boundary conditions. β€’ Solver: in CFD, one of the numerical solution techniques available is the finite volume method where the numerical algorithm is solved by integrating the governing equations of the fluid flow over all the finite control volumes of the domain, by the conversion of the resulting integral equations into a system of algebraic equations (discretisation) and by finding their solution iteratively. β€’ Post-processor: a tool of CFD that allows for versatile data visualization such as vector and contour plots, streamlines and particle tracking which make the process of understanding and interpreting the results data easier and more intuitive. 3.1.2 Governing Equations of Fluid Flow Fluid flow is governed by mathematical statements that represent the basic physical principles which form the foundation of any fluid flow problem. These are the conservation laws of physics for an isothermal system: β€’ Conservation of the fluid’s mass in a certain control volume. β€’ Conservation of momentum specified in Newton’s second law. It is important to note that this work was made with the governing equations of the fluid flow being written in the Eulerian frame of reference, in which the properties of the flow are determined based on an infinitesimally small control volume. This means that instead of following a certain particle throughout the flow and getting the results for this specific particle, the Eulerian approach follows points in a controlled space, getting the results for this specific points. The control volume is fixed and allows the fluid to flow through its boundaries and its reference is usually represented as a small element of fluid with sides 𝛿π‘₯, 𝛿𝑦 and 𝛿𝑧, just as shown in Figure 13. 31 Figure 13 – Control volume of a fluid element for conservation laws [37] Mass Conservation The mass of a fluid in a certain control volume needs to be conserved, meaning that there must exist a balance between the mass transfer across the boundaries. Hence, the variation rate of the mass in the control volume must be equal to the mass inflow rate minus the mass outflow. Mathematically, this translates to: πœ•πœŒ πœ•π‘‘+div(𝜌U 󰇍 󰇍  )=0 (27) Equation (27) is the unsteady three-dimensional continuity or mass conservation equation for a compressible fluid where 𝜌 is the density and U 󰇍 󰇍  is the velocity vector. For an incompressible fluid, density is considered constant, and the continuity equation becomes: div(𝜌U 󰇍 󰇍  )=0 (28) Momentum Conservation Newton’s second law states that the acceleration of an object depends on the mass of the object and the amount of force applied. This law is mathematically translated to: π‘Žξ¬¦=𝐹 π‘š ↔𝐹=π‘šπ‘Žξ¬¦ (29) When considering the forces applied on the fluid particle, there are two types of forces: β€’ Surface Forces: pressure, viscous and gravity forces. β€’ Body forces: centrifugal, Coriolis and electromagnetic forces. Usually in practice, the surfaces forces contributions are highlighted as separate terms in the momentum equation and the effects of body forces are used as source terms. Considering that acceleration is the rate of change in velocity, one can affirm that: 32 𝐹=π‘š π‘‘π‘ˆ 󰇍 󰇍  𝑑𝑑 (30) This physically means that the net force on a fluid’s particle is equal to the momentum variation rate of that same particle. The conservation of momentum equations are applied for all three component directions π‘₯, 𝑦 and 𝑧. This principle is mathematically translated as: β€’ π‘₯ - component of the momentum equation: πœŒπ‘‘π‘’ 󰇍  𝑑𝑑=πœ•(βˆ’π‘+𝜏π‘₯π‘₯) πœ•π‘₯ +πœ•πœπ‘¦π‘₯ πœ•π‘¦ +πœ•πœπ‘§π‘₯ πœ•π‘§ +𝑆𝑀π‘₯ (31) β€’ 𝑦 - component of the momentum equation: πœŒπ‘‘π‘£ξ¬¦ 𝑑𝑑=πœ•πœπ‘₯𝑦 πœ•π‘₯ +πœ•(βˆ’π‘+πœπ‘¦π‘¦) πœ•π‘¦ +πœ•πœπ‘§π‘¦ πœ•π‘§ +𝑆𝑀𝑦 (32) β€’ 𝑧 - component of the momentum equation: πœŒπ‘‘π‘€ 󰇍 󰇍  𝑑𝑑=πœ•πœπ‘₯𝑧 πœ•π‘₯ +πœ•πœπ‘¦π‘§ πœ•π‘¦ +πœ•(βˆ’π‘+πœπ‘§π‘§) πœ•π‘§ +𝑆𝑀𝑧 (33) where 𝑝 is the static pressure and πœπ‘–π‘— are the viscous stresses on each respective direction. These equations represent explicitly the conservation of momentum for the surface applied forces however, as it was previously explained, body forces are considered by inserting a force source factor, represented as 𝑆𝑀 [37]. 3.1.3 ANSYS Fluent For this study, the CFD software that is used is ANSYS Fluent. This software is a leading generalpurpose CFD solver used in many fields, and it is capable of solving the governing equations for fluid flow using a numerical technique called the finite volume method. A wide range of physics can be included in ANSYS Fluent such as turbulence, chemical reactions, non-Newtonian flows, deforming boundaries and many others. 33 3.1.4 Finite Volume Method The finite volume method, or FVM, is a numerical technique used to solve the partial differential equations of the fluid flow in the form of algebraic equations, on the basis of conservation laws. The basic idea of this method is to divide the domain into a finite number of elements, subsequently used to build finite or control volumes, and then apply conservation to each volume where the governing equations are discretized and solved using an iterative technique. An obvious virtue of FVM is the conservation property, meaning that the numerical flux is conserved from one discretization cell to its neighbour and that the flux entering a given volume is identical to that leaving the adjacent volume. In contrast to the finite element method, which does not necessarily conserve quantities for each finite element, the finite volume method is considered quite appealing when modelling cases involving fluid mechanics or heat and mass transfer since these are problems where the flux is of utmost importance. This also implies that the discretization is performed on the local balance equations rather than the partial differential equations, implicating that the fluxes on the boundaries of the control volumes are discretized rather than the continuous differential operator. Because of the reasons stated, the FVM has proved to be very suitable for CFD applications [39]. 3.2 Turbulence Modelling In many engineering projects, the main goal of a CFD study is to get information that allows the user to better understand a certain aspect of the flow, heat transfer of other subject that might be in study. There are many ways of modelling turbulence in a flow but the choice for the suitable model comes with various factors such as the flow physics, the required accuracy level and the available computational time and resources [14]. In Figure 14 it is shown a comparison between the different turbulence models available in ANSYS Fluent and their comparison in terms of computational cost. As observed, the turbulence models are divided in three major groups: LES, DES and RANS Models. 34 Figure 14 – Turbulence models available in FLUENT [14] The Large Eddy Simulation (LES) provides an approach to the numerical treatment of turbulence by using a spatial filtering operation to separate the larger eddies from the smaller ones of the flow. The larger eddies are then explicitly computed in time-dependent simulations using β€œfiltered” Navier-Stokes equations and the universal behaviour of the smaller eddies are separated and modelled into the flow field. In summary, the essence of the LES simulations revolve around resolving more of the turbulence, so that the error introduced by turbulence modelling can be reduced [37][40]. Large Eddy Simulation studies of the ABL can provide a more accurate solution for the turbulent flow, when assuring that the range of resolved turbulent scales is sufficiently large and that the inflow conditions are well characterized. Nevertheless, LES simulations are one of the most computational expensive methods of all the CFD options in ANSYS Fluent. Therefore, simulating the ABL flow using this model is usually only done when the need for a crucial accuracy is of the most importance and when there is available computing time and equipment capable of handling this type of simulations [24]. Another available turbulent model is the Detached Eddy Simulation (DES), in which the unsteady RANS models are employed in the boundary layer, while the LES treatment is applied to the separated regions. For this reason, the DES models are often referred to as a hybrid between LES and RANS. In this model, the LES region is associated with the core turbulent region where large unsteady turbulence plays a dominant role. The RANS region is related to the near-wall regions of the simulations [41]. This model is not as demanding in terms of computational costs as the LES model since it works as a hybrid model, but it still requires a significant amount of CPU resources and therefore it is not common to run DES simulations for wind resource applications. The most common turbulence model in CFD practices for modelling the wind flow is the use of the well-known and documented equations of fluid flow, the Reynolds Averaged Navier-Stokes equations, 35 or RANS model. The RANS technique has been widely used to study wind turbines and wind farms flows along the past few years. It is considered a simpler model which gives a good relation between accuracy and computational demands, though it is not as accurate as the LES or DES models. This turbulent model works by time averaging the Navier-Stokes equation, as will be better explained in the next section. This averaging causes the appearance of turbulent stresses that can complicate the fluid flow problem. As the number of equations of the turbulence model is increased, the better the turbulent stresses are solved, and the fluid flow becomes better described. With this in mind, RANS models can range from very simple algebraic relations and increase in fidelity and complexity as the number of equations used is increased, as shown in the scheme from Figure 14. Usually, the most common and standard approximation for turbulent stresses are the two equations turbulence models π‘˜πœ€ and π‘˜-πœ”. For this work, the RANS turbulence model is applied to the CFD simulations since it is the most common model used in wind-based simulations as well as it gives a good approximation between computational cost and accurate results. 3.2.1 Reynolds-Averaged Navier Stokes Equations (RANS) The Equations (31) to (33) previously presented, also known as the Navier-Stokes equations, govern the pressure and velocity of a fluid flow. In a turbulent flow, it is common to use the Reynolds Averaged Navier-Stokes (RANS) equations. Usually, it is not essential to get a completely detailed flow with turbulent fluctuations. To achieve an acceptable solution between accurate results and computational demands, time-averaged calculations of the properties of the flow are usually performed. Turbulence is inspiringly complex, consisting of a superposition of swirls called eddies that interact nonlinearly to create quasi-random, chaotic motions. An infinite number of equations is required to fully describe these motions. Hence, a complete solution has not been found. But when averaged over many eddies, it can be observed persistent patterns. In Reynolds averaging, the equations are based on the decomposition of two parts and the solution variables are decomposed into the mean (time-averaged) and fluctuating components. For the velocity: 𝑒𝑖=π‘’οŒ€π‘–+𝑒𝑖′ (34) where π‘’οŒ€π‘– is the mean part and 𝑒𝑖′ is the fluctuating part of the instantaneous velocity 𝑒𝑖 in the 𝑖-direction. 36 Similarly, for pressure and other scalar quantities such as energy or species concentration: πœ™=πœ™οŒ€+πœ™β€² (35) where πœ™ corresponds to a specific scalar. Averaging the Navier-Stokes equations yields ensemble-averaged momentum equations, also known as the Reynolds-Averaged Navier-Stokes (RANS) equations. These can be written in the cartesian tensor form as [40]: πœ•πœŒ πœ•π‘‘+πœ• πœ•π‘₯𝑖(πœŒπ‘’π‘–)=0 (36) πœ• πœ•π‘‘(πœŒπ‘’π‘–)+πœ• πœ•π‘₯𝑗(πœŒπ‘’π‘–π‘’π‘—)=βˆ’πœ•π‘ πœ•π‘₯𝑖+πœ• πœ•π‘₯𝑗[πœ‡(πœ•π‘’π‘– πœ•π‘₯𝑗+πœ•π‘’π‘— πœ•π‘₯π‘–βˆ’23π›Ώπ‘–π‘—πœ•π‘’π‘™ πœ•π‘₯𝑙)]+ πœ• πœ•π‘₯𝑗(βˆ’πœŒπ‘’π‘–β€²π‘’π‘—β€²       ) (37) These equations have the same general form as the instantaneous Navier-Stokes equations but now the velocities and other solution variables represent time-averaged quantities. Due to this averaging, extra terms appear due to the interaction between various turbulent fluctuations. These terms are the called Reynolds stresses (βˆ’πœŒπ‘’π‘–β€²π‘’π‘—β€²       ) and they must be modelled in order to close and solve Equation (37) [40]. The problem related to solving the turbulence comes from the need for modelling the time averaged fluctuating velocity components, the Reynolds stresses, in the momentum Equation (37). Aiming to close this problem, various turbulence models apply some extra transport equations to account for turbulence using empirical constants and information about the mean flow [14]. According to [37] and [42], RANS models computing resources required for reasonably accurate flow computations are modest, which made this approach the backbone of engineering flow calculations over the last few decades. 3.2.2 π‘˜-πœ€ Model The π‘˜-πœ€ turbulence model belongs to the RANS family of turbulence models and it is the most common way to simulate the mean flow characteristics for turbulent flow conditions because of its robustness, economy and reasonable accuracy, This is a semi-empirical model that relies on phenomenological considerations and empiricism and uses the assumptions that the flow is fully turbulent and that the effects of molecular viscosity are negligible. It is also a two-equation model which means that besides solving the conservation equations, the model also solves two separate transport equations which account for effects such as convection and 37 diffusion of turbulent energy: one equation for turbulent kinetic energy π‘˜ (which represents the energy in the turbulence) and one equation for the turbulent dissipation rate πœ€ (which represents the rate of dissipation of turbulent kinetic energy). There are three distinct variations of the π‘˜-πœ€ model: Standard, Realizable and RNG. The selection of these depends on the problem and each has an ideal performance under certain specific conditions of the fluid flow. For the purpose of this work, the Standard π‘˜-πœ€ model was the method chosen to simulate turbulence of the fluid flow. This is only valid for fully turbulent flows, which verifies with the problem being studied. With the use of the Standard π‘˜-πœ€ model, the values of π‘˜ and πœ€ can be obtained with the use of the following transport equations [5][40]: πœ• πœ•π‘‘(πœŒπ‘˜)+πœ• πœ•π‘₯𝑖(πœŒπ‘˜π‘’π‘–)=πœ• πœ•π‘₯𝑗[(πœ‡+πœ‡π‘‘ πœŽπ‘˜)πœ•π‘˜ πœ•π‘₯𝑗]+πΊπ‘˜βˆ’πœŒπœ€+π‘†π‘˜ (38) πœ• πœ•π‘‘(πœŒπœ€)+πœ• πœ•π‘₯𝑖(πœŒπœ€π‘’π‘–)=πœ• πœ•π‘₯𝑗[(πœ‡+πœ‡π‘‘ πœŽπœ€)πœ•πœ€ πœ•π‘₯𝑗]+πΆπœ€1πœ€π‘˜πΊπ‘˜βˆ’πΆπœ€2 πœŒπœ€2 π‘˜+π‘†πœ€ (39) where πΊπ‘˜ is the production of turbulence kinetic energy; πΆπœ€1 and πΆπœ€2 are constants; πœŽπ‘˜ and πœŽπœ€ are respectively the turbulent Prandtl numbers for π‘˜ and πœ€ and π‘†π‘˜ and π‘†πœ€ are user-defined source/sink terms. The turbulent/eddy viscosity is computed with the used of π‘˜ and πœ€: πœ‡π‘‘=𝜌 πΆπœ‡π‘˜2 πœ€ (40) where πΆπœ‡ is a model constant. The values of the previous constants πΆπœ€1, πΆπœ€2 and πΆπœ‡ and the Prandtl numbers πœŽπ‘˜ and πœŽπœ€ for the Standard π‘˜-πœ€ model are shown in Table 5. When dealing with an atmospheric boundary layer problem, some modifications of the turbulence model must be done to account for neutral atmospheric flow. Assuming a neutral atmospheric condition, the ideal turbulence model constants for an atmospheric flow are shown in the Table 5. The Modified Atmospheric π‘˜-πœ€ model constant πœŽπœ€ is calculated through Equation (41). πœŽπœ€=πœ…2 (πΆπœ€2βˆ’πΆπœ€1)βˆšπΆπœ‡ (41) where πœ… is the von KΓ‘rmΓ‘n constant (πœ… = 0.4). 38 Table 5 – Turbulence model constants [36] π‘ͺ𝝁 π‘ͺ𝜺𝟏 π‘ͺ𝜺𝟐 πˆπ’Œ 𝝈𝜺 Standard 0.090 1.44 1.92 1.00 1.300 Modified: Atmospheric 0.033 1.44 1.92 1.00 1.835 3.3 Solver Configuration The solver configuration was identically set throughout all the CFD simulations that were performed for this work. A setup with double precision in a 3D computational domain was used in the simulations since the geometries possess unequal length scales (finer mesh around the rotor and near the ground and coarser mesh towards the top of the domain). The solution method is divided in two sections: the solver scheme selection and the spatial discretization. 3.3.1 Solver Selection There are two distinct types of solvers in ANSYS Fluent: the pressure-based and the density-based solvers. The density-based method is usually employed for compressible flows, whereas the pressurebased solver is habitually used for incompressible flows, therefore it was the option that was selected. With the pressure-based algorithm, the velocity field is computed from the momentum equations and the pressure field is found from a pressure (or pressure correction) equation. This equation is derived from the continuity and from the momentum equations so that the velocity corrected by the pressure satisfies the continuity. This whole process involves iterations where the set of governing equations are solved repeatedly until the solution converges. Within this solver there are two different types of algorithms: the segregated and the coupled. In the segregated algorithm, the governing equations are solved sequentially and each governing equations, while it is being solved, is decoupled/segregated from the other equations. It is a memory-efficient method since it requires only one discretized equation to be stored in memory each time, however the solution convergence is relatively slow. The coupled algorithm solves simultaneously a system of equations consisting of the momentum and pressure-based continuity equations, while the remaining equations (energy, turbulence and other scalar equations) are solved in a decoupled way just like in the segregated algorithm. Because the momentum and continuity equations are solved in a coupled manner, the solution 39 convergence is faster rather than with the segregated form, however the memory requirement increases by 1.5 - 2 times since the system of all momentum and pressure-based continuity equations need to be stored in the memory when solving the pressure and velocity fields [40]. For this work, the coupled method is employed for the pressure-velocity coupling due to its implicit nature, being that it is more stable than the segregated solver and it will produce results without divergence, insuring both accuracy and convergence of the solution. Besides that, some tests were performed between the usage of the segregated algorithm and of the coupled algorithm and the latter one proved to give more accurate and realistic results for the problem being studied. With the coupled algorithm, each iteration consists of the steps illustrated in the Figure 15. Figure 15 – Overview of the pressure-based coupled algorithm (adapted from [40]) 3.3.2 Discretization Method Discretization methods allow to replace a continuum with a finite set of points and are used to turn a continuous function into a discrete function, where the solution values are defined at each point in space and time. The spatial discretization of the solution can be divided into the gradients, the pressure, the momentum, the turbulent kinetic energy, and the turbulent dissipation rate. To each of these parameters needs to be attributed a fitting preference depending on the problem being studied and on the order of accuracy needed for the solution. 46 At the downstream end of the fetch, the outlet face was created as a pressure-outlet boundary with the restriction to prevent reverse flow. The actuator disc representing the wind turbine is made with a circle with zero thickness as shown in the Figure 17. For this study, the tower structure is neglected, and the disc is modelled as a porous jump, as will be better explained in section 3.7. 3.6 Wall Functions When modelling the ABL, the most critical aspects when accounting for inputs for the simulations are the turbulence model, the inflow conditions and the representation of the ground. These topics allow to develop accurate and reliable predictions of the related atmospheric processes. In the previous chapters it was presented the simulation’s turbulence model as well as respective boundary conditions. Hence, to get a successful model of the ABL, now an accurate consideration of the ground surface effect on the flow needs to be addressed. The ground of the terrain is modelled in ANSYS Fluent as a β€œwall” boundary condition and with an equivalent grain roughness 𝐾𝑠, or roughness height, which is used to express the effect of the ground roughness on the flow. This effect is represented with the use of wall functions that are applied to the β€œwall” boundary condition in order to calculate the scalars of the wall-adjacent cells. For this specific work, the Standard wall function was deployed at the ground of the domain. In this type of CFD simulations, where an accurate description of the flow is necessary, some requirements need to be satisfied. Some basic conditions are reviewed by Blocken in [47], in which the author stated the following: 1. A high enough mesh resolution in the vertical direction close to the ground surface; 2. A horizontally homogeneous approach flow; 3. A distance 𝑧𝑝 from the centre point of the wall-adjacent cell to the wall that is larger than the physical roughness height 𝐾𝑠: 𝑧𝑝>𝐾𝑠; 4. The relationship between the physical roughness height 𝐾𝑠 and the aerodynamic roughness length 𝑧0 must be known. The first requirement is very important for all studies involving external flows because the shear forces between the ground and the wind are higher closer to the surface, in which the land forces the wind into a logarithmic profile. 47 The second topic refers to the absence of streamwise gradient in the flow, specially up to the location being studied, in this case, the actuator disc. The third parameter implied that it is not physically meaningful to have grid cells with centre points within the roughness height. The following is stated by Ansys Inc. in [41]: β€œIt is not physically meaningful to have a mesh size such that the wall-adjacent cell is smaller than the roughness height. For best results, make sure that the distance from the wall to the centroid of the walladjacent cell is greater than 𝐾𝑠. ” As shown in Figure 18, 𝑧𝑝 represents the height of the cell centroid. The requirement implies that this height must be higher than the roughness height of the terrain ( 𝑧𝑝>𝐾𝑠). Figure 18 – Schematic of the wall-adjacent cell [44] The fourth establishes a relation between the roughness height 𝐾𝑠 and the corresponding aerodynamic roughness length 𝑧0. The roughness length is the height at which the velocity in Equation (48) is zero and the roughness height is a geometric parameter related to the roughness element height, which is why it is also called β€œequivalent sand-grain roughness”, as mentioned before. The wall functions that are used in ANSYS Fluent consider the roughness height 𝐾𝑠 as an input rather than the roughness length 𝑧0. With this in mind, in order to convert 𝑧0 into 𝐾𝑠, the following expression can be used: 𝐾𝑠=𝐸 𝑧0 𝐢𝑆 (51) where 𝐢𝑆 is a roughness constant with a default value of 𝐢𝑆 = 0.5 and 𝐸 is an empirical constant (𝐸= 9.793) [47]. For a realistic simulation of the effects of the ground in the fluid flow, all the presented requirements should be satisfied in the upstream and downstream regions of the domain. However, it is generally impossible to satisfy all four requirements simultaneously. This is due to the fact that the fourth requirement together with the third requirement implies a very large control volume, which enters in 48 conflict with the first requirement, which states a high mesh resolution hence a small height of the cell centroid (𝑧𝑝). More about this problematic scenario was investigated by Blocken in [46]. This problem only arises in the cases where the value of 𝑧0 is very high, causing the value of 𝐾𝑠 to also be very high. With this in mind, all simulations done for this work will take into account the requirement of 𝑧𝑝>𝐾𝑠 and also work with height of 𝑧0 that allow for a value of a first cell height of less than one meter (2 𝑧𝑝 β‰ˆ1 m), thus complying with the first requirement. A point that must also be addressed is the 𝑦+ value. The 𝑦+ value is a non-dimensional distance that is usually important to determine the proper size of the cells near the wall and consists in the ratio between the turbulent and laminar influences in a cell. The higher the first height cell, the higher the 𝑦+ value will be. Usually, this value must be in the range of 30 to 300 for a consistent and accurate application of the logarithmic law of the wall. However, when modelling the ABL with respect to the previous four requirements, the 𝑦+ for common combinations of roughness length (𝑧0) and friction velocity (π‘’βˆ—) surpasses the range previously mentioned. However, this is not a limitation to the work since this problem is often ignored in wind engineering simulations. As such, Blocken and Hargreaves stated the following in [44]: β€œ(…) the values of 𝑦+ produced by this approach are in excess of 10,000. (…) This is well outside the range of 30 to 300. (…) It is a fact often ignored by computational wind engineers and one that suggests that there may be a need for an alternative definition of 𝑦+ in the modelling of the ABL when rough walls are used” 3.7 Rotor Modelling The rotor can be simulated using several different methods, each with its specifications, assumptions, and implementations. The rotor can be modelled using various techniques such as the Single/Multiple Rotating Reference Frame Models (SRF/MRF) and the Sliding Mesh Model (SMM), the Blade Element Model (BEM) and the Actuator Disc Model (ADM) [48]. The SRF, MRF and SMM models are mainly recommended for blade design purposes. These provide details of the flow all around the blades including the tips and in the near wake. Since they are full-blade geometry-resolving models, each blade is individually meshed, and no advanced knowledge of the blade aerodynamics is necessary. The SRF and MRF models apply source terms to model the rotational effects while in the SMM model, the blade meshes are rotated in real time proving a time- 49 accurate solution. Because of their complexity, these models require complex meshing and are computationally expensive and also require an axisymmetric domain and boundary conditions. The BEM is based on the Blade Element Theory in which it applies a momentum source to the Navier-Stokes equations to model the rotor-airframe interaction. This method models the wind turbine blades in the domain by imposing a body force on the fluid equal in magnitude to the lift and drag, but with opposite signs, inside the rotor disc domain that is represented by a fluid sub-domain. The lift and drag are averaged over a full blade revolution with the purpose of calculating the source term in each cell of the numerical discretization. The BEM allows for the model to not use an actual geometry of the turbine blades and a high-resolution mesh around it, simplifying the model and modelling the wake of the rotor in a proper way, giving rather accurate results. The ADM is a model based on the Linear Momentum Theory and it has become one of the most utilized methods for simplified studies of the flow field in horizontal axis wind turbines. With this model, the aerodynamic effects of the turbine rotor are represented by a pressure drop over an infinitely thin disc with the same swept area as the real rotor. With this model there is no need to fully resolve the blades of the turbine, being that the turbine disc is modelled as a porous material that supports pressure but not velocity discontinuities. The ADM allows for a simple but robust representation of the wind turbine that allows for an accurate calculation of the flow around the wind turbine and in the far wake with low computational costs, even lower than the BEM. These are the three major models on how to represent the turbine rotor using the RANS simulations. The Rotating Reference Frame Model allows for a detailed flow field study, specially at the root, blade tip and near wake. The BEM and the ADM do not reproduce very well the near region of the wake but are capable of accurately predict the velocity deficit in the far wake [48]. In Figure 19 it is shown a diagram comparing the presented models, showing that the complexity of the inputs and outputs vary depending on the model. Since the focus of this study is the far wake and the flow of the wind around wind turbines, the best choice in terms of accurate results and computational demands is the ADM. It gives good results for the far wake, where the individual presence of blades become small and therefore can be neglected. The most significant benefit is the reduction in computational expense especially for multiple rotor simulations. It is also important to note that the tower of the wind turbine is not being considered in the geometry in order to simplify the simulations [49]. 50 Figure 19 – Diagram comparing the different methods to model a wind turbine rotor including their inputs and outputs [48] Porous Media in the Actuator Disc Model The actuator disc is represented in the computational domain as thin disc with the same swept area as the real rotor. To represent the discontinuity caused by the wind turbine, this disc is defined as a porous jump boundary condition. The porous jump is a simplified 1D momentum sink based on velocity (pressure-drop) characteristics. The pressure change is defined as a combination of Darcy's Law and an additional inertial loss term, as defined by: βˆ†π‘=βˆ’(πœ‡ 𝛼𝑒1+𝐢212πœŒπ‘’12)βˆ†π‘š (52) where 𝛼 is the permeability, 𝐢2 is the pressure jump coefficient, βˆ†π‘š is the depth of the porous media, πœ‡ is the fluid dynamic viscosity, 𝑒1 is the velocity normal to the porous face (velocity at the actuator disc, calculated using Equation (9)) and 𝜌 is the air density. In Equation (52), the first term of the right-hand side represents the viscous losses and the characterization of the fluid flow through a porous medium using Darcy’s law. The second term of the right-hand side is the inertial losses term induced by the movement of the flow through the porous medium. These two terms combined produce a change in pressure to the flow, creating a momentum deficit that evolves into the far wake, reducing the energy in the flow. It is also important to note that the pressure drop value given by Equation (52) is always negative [12][41]. 51 To correctly define the porous jump, the three coefficients 𝛼, 𝐢2 and βˆ†π‘š need to be determined. For the sake of this work, βˆ†π‘š is assumed as one meter. It is recommended to determine the porous coefficient with the use of experimental pressure data [41]. Since there is no available experimental data for the purpose of this work, linear momentum can be used to approach the pressure drop value. By paying close attention to Equation (52), it can be shown that it follows a second order trend. Considering a second order polynomial that relates the pressure drop with the free-stream velocity as seen in Equation (53), it is possible to assume that the first term of the right-hand side can represent the inertial losses and the second term the viscous losses. This is due to the fact that the second order term of Equation (53) can be set to the inertial loss term of Equation (52) since both have a second order velocity term. This also verifies for the first order term of Equation (53), that can be set to the viscous loss term of Equation (52) since both have a first order velocity term. βˆ†π‘=𝑋 𝑒02+ π‘Œ 𝑒0 (53) Thus, a system of equations can be constructed to solve the permeability and pressure jump coefficient: 𝑋 𝑒02=𝐢2 1 2 𝜌 𝑒12 βˆ†π‘š (54) π‘Œ 𝑒0=πœ‡ 𝛼 𝑒1 βˆ†π‘š (55) In this system of equations, the unknowns 𝑋 and π‘Œ must be discovered to calculate the values of 𝐢2 and 𝛼. For the process of stablishing the porous jump in the actuator disc, wind turbine data such as the rotor swept area, the free-stream wind velocity and the power coefficient are needed. Using the specifications of a certain wind turbine, it is possible to determine the axial induction factor (π‘Ž) through the use of Equation (12) and of the power coefficient (𝐢𝑃). Calculated the value of the induction factor, it is possible to determine the pressure drop in terms of the wind velocity with the use of Equation (56): βˆ†π‘=12𝜌 𝑒0 2(4π‘Ž(1βˆ’π‘Ž)) (56) With Equation (56), the pressures drop for a variety of free-stream velocities can be calculated. With these values, the pressure differences can then be plotted against their oncoming wind speeds to fit a second order polynomial. Once the coefficients for the polynomial regression are obtained, which correspond to 𝑋 and π‘Œ, Equations (54) and (55) can be solved to get the values for the permeability (𝛼) and for the pressure jump coefficient (𝐢2). 52 (This page was intentionally left in blank) 53 4. MODEL IMPLEMENTATION AND VALIDATION In this chapter, two simulations that allow to implement and validate the CFD procedure are explained, and the pre-processing and post-processing are thoroughly detailed. The simulations consist in a neutral atmospheric flow in a flat terrain and in an atmospheric flow with one wind turbine as an actuator disc. For each simulations the set-up data, the computational domain, the meshing process, the results and a final analysis is performed. It is important to note that the coordinate system presented in Figure 20 is employed in all simulations. As such, the π‘₯-direction is the domain length (flow direction), the 𝑦-direction is the domain height and the 𝑧-direction is the domain width. Figure 20 – Coordinate system employed in all simulations 4.1 Atmospheric Flow on a Flat Terrain For this simulation, the atmospheric flow of the wind will be analysed over a flat terrain with a certain roughness. The goal for this study is to investigate the consistence of an ABL profile of velocity and turbulence with the use of a two equation π‘˜-πœ€ turbulence model along with the standard wall function of the ANSYS Fluent and the aforementioned boundary conditions. 4.1.1 Computational Domain The domain for this investigation consists in a rectangular box as represented in the Figure 21. The dimensions of this structure corresponds to: β€’ π‘₯-direction = 5,000 m; β€’ 𝑦-direction = 500 m; β€’ 𝑧-direction = 100 m. 54 These dimensions allow for the study of different aspects. The length of the domain was modelled with a large distance to analyse the dissipation of the inlet effects and to ensure a fully developed flow toward the outlet. The height of the domain is set at 500 m so that it is possible to analyse the development of the logarithmic velocity profile in terms of vertical distance. In terms of lateral width, because there is no variation of the scalars in this direction, a rather small length was chosen. Figure 21 – Computational domain of the atmospheric flow simulation 4.1.2 Meshing Meshing is the process of generating a 2D or 3D grid in which the geometries are divided into several volumes that can be used to discretize a domain. The more detailed the mesh, the more accurate the CAD model will be represented, allowing for a higher fidelity and accuracy of the simulations. For this specific simulation, a structured mesh with hexahedral elements was constructed. Since the geometry is rather simple, the best option is to mesh with hexahedral elements in order to give the most accurate and precise solution and to also simply the problem, since this type of meshing method requires simpler computations. The mesh for the computational domain can be observed in Figure 22 and in Figure 23, contains 525,000 elements and has the following β€œedge sizing” methods, with a hard behaviour: β€’ π‘₯-direction: 500 divisions; β€’ 𝑦-direction: 200 divisions with a bias factor of 4; β€’ 𝑧-direction: 5 divisions. 55 Besides the β€œedge sizing” mesh methods, the mesh is also structured with the help of a β€œface meshing” function. Because the faces of the geometry are rectangular, this meshing technique enables the generation of a mapped mesh on the selected faces, in order to produce an ordered and high-quality mesh with the implementation of hexahedral meshing elements. Figure 22 – Mesh of the flat terrain computational domain Figure 23 – Demonstration of the bias factor that is refining the bottom of the domain As explained in chapter 3.6, the distance from the centre point of the wall-adjacent cell to the wall must he higher than the roughness height. As such, a geometric progression in the vertical grid direction was used by establishing a bias factor of 4 to verify a first height cell of β‰ˆ1 m. 62 ensures that the velocity is being preserved and not severely altered in a way that would produce invalid results. In Table 10 is shown the velocity deficits between the different length in study for various height values. Table 10 – Velocity deficit in percentages between π‘₯= 0 m, π‘₯= 500 m, π‘₯= 800 m and π‘₯= 1,000 m Height [m] Velocity [m/s] Error Between 𝒙 =0 m and 𝒙 =1,000 m 𝒙 = 0 m 𝒙 = 500 m 𝒙 = 800 m 𝒙 = 1,000 m 55 8.5 8.5 8.5 8.5 0.36% 100 9.1 9.1 9.1 9.1 0.30% 200 9.8 9.8 9.8 9.8 0.28% 300 10.2 10.2 10.2 10.2 0.22% 400 10.5 10.5 10.4 10.4 0.21% 500 10.7 10.6 10.5 10.5 1.46% This atmospheric flow simulation proved that the results are better maintained in a closer fetch that the entire domain of 5,000 m. As such, for the following simulations with the use of the actuator disc methodology, the domain considered possesses a shorter length in order to better maintain the scalar values. Velocity Contours and Vectors In the following Figure 30 and Figure 31 it is shown the velocity contours for the entire domain and the velocity vectors in some specific length distances, respectively. With the help of these illustrations, it is easier to understand the representation of the neutral atmospheric flow and consequently better comprehend how the flow evolves. Specially with the help of the velocity vector representation, it is clear that the implementation of the velocity profile as a logarithmic profile was successful and that the velocity near the ground tends to zero because of the shear forces caused by this wall. 63 Figure 30 – Velocity contours of the atmospheric flow Figure 31 – Velocity vectors of the atmospheric flow at π‘₯ = 0 m (left), π‘₯ = 2,500 m (centre) and π‘₯ = 4,000 m (right) 4.2 Atmospheric Flow with a Wind Turbine In this study, the atmospheric flow of the wind through a wind turbine modelled as an actuator disc is analysed. The goal is to create a rather simple and accurate method to simulate the flow around a wind turbine and study its pressure drop and velocity variations along the domain. The actuator disc is made using real parameters of a real wind turbine manufactured by Vestas. The CFD model also undergoes a grid dependency test in order to create an acceptable meshing as well as a validation procedure in which the simulations is verified using the mathematical models previously mentioned in the chapter 2.4.4. 64 4.2.1 Wind Turbine V42-600 kW In order to minimize the computational time to solve the CFD simulation, a rather small wind turbine was chosen. This decision was due to the fact that the area around the turbine needs to have a more refined mesh and smaller elements. If this structure was too big, the number of elements of the mesh would be too high. With a smaller turbine, theoretically the results will be the same and the computational cost will be lower. The wind turbine that was chosen to serve as model for this study was a Vestas V42-600 kW. This three bladed turbine is suited for wind sites with a maximum mean wind speed of around 10 m/s at hub height, with a maximum turbulence of 17%. It presents a rated power of 600 kW and the following wind speed conditions [51]: β€’ Cut-in = 4 m/s β€’ Rated = 16 m/s β€’ Cut-out = 25 m/s β€’ Survival = 52 m/s This wind turbine’s rotor is located at a hub height of 55 m and possesses a diameter of 42 m, with a swept area of 1,357 m2. More specifications of the wind turbine can be found at [52]. A picture of this turbine is presented in Figure 32. Figure 32 – Vestas V42-600 kW 65 The V42-600 kW power curve is based on measurements performed by Windtest, Tripod and Vestas and calculated with a mean density of air of 1.225 kg/m3. Figure 33 indicates what the electrical power output will be for different wind speeds and essentially captures the wind turbine performance. Figure 33 – Power Curve of V42-600 kW [51] In Figure 34, this wind turbine’s power coefficient in relation to different values of wind speed is presented. With this it is possible to determine that the highest value of 𝐢𝑃 for the V42-600 kW is 0.432. This means that for an oncoming wind speed of 8.5 m/s at the hub height, the turbine presents its higher efficiency of 43.2 %. Figure 34 – Power coefficient at different wind speeds [52] 66 4.2.2 Computational Domain To simulate the wind flow through a wind turbine, represented as an actuator disc, first the domain must be interpreted. The limits of domain consist in a rectangular box just like the previous simulation but now its dimensions are shorter in order to maintain the scalar variables (velocity, pressure and turbulent kinetic energy). The dimensions of this geometry consists of: β€’ π‘₯-direction = 2,000 m; β€’ 𝑦-direction = 300 m; β€’ 𝑧-direction = 500 m. These measurements are different from the previous simulation of the atmospheric flow. In terms of the π‘₯-direction, since the wind turbine will be located at a distance of π‘₯ = 800 m from the inlet, there is no need for such a far length in the π‘₯-direction. Nevertheless, some distance after the turbine is still needed to allow for the study of its wake. In consequence, the length of the domain was reduced to 2,000 m. Concerning the 𝑦-direction, there was also no need for a height as big as the one stipulated in the previous simulation considering that the hub height is located at 55 m from the ground. Thus, the height of the domain was reduced to 300 m. Regarding the 𝑧-direction, because the actuator disc diameter is 42 m, the width of the domain had to increase in order to fully describe the wake in this direction. Due to this, the width was increased to 500 m. In the Figure 35 is represented the computational domain for this study. Figure 35 – Computational domain of the simulation of the air flow through one wind turbine 67 As demonstrated in the previous image, the domain is divided in various sections and bodies. This is to allow for a better meshing technique and allow the creation of elements with better quality to provide better simulation results. At the mark of π‘₯ = 800 m is located the zero-thickness actuator disc. These geometry specifications can be better understanded through the use of Figure 36 and Figure 37. Figure 36 – π‘₯𝑧 plane of the computational domain Figure 37 – π‘₯𝑦 plane of the computational domain 4.2.3 Meshing The meshing procedure for the computational domain of this simulation was much more complex since a good mesh directly translates to more accurate results. The mesh can be observed in the Figure 38 and contains 4,189,150 elements with different bias factors in order to better refine the areas of most interest such as the actuator disc zone and the ground. 68 Figure 38 – Mesh of the domain of the wind through an actuator disc simulation As seen from Figure 39, the whole domain was divided in various sections to produce a structured mesh with hexahedral elements. Since the geometry is a relatively simple, these types of elements can be implemented and thus provide more accurate and better results. Figure 39 – Mesh of the 𝑦𝑧 plane of the computational domain 69 For the purpose of meshing the actuator disc itself, the geometry shown in Figure 40 needed to be created as to create a way to attribute meshing techniques (β€œedge sizings”) that could create an equal mesh all around the disc. Figure 40 – Mesh of the actuator disc As seen from Figure 41, a bias factor was also applied to the zone where the actuator disc is located (π‘₯ = 800 m) since this area was in need of being refined since this is a critial area for the study where there are substancial velocity and pressure variations. Figure 41 – Mesh of the π‘₯𝑦 plane of the computational domain As clarified in the chapter 3.6, the distance from the centre point of the of the wall-adjacent cell to the wall must he higher than the roughness height. As such, a bias factor was applied to the vertical grid near the ground to establish a first height cell of β‰ˆ1 m. In terms of mesh metrics, the skewness, the orthogonal quality, and the aspect ratio were analysed. Presented in Table 11 are the mesh metrics value for the mesh of this domain. 70 Table 11 – Mesh metrics of wind flow through an actuator disc computational domain Minimum value Maximum value Average value Skewness β‰ˆ 0 0.51 β‰ˆ 0 Orthogonal Quality 0.71 1 0.99 Aspect ratio 1.00 42.40 3.52 In terms of skewness, since it has a maximum value lower than 0.95, it presents a good skewness quality. Regarding the orthogonal quality, because it displays a minimum value greater than 0.15, it exhibits a very good orthogonal quality. Concerning the aspect ratio, taking into account that the flow is aligned along the stretched control volumes, it shows a minimum value of 1, a maximum of 42.4 and an average value of 3.52. Since only approximately 2,000 elements range from the values 30 to 42.4, the aspect ratio is considered acceptable. With the mesh metrics analysed, it can be stated that the mesh is well structured and defined for the problem to be simulated. 4.2.4 Fluent Set Up The inputs used for the simulation are the same as in the previous atmospheric flow simulation. The only difference is that the addiction of the actuator disc must be considered. The setup of the actuator disc is done by setting the disc with a boundary condition of β€œporous jump” and by using the strategy mentioned in the chapter 3.7. To define the β€œporous jump”, the coefficients 𝛼 and 𝐢2 need to be calculated. The thickness βˆ†π‘š is assumed as 1 m. As defined in the chapter 3.7, to calculate these coefficients some other values must first be known: β€’ Wind turbine data: o Rotor Diameter: 𝐷1=42 m o Swept Area: 𝐴1=1,357 m2 o Power coefficient: 𝐢𝑃=0.432 β€’ Air density: 𝜌=1.225 kg/m3 β€’ Dynamic viscosity: πœ‡=1.7894Γ—10βˆ’5 kg/mβˆ™s 71 β€’ Axial induction factor: calculated with the use of Equation (12) and the power coefficient value. For a 𝐢𝑃=0.432, the induction actor is π‘Ž=0.1492 β€’ Free-stream wind velocity: 𝑒0=8.5 m/s (at hub height) β€’ Velocity at the actuator disc: calculated with the use of Equation (9), the velocity at the disc is 𝑒1=7.23 m/s Following the methodology explained in the chapter 3.7, a plot that relates the pressure drop at the actuator disc with the respective free-stream velocity can be constructed. In Figure 42 is represented a plot for the evolution of the pressure drop at the actuator disc depending on the oncoming wind velocity for an ideal turbine and for the real wind turbine that is being modelled in this study. For the ideal turbine is used a 𝐢𝑃=16 27 and consequently an axial induction factor π‘Ž=1 3. As expected, the real pressure drop is lower than the ideal pressure drop since it considers a more realistic value of power coefficient. Figure 42 – Pressure drop across several oncoming wind velocities for an ideal wind turbine (red line) and for the real wind turbine in study (black line) With the plot of the real pressure drop for various values of wind velocity, it is possible to make a second-order polynomial regression and solve the Equations (54) and (55) with the use of the needed 𝑋 and π‘Œ coefficients ( 𝑋=0.311 and π‘Œ=7Γ—10βˆ’15). Finally, 𝛼 and 𝐢2 can be calculated and take the values of: β€’ 𝛼=2,174,887,886 m2 β€’ 𝐢2=0.70145 mβˆ’1 78 Annual Energy Output The annual energy output can be calculated with the use of Equation (1) and is calculated on the assumption that the availability of the wind is 100%. In order to solve that equation, the following parameters are needed: β€’ Rotor swept area: 𝐴1=1,357 m2 β€’ Power coefficient: 𝐢𝑃=0.432 β€’ Free-stream velocity (at hub height): 𝑒0=8.5 m/s β€’ Air density: 𝜌=1.225 kg/m3 Thereby, the power produced by the V42-600 kW would be around 220,5 kW, which translates to 1,931.7 MWh if accounting for a full year of production (365 days). With the technical data found in [52], this wind turbine has an annual energy output of 2,111.8 MWh per year. By comparing both results, it shows a power deviation of approximately 8.5%. 4.2.6 Grid Dependency Test The more refined the mesh is, the more accurate the results should become. Even though this sentence is a base rule in the fluid simulation sector, there is also a limit in how much refined a mesh should be. A mesh must be refined until the results do not change significantly and depend of the mesh size anymore. At a certain point, a refined mesh will just give very similar results with a much higher computational cost, and that is not efficient in terms of simulation resources. Due to this, a grid dependency test can be performed in order to discover the most balanced mesh in terms of good results and computational costs. A grid dependency test is a method used to get the optimal grid layout while taking into account the computational cost of a simulation. It allows to develop a mesh with the smallest number of cells while still producing acceptable and accurate numerical results. For this study, a grid dependency test was performed with the use of three different grid sizes: a standard mesh, a coarser mesh with a 15% decrease in the number of divisions and a finer mesh with a 15% increase in the number of divisions, without altering any of the bias conditions implemented. Consequently, the following table was created comparing the different grid dimensions. 79 Table 13 – Comparison between the theoretical Mesh Normal Coarse Fine Number of Elements 4,189,150 2,587,832 6,444,776 Number of Nodes 4,275,180 2,650,336 6,559,344 With the three distinct meshes constructed, an analysis of the velocity, pressure and turbulent kinetic energy values along the π‘₯-direction of the computational domain was performed to study the discrepancy in results and to evaluate if the results drastically vary between each grid. Table 14 – Maximum percentage variation in the velocity, pressure, and turbulent kinetic energy between the normal, coarse, and fine meshes Maximum variation between Normal and Coarse Meshes Normal and Fine Meshes Value Error Value Error Velocity [𝐦/𝐬] 0.008 0.10 % 0.009 0.11% Pressure [𝐏𝐚] 1.260 17.3 % 1.241 14.9 % Turbulent Kinetic Energy [π¦πŸπ¬βˆ’πŸ] 0.025 3.08 % 0.024 2.85% With these results it is possible to conclude that there is not much variation in the velocity and in the turbulent kinetic energy with the changes done in the different meshes. However, it is seen that the pressure has a variation of about 17 % and 15 % between the three meshes. Due to this, the normal mesh was utilized for the following studies and was used for the final simulation. 4.2.7 Validation of the CFD Model The validation of the CFD model is a very important step in order to check if the simulations being produced are accurate and are producing realistic results. Usually this step is performed using experimental data, in this case, data from a wind tunnel or from meteorological masts. Because there was no availability for this type of data for this research, the validation process is performed using mathematical and theoretical models. On this account, the Jensen and the Larsen models are the methods that allow for the validation of the CFD model in hand. As explained in Chapter 2.4.4, these models are only applicable for the far wake of the wind flow and they are not capable of accurately representing the near wake. Nevertheless, this is not problematic 80 since the goal of this study is to analyse the far wake of wind turbines and their overall impact on the wind flow. The Jensen model presents agreeable results to analyse the wind turbine wake in flat terrains in steady flows in terms of predicting the wind velocity at the centreline of the rotor in the far wake region. Therefore, by the application of the methodology explained in the Chapter 2.4.4, it is possible to determine the theoretical values of velocity for various distances downwind of the rotor. In Figure 50 can be seen a plot of the evolution of the wind velocity performed by the CFD simulation as well as predicted by the Jensen model. Figure 50 – Comparison between the velocity results from the Jensen model and from the CFD simulation As observed, this model fails to interpret the near wake region of the flow. However, in terms of the far wake, it is seen that both the model and the simulation present very similar results in terms of velocity. The easier way to better understand the differences in values of the Jensen model and the CFD simulation I through the calculation of the error, allowing to check the velocity deficit between both methods. This error percentage can be calculated with the following equation: Error=|Theoretical Value βˆ’ Simulation Value| Theoretical Value Γ—100 (57) With the use of the previous equations, the following plot in Figure 51 can be created relating both the CFD simulation and the Jensen model. This shows that the near wake region is very different 81 from both methods, with an associated velocity deficit of around 20%. When approaching the far wake it is shown that the error decreases to a value below 1%, which is very reassuring. Figure 51 – Error percentage between the Jensen model and the CFD simulation It is important to mention that in the previous plot, the error reaches zero at about π‘₯ = 1,165 m and then rises again. This is due to the fact that the error is presented as an absolute value and that, relative to the CFD model, the Jensen model underestimates the velocity from π‘₯ = 800 m to π‘₯ = 1,165 m and overestimates the velocity from π‘₯ = 1,165 m to π‘₯ = 2,000 m . The Larsen model is equal to the Jensen model in terms of what it can model but is considered to give a more accurate approximation of the flow field. The Larsen model is capable of modelling the far wake region in a neutral boundary layer and is governed by the Navier-Stokes equations rather than the stream tube theory, like the Jensen Model. As such, the Larsen model will give a better understating in how accurate the CFD model really is and is a considered a better option when aiming to calculate the velocity deficit between CFD simulations and mathematical models. By following the procedures detailed in Chapter 2.4.4, one can calculate the values of velocity for several distances downwind of the rotor. In Figure 52 can be seen a plot of the evolution of the wind velocity performed by the CFD simulation as well as predicted by the Larsen model. 82 Figure 52 – Comparison between the velocity results from the Larsen model and from the CFD simulation As observed from the previous comparison, it is clear that the Larsen model is incapable of interpreting the near wake region of the flow and, as the flow heads downstream, the results from both methods seem to have a constant velocity difference. This error can be better understood with the use of Equation (57) and through the plot of Figure 53. This shows that the velocity deficit between the Larsen model and the CFD model starts by being very large in the near wake and that, for the downstream region of the flow, the deficit is less than 5 % and tending to around 3 %, which is an acceptable value. Figure 53 – Error percentage between the Larsen model and the CFD simulation With these two different wake model analyses, it is possible to affirm that the CFD model and simulation gives accurate and realistic results with a very low error and deviation, making it capable of correctly modelling the wake effects provoked by the wind flow upon the contact with an actuator disc. 83 5. WIND TURBINES CFD ANALYSIS A wind farm, or wind park, is basically a group of wind turbines placed in the same area with the purpose of producing electricity. Theses parks can have massive dimensions, up to several hundred turbines, or be more modest and include ten or fifty turbines. Never minding the number of turbines, the placement of each of these structures is a crucial aspect to maximize the output of the wind farm. In order to maximize the amount of energy generated by a wind farm, the wind turbines are spaced between each other without substantially increasing the capital expenditures. If the spacing between the turbines is too high, the wind farm will occupy a larger area and the cable lengths connecting each structure to the electric grid will increase. If the spacing is too low, the downstream turbines will drastically be affected by the upstream ones causing a serious efficiency decay. As such, the spacing between turbines must be optimized in terms of compactness of the wind park and in terms of minimizing the energy loss due to wind shadowing from the upstream turbines. Not only these factors but safety must also be taken into account, since by spacing the turbines, more turbulence can be avoided and therefore prevent additional wear and tear [2]. The geometric layout of a wind farm can take many shapes. In these, the turbines can be positioned in a group formation, in a grid, or in a straight, curved or random line, as shown in Figure 54. Figure 54 – Placing layouts of wind farms in a line, in a grid or in a group [2] In a wind farm, the distancing between turbines is made dimensionless by the rotor diameter. Typically wind turbines are spaced by a minimum of six times their rotor diameter in the prevailing wind direction (6D in-line) and 4 times in the perpendicular direction (4D across). In Figure 55 it is shown an example of this separation. 84 Figure 55 – Grid layout of a wind farm with 6D spacing in the prevailing wind direction and 4D spacing in the perpendicular direction [2] For this study, two distinct simulations are performed: β€’ Case 1: Wind flow through two wind turbines spaced between each other 6D in-line; β€’ Case 2: Wind flow through two wind turbines spaced between each other 6D in-line and 4D across. 5.1 Computational Domain The geometries of both cases are similar to the previous simulations. The wind is flowing through a rectangular box domain and, to simulate the wake effects on the downstream turbines, additional actuator discs were added to the geometries. The dimensions of the case 1 geometry are: β€’ π‘₯-direction = 2,000 m; β€’ 𝑦-direction = 300 m; β€’ 𝑧-direction = 500 m; β€’ In-line spacing between the two actuator discs = 6D = 252 m. 85 The computational domain for the study regarding the wind flow through two wind turbines distanced in-line is represented in Figure 56, as well as red markings locating the position of the turbines. Figure 56 – Computational domain of case 1 The dimensions of the case 2 geometry are: β€’ π‘₯-direction = 2,000 m; β€’ 𝑦-direction = 300 m; β€’ 𝑧-direction = 458 m; β€’ In-line spacing between the two actuator discs = 6D = 252 m. β€’ Across spacing between the two actuator discs = 4D = 168 m. The computational domain for the study about the wind flow through two wind turbines distanced in-line and across is demonstrated in Figure 57, as well as the location of each turbine represented with a red marking. 86 Figure 57 – Computational domain of case 2 5.2 Mesh The mesh for the case 1 simulation contains 5,984,500 elements and has different bias factors associated in order to better refine the zones of the actuator discs and the ground. The same meshing methodology as the normal mesh mentioned in the previous grid dependency test was used for the meshing of the computational domain of case 1. In Figure 58 it is displayed the mesh for this problem. Figure 58 – Mesh of case 1 87 In Figure 59 it can be observed the front view of the domain’s mesh, in which it is easy to see the actuator disc cylinder and the ground more refined than the rest of the domain. Figure 59 – Mesh of the 𝑦𝑧 plane of the case 1 computational domain As demonstrated in Figure 60, there are two sections in the side view of the domain that are more refined than the rest of the grid. These areas mark the location of the actuator discs that are separated six times the rotor diameter between each other. Figure 60 – Mesh of the π‘₯𝑦 plane of the case 1 computational domain In terms of the case 2 simulation, a mesh with 6,715,890 elements was created in which some bias factors were applied as well to better refine the most critical areas for the study. The mesh can be seen in Figure 61. In Figure 62, it is displayed the front view of the domain with the two actuator discs distanced across four times the rotor diameter. 94 5.4.2 Turbines In-line and Across In the case 2 simulation, the wind is passing through two wind turbines distanced six times their rotor diameter in the wind direction line and four times the rotor diameter in the cross-wind direction. It is expected for the second wind turbine to not be as affected as in the case 1 simulation since it is not placed directly downstream the other turbine. As such, the effects of the wake will be less present in the oncoming wind on the downstream wind turbine. In terms of velocity, it is clearly seen in Figure 70 that the positioning admitted in terms of crosssection distance allowed for the downstream wind turbine to not be affected by the upstream wind turbine in terms of velocity of the wind at the centreline. As observed, the velocity profiles are similar for both actuator discs, allowing them to produce the same amount of power output since the oncoming wind direction isn’t affected by the first turbine. Figure 70 – Velocity at the centreline of the first and second turbine of the case 2 simulation The fact that the downstream wind turbine is not being influenced by the upstream one can easily be visualized in Figure 71, in which is displayed the velocity contours along the domain. Where it is seen the wake effects produced by each actuator disc and the fact that each wake is being created independently and not being affected by one another. 95 Figure 71 – Velocity contours of the π‘₯𝑧 plane of the case 2 simulation In terms of pressure, unlike what was seen in the case 1 simulation where the pressure drop of the downstream turbine was lower than the upstream turbine, in this case 2 simulation both pressure drops assume roughly the same value. In Figure 72 it is shown the pressure drop of each wind turbine from the case 2 simulation, in which they take the same values. This effect can be better noticed in the pressure contours of Figure 73. Figure 72 – Pressure at the centreline of the first and second turbine of the case 2 simulation 96 Figure 73 – Pressure contours of the π‘₯𝑧 plane of the case 2 simulation Since the turbulent kinetic energy allows to study the turbulence intensity of a flow, it is a good parameter to analyse when wanting to study the development and creation of turbulence due to wake effects. Because of the 4D distancing in the cross direction, it is shown in Figure 74 that both turbulent kinetic energies for both turbines are the same. This is a very different result from the turbulence analysis for the case 1 simulation, where an increase in turbulence energy was obvious. With the help of Figure 75 it is understandable that the wakes of each turbine are very similar in terms of turbulence and that with this assumed wind direction, the upstream turbine wake will never affect the downstream turbine. Figure 74 – Turbulent kinetic energy at the centreline of the first and second turbine of the case 2 simulation 97 Figure 75 – Turbulent kinetic energy contours of the π‘₯𝑧 plane of the case 2 simulation It is important to mention that even though the wake effects of the upstream turbine didn’t directly affect the downstream turbine, it is still important to keep a minimum of four times the rotor diameter distance between each other to preserve the efficiency for other wind directions. All the simulations were performed for one and only wind direction, so it would be obvious that when placing a turbine next to another, they would influence each other. But in case there is a change in the wind direction, this 4D distancing would allow to preserve some of the efficiency of the wind turbine and therefore a minimum distance between turbines is essential. This is one of the reasons that, when planning to produce a wind farm, it is important to determine not only the mean yearly wind speed but also the predominant wind direction and the typical wind direction changes throughout a whole year. 98 (This page was intentionally left in blank) 99 6. CONCLUSIONS AND FUTURE WORK Computational Fluid Dynamics is an efficient tool for studying the aerodynamics of wind turbine and for analysing their wakes and impacts. CFD software allows to perform various studies with different size scales, from specifically examining a blade airfoil to evaluating the productivity of a whole wind farm, and allow to design optimized components and layouts for the wind energy sector. In this thesis, a CFD procedure capable of modelling the wind flow through a horizontal axis wind turbine was developed and several different cases were explored with the use of the software ANSYS Fluent. The simulation of the rotor of the wind turbine was implemented with the use of a porous jump boundary condition acting as an actuator disc and the flow was assumed as a neutral atmospheric wind flow. For the simulations, a 3D steady state flow was assumed and the RANS equations along with the Custom Atmospheric π‘˜-πœ€ turbulence model were solved. In the following segments, the main conclusions from this work are detailed and a brief introduction to some future possible works are presented. 6.1 Main Conclusions First it is important to mention that the main objective of this thesis was accomplished, in which the creation of a CFD technique capable of modelling the wind through a wind turbine was achieved. The model created proved to be sufficient in terms of predicting some of the more important parameters of the wind flow. The first simulation regarding the representation of an atmospheric boundary layer over a flat terrain turned out to be successful in modelling the wind flow but with some limitations. It proved to be more accurate when dealing with a smaller domain rather than with a bigger domain. As such, when the results were analysed for the full length of the terrain (π‘₯ = 4,000 m), the variation of turbulent dissipation rate and velocity were very low, with the latest one being around a maximum deviation of 2.65 %, but the turbulent kinetic energy varied significantly, with a maximum difference of around 10.5 %. When the study was reduced to a length of π‘₯ = 1,000 m, since the wind rotor would be placed at π‘₯ = 800 m, a more uniform wind flow profile was detected. In this domain length, the velocity and the turbulent dissipation rate were more conserved, and the turbulent kinetic energy also displayed more maintained values, with a maximum deviation of around 1.50 %. With this analysis was possible to conclude that this simulation could model the wind flow and that it was more accurate in smaller domain lengths rather than with bigger domains. 100 The second simulation allowed to perform some investigations of the effects that a wind turbine would cause in a wind flow. Even though it was a simplified approach with some assumptions, this CFD procedure proved to be capable of predicting the far wake of a wind turbine. A decrease in the wind speed and a pressure drop were detected at the location of the rotor and the values were very comforting. This simulation was validated with the mathematical Jensen and Larsen wake models and this validation process allowed to assume that the CFD model has a 5 % accuracy in the far wake. Since these mathematical models are not recommended for the interpretation of the near wake of a wind turbine, no real conclusions could be taken regarding the near wake produced by the CFD model. For this assessment, experimental values would be needed. The third and fourth simulations allowed to study the impact of upstream rotors on downstream turbine and how their wake would affect their productivity. As such, in the case where the turbines were placed in the same prevailing direction, a decrease of around 10 % on the oncoming velocity for the downwind turbine was detected, in which the velocity 𝑒0 of the first turbine is 8.5 m/s whereas the velocity 𝑒0 of the second turbine, because of the wake effects, reduced to 7.63 m/s. Because of this decrease in velocity, a power loss was also noticed as it went from 220 kW in the first turbine to 160 kW in the second turbine, demonstrating a 28% power loss due to the wake shadowing. In the simulations where the turbines were not only spaced in the same line but also distanced in the perpendicular direction, not much variation was detected. For the specific wind direction shown in the problem, the first turbine does not directly influence the downstream turbine and the wake of the first turbine does not interact with the second turbine. As such, there is no decrease in the velocity as well as there is not any loss in the output power. This allowed to conclude that a distancing of 4D is sufficient for neglecting the power losses due to the wake effects when placing wind turbines next to each other for the same wind direction. These were the main conclusions taken from the developed work which contributed to a better understanding of CFD simulation, atmospheric flows, and wakes of wind turbine. 6.2 Future Work The approach developed in this thesis is rather simplified and considering some assumptions. As such, some future work could include more refined modelling techniques, in which it would be interesting to add rotation to the wake of the wind turbine and even use a more accurate solver such as the largeeddy simulation, in order to produce results closer to real data. 101 A modification that could be performed in the future that could also produce better results would be to apply a modification to the wall function in use since the default standard wall function is not sufficient for the successful modelling of an ABL flow. As such, one of these modifications could be the implementation of a user defined function which would allow to use a 𝐾𝑆-type wall function instead of the default 𝑧0-type. It would also be interesting to use a more powerful computer and perform a time dependent simulation with an array of wind turbines. This would definitely increase the computational costs, but it would give very curious results in terms of wake impacts. In terms of analysing the wake effects, a possible future work could be the study on the impact of a wind turbine in front of another one while varying theirs distancing. In this thesis, only a separating of 6D between rotors was analysed. Thereby, examining the loss in power produced by different distances such as 4D, 5D, 7D and 8D could be a way to better understand and proceed to a layout of a group of wind turbines. Not only varying the distancing between rotors but varying the wind direction could also be very educative in this matter. In this entire work, a flat terrain was assumed for the bottom of the domain. One possible future development could be the implementation of a complex terrain and consequently analyse the best locations on which to build a wind turbine as well as to study the impact of the ground on the wind velocity. 102 (This page was intentionally left in blank) 103 REFERENCES [1] K. Padmanathan, N. Kamalakannan, P. Sanjeevikumar, F. Blaabjerg, J.B. Holm-Nielsen, G. Uma, R. Arul, R. Rajesh, A. Srinivasan, J. Baskaran, Conceptual Framework of Antecedents to Trends on Permanent Magnet Synchronous Generators for Wind Energy Conversion Systems, Energies. 12 (2019) 2616. https://doi.org/10.3390/en12132616. [2] T.M. Letcher, Wind Energy Engineering: A Handbook for Onshore and Offshore Wind Turbines, Academic Press, London, 2017. [3] F. PortΓ©-Agel, M. Bastankhah, S. Shamsoddin, Wind-Turbine and Wind-Farm Flows: A Review, Boundary-Layer Meteorol. 174 (2020) 1–59. https://doi.org/10.1007/s10546-019-00473-0. [4] J. Twidell, T. Weir, Renewable Energy Resources, 3rd ed., Routledge, 2015. [5] X. Zhang, CFD Simulation of Neutral ABL Flows, Roskilde, 2009. [6] N. Sridhar, Numerical Prediction of Wind Flow Over Complex Terrain with Shallow and Steep Hills, Texas Tech University, 2015. [7] S. Shukla, U. Bin Khalid, N. Bayramli, Wind Tunnel Measurement of Surface Wind Conditions Around Buildings Using the Sand Erosion Technique, Budapest, 2019. [8] T. Burton, N. Jenkins, E. Bossanyi, D. Sharpe, M. Graham, Wind Energy Handbook, 3rd ed., Wiley, Hoboken, 2021. [9] A. Lampe, Evaluation of the Diurnal Cycle of Trace Gases over Beijing as Modelled by Chimere, University of Twente, 2009. [10] P.J. Richards, S.E. Norris, Appropriate Boundary Conditions for Computational Wind Engineering Models Revisited, J. Wind Eng. Ind. Aerodyn. 99 (2011) 257–266. https://doi.org/10.1016/j.jweia.2010.12.008. [11] J.F. Manwell, J.G. McGowan, A.L. Rogers, Wind Energy Explained: Theory, Design, and Application, 2nd ed., Wiley, 2009. [12] M.R. Acker, A 2D CFD Simulation for Wind Turbine Wakes Using a Porous Element, Northern Arizona University, 2018. [13] M.O.L. Hansen, Aerodynamics of Wind Turbines, 2nd ed., Earthscan, London, 2008. [14] A. Makridis, Modelling of Wind Turbine Wakes in Complex Terrain Using Computational Fluid Dynamics, University of Edinburgh, 2012. [15] J.M. O’Brien, T.M. Young, D.C. O’Mahoney, P.C. Griffin, Horizontal Axis Wind Turbine Research: A Review of Commercial CFD, FE codes and Experimental Practices, Prog. Aerosp. Sci. 92 (2017)