scieee AI-readable full text Open interactive document viewer

Ship resistance prediction: verification and validation exercise on unstructured grids

Crepier, P.

Abstract

The prediction of the resistance of a ship is, together with the propeller performance prediction, part of the key aspects during the design process of a ship, as it partly ensures the quality of the power-prediction. Body fitted structured grids for ship simulations can be rather challenging and time consuming to build, especially when dealing with appended ship geometries. For this reason, unstructured hexahedral trimmed grids are more and more used. Such grids can be build by various CFD package such as CD-Adapcos Star CCM+, NUMECAs Hexpress grid generator or OpenFOAMSs SnappyHexMesh. Although their use is increasing or even already adopted, the numerical uncertainty of these simulations seems to be a well-kept secret. In the study presented, an attempt at quantifying the numerical uncertainty of the resistance for the combination of the RANS Solver ReFRESCO [1] with grids generated using the com- mercial package Hexpress is made. The studied case is the flow around the bare-hull KVLCC2 at model scale Reynolds number. Extensive verification and validation on the same test case has already been published for the combination of ReFRESCO and structured grids by Pereira et al. [2]. The method to generate grids as geometrically similar as possible is presented, and the uncertainty analysis by L. Ec¸a and M. Hoekstra [3] is performed on the integral r√esults obtained. The simulations are performed using the k − ω SST , k − ω TNT and the k − kL turbulence models. The velocity fields calculated in the propeller plane are compared to the measured ones and to the results obtained by Pereira et al. [2] on structured grids. The results show that the differences with the experimental results are in the same range as the differences obtained with structured grids. The numerical uncertainties are, however, higher. They are also strongly dependent on the turbulence model used, like for structured grids, and are spread between 1.3% and 12%. Concerning the wake flow details, not all features present in the experimental results are obtained and, compared to structured grids, the flow features are smoothed. The wake flow is also influenced by the turbulence modelling and needs to be adressed in more detail.

Full text

