scieee AI-readable full text Open interactive document viewer

An integrated framework for the reliability and validity assessment of numerical wind engineering simulations

Abodonya, Ahmed,Cotels, Jordi,Wüchner, Roland,Bletzinger, Kai-Uwe

Abstract

Towards complex architecture and light-weight structures, conventional wind load estimation techniques fail. Hence, Computational Wind Engineering (CWE) plays a crucial role. CWE can be a very helpful tool in all design stages from schematic to detailed design stage. With the current advances in CWE, numerical wind tunnel simulations has a great potential towards improving the structural design quality through better understanding of the wind loads on structures. However, the quality of simulations is still questionable. Despite the increasing attention given to the quantification of error and uncertainty in CFD, the techniques that have been developed for general fluid engineering problems to assess the quality of CFD simulations are still marginally used in CWE (Jrg Franke, 2010). This paper is part of a project aiming at defining a framework to assess the predictive capability of wind load computation using CWE with error estimation. The framework consists of three main work packages: Code Verification, Solution Verification, and Validation. Overall, the generic definition of the framework is stepwise exemplified with the open-source code KRATOSMultiphysics. In this paper, Code Verification is the main concern. The Method of Manufactured solutions is used to verify the Variational Multiscale (VMS) element in KratosCFD incompressible Navier-Stokes solver. TaylorGreen vortex is the basis for the verification test. The Taylor-Green vortex is a wellstudied test problem for large eddy simulation (LES) subgrid scale models. Moreover, Taylor-Green vortex is modified to have more extensive testing for the code. Finally, a second order convergence rate is observed which verifies the tested code functionality, then numerical errors are to be quantified.

Full text

