1. Introduction
Topology optimization is the mathematical science of optimal material allocation in a volume under predefined objectives and constraints. This methodology has its roots in solid mechanics [
1,
2] but has evolved into a potent, dependable, and more accessible resource for engineers during the initial phases of intricate structural design processes [
3,
4]. It has also extended to numerous multiphysics scenarios governed by partial differential equations, with an overview of the developing techniques and applications available in Refs [
5,
6]. The mathematical underpinnings of topology optimization stem from iterative analysis and design update procedures, frequently guided by gradient computations. Unlike the classical size and shape optimization methods from which it is derived, its primary benefit lies in its ability to typically exceed expectations, as there is no complexity restriction on the resulting design, which can allow to encompass conflicting demands and intricate interdependencies among design parameters.
In the context of fluid flow problems, topology optimization becomes a question of where in a predetermined domain to enforce relevant boundary conditions for the flow problem so as to find what constitutes the optimal way for the fluid to flow. The density and level set methods have emerged as the two dominant techniques for this purpose (one can also utilize explicit boundary methods, in which the fluid–solid interface is discretized by the edges or faces of a body-fitted mesh, but those are constrained in their ability to manage complex topological alterations). In density methods, a Brinkman penalization approach is used inside the solid, which amounts to representing the flow therein as a fictitious porous material with extremely low permeability [
1,
7,
8]. Such methods can accommodate significant topological alterations (given that the sensitivity/gradient information is distributed across a whole domain) but may result in fluid leaking out of the desired area if the penalization factor is not properly calibrated. In contrast, level set techniques use the iso-contours of level set (distance) functions to capture all solid boundaries [
9,
10,
11], in which case the gradient information is available only at the interface between the solid and fluid domains. Such methods therefore lack a mechanism for nucleating new holes (which is matched by including numerous holes in the initial designs), but they facilitate well-defined, sharp interface representations and adeptly handle intricate topological modifications such as hole merging or cancellation. In addition, they avoid the classical pitfalls of density methods, that generally suffer from staircasing (a phenomenon by which curved surfaces are discretized into stair steps that gives rise to unwanted mesh-dependent spatial oscillations of the interface representation) and rely on intermediate material phases (grayscale elements) that do not have a clear physical interpretation [
12].
The focus here is on conjugate convective heat transfer systems, in which temperature variations occur within the fluid and solid material due to thermal interactions dominated by conduction in the solid and convection in the fluid. This is a matter of great engineering interest, as many industries have embraced the ability of topology optimization to improve the performance and cut the production costs of thermal devices like heat exchangers (to regulate process temperatures and ensure that chemicals, machinery, food, drugs or gas stay in safe operating ranges), finned surfaces, microelectronic equipment, and heat sinks, and to deliver more streamlined designs involving low friction and mass but high thermal performance. Early on, the literature related to this topic could be broken down into the following two groups: those problems focused solely on heat conduction that maximize heat evacuation from singular tree-like optimal structures of high conduction material, and those problems focused on reducing the energy footprint (flow resistance) of complex channel layouts in the diffusion and convection dominated regimes. See [
13,
14] for recent reviews and references therein. Since then, the topology optimization of coupled thermal–fluid problems (that combine both aspects, and thus require dual objective function strategies to maximize the thermal performance while minimizing the flow resistance) has become an active field of research. Although variants of the level set method have received attention recently [
15,
16,
17], the vast majority of available studies implement a density-based monolithic approach [
18,
19,
20,
21,
22,
23,
24,
25,
26] to overcome the fact that the fluid–solid interface is constantly changing over the optimization process, which makes it difficult to model the heat transfer between the fluid and its surrounding from some heat transfer coefficient or surrogate model. A variety of models have been used, ranging from oversimplified (dismissing the difference in the fluid–solid thermal conductivities [
22] or numerically imposing a constant solid temperature [
21]), to highly realistic (full coupling of flow and heat transfer under dual objective function strategies [
18]).
In topology optimization, it is customary to utilize fixed finite element meshes with uniform (or nearly) element sizes. These sizes are chosen to be small enough to accurately capture all key physical phenomena, yet not so small as to render the optimization process prohibitively expensive. A recent trend in the field involves employing adaptive remeshing techniques that entail generating a coarse base grid and subsequently progressively refining the mesh elements in regions demanding a higher resolution. This process repeats until a maximum level of refinement is achieved, or (in sophisticated implementations with error estimation capabilities) the local truncation error falls below a user-defined tolerance level. As far as pure fluid flow problems are concerned, significant attention has been given to adaptive meshing refinement (AMR) schemes, in the realm of both density methods [
27,
28] and level set techniques [
29,
30]. An application to phase field modeling (another capturing method solving interfacial problems that has recently become popular for simulating immiscible two-phase flows) can be found in [
31]; see also [
32,
33] for an application of different remeshing techniques to a blend of level sets and body-fitted meshes in the context of convective heat transfer and other coupled physics models.
Despite the progress made thus far, nearly all adaptive algorithms applied to fluid flow topology optimization rely on isotropic metric maps. Meanwhile, fluid dynamics inherently involves the numerical simulation of convection-dominated problems for which the ability to use extremely stretched mesh elements is highly valuable, especially in boundary layer regions where skin friction driven by steep gradients in the wall–normal fluid velocity is essential [
34]. The premise of our study is that there is great interest in using anisotropic metric maps optimally suited to the solid–fluid interfaces. This has potential to enhance the accuracy of the geometric representation and that of the numerical solutions without resorting to advanced interpolation or discretization methods, which aligns perfectly with recommendations made in [
14] to advance the current state of the art. For all that, we could not find in the literature any research attempting to meet the demands of automatic anisotropic mesh adaptation for topology optimization in thermal–fluid problems, for which possible explanations are the lack of monolithic conjugate heat transfer solvers, and the difficulty of finding spatial discretization schemes exhibiting a sufficient robustness level (for context, the density-based optimization of Stokes flow in [
28] does use anisotropic meshes but leaves aside convection-dominated phenomena and thermal coupling).
In order to address this gap, this study proposes an original numerical framework capable of effectively tackle the topology optimization of conjugate heat transfer problems, thanks to a combination of level set techniques and anisotropic mesh adaptation that makes it possible to accurately handle and evolve arbitrary geometries immersed in an unstructured mesh. A variational multi-scale (VMS) stabilized finite element method capable of handling extremely narrow mesh elements with aspect ratios of up to 1000:1 [
35] is used to solve all equations, that is, the governing, coupled Navier–Stokes and heat equations, as well as the adjoint coupled equations needed to evolve the level set functions through relevant sensitivity analysis. Based on an anisotropic metric map constructed directly at the nodes of the mesh from the level set information, the mesh is adapted using an a posteriori error estimator that seeks to minimize the interpolation error while adhering to a user-defined number of nodes. Notably, this allows to dynamically adjust the mesh refinement throughout the optimization process, enabling the refinement or coarsening of the base grid as needed. This flexibility stands in contrast to AMR schemes, where the total number of mesh elements cannot be controlled, and further coarsening beyond the base configuration is not possible. Such an approach is anticipated to yield additional speed-ups by reducing the computational cost associated with modeling the solid material away from the interface, while also enhancing the manufacturability of the optimal design. This latter aspect is particularly pertinent, as traditional topology optimization algorithms tend to produce organic designs that can pose challenges when it comes to translating to computer-aided design (CAD) models.
The structure of the paper is as follows: the formulation of the topology optimization equations is provided in
Section 2.
Section 3 and
Section 4 detail the immersed, stabilized finite element framework and anisotropic mesh adaptation algorithm used to perform the design update step. The implementation details of the topology optimization algorithm are outlined in
Section 5. Finally, numerical experiments showcasing the potential of the approach to increase the recoverable thermal power while minimizing the dissipated power in two dimensional (2-D) and three-dimensional (3-D) systems are presented in
Section 6, with emphasis on showing the improved accuracy throughout the optimization process. Finally, the numerical cost is discussed in
Section 7, where we also debate the generalization to high-Reynolds number regimes.
8. Conclusions
The current study demonstrates the feasibility of using anisotropic meshes adapted to perform the topology optimization of conjugate heat transfer systems while operating under the constraint of a fixed number of nodes. The proposed method integrates a level set method to delineate the interface between the fluid and solid sub-domains based on the zero iso-value of a signed distance function, along with stabilized weak forms of the state, adjoint, and level set transport equations formulated and solved in the variational multi-scale (VMS) framework. Such an approach has the capability to accommodate the significant topological changes occurring over the course of optimization. However, its primary advantage over existing methods lies in its ability to accurately capture all interfaces using adapted meshes whose anisotropy matches that of the numerical solutions. By doing so, it considerably reduces the cost associated with enhancing numerical precision, as increasing the number of nodes is only necessary in the direction of anisotropy. In return, only twice as many nodes are needed to double the resolution, as opposed to the four- and eightfold increases in classical 2-D and 3-D isotropic computations.
The method has undergone testing across various instances of bi-objective minimization, prioritizing high recoverable thermal power and low power dissipation. This includes a series of 3-D examples encompassing several tens of millions of state degrees of freedom. The resulting optimal layouts align closely with the findings in the existing literature, which suggests that the method holds promise for efficiently engineering diverse low-mass, high-efficiency thermal devices such as heat exchangers, heat sinks, or cold plates while facilitating the transition to manufacturable CAD models almost identical to the numerical optima. Moreover, this holds true even at non-negligible Reynolds numbers as confirmed through dedicated simulations comparing the performance of different shapes generated throughout the optimization iterations.
The present approach can be used as multi-objective topology optimization strategy for a broad range of thermal devices, for which one seeks to achieve a thermal technical target while reducing the system energy consumption. Thermal control can aim at increasing heat transfer (as was performed here), but also enhance temperature uniformity, or reduce temperature and/or heat flux fluctuations. The objective in terms of flow resistance is often to diminish the power dissipation of the fluid, which can lead to different formulations, as low dissipation is generally correlated with low drag and pressure drops. All such objectives are tractable using the exact same numerical framework, provided the optimization problem is formulated with a moderate number of equality constraints, and that all cost functions can be expressed as integrals over all or any part of the inlet and/or outlet (not the wall, as is the case here, which yields homogeneous adjoint equations with non-homogeneous boundary conditions), or over any part of the computational domain (which leads to non-homogeneous adjoint equations with homogeneous boundary conditions). The method can also easily accommodate more complex objectives aiming at improving the thermal performance while minimizing dissipation and achieving even flow rates in distinct branches of a network (by minimizing the distance to a target velocity distribution), which is of great interest to design high-performance lab-on-a-chip microfluidic devices.
Future work should aim at improving the numerical efficiency, for instance, by adding nucleation mechanisms to alleviate the need for an initial design with holes, as this makes it difficult to fulfill the proper volume constraint from the outset, and requires substantial mesh refinement to avoid clogging the fluid path in the early stage of optimization. Other research directions include application to complex physics more representative of real-life situations (e.g., multiphase flows and fluid–structure interactions), as well as the assessment of multi-component mesh adaptation criteria to further improve the accuracy of the gradient evaluations by encompassing the discrepancy in the spatial supports of the state and adjoint fields.