Ship Resistance Prediction - Verification and Validation Exercise on Unstructured Grids VII International Conference on Computational Methods in Marine Engineering MARINE 2017 M. Visonneau, P. Queutey and D. Le Touz´e (Eds) SHIP RESISTANCE PREDICTION: VERIFICATION AND VALIDATION EXERCISE ON UNSTRUCTURED GRIDS P. CREPIER∗ ∗Maritime Research Institute Netherlands (MARIN) P.O. Box 28 6700 AA Wageningen, The Netherlands e-mail: [email protected], web page: http://www.marin.nl Key words: CFD, KVLCC2, Verification, Validation, Double-body, Unstructured grid Abstract. The prediction of the resistance of a ship is, together with the propeller performance prediction, part of the key aspects during the design process of a ship, as it partly ensures the quality of the power-prediction. Body fitted structured grids for ship simulations can be rather challenging and time consuming to build, especially when dealing with appended ship geometries. For this reason, unstructured hexahedral trimmed grids are more and more used. Such grids can be build by various CFD package such as CD-Adapcos Star CCM+, NUMECAs Hexpress grid generator or OpenFOAMSs SnappyHexMesh. Although their use is increasing or even already adopted, the numerical uncertainty of these simulations seems to be a well-kept secret. In the study presented, an attempt at quantifying the numerical uncertainty of the resistance for the combination of the RANS Solver ReFRESCO [1] with grids generated using the commercial package Hexpress is made. The studied case is the flow around the bare-hull KVLCC2 at model scale Reynolds number. Extensive verification and validation on the same test case has already been published for the combination of ReFRESCO and structured grids by Pereira et al. [2]. The method to generate grids as geometrically similar as possible is presented, and the uncertainty analysis by L. E¸ca and M. Hoekstra [3] is performed on the integral results obtained. The simulations are performed using the k−ω SST,k−ω TNT and the k−√kL turbulence models. The velocity fields calculated in the propeller plane are compared to the measured ones and to the results obtained by Pereira et al. [2] on structured grids. The results show that the differences with the experimental results are in the same range as the differences obtained with structured grids. The numerical uncertainties are, however, higher. They are also strongly dependent on the turbulence model used, like for structured grids, and are spread between 1.3% and 12%. Concerning the wake flow details, not all features present in the experimental results are obtained and, compared to structured grids, the flow features are smoothed. The wake flow is also influenced by the turbulence modelling and needs to be adressed in more detail. 1 365 P. Crepier 1 INTRODUCTION Ship resistance predictions by means of Computational Fluid Dynamic (CFD) simulations is progressively taking over ship model testing, especially in the early design stages of the design loop. This sort of calculations has nearly become daily routine, but the accuracy of the results is often overlooked. While a lot of effort is spend during workshops, like the Gothenburg or Tokyo workshops, to gather validation material for various types of calm-water flows, not so much publications about verification of the simulations performed is available. Verification and Validation are two entirely different exercises as explained by Roache [4]: Verification is a mathematical exercise that aims at showing that we are solving the equations right, and validation is an engineering exercise to show that we are solving the right equations. For ship flow simulation it is common to use body-fitted hexahedral trimmed meshes because they are easy to set-up even for complex geometries like appended ships. Such grids can be built by most of the popular CFD software package like CD-Adapco’s Star CCM+, NUMECA’s Hexpress or OpenFOAMS’s SnappyHexMesh. L. E¸ca and M. Hoekstra [3] proposed a method to estimate the numerical uncertainty of numerical simulations based on grid refinement studies of geometrically similar grids. Generating the appropriate sets of grids is straightforward when using structured grids but it becomes more challenging when working with unstructured meshes. This is most likely one of the main reasons for the lack of verification studies, in addition to being a rather costly exercise. In the present study, the point of interest is the flow around the KVLCC2 at model scale for which plenty of data is available. The grid sets are built using NUMECAs grid generator Hexpress. In section 2 a summary of the test case and in-depth details about the method used to generate grids which are as geometrically similar as the grid generator allows. The details about the RANS solver and numerical settings are provided in section 3. In section 4, the obtained results are detailed in terms of numerical convergence, and the uncertainty analysis is performed on the resistance components. The details of the wake flow are also shown. These results are also compared to those obtained by Pereira et al.[2] for the same test case but with structured grids. Finally, in section 5, the conclusions of the findings are summarised. 2 GEOMETRY AND GRID GENERATION METHOD 2.1 KVLCC2 The object of the present study is the KVLCC2. A summary of its main particular, scale ratio and Reynolds number are provided in table 1 and a side view of the vessel is shown in figure 1. Figure 1: Side view of the KVLCC2 2 366 P. Crepier Table 1: Main particulars of the KVLCC2 Particular Symbol Value Unit Length between perpendiculars Lpp 320.0 [m] Width B58.0 [m] Draught T10.8 [m] Scale λ58.0 [-] Froude Number Fr0.142 [-] Reynolds Number Re5.80 ×106[-] 2.2 Isotropic volume grid generation The grids used in this study are so called trimmed meshes. In these meshes, a background grid with large cells is defined and then, the cells intersecting the input geometry are successively divided into 8 smaller cells to adapt to the details of the geometry. The main user input is the cell size for the initial grid, the refinement degree for each geometrical feature that should be captured, and the size of the transition zone between two refinement levels called diffusion depth d. Once a sufficient resolution is obtained at the places of interest, an anisotropic sub-layer of cells can be inserted to provide a grid suited to properly capture the boundary-layer on the walls present in the grid. The grid sets built for this study are based on an initial coarse grid which is successively refined to obtain, in total, five grids. To obtain grids that are as geometrically similar as possible the following method is used: 1. The initial cell size is decreased by a factor 2, 3, 4 and 5 in each direction by using 2,3,4 or 5 times more cells in each direction. 2. The surface refinement degree is kept constant throughout the sets: if, for instance, 6 refinements levels are set in the initial coarse grid, the same 6 successive refinements are performed for the other grids. 3. The size of the transition region, so-called diffusion depth d, is adapted such that it matches the expected final size of the grid. Details of the values used to generate the grids used in this study are provided in section 2.4 4. The anisotropic sub-layer settings are adapted to account for the refinement performed. This step is detailed in paragraph 2.3. Examples of the volume obtained grid after the third step are shown in figure 2 for a simple case. 3 367 P. Crepier (a) 2 refinement levels (b) 3 refinement levels (c) 4 refinement levels Figure 2: Example of volume grid refinement. Black lines : initial coarse grid ; Grey lines : refined grid 2.3 Anisotropic sub-layer grid generation The size of the cells inserted in the anisotropic sub-layer follows a geometric series of first term S0 ,corresponding to the first cell size, and ratio r. The size of the nth cell is then defined as follow: Sn=S0rn(1) With such a definition, dividing the initial cell size, and keeping the ratio constant in all grids will not result in geometrically similar meshes. As shown in figure 3(a), when dividing the first cell size by two and keeping the ratio constant, between 13 and 14 cells are required to obtain a distance covered by 10 cells with the initial settings instead of 20. To obtain geometrically similar grids, both the first cell size and and ratio should be adapted following Equations 2 and 3: Sn=S0 1−r 1 n 1 1−r1 (2) rn=r 1 n 1(3) Where S0and r1are respectively the first cell size and growth ratio in the initial coarse grid, Snand rnthe first cell size and growth ratio for the grid refinement n,n= 1 corresponding the coarsest grid. Using the example in Figure 3(a) and setting up the geometric series properly, twice more cells are required with a refinement of 2 and 3 times more cells with a refinement 3, as shown in Figure 3(b). (a) Erroneous refinement (b) Geometrically similar refinement Figure 3: Anisotropic sub-layer refinement set-up 4 368 P. Crepier 2.4 Grid sets Following the method described, two grid sets have been built. The sets differ only by the first cell size which is smaller in the second set, the isotropic volume grids are identical in both sets. All the grids built are 6 ship lengths long (3 astern, 2 ahead) and 2 ship lengths wide and deep. The ship geometry is split in 5 different parts, aft-ship, mid-ship, bilge, fore-ship and bulbous bow, to properly set-up the surface refinements. A box of volume refinement is used around the whole ship to keep the grid density reasonable near the ship. Views of the CFD domain, surfaces and boxes defined around the ship are shown in figure 4. In table 2, details of the settings used for each surface patch and the box are provided. (a) Domain (b) Zones Figure 4: CFD domain and definition of the surfaces and box around the ship Table 2: Refinement levels set for each part of the grid Part Aft-ship Mid-ship Bilge Fore-ship Bulbous Bow Box ship Level 7 6 7 7 8 6 As detailed in section 2.2, to perform the refinement of the isotropic volume grid, only the number of cells in the initial grid and the transition layer are adapted. Details of the settings used to build the 5 grids per set are detailed in table 4. The growth ratio in the anisotropic sub-layer, which starts at 1.2 in the coarsest grids, is also adapted accordingly to the refinement level of each grids. The number of cells obtained in each grid, as well as the average Y+obtained with the k−ω SST turbulence model, are presented in table 3. 3 RANS SOLVER AND NUMERICAL SETTINGS The simulations are performed using the URANS (Unsteady Reynolds Average Navier Stokes) CFD code ReFRESCO [1]. The QUICK scheme is used for the discretisation of the convective flux in the momentum equations. Three different turbulence models are used in this study, namely the k−ω SST [5],k−ω TNT [6] and the k−√kL [7]. Upwind is used for the convective flux discretisation in the turbulence equations. 5 369 P. Crepier Table 3: Total number of cells in each grid in million and average y+ Grid set 12 Cell count y+ 2Cell count y+ 2 Grid 1 0.405 0.60 0.541 0.062 Grid 2 2.79 0.30 3.826 0.030 Grid 3 8.53 0.19 11.9 0.020 Grid 4 19.1 0.14 27.1 0.015 Grid 5 35.8 0.12 51.3 0.012 Table 4: Number of cells in the three directions and diffusion depth values used for the grid sets Grid 1 2 3 4 5 Nx 12 24 36 48 60 Ny 4 8 12 16 20 Nz 4 8 12 16 20 d 13579 As boundary condition of the problem, an inflow condition is imposed at the plane upstream of the ship and an outflow (Neumann) at the plane downstream. Symmetry conditions are imposed at the symmetry plane of the ship and at the top boundary. A constant pressure is imposed at the bottom and far-field left side of the ship. On the ship it self, a no-slip condition is used as the grid sets built are contracted enough towards the wall such that no wall functions are used. 4 RESULTS 4.1 NUMERICAL CONVERGENCE In most of the simlations performed, all residuals are, on average, converged below 10−6 except for a few simulations where usually one of the turbulence quantities stagnates at a higher level of 10−4. This is especially true for the simulation with the k−ωbased model where the ω becomes more difficult to solve when the grid is refined. The results show that the residuals of the continuity and momentum equations are highest around the propeller plane while the turbulence residuals are highest at the bow of the ship. Figure 5(a) shows the convergence history of the root mean square residual for a case converging properly, and figure 5(b) for a stagnating case. Both figures are for the k−ω SST turbulence model. 6 370 P. Crepier (a) Set 1 - Grid 5 (b) Set 2 - Grid 5 Figure 5: Convergence history for with k−ω SST 4.2 Forces uncertainty A direct result of the simulations is the resistance of the ship. The total forces obtained and its components, pressure and friction, are normalized using equation 4: Ci=Fi 1 2ρU2 ∞S(4) Where iis the component of the force, either pressure part, friction part or total, ρis the fluid density, U2 ∞is the free-stream velocity and Sis the wetted surface of the ship. The results for the three turbulence models are gathered in table 5 for the first grid set and in table 6 for the second one. In table 7, the experimental results as well as the results obtained by Pereira et al. [2] for structured grids with his finest grid are listed. For the simulations perfomed with k−ω SST, the pressure drag decreases when the grid is refined while the friction drag increases. Both the friction and pressure drag increase when the wall resolution increases. The same behavior is obtained with k−ω TNT. For the k−√kL, the pressure coefficient shows this similar behavior but the friction drag is highest for the intermediate grids 2 and 3 and decreases slightly for the finest grid. When comparing the total drag, on average, all simulations underestimate the experimental value. The maximum difference obtained with experimental drag is around 3% for k−ω TNT, 1.5% for k−ω TNT and 4% for k−√kL. The uncertainty analysis proposed by L. E¸ca and M. Hoekstra [3] has been performed in order to quantify the discretisation error obtained with these grids. The extrapolation is performed using only the four finest grids of each set, meaning that the grid 1 of each set is not used. For this reason, the uncertainty for grid 1 is not given. The obtained value is only used to show the resulting trend when using coarser grids. 7 371 P. Crepier The obtained uncertainties are gathered in table 8 for the first grid set and in table 9 for the second one. For comparison, the uncertainty obtained by Pereira et al. with his finest grid are given at the bottom of each tables. Table 5:Cp,Cfand Ctobtained for the first grid set Grid k−ω SST k −ω TNT k−√kL CpCfCtCpCfCtCpCfCt Grid 1 0.78 3.22 4.00 0.77 3.33 4.09 0.80 3.25 4.05 Grid 2 0.64 3.34 3.98 0.63 3.43 4.05 0.65 3.29 3.94 Grid 3 0.62 3.37 3.99 0.61 3.47 4.07 0.62 3.29 3.91 Grid 4 0.62 3.38 4.00 0.61 3.49 4.09 0.61 3.27 3.89 Grid 5 0.63 3.38 4.01 0.62 3.49 4.11 0.61 3.27 3.88 Table 6:Cp,Cfand Ctobtained for the second grid set Grid k−ω SST k −ω TNT k−√kL CpCfCtCpCfCtCpCfCt Grid 1 0.80 3.38 4.19 0.80 3.48 4.28 0.79 3.28 4.07 Grid 2 0.65 3.43 4.08 0.64 3.52 4.16 0.65 3.31 3.95 Grid 3 0.63 3.43 4.05 0.62 3.52 4.14 0.62 3.29 3.91 Grid 4 0.62 3.43 4.05 0.61 3.54 4.15 0.61 3.28 3.89 Grid 5 0.64 3.42 4.05 0.63 3.53 4.16 0.61 3.27 3.87 Table 7:Cp,Cfand Ctobtained by Pereira et al. and Ctobtained experimentaly (EFD) Case CpCfCt Pereira et al. k−ω SST 0.68 3.38 4.06 Pereira et al. k−ω TNT 0.66 3.47 4.13 Pereira et al. k−√kL 0.66 3.33 3.98 EFD - - 4.11 8 372 P. Crepier Table 8: Uncertainties, in percent, obtained for Cp,Cfand Ctwith the first grid set Grid k−ω SST k −ω TNT k−√kL CpCfCtCpCfCtCpCfCt Grid 2 26.7 5.0 4.1 40.9 3.4 13.3 24.0 11.2 6.2 Grid 3 38.8 2.5 2.9 53.7 2.0 12.1 12.5 11.1 5.2 Grid 4 38.0 1.4 2.4 51.1 1.4 10.4 8.0 9.9 4.6 Grid 5 34.0 1.0 2.0 45.1 1.0 9.0 5.8 8.7 4.1 Pereira et al. 0.95 1.7 1.5 4.0 1.1 1.6 2.2 0.9 1.0 Table 9: Uncertainties, in percent, obtained for Cp,Cfand Ctwith the second grid set Grid k−ω SST k −ω TNT k−√kL CpCfCtCpCfCtCpCfCt Grid 2 20.7 1.8 2.5 29.0 2.3 7.3 11.2 5.9 4.2 Grid 3 33.8 1.4 1.3 41.6 1.7 8.7 6.6 4.1 2.9 Grid 4 33.8 1.6 0.8 40.5 1.3 8.1 4.9 3.3 2.2 Grid 5 30.4 1.5 0.6 35.9 1.0 7.2 3.5 2.7 1.7 Pereira et al. 0.95 1.7 1.5 4.0 1.1 1.6 2.2 0.9 1.0 The results show that, for the k−ωbased models, a very large uncertainty is predicted for the pressure part of the force while the values obtained for the k−√kL are much lower. It should be also noted that the pressure contribution is relatively small compared to the friction contribution, which shows values between 1 and 3 % for the k−ωbased models and between 3 and 5 % for the k−√kL. The uncertainty predicted on the total drag shows that overall, k−ω SST leads to less uncertainty than k−ω TNT and k−√kL is placed between these two models. Compared to the results obtained by Pereira et al., the uncertainties obtained for the k−ω based models for the pressure are much larger while they are in the same range for the friction. For k−ω SST, the uncertainty on the total force is also in the same range but they are 4 to 5 times higher for k−ω TNT. For the k−√kL model, the results are higher for all the components. Putting these uncertainties in the perpective of the total drag calculated, we see that k− ω SST leads to the lowest numerical uncertainty, around 2.5 % , but the drag calculated is underestimated. Using k−ω TNT leads to a total drag prediction closer to the experimental data but the numerical uncertainty, around 9 % on average, is much higher than with the k−ω SST. The uncertainty obtained with k−√kL is between between the two k−ωbased models with around 4 %, but the drag calculated is the most underestimated. 9 373