An integrated framework for the reliability and validity assessment of numerical wind engineering simulations VIII International Conference on Textile Composites and Inflatable Structures STRUCTURAL MEMBRANES 2017 K.-U.Bletzinger, E. O˜nate and B. Kr¨oplin (Eds) AN INTEGRATED FRAMEWORK FOR THE RELIABILITY AND VALIDITY ASSESSMENT OF NUMERICAL WIND ENGINEERING SIMULATIONS AHMED ABODONYA∗, JORDI COTELS†, ROLAND W ¨ UCHNER∗AND KAI-UWE BLETZINGER∗ ∗Chair of Structural Analysis Technical University of Munich Arcisstr. 21, D-80333 M¨unchen e-mail: ahmed.abodony[email protected] - Web page: http://www.st.bgu.tum.de †CIMNE - Centre Internacional de Metodes Numerics en Enginyeria Universitat Polit`ecnica de Catalunya Campus Norte UPC, 08034 Barcelona, Spain e-mail: [email protected]c.edu, web page: http://www.cimne.com/ Key words: Simulation Reliability, Code Verification, CWE, KRATOSMultiphysics Abstract. Towards complex architecture and light-weight structures, conventional wind load estimation techniques fail. Hence, Computational Wind Engineering (CWE) plays a crucial role. CWE can be a very helpful tool in all design stages from schematic to detailed design stage. With the current advances in CWE, numerical wind tunnel simulations has a great potential towards improving the structural design quality through better understanding of the wind loads on structures. However, the quality of simulations is still questionable. Despite the increasing attention given to the quantification of error and uncertainty in CFD, the techniques that have been developed for general fluid engineering problems to assess the quality of CFD simulations are still marginally used in CWE (Jrg Franke, 2010). This paper is part of a project aiming at defining a framework to assess the predictive capability of wind load computation using CWE with error estimation. The framework consists of three main work packages: Code Verification, Solution Verification, and Validation. Overall, the generic definition of the framework is stepwise exemplified with the open-source code KRATOSMultiphysics. In this paper, Code Verification is the main concern. The Method of Manufactured solutions is used to verify the Variational Multiscale (VMS) element in KratosCFD incompressible Navier-Stokes solver. Taylor- Green vortex is the basis for the verification test. The Taylor-Green vortex is a wellstudied test problem for large eddy simulation (LES) subgrid scale models. Moreover, Taylor-Green vortex is modified to have more extensive testing for the code. Finally, a second order convergence rate is observed which verifies the tested code functionality, then numerical errors are to be quantified. 1 371 Ahmed Abodonya, Jordi Cotela, Roland W¨uchner and Kai-Uwe Bletzinger 1 INTRODUCTION In todays world, societal needs have led to the wide spread of tall buildings and large span light weight structures. Limited spaces and modern architectural features are imposing challenges to designers of tall and super-tall buildings. Consequently, emphasis is added on safety, human comfort and serviceability under wind loading. These considerations together with geometrically complex shapes have led to two main challenges for the designers. Firstly, the wind loading assessment on such structures is very complex using experimental approaches which raises the attention towards computational analysis. Secondly, the high aerodynamic loads acting on the structures lead to the usage of more materials. Consequently, both the computational wind loading assessment on structures and the reduction of aerodynamic loads are of crucial impact on having optimal building design. Furthermore, information on the wind loads can be obtained through the physical modelling of Fluid-Structure Interactions (FSI). Recently, FSI in Computational Wind Engineering (CWE) is gaining confidence and is widely used in aerospace and mechanical engineering applications. From [3] and [4], it was concluded that the accuracy of both wind tunnel testing and CWE is questionable. Therefore, it can be safely said that both methods need some error indicators to increase their reliability. Consequently, the need for a quality assessment approach in CWE is raised and is the subject of this project. This project aims at developing an integrated methodology that is used in the assessment of simulation predictive quality. The development will be robust and software independent. These tools are envisaged as fundamental contributions for the development of an integrated framework for a reliable wind loads prediction. 2 ASSESSMENT FRAMEWORK The proposed framework shown in figure 1 is a sequential evaluation for the simulation quality. Code verification, solution verification and validation are the main building blocks for the assessment procedures. 2.1 Code verification This part of the process is essential to the process of having a reliable simulation. Code verification is defined in [5] as ”The process of determining that the numerical algorithms are correctly implemented in the computer code and of identifying errors in the software”. In the context of this paper, code verification is performed using the method of exact solution (MES) as a base, then more sophisticated approach is developed using the method of manufactured solution (MMS). The flowchart in figure 1 shows the important steps to follow in order to have a meaningful code verification campaign. Moreover, section 3 shows a detailed case study for the proposed code verification approach. 2 372 Ahmed Abodonya, Jordi Cotela, Roland W¨uchner and Kai-Uwe Bletzinger Specify the application of interest Select software functionalities to be used Verify code for selected functions Understanding of the code to be verified Simulation quality is not guaranteed Is code verified? Design and execution of numerical simulations Computation of SRQs and solution verification Identify and classify sources of uncertainties Computation of validation Metric Results Prediction and Uncertainty Estimation for the Application of Interst Assessment of Model Adequacy Documentation of Activities Determine governing equations & theoritical order of convergence Use MES ifexists or MMS Design test case Use symbolic toolbox for source terms generation Implement source terms, IC and BC into code Perform the test & evluate the error Continue refinement? Refine with factor r Compute observed order of accuracy Theoritical order of convergence matched? Troubleshoot test implementation Another test needed? Document results & archive files Another solution needed? Test implementation error? Fix test implementation Find & correct coding mistakes Estimation of numerical solution error No Yes Yes No Yes No Yes No No Yes No Yes Figure 1: Flowchart for the integrated procedure for V&V adapted from [6], [8], [7] 3 373 Ahmed Abodonya, Jordi Cotela, Roland W¨uchner and Kai-Uwe Bletzinger 2.2 Solution verification Solution verification is defined in [5] as ”The process of determining the correctness of the input data, the numerical accuracy of the solution obtained, and the correctness of the output data for a particular simulation”. It addresses the quantification of error originating from human intervention and numerical errors. In the scope of this paper, this part of the process is under development where it will be designed to deal with unsteadiness in the flow field. 2.3 Computation of validation metric results Graphical comparisons between simulations and experiments are not considered sufficient to judge the quality of CWE simulations. For a sufficient validation process, code correctness must be checked as of code verification. Moreover, simulation error is to be quantified as of solution verification. Then, the validation process can be completed as described in [1] and [2]. 3 PROBLEM SETUP FOR KratosCFD CODE VERIFICATION In this section, code verification activities are presented for KratosCFD [9] open source code. The formulation for tested functionalities and code implementation can be found in [10] and [11]. The code verification activities performed are based on the Taylor-Green Vortex. In the context of this work only 2D Navier-Stokes equations for an incompressible Newtonian fluid is considered. The testing activities have an increasing complexity starting from an equal contribution of all the terms in the Navier-Stokes equations to a term dominating solution. The following benchmark series is developed based on the Taylor-Green Vortex to test each term in the Navier-Stokes Equations. This is done for the purpose of exploring which term is affecting the code order of convergence and needs more investigation in case of unclear convergence. The approach is through giving the term of interest very high weight compared to others in the N-S in which the error generated from this term will be the dominating error. 3.1 Taylor-Green Vortex (TGV) The Taylor-Green vortex is an exact closed form solution of the incompressible N-S equations. It is an unsteady flow of a decaying vortex. The solution is a periodic array of vortices that repeats itself in two Cartesian dimensions. Detailed description of the TGV can be found in [12] and [13]. The general form of the Taylor-Green Vortex is defined as following: ux=u0f(t) sin(kx) cos(ky) (1) vy=−u0f(t) cos(kx) sin(ky) (2) Pr =ρu2 0 4f(t)2(cos(2kx) + sin(2ky)) (3) 4 374 Ahmed Abodonya, Jordi Cotela, Roland W¨uchner and Kai-Uwe Bletzinger Where: f(t)=e−2νk2t;ν→kinematic viscosity (4) k=2π L;L→Periodic Length; ρ→Density (5) Reynolds number: Re =Lu0 νCourant number: CFL =u0∆t ∆x(6) 3.2 Overview for KratosCFD Tested Functionalities In the course of this work KratosMULTIPHYSICS FEM based solver, developed at CIMNE, is to be verified. The code is claimed to have a second order convergence in space and time. The actual order of convergence of the following functionalities is to be verified: Finite Element Method Steady State Unsteady using WBZ-α(Bossak) Incompressible Fluid VMS Monolithic Solver Orthogonal Subscales Stabilization 3.3 Calculation of the error and order of convergence The numerical solution consists of values of the dependent variables on some set of discrete locations. To compute the discretization error, two error norms are used. Error norms can be used to determine the global error of a field bin its spatial domain K. An E2error norm for the variable xcompared to the exact solution ˆ xin the domain Kcan be seen in equation 7. E2=||x−ˆ x||2=1 KK (x−ˆ x)2dK (7) Moreover, the infinity (inf) norm returns the maximum absolute error over the entire domain given by equation 8. Therefore, it is the most sensitive error measure. It is very proper to detect local discontinuities or singularities. Ei=max|xn−ˆxn|,n∈[1,N] (8) After error evaluation and simulating over several meshes, the information is used to estimate the observed order-of-convergence. The observed order-of-convergence is estimated using the expression shown in equation 9. p= log E(hcoarse) E(hfine) log (r)(9) 5 375 Ahmed Abodonya, Jordi Cotela, Roland W¨uchner and Kai-Uwe Bletzinger 3.4 Simulation setup 1. Spatial and temporal resolutions: Kratos uses triangular elements in which meshes can be designed in three ways: •Unidirectional Structured Mesh •Alternate Diagonal Structured Mesh •Unstructured Mesh In the scope of the results presented below, unidirectional structured mesh is considered. The extension to unstructured mesh is the most crucial because it is the most commonly used mesh type in Kratos. Consequently, the behavior of the code for unstructured meshes is of high interest. Both Reynolds number and Courant number are considered while deciding on the spatial and temporal resolution. CFL number is kept below one for all the simulations. The refinement ratio in both space and time is 2 which complies with the code’s theoretical order of convergence. 2. Dirichlet boundary condition is used for both velocity and pressure terms in all the boundaries, because our target is the verification of the interior equations. 3. The discretization error should be isolated from the total numerical error. Therefore, the used software is using a double precision accuracy to minimize the round-off error. To keep the IICE as small as possible, the solution tolerance in a nonnormalized version of the E2norm of velocity and pressure fields is set to 10−10. 4. A direct solver is used for solving the linear system of equations. 5. The basic setup for the simulations is declared in table 1. Table 1: Basic simulation setup declaration Mesh Type: Unidirectional Structured Mesh Element: VMS Monolithic Solver Linear System Solver: Super LU ”Direct Solver” Domain size: X1=x∈[0,2π], X2=y∈[0,2π], t∈[0,10] Space Refinement (SR): Space (cells/direction): 22increment 1 −−−−−−−→ 8, ∆t=0.001 Time Refinement (TR): Space (cells/direction): 28, ∆t=2 1increment 1 −−−−−−−→ 710−3 Space-Time Refinement (STR): Space (cells/direction): 22increment 1 −−−−−−−→ 8, ∆t=2 7decrement 1 −−−−−−−→ 1.10−3 6 376 Ahmed Abodonya, Jordi Cotela, Roland W¨uchner and Kai-Uwe Bletzinger 4 BENCHMARKS In this section all the benchmarks will be defined in tables 2 and 3. Table 2: Base Benchmark Test Case Fields Material Source Terms Discretization TGV1 TGV2 TGV3 Using the general form of the Taylor-Green Vortex with parameters: k=1.0, u0=1.0 ν=0.2 ρ=1.0NO SR TR STR Table 3: Developed Benchmarks Test Case Fields Material Source Terms Discretization IN1 IN2 IN3 ux= sin(t) vy=−sin(t) Pr = sin(t) ν=0.1 ρ=1.0Yes SR TR STR IN4 IN5 ux= sin(2t) cos(y) vy=−sin(2t) cos(x) Pr = sin(2t)(cos(2x) + cos(2y)) ν=0.1 ρ=1.0Yes SR STR PRES ux=e−0.2tsin(x) cos(y) vy=−e−0.2tcos(x) sin(y) Pr =e−0.4t(cos(2x) + cos(2y)) ν=0.1 ρ=1.0Yes SR CON ux=e−0.1tsin(x) cos(y) vy=−e−0.1tcos(x) sin(y) Pr =3 80 e−0.2t(cos(2x) + cos(2y)) ν=0.05 ρ=1.5Yes SR VIS ux=e−tsin(x) cos(y) vy=−e−tcos(x) sin(y) Pr =3 40 e−2t(cos(2x) + cos(2y)) ν=0.5 ρ=0.3Yes SR 5 RESULTS 5.1 Taylor Green Vortex (TGV) In this benchmark, all the terms in the N-S equations are having equal weights. TGV constitutes the simplest flow for which a turbulent energy cascade can be observed numerically. The rationale for choosing TGV as an initial test case for KratosCFD VMS monolithic solver was two-fold: Firstly, the TGV is a well-established reference in the literature. Secondly, the physics of the flow field and the ease of BC constitute and excellent benchmark 7 377 Ahmed Abodonya, Jordi Cotela, Roland W¨uchner and Kai-Uwe Bletzinger for VMS implementations. Three simulations were performed using TGV for different refinement approaches as listed in table 2 (TGV1, TGV2 and TGV3). For TGV1, spatial refinement was performed having a very fine time step. The reason was to minimize the time discretization error and test the spatial discretization. For TGV2, temporal refinement was performed having a very fine mesh to minimize space discretization error and test the temporal discretization. Finally TGV3, both space and time were refined sequentially to check the discretization in space and time. The third approach, TGV3, was used because both time and space discretization have a theoretical second order convergence. In this case of having equal orders, convergence studies can be performed for space and time simultaneously. The results produced by KratosCFD for the presented test cases are shown in figure 2. The figure shows the observed order of accuracy (p) versus refinement. As can be seen from the figure, a second order of accuracy is observed which complies with the theoretical order of accuracy. Refinement Ratio (hi/h0) 10 20 30 40 50 60 observed order of accuracy (p) 0 0.5 1 1.5 2 2.5 3 Order of Convergnece vs. Refinement TGV1 - u L 2 TGV1 - u L i n f TGV1 - v L 2 TGV1 - v L i n f TGV1 - pr L2 TGV1 - pr L inf TGV2 - uL2 TGV2 - uL in f TGV2 - vL2 TGV2 - vL inf TGV2 - pr L2 TGV2 - pr L inf TGV3 - u L 2 TGV3 - u L i n f TGV3 - v L 2 TGV3 - v L i n f TGV3 - pr L 2 TGV3 - prL inf Figure 2: Observed order of accuracy for Taylor-Green Vortex (TGV Benchmark) 5.2 Inertia dominated flow (IN) From the first test case, it can be concluded that the code performance is acceptable. But TGV2 showed a deviation from the expected performance. For time refinement only, the code performance is unexpected. Consequently, this case study was designed to only test the inertial term in the N-S equations. The case study presented shows two different approaches: Firstly, the manufactured solution fields are only time dependent functions as in cases IN1, IN2 and IN3. Secondly, the manufactured solution fields have time and 8 378 Ahmed Abodonya, Jordi Cotela, Roland W¨uchner and Kai-Uwe Bletzinger space dependency as in cases IN4, IN5. In both cases, the time derivative term of the unsteady N-S equations is dominating. Contributions from all other terms are zero in the first case and negligible in the second case. The code’s performance for a time dependent solution is evaluated in test cases IN1 to IN5. Figure 3 shows a reasonable results for a spaces only refinement (IN1) in a time driven solution where there is no clear convergence behavior. Refinement Ratio (h i /h 0 ) 10 20 30 40 50 60 observed order of accuracy (p) 0 0.5 1 1.5 2 2.5 3 Order of Convergnece vs. Refinement IN1 - u L2 IN1 - u L inf IN1 - v L2 IN1 - v L inf IN1 - pr L2 IN1 - pr L inf IN2 - u L2 IN2 - u L inf IN2 - v L2 IN2 - v L inf IN2 - pr L2 IN2 - pr L inf IN3 - u L2 IN3 - u L inf IN3 - v L2 IN3 - v L inf IN3 - pr L2 IN3 - pr L inf Figure 3: Observed order of accuracy for Inertia dominated flow (IN Benchmark) Consequently, case IN2 was performed, where the simulation was performed with a time refinement at the finest mesh. Figure 3 shows that a second order of accuracy is observed for the pressure field (IN2). Whereas for the velocity field, the observed order of accuracy is between 1.5 and 2 for some simulations. The performance of the code is not as expected for a time-only dependent solution. Consequently, IN3 is performed having a space-time refinement. Figure 3 shows a second order of accuracy for the velocity field, but an order between 1.5 and 2 for the pressure field (IN3). From cases IN1, IN2 and IN3, it can be concluded that there is some sort of instability in Kratos VMS formulation for cases of only time-dependent solutions. This observation is investigated more by cases IN4 and IN5. In this approach the time derivative of the N-S equations is high compared to the minor contribution from the space derivative. Figure 4 show an order of convergence slightly below 2 for all the fields. Consequently, it can be safely said that the code has a second order of accuracy for time derivatives. 5.3 Pressure dominated flow (PRES) The purpose of this simulation is to numerically check the code’s accuracy if the pressure term in the N-S equations is dominating the flow. From previous cases, it can be 9 379