Flow Topology Optimization at High Reynolds Numbers Based on Modified Turbulence Models
Abstract
:1. Introduction
2. TopOpt Based on Darcy’s Source Term
2.1. Mathematical Formulation
2.2. Strategy for Setting at High Reynolds Numbers
- Set based on Equation (11) as an initial guess.
- If the initial guess is insufficient to impede the fluid motion in the solid, then is increased until the desired accuracy is obtained (the velocity in the region where is smaller than , where and is determined by the user) and the numerical solution process of the governing equations and the adjoint equations is stable.
- Suppose it is known that is enough for the TopOpt of one geometry at a low Reynolds number, , and TopOpt of the same geometry at a high Reynolds number, (), is desired. Instead of increasing the flow speed, one can keep and unchanged and adjust the fluid viscosity, (), or one can also scale and together and keep the dimensionless number unchanged. This is because, according to Equation (17), if stays the same, the accuracy of solid modeling would not change regardless of the variation in the Reynolds number. Scaling more aggressively or conservatively compared with scaling will result in suboptimal performance. Consider the ratio of the inertial term or the pressure term to Darcy’s source term. By performing magnitude analysis, the ratio can be expressed as follows:
2.3. Objective Functions and Constraints
- 2.
- 3.
- The approximate drag exerted on the porous medium is represented by Darcy’s source term proposed by [9]:
3. Turbulence Models with Modification Terms Related to Darcy’s Source Term
3.1. The Modified Launder–Sharma Model
3.2. The Modified SST Model
- Solve the p-Poisson equation with the penalization term proposed in this paper:
- Normalize to acquire :
4. Numerical Method and Validation
4.1. Numerical Method for CFD and Gradient Computation
- Given the solid distribution , the state variable (including and turbulence variables) is calculated by solving the discrete form of the governing equations, including the momentum equation, the continuity equation, and the turbulence model equations:
- 2.
- The Jacobians , , and are computed using automatic differentiation (AD) [35,36], which is designed to evaluate the derivative of any function specified by a computer program. The core idea of AD is that, for any program, no matter how complicated it is, its output is always defined by a series of elementary operations for which the derivative is easy to compute. Due to this characteristic, the chain rule can be applied repeatedly to these operations to evaluate the derivative of the final output of the program to the inputs. By using this strategy, AD can compute the derivative of any computer program accurately to machine precision.
- 3.
- The adjoint vector is calculated by solving the linear equations (adjoint equations):
- 4.
- The gradients of the objective function and the constraint are computed:
- 5.
- and are fed into pyOptSparse, and the SQP algorithm is used to update the solid distribution, .
4.2. Validation of the CFD Solver
4.2.1. NACA0012, LSKE Model
4.2.2. Backward-Facing Step, SST Model + 2-Poisson Wall-Distance Approximation Method
5. TopOpt Examples
5.1. Optimization of the Low-Drag Profile
5.1.1. Re = 600, Laminar Flow
5.1.2. Turbulent Flow
5.2. Rearward-Facing Step
5.3. Rotor-like Case
6. Conclusions
- The minimum needed to impede the fluid flow in a solid (to make in the solid) is proportional to the freestream velocity, , and is unrelated to fluid viscosity when the Reynolds number is large. Based on this relationship and previous experience [18], a strategy for setting is proposed: keep the nondimensional number unchanged when the Reynolds number varies. The strategy is used in the examples of TopOpt and is shown to be effective.
- The flows encountered in aerodynamic design are generally turbulent. Therefore, for TopOpt, considering the impact of Darcy’s source term on turbulence is important. In this paper, a modified LSKE turbulence model is developed. The test case in Section 5.1.2 shows that the proposed model has a satisfactory ability to depict the influence of Darcy’s source term on turbulence, even when the Reynolds number is as high as . A concise, approximate wall-distance computation method that recognizes the solid modeled by Darcy’s source term is developed. This method is integrated into the modified SST model. The modified SST model can also reflect the influence of Darcy’s source term on turbulence when is large.
- Many aerodynamic optimization problems are related to acquiring a configuration with the lowest drag in an external flow. TopOpt was previously mostly used to obtain low-drag profiles in laminar flow. In this study, the TopOpt of a low-drag profile is extended to turbulent flows whose Reynolds numbers are as high as , which has some significance for the application of TopOpt to aerodynamic design.
- Optimizing turbomachinery is another important topic in aerodynamic design. In this paper, the TopOpt of a rotor-like geometry is studied using the modified SST model. The model’s potential for performing the TopOpt of turbomachinery is tested. This test case shows that the larger the rotating speed, the more deflected the optimized configuration.
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Zhang, M.; Liu, J.; Liu, Y. Fluid Topology Optimization Method and Its Application in Turbomachinery. J. Propuls. Technol. 2021, 42, 2401–2416. (In Chinese) [Google Scholar]
- Borrvall, T.; Petersson, J. Topology optimization of fluids in Stokes flow. Int. J. Numer. Methods Fluids 2003, 41, 77–107. [Google Scholar] [CrossRef]
- Gersborg-Hansen, A.; Sigmund, O.; Haber, R.B. Topology optimization of channel flow problems. Struct. Multidiscip. Optim. 2005, 30, 181–192. [Google Scholar] [CrossRef]
- Olesen, L.H.; Okkels, F.; Bruus, H. A high-level programming-language implementation of topology optimization applied to steady-state Navier–Stokes flow. Int. J. Numer. Methods Eng. 2006, 65, 975–1001. [Google Scholar] [CrossRef]
- Each Othmer, C.; De Villiers, E.; Weller, H. Implementation of a continuous adjoint for topology optimization of ducted flows. In Proceedings of the 18th AIAA Computational Fluid Dynamics Conference, Miami, FL, USA, 25–28 June 2007. [Google Scholar]
- Pietropaoli, M.; Montomoli, F.; Gaymann, A. Three-dimensional fluid topology optimization for heat transfer. Struct. Multidiscip. Optim. 2019, 59, 801–812. [Google Scholar] [CrossRef]
- Gaymann, A.; Montomoli, F.; Pietropaoli, M. Fluid topology optimization: Bio-inspired valves for aircraft engines. Int. J. Heat Fluid Flow 2019, 79, 108455. [Google Scholar] [CrossRef]
- Othmer, C. A continuous adjoint formulation for the computation of topological and surface sensitivities of ducted flows. Int. J. Numer. Methods Fluids 2008, 58, 861–877. [Google Scholar] [CrossRef]
- Kondoh, T.; Matsumori, T.; Kawamoto, A. Drag minimization and lift maximization in laminar flows via topology optimization employing simple objective function expressions based on body force integration. Struct. Multidiscip. Optim. 2011, 45, 693–701. [Google Scholar] [CrossRef]
- N. Sá, L.F.; Novotny, A.A.; Romero, J.S.; N. Silva, E.C. Design optimization of laminar flow machine rotors based on the topological derivative concept. Struct. Multidiscip. Optim. 2017, 56, 1013–1026. [Google Scholar] [CrossRef]
- Alexandersen, J.; Andreasen, C.S. A review of topology optimisation for fluid-based problems. Fluids 2020, 5, 29. [Google Scholar] [CrossRef]
- Papoutsis-Kiachagias, E.M.; Kontoleontos, E.A.; Zymaris, A.S.; Papadimitriou, D.I.; Giannakoglou, K.C. Constrained topology optimization for laminar and turbulent flows, including heat transfer. In Proceedings of the EUROGEN, Evolutionary and Deterministic Methods for Design, Optimization and Control, Capua, Italy, 14–16 September 2011; CIRA, Ed.; [Google Scholar]
- Yoon, G.H. Topology optimization for turbulent flow with Spalart–Allmaras model. Comput. Methods Appl. Mech. Eng. 2016, 303, 288–311. [Google Scholar] [CrossRef]
- Dilgen, C.B.; Dilgen, S.B.; Fuhrman, D.R.; Sigmund, O.; Lazarov, B.S. Topology optimization of turbulent flows. Comput. Methods Appl. Mech. Eng. 2018, 331, 363–393. [Google Scholar] [CrossRef]
- Yoon, G.H. Topology optimization method with finite elements based on the k-ε turbulence model. Comput. Methods Appl. Mech. Eng. 2020, 361, 112784. [Google Scholar] [CrossRef]
- Alonso, D.H.; Saenz, J.S.R.; Picelli, R.; Silva, E.C.N. Topology optimization method based on the Wray–Agarwal turbulence model. Struct. Multidiscip. Optim. 2022, 65, 82. [Google Scholar] [CrossRef]
- Sá, L.F.; Yamabe, P.V.; Souza, B.C.; Silva, E.C. Topology optimization of turbulent rotating flows using Spalart–Allmaras model. Comput. Methods Appl. Mech. Eng. 2021, 373, 113551. [Google Scholar] [CrossRef]
- Philippi, B.; Jin, Y. Topology optimization of turbulent fluid flow with a sensitive porosity adjoint method (spam). arXiv 2015, arXiv:1512.08445. [Google Scholar]
- Theulings, M.J.B.; Langelaar, M.; van Keulen, F.; Maas, R. Towards improved porous models for solid/fluid topology optimization. Struct. Multidiscip. Optim. 2023, 66, 133. [Google Scholar] [CrossRef]
- Zhang, M.; Liu, Y.; Yang, J.; Wang, Y. Aerodynamic topology optimization on tip configurations of turbine blades. J. Mech. Sci. Technol. 2021, 35, 2861–2870. [Google Scholar] [CrossRef]
- Launder, B.; Sharma, B. Application of the energy-dissipation model of turbulence to the calculation of flow near a spinning disc. Lett. Heat Mass Transf. 1974, 1, 131–137. [Google Scholar] [CrossRef]
- Wilcox, D.C. Turbulence Modeling for CFD; DCW Industries: La Canada, CA, USA, 1998; Volume 2. [Google Scholar]
- Menter, F.R.; Kuntz, M.; Langtry, R. Ten years of industrial experience with the SST turbulence model. Turbul. Heat Mass Transf. 2003, 4, 625–632. [Google Scholar]
- Menter, F.R. Two-equation eddy-viscosity turbulence models for engineering applications. AIAA J. 1994, 32, 1598–1605. [Google Scholar] [CrossRef]
- OpenFOAM: User Guide: Wall Distance Calculation Methods. (n.d.). Available online: https://www.openfoam.com/documentation/guides/latest/doc/guide-schemes-wall-distance.html (accessed on 16 July 2022).
- Belyaev, A.G.; Fayolle, P. On variational and PDE-based distance function approximations. Comput. Graph. Forum 2015, 34, 104–118. [Google Scholar] [CrossRef]
- He, P.; Mader, C.A.; Martins, J.R.; Maki, K.J. An aerodynamic design optimization framework using a discrete adjoint approach with OpenFOAM. Comput. Fluids 2018, 168, 285–303. [Google Scholar] [CrossRef]
- He, P.; Mader, C.A.; Martins, J.R.R.A.; Maki, K.J. DAFoam: An open-source adjoint framework for multidisciplinary design optimization with OpenFOAM. AIAA J. 2020, 58, 1304–1319. [Google Scholar] [CrossRef]
- He, P.; Mader, C.A.; Martins, J.R.R.A.; Maki, K. An object-oriented framework for rapid discrete adjoint development using OpenFOAM. In Proceedings of the AIAA Scitech 2019 Forum, San Diego, CA, USA, 7–11 January 2019. [Google Scholar]
- Wu, N.; Kenway, G.; Mader, C.A.; Jasa, J.; Martins, J.R.R.A. pyOptSparse: A Python framework for large-scale constrained nonlinear optimization of sparse systems. J. Open Source Softw. 2020, 5, 2564. [Google Scholar] [CrossRef]
- Gill, P.E.; Murray, W.; Saunders, M.A. SNOPT: An SQP algorithm for large-scale constrained optimization. Siam Rev. 2005, 47, 99–131. [Google Scholar] [CrossRef]
- Bradley, A.M. PDE-Constrained Optimization and the Adjoint Method. Technical Report. Stanford University. 2013. Available online: https://cs.stanford.edu/~ambrad/adjoint_tutorial.pdf (accessed on 24 June 2024).
- Duffy, A.C. An Introduction to Gradient Computation by the Discrete Adjoint Method; Technical Report; Florida State University: Tallahassee, FL, USA, 2009. [Google Scholar]
- Li, X.-S.; Gu, C.-W. The momentum interpolation method based on the time-marching algorithm for All-Speed flows. J. Comput. Phys. 2010, 229, 7806–7818. [Google Scholar] [CrossRef]
- Griewank, A.; Walther, A. Evaluating Derivatives: Principles and Techniques of Algorithmic Differentiation; Society for Industrial and Applied Mathematics: Philadelphia, PA, USA, 2008. [Google Scholar]
- Sagebaum, M.; Albring, T.; Gauger, N.R. High-performance derivative computations using codipack. ACM Trans. Math. Softw. 2019, 45, 1–26. [Google Scholar] [CrossRef]
- Philip, E.; Murray, W.; Saunders, M.A. User’s Guide for SNOPT Version 7, a Fortran Package for Large-Scale Nonlinear Programming. 2005. Available online: https://web.stanford.edu/group/SOL/guides/sndoc7.pdf (accessed on 24 June 2024).
- 2D NACA 0012 Airfoil Validation. NASA. Available online: https://turbmodels.larc.nasa.gov/naca0012_val.html (accessed on 24 June 2024).
- Grids-NACA 0012 Airfoil for Turbulence Model Numerical Analysis. Available online: https://turbmodels.larc.nasa.gov/naca0012numerics_grids.html (accessed on 15 January 2023).
- Gregory, N.; O’Reilly, C.L. Low-Speed Aerodynamic Characteristics of NACA 0012 Aerofoil Sections, Including the Effects of Upper-Surface Roughness Simulation Hoar Frost; Reports and Memoranda No. 3726; National Physics Laboratory: Teddington, UK, 1970. [Google Scholar]
- Ladson, C.L. Effects of Independent Variation of Mach and Reynolds Numbers on the Low-Speed Aerodynamic Characteristics of the NACA 0012 Airfoil Section; NASA Technical Memorandum NASA-TM-4074; NASA Langley Research Center: Hampton, VA, USA, 1988.
- 2D Backward Facing Step. Available online: https://turbmodels.larc.nasa.gov/backstep_val.html (accessed on 24 June 2024).
- OpenFOAM: User Guide: Backward Facing Step. Available online: www.openfoam.com/documentation/guides/latest/doc/verification-validation-turbulent-backward-facing-step.html (accessed on 15 January 2023).
- Nasa.gov. 2023. Available online: https://turbmodels.larc.nasa.gov/backstep_validation/profiles.exp.dat (accessed on 15 January 2023).
- OpenFOAM: User Guide: Mesh-Wave Wall Distance. Available online: www.openfoam.com/documentation/guides/latest/doc/guide-schemes-wall-distance-meshwave.html (accessed on 15 January 2023).
- Kulfan, B.M. CST universal parametric geometry representation method with applications to supersonic aircraft. In Proceedings of the Fourth International Conference on Flow Dynamics Sendai International Center Sendai, Sendai, Japan, 26–28 September 2007. [Google Scholar]
- He, P. PitzDaily. DAFoam. 22 February 2022. Available online: https://dafoam.github.io/my_doc_tutorials_topo_pitdaily.html (accessed on 4 April 2022).
Experiment [41] | Current Solver | |
---|---|---|
Line Style | Symbols | Solid Line | Dashed Line |
---|---|---|---|
Turbulence model | (Experimental data) | SST | SST |
Wall distance | (Experimental data) | Mesh wave | 2-Poisson equation |
Experiment [42] | Current Solver | |
---|---|---|
1600 | |||
1600 |
Line Style | Square Symbols | Solid Line | Dashed Line |
---|---|---|---|
Turbulence model | Original LSKE model | Modified LSKE model | Original LSKE model |
Solid representation | Solid-wall boundary | Darcy’s source term | Darcy’s source term |
Original Configuration | Optimized Configuration | |
---|---|---|
0.2667 | 0.0532 | |
Reduction in | --- | 80.1% |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2024 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Wu, C.; Zhang, Y. Flow Topology Optimization at High Reynolds Numbers Based on Modified Turbulence Models. Aerospace 2024, 11, 525. https://doi.org/10.3390/aerospace11070525
Wu C, Zhang Y. Flow Topology Optimization at High Reynolds Numbers Based on Modified Turbulence Models. Aerospace. 2024; 11(7):525. https://doi.org/10.3390/aerospace11070525
Chicago/Turabian StyleWu, Chenyu, and Yufei Zhang. 2024. "Flow Topology Optimization at High Reynolds Numbers Based on Modified Turbulence Models" Aerospace 11, no. 7: 525. https://doi.org/10.3390/aerospace11070525
APA StyleWu, C., & Zhang, Y. (2024). Flow Topology Optimization at High Reynolds Numbers Based on Modified Turbulence Models. Aerospace, 11(7), 525. https://doi.org/10.3390/aerospace11070525