A Stabilized Finite Element Framework for Anisotropic Adaptive Topology Optimization of Incompressible Fluid Flows
Abstract
:1. Introduction
2. Immersed Model for Fluid Flow Topology Optimization
2.1. State Equations
2.2. Adjoint-Based Sensitivity Analysis
2.3. Level-Set Representation of the Interface
3. Anisotropic Mesh Adaptation
Algorithm 1 Simplified update scheme | |
Require: Anisotropic mesh adapted to initial level-set function | |
1: | loop |
2: | Compute state |
3: | Compute adjoint |
4: | Compute cost function sensitivity |
5: | Set displacement in the direction of the steepest slope |
6: | Update level set |
7: | Generate anisotropic mesh adapted to new level set |
3.1. Construction of an Anisotropic Mesh
3.2. Edge Error Estimate
3.3. Metric Construction
3.4. Summary
Algorithm 2 Anisotropic mesh adaptation algorithm | |
Require: Anisotropic adapted mesh | |
1: | Set number of nodes |
2: | Compute on current mesh |
3: | for each node do |
4: | Compute length distribution tensor using (25) |
5: | Compute nodal recovered gradient. using (24) |
6: | for all edges do |
7: | Compute edge recovered gradient |
8: | Compute edge-based error using (22) |
9: | Compute stretching factor using (28) |
10: | Compute metric using (27) |
11: | Generate new mesh using local improvement in the neighborhood of the nodes and edges [32] |
12: | Interpolate on new mesh |
3.5. Level-Set-Based Adaptation Criteria
4. Computational Methods
4.1. Immersed Volume Method
4.2. Variational Multiscale Modeling
4.2.1. Navier–Stokes Equations
4.2.2. Adjoint Navier–Stokes Equations
4.2.3. Interface Update Scheme Using the Convective Level-Set Method
5. Numerical Implementation
5.1. Geometrical Constraints
5.2. Steepest-Descent Update Rule
- is a binary filter that returns a value of 1 only at nodes within a distance E of the interface. This is because the normal vector in a level-set framework is recovered as , so the displacement is non-zero in the whole fluid domain, even far from the interface where has a unit norm because only tends asymptotically to zero. In return, the update step can break down numerically at nodes nearly equidistant from two subparts of the interfaces (for instance, the centerline of a channel).
- is a smooth filter assigning a 0 value to a position , which is singled out prior to optimization, because the flow there may be driven to a singularity, and ill-defined velocity gradients may cause large, unphysical displacements. Such singularities can be dealt with numerically by appending fluid/solid Dirichlet boundary conditions to the level-set convection-reinitialization problem. Nonetheless, they must not be included in the normalization step to avoid forcing excessively small displacements along the remaining part of the interface, thereby considerably slowing down the convergence rate of the iterative optimization process. Here, we use hyperbolic tangent filters
5.3. Descent Factor
5.4. General Algorithm
6. Numerical Benchmarks
6.1. Preliminaries
- All design domains are initialized with spherical solid inclusions coming in various sizes, adjusted for the initial volume of fluid to match the target within the desired tolerance. This essentially removes the need to create new holes by a dedicated nucleation mechanism. The admissible error on the target volume is set to (actually, in the case where , this refers to the cross-sectional area or volume-per-unit length in the third dimension, but we chose to retain the volume terminology for the sake of generality).
- Leads of length , appended normally to the boundary, are used to systematically convey the fluid into and out of the design domain. This ensures numerical consistency, as the exact problem formulation may vary depending on the case, the reference, and the problem dimensionality, and it is not always clear whether such leads are included in the design domain (which they are here, although they are not considered in the volume constraint, the definition of the target volume, or the computation of the volume of fluid).
- Since the reference design domains (without the leads) consist of square and rectangular cavities, the singular points excluded from the displacement normalization step are the sharp intersections between the leads and the boundary of the cavities (without it being a consequence of explicitly representing the leads, as the same procedure has been found to be suitable without such appendage).
- The leads are excluded from the displacement normalization step, for which we simply add to the max argument of (45) a binary filter, returning a value of 0 at all nodes located inside the pipes. This is implemented to avoid slowing down the convergence rate of the iterative optimization process, as the maximum displacement would otherwise be located in the leads (because the easiest way to minimize the dissipated power is to suppress the flow by having the solid entirely clogging the leads).
- Boundary conditions are appended to the auto-reinitialization level-set equation in the form of fluid at the inlet and outlet, and solid everywhere else.
- All meshes have been checked to ensure they have an element-to-node ratio close to 2 (as it should be for dense meshes made up of triangular elements). The mesh information is thus documented below in terms of its equivalent number of elements to facilitate a comparison with the available literature.
6.2. Design of a Pipe Bend
6.3. Design of a Four-Terminal Device
6.4. Design of a Double Pipe
7. Discussion
7.1. Computational Efficiency
7.2. Convergence and Mesh Dependency
7.3. Application to a Simplified Flow Distributor Problem
8. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- Bendsøe, M.P.; Kikuchi, N. Generating optimal topologies in structural design using a homogenization method. Comput. Methods Appl. Mech. Engrg. 1988, 71, 197–224. [Google Scholar] [CrossRef]
- Bendsøe, M.P.; Sigmund, O. Topology Optimization: Theory, Methods, and Applications; Springer Science & Business Media: Berlin/Heidelberg, Germany, 2003. [Google Scholar]
- Yang, R.J.; Chahande, A.I. Automotive applications of topology optimization. Struct. Opt. 1995, 9, 245–249. [Google Scholar] [CrossRef]
- Zhu, J.H.; Zhang, W.H.; Xia, L. Topology optimization in aircraft and aerospace structures design. Arch. Comput. Method. E. 2016, 23, 595–622. [Google Scholar] [CrossRef]
- Sigmund, O.; Maute, K. Topology optimization approaches. Struct. Multidiscipl. Optim. 2013, 48, 1031–1055. [Google Scholar] [CrossRef]
- Deaton, J.D.; Grandhi, R.V. A survey of structural and multidisciplinary continuum topology optimization: Post 2000. Struct. Multidiscipl. Optim. 2014, 49, 1–38. [Google Scholar] [CrossRef]
- Alexandersen, J.; Andreasen, C.S. A review of topology optimisation for fluid-based problems. Fluids 2020, 5, 29. [Google Scholar] [CrossRef]
- Suzuki, K.; Kikuchi, N. A homogenization method for shape and topology optimization. Comput. Methods Appl. Mech. Engrg. 1991, 93, 291–318. [Google Scholar] [CrossRef]
- Allaire, G.; Bonnetier, E.; Francfort, G.; Jouve, F. Shape optimization by the homogenization method. Numer. Math. 1997, 76, 27–68. [Google Scholar] [CrossRef]
- Sethian, J.A.; Wiegmann, A. Structural boundary design via level set and immersed interface methods. J. Comput. Phys. 2000, 163, 489–528. [Google Scholar] [CrossRef]
- Wang, M.Y.; Wang, X.; Guo, D. A level set method for structural topology optimization. Comput. Methods Appl. Mech. Engrg. 2003, 192, 227–246. [Google Scholar] [CrossRef]
- Allaire, G.; Jouve, F.; Toader, A.M. Structural optimization using sensitivity analysis and a level-set method. J. Comput. Phys. 2004, 194, 363–393. [Google Scholar] [CrossRef]
- Van Dijk, N.P.; Maute, K.; Langelaar, M.; Van Keulen, F. Level-set methods for structural topology optimization: A review. Struct. Multidiscipl. Optim. 2013, 48, 437–472. [Google Scholar] [CrossRef]
- Duan, X.B.; Li, F.F.; Qin, X.Q. Adaptive mesh method for topology optimization of fluid flow. Appl. Math. Lett. 2015, 44, 40–44. [Google Scholar] [CrossRef]
- Jensen, K.E. Topology optimization of Stokes flow on dynamic meshes using simple optimizers. Comp. Fluids 2018, 174, 66–77. [Google Scholar] [CrossRef]
- Duan, X.B.; Qin, X.Q. Optimality criteria coupled adaptive mesh method for optimal shape design of Stokes flow. Math. Methods Appl. Sci. 2016, 39, 3910–3920. [Google Scholar] [CrossRef]
- Duan, X.B.; Li, F.F.; Qin, X.Q. Topology optimization of incompressible Navier–Stokes problem by level set based adaptive mesh method. Comput. Math. Appl. 2016, 72, 1131–1141. [Google Scholar] [CrossRef]
- Garcke, H.; Hecht, C.; Hinze, M.; Kahle, C. Numerical approximation of phase field based shape and topology optimization for fluids. SIAM J. Sci. Comput. 2015, 37, A1846–A1871. [Google Scholar] [CrossRef]
- Feppon, F.; Allaire, G.; Bordeu, F.; Cortial, J.; Dapogny, C. Shape optimization of a coupled thermal fluid–structure problem in a level set mesh evolution framework. SeMA 2019, 76, 413–458. [Google Scholar] [CrossRef]
- Feppon, F.; Allaire, G.; Dapogny, C.; Jolivet, P. Topology optimization of thermal fluid–structure systems using body-fitted meshes and parallel computing. J. Comput. Phys. 2020, 417, 109574. [Google Scholar] [CrossRef]
- Feppon, F.; Allaire, G.; Dapogny, C.; Jolivet, P. Body-fitted topology optimization of 2D and 3D fluid-to-fluid heat exchangers. Comput. Methods Appl. Mech. Engrg. 2021, 376, 113638. [Google Scholar] [CrossRef]
- Alauzet, F.; Loseille, A. A decade of progress on anisotropic mesh adaptation for computational fluid dynamics. Comput. Aided Des. 2016, 72, 13–39. [Google Scholar] [CrossRef]
- Sari, J.; Cremonesi, F.; Khalloufi, M.; Cauneau, F.; Meliga, P.; Mesri, Y.; Hachem, E. Anisotropic adaptive stabilized finite element solver for RANS models. Int. J. Numer. Meth. Fl. 2018, 86, 717–736. [Google Scholar] [CrossRef]
- Othmer, C. A continuous adjoint formulation for the computation of topological and surface sensitivities of ducted flows. Int. J. Numer. Meth. Fl. 2008, 58, 861–877. [Google Scholar] [CrossRef]
- Chomaz, J.M. Global instabilities in spatially developing flows: Non-normality and nonlinearity. Annu. Rev. Fluid Mech. 2005, 37, 357–392. [Google Scholar] [CrossRef]
- Soto, O.; Löhner, R. On the computation of flow sensitivities from boundary integrals. In Proceedings of the 42nd AIAA Aerospace Sciences Meeting and Exhibit, Reno, NV, USA, 5–8 January 2004. [Google Scholar]
- Ville, L.; Silva, L.; Coupez, T. Convected level set method for the numerical simulation of fluid buckling. Int. J. Numer. Meth. Fl. 2011, 66, 324–344. [Google Scholar] [CrossRef]
- Coupez, T.; Silva, L.; Hachem, E. Implicit Boundary and Adaptive Anisotropic Meshing. In New Challenges in Grid Generation and Adaptivity for Scientific Computing; Perotto, S., Formaggia, L., Eds.; Springer: Berlin/Heidelberg, Germany, 2015; pp. 1–18. [Google Scholar]
- Bonito, A.; Guermond, J.L.; Lee, S. Numerical simulations of bouncing jets. Int. J. Numer. Meth. Fl. 2016, 80, 53–75. [Google Scholar] [CrossRef]
- Coupez, T. Metric construction by length distribution tensor and edge based error for anisotropic adaptive meshing. J. Comput. Phys. 2011, 230, 2391–2405. [Google Scholar] [CrossRef]
- Jannoun, G.; Hachem, E.; Veysset, J.; Coupez, T. Anisotropic meshing with time-stepping control for unsteady convection-dominated problems. Appl. Math. Model. 2015, 39, 1899–1916. [Google Scholar] [CrossRef]
- Coupez, T. Génération de maillage et adaptation de maillage par optimisation locale. Rev. Eur. Elem. Finis 2000, 9, 403–423. [Google Scholar] [CrossRef]
- Khalloufi, M.; Mesri, Y.; Valette, R.; Massoni, E.; Hachem, E. High fidelity anisotropic adaptive variational multiscale method for multiphase flows with surface tension. Comput. Methods Appl. Mech. Engrg. 2016, 307, 44–67. [Google Scholar] [CrossRef]
- Coupez, T.; Jannoun, G.; Veysset, J.; Hachem, E. Edge-based anisotropic mesh adaptation for CFD applications. In Proceedings of the 21st International Meshing Roundtable; Jiao, X., Weill, J.C., Eds.; Springer: Berlin/Heidelberg, Germany, 2013; pp. 567–583. [Google Scholar]
- Meliga, P.; Chomaz, J.M.; Sipp, D. Unsteadiness in the wake of disks and spheres: Instability, receptivity and control using direct and adjoint global stability analyses. J. Fluid Struct. 2009, 25, 601–616. [Google Scholar] [CrossRef]
- Hachem, E.; Digonnet, H.; Massoni, E.; Coupez, T. Immersed volume method for solving natural convection, conduction and radiation of a hat-shaped disk inside a 3D enclosure. Int. J. Numer. Method H. 2012, 22, 718–741. [Google Scholar] [CrossRef]
- Hachem, E.; Feghali, S.; Codina, R.; Coupez, T. Immersed stress method for fluid-structure interaction using anisotropic mesh adaptation. Int. J. Numer. Meth. Eng. 2013, 94, 805–825. [Google Scholar] [CrossRef]
- Dambrine, M.; Kateb, D. On the ersatz material approximation in level-set methods. ESAIM Contr. Optim. Ca. 2010, 16, 618–634. [Google Scholar] [CrossRef]
- Hachem, E.; Rivaux, B.; Kloczko, T.; Digonnet, H.; Coupez, T. Stabilized finite element method for incompressible flows with high Reynolds number. J. Comput. Phys. 2010, 229, 8643–8665. [Google Scholar] [CrossRef]
- Codina, R. Stabilized finite element approximation of transient incompressible flows using orthogonal subscales. Comput. Methods Appl. Mech. Engrg. 2002, 191, 4295–4321. [Google Scholar] [CrossRef]
- Tezduyar, T.; Osawa, Y. Finite element stabilization parameters computed from element matrices and vectors. Comput. Methods Appl. Mech. Engrg. 2000, 190, 411–430. [Google Scholar] [CrossRef]
- Codina, R. Stabilization of incompressibility and convection through orthogonal sub-scales in finite element methods. Comput. Methods Appl. Mech. Engrg. 2000, 190, 1579–1599. [Google Scholar] [CrossRef]
- Hachem, E.; Kloczko, T.; Digonnet, H.; Coupez, T. Stabilized finite element solution to handle complex heat and fluid flows in industrial furnaces using the immersed volume method. Int. J. Numer. Meth. Fl. 2012, 68, 99–121. [Google Scholar] [CrossRef]
- Hachem, E.; Jannoun, G.; Veysset, J.; Coupez, T. On the stabilized finite element method for steady convection-dominated problems with anisotropic mesh adaptation. Appl. Math. Comput. 2014, 232, 581–594. [Google Scholar] [CrossRef]
- Codina, R. Comparison of some finite element methods for solving the diffusion-convection-reaction equation. Comput. Methods Appl. Mech. Engrg. 1998, 156, 185–210. [Google Scholar] [CrossRef]
- Badia, S.; Codina, R. Analysis of a stabilized finite element approximation of the transient convection-diffusion equation using an ALE framework. SIAM J. Numer. Anal. 2006, 44, 2159–2197. [Google Scholar] [CrossRef]
- Borrvall, T.; Petersson, J. Topology optimization of fluids in Stokes flow. Int. J. Numer. Meth. Fl. 2003, 41, 77–107. [Google Scholar] [CrossRef]
- Duan, X.B.; Ma, Y.C.; Zhang, R. Shape-topology optimization for Navier–Stokes problem using variational level set method. J. Comput. Appl. Math. 2008, 222, 487–499. [Google Scholar] [CrossRef]
- Gersborg-Hansen, A.; Sigmund, O.; Haber, R.B. Topology optimization of channel flow problems. Struct. Multidiscipl. Optim. 2005, 30, 181–192. [Google Scholar] [CrossRef]
- Abdelwahed, M.; Hassine, M.; Masmoudi, M. Optimal shape design for fluid flow using topological perturbation technique. J. Math. Anal. 2009, 356, 548–563. [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. Meth. Eng. 2006, 65, 975–1001. [Google Scholar] [CrossRef]
- Guest, J.K.; Prévost, J.H. Topology optimization of creeping fluid flows using a Darcy–Stokes finite element. Int. J. Numer. Meth. Eng. 2006, 66, 461–484. [Google Scholar] [CrossRef]
- Papadopoulos, I.P.A.; Farrell, P.E.; Surowiec, T.M. Computing multiple solutions of topology optimization problems. SIAM J. Sci. Comput. 2021, 43, A1555–A1582. [Google Scholar] [CrossRef]
- Sigmund, O.; Petersson, K. Numerical instabilities in topology optimization: A survey on procedures dealing with checkerboards, mesh-dependencies and local minima. Struct. Opt. 1998, 16, 68–75. [Google Scholar] [CrossRef]
- Liu, Z.; Gao, Q.; Zhang, P.; Xuan, M.; Wu, Y. Topology optimization of fluid channels with flow rate equality constraints. Struct. Multidiscipl. Optim. 2011, 44, 31–37. [Google Scholar] [CrossRef]
Design domain | |||
0.28 | 0.5 | Target volume of fluid | |
» | » | Reynolds number | |
» | Injected volumetric flow rate | ||
» | Inlet width | ||
» | Outlet width | ||
0.4 | 0.1 | Conveying pipes length | |
= 30,000 | » | 40,000 | No. mesh nodes |
= 60,000 | » | 80,000 | No. mesh elements |
» | » | Min. interface normal mesh size | |
» | » | CFD Numerical time step | |
» | » | Level-set cut-off thickness | |
» | » | Initial volume recovery offset | |
» | » | Transition radius | |
» | » | Sharpness parameter | |
» | » | Regularization parameters |
Convergence Iter. | Cost Function | No. Mesh Elements | |
---|---|---|---|
295 | 33.1 | 80,000 | |
306 | 32.7 | 60,000 | |
212 | 32.9 | 40,000 | |
148 | 32.1 | 20,000 | |
153 | 68.9 | 80,000 | |
129 | 69.1 | 60,000 | |
104 | 69.0 | 40,000 | |
68 | 68.6 | 20,000 | |
2460 | 68.6 | 105,000 | |
1750 | 67.6 | 80,000 | |
2130 | 68.2 | 55,000 | |
1594 | 67.0 | 25,000 |
Design domain | |
Target volume of fluid | |
Reynolds number | |
Injected volumetric flow rate | |
Inlet width | |
Outlet width | |
Inlet conveying the pipe length | |
Outlet conveying the pipe length | |
= 25,000 | No. of mesh nodes |
= 50,000 | No. of mesh elements |
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. |
© 2023 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
Abdel Nour, W.; Jabbour, J.; Serret, D.; Meliga, P.; Hachem, E. A Stabilized Finite Element Framework for Anisotropic Adaptive Topology Optimization of Incompressible Fluid Flows. Fluids 2023, 8, 232. https://doi.org/10.3390/fluids8080232
Abdel Nour W, Jabbour J, Serret D, Meliga P, Hachem E. A Stabilized Finite Element Framework for Anisotropic Adaptive Topology Optimization of Incompressible Fluid Flows. Fluids. 2023; 8(8):232. https://doi.org/10.3390/fluids8080232
Chicago/Turabian StyleAbdel Nour, Wassim, Joseph Jabbour, Damien Serret, Philippe Meliga, and Elie Hachem. 2023. "A Stabilized Finite Element Framework for Anisotropic Adaptive Topology Optimization of Incompressible Fluid Flows" Fluids 8, no. 8: 232. https://doi.org/10.3390/fluids8080232