A "poor man's" approach for high-resolution three-dimensional topology optimization of natural convection problems
Nicolo Pollini, Ole Sigmund, Casper Schousboe Andreasen, Joe, Alexandersen

TL;DR
This paper introduces a simplified, computationally efficient topology optimization method for 3D natural convection problems, enabling high-resolution design of heat sinks with significantly reduced computational effort.
Contribution
A novel simplified model for natural convection topology optimization that reduces computational cost while maintaining accuracy, suitable for high-resolution 3D problems.
Findings
Computational time reduced to 5-20% of traditional methods.
Optimized heat sink designs outperform baseline configurations.
Method enables design optimization within a workday on standard hardware.
Abstract
This paper treats topology optimization of natural convection problems. A simplified model is suggested to describe the flow of an incompressible fluid in steady state conditions, similar to Darcy's law for fluid flow in porous media. The equations for the fluid flow are coupled to the thermal convection-diffusion equation through the Boussinesq approximation. The coupled non-linear system of equations is discretized with stabilized finite elements and solved in a parallel framework that allows for the optimization of high resolution three-dimensional problems. A density-based topology optimization approach is used, where a two-material interpolation scheme is applied to both the permeability and conductivity of the distributed material. Due to the simplified model, the proposed methodology allows for a significant reduction of the computational effort required in the optimization. At…
| CPUs | Time | Scaling | Time | Scaling |
|---|---|---|---|---|
| Mesh | ||
|---|---|---|
| ( iter) | ||
| ( iter) | ||
| ( iter) |
| Time | ||||
|---|---|---|---|---|
| Optimization | ||||
|---|---|---|---|---|
| Analysis | ||||
| Optimization | ||||
|---|---|---|---|---|
| Analysis | ||||
| Model for optimization | ||||
| Optimization | ||||
| iteration | - | - | ||
| - | ||||
| - | ||||
| - | ||||
| - | ||||
| - | ||||
| Time | ||||
| Navier-Stokes | Darcy | Total | ||
| ( iter) | ( iter) | ( iter) | ||
| Optimization | ||||
|---|---|---|---|---|
| Analysis | ||||
| Design | Reference | D | NS-D |
|---|---|---|---|
| Volume | |||
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
A “poor man’s” approach for high-resolution three-dimensional topology optimization of natural convection problems
Nicolò Pollini
Ole Sigmund
Casper Schousboe Andreasen
Joe Alexandersen
Section of Solid Mechanics, Department of Mechanical Engineering, Technical University of Denmark, 2800 Kgs. Lyngby, Denmark
Abstract
This paper treats topology optimization of natural convection problems. A simplified model is suggested to describe the flow of an incompressible fluid in steady state conditions, similar to Darcy’s law for fluid flow in porous media. The equations for the fluid flow are coupled to the thermal convection-diffusion equation through the Boussinesq approximation. The coupled non-linear system of equations is discretized with stabilized finite elements and solved in a parallel framework that allows for the optimization of high resolution three-dimensional problems. A density-based topology optimization approach is used, where a two-material interpolation scheme is applied to both the permeability and conductivity of the distributed material. Due to the simplified model, the proposed methodology allows for a significant reduction of the computational effort required in the optimization. At the same time, it is significantly more accurate than even simpler models that rely on convection boundary conditions based on Newton’s law of cooling. The methodology discussed herein is applied to the optimization-based design of three-dimensional heat sinks. The final designs are formally compared with results of previous work obtained from solving the full set of Navier-Stokes equations. The results are compared in terms of performance of the optimized designs and computational cost. The computational time is shown to be decreased to around in terms of core-hours, allowing for the possibility of generating an optimized design during the workday on a small computational cluster and overnight on a high-end desktop.
keywords:
topology optimization , conjugate heat transfer , natural convection , high performance computing , simplified model
1 Introduction
Convection is the heat transfer due to movement of a fluid. Two types of convection can be identified: natural convection, when the fluid flow is caused by buoyancy forces generated by temperature gradients in the fluid; and forced convection, when the fluid flow is caused by an external forcing. Both forced and natural convection are considered in the design of heat sinks. These are heat dissipation devices often used to enhance the rate of dispersion of heat generated by different power sources within computers, other electronic enclosures or heat producing machinery. Heat sinks typically consist of a highly conductive material surrounded by a fluid. In the design of heat sinks, the dimensions may be constrained by product size requirements, and in many cases the fin array geometry is one of the few parameters left at the engineer’s discretion. In order to obtain innovative designs of heat sinks with improved heat transfer, several researchers focused on the optimization-based design of heat sinks. For example, Morrison [38] focused on the optimization of the fin geometry of heat sinks in natural convection with rectangular cross-section fins at a constant spacing. A derivative-free approach was used, where the design variables were the fin and backplate thicknesses, and the fins’ spacing. Ledezma & Bejan [33] optimized the geometry of staggered vertical plates with the objective of maximizing the thermal conductance between the plates’ assembly and the surrounding fluid. The least-material optimization of pin-fin, plate-fin and rectangular fin heat sinks in natural convection was discussed by Iyengar & Bar-Cohen [25]. Bahadur & Bar-Cohen [9] discussed the optimization-based design of vertical pin-fin heat sinks for a microprocessor cooled by natural convection. The design involved the pin height, diameter, and spacing. Jang et al. [26] used a genetic algorithm to optimize a pin-fin radial heat sink. The above mentioned references are a few examples of optimization approaches for natural convection systems based on parametric models with few design variables. To avoid the need of predefining any aspect of the design problem beforehand, thus allowing for a large design space, this work considers a topology optimization approach.
Topology optimization can be considered the most general form of structural optimization that allows for vast design freedom [13]. The basic idea consists of distributing a given amount of material within a prescribed design domain in order to obtain the best structural performance. It often results in highly efficient but unpredictable optimized designs, that could not have been obtained by simple intuition. Since the seminal paper by Bendsøe & Kikuchi [11], topology optimization has undergone a tremendous development in several directions and fields [42, 19]. For example, topology optimization has been applied to conjugate heat transfer problems with forced convection [50, 37, 36, 29, 35, 47, 24]. Recently, topology optimization has been applied also in the context of latent heat storage system design with phase change material [40], complex turbulent flow systems [21], and turbulent forced convection [22].
To this date topology optimization for fully-coupled natural convection problems has received only little attention. Topology optimization for 2-D natural convection problems was first applied by Alexandersen et al. [4], considering a density-based approach for the design of heat sinks and micro-pumps. The problem is formulated under the assumption of steady-state laminar flow, using the incompressible Navier-Stokes equations coupled to the convection-diffusion equation through the Boussinesq approximation. Alexandersen et al. [5] later extended the formulation to the case of large scale 3-D topology optimization of heat sinks. This approach has been applied to the design of passive coolers for light-emitting diode (LED) lamps [6]. It is shown that topology optimization successfully identifies innovative design solutions that prove to outperform those achieved by intuition. In the context of topology optimization based on the level-set method [46], Coffin & Maute [16] consider both steady-state and transient natural convection problems. The experimental validation of topology optimized devices for conjugate heat transfer problems has been rarely performed, but there are a few contributions [20, 30, 32, 34]. In particular, Lazarov et al. [32] presents the experimental validation of the numerical results from Alexandersen et al. [6] using additive manufacturing in aluminium, closing for the first time the design-validation-manufacturing cycle for topology optimization of heat sinks passively cooled by natural convection. Through numerical and experimental results, it is shown that topology-optimized and additively-manufactured designs for passive coolers of LED lamps lead to significant material savings and performance improvements with respect to lattice designs. Further experimental validation is discussed by Lei et al. [34]. In this case, stereolithography-assisted investment casting (SLA-assisted IC) is used to fabricate heat sink devices designed through topology optimization. It is shown that SLA-assisted IC is a valuable alternative to more traditional metal additive manufacturing, and that it requires lower costs and is more flexible with regards to part size and metals that can be used. However, even though the above mentioned approaches for topology optimization of natural convection problems accurately capture the physical description of the fluid flow through the Navier-Stokes equations, they also require a very high computational effort and time. In fact, a current limitation for a broader adoption of topology optimization in the early stage design of natural convection problems is the high computational effort that it requires. For example, Alexandersen et al. [5] report a computational time of approximately hours using CPUs for topology optimization of natural convection problems.
In an attempt to reduce the computational cost required for topology optimization of natural convection problems, several authors adopted a simplified convection model for the heat flux at the solid-fluid interface based on Newton’s Law of Cooling (NLC). This simplified approach does not require the solution of the flow field, significantly reducing the computational cost required. For example, the NLC model has been applied in 2-D density-based topology optimization problems [41, 49, 15, 3, 52]. Coffin & Maute [17] consider the NLC model for topology optimization of 2-D and 3-D convective heat transfer problems through an explicit level-set method. They also observe that even though the NLC model approximates convective fluxes at the solid-fluid interface with a simple and computationally efficient formulation, it may significantly over-predict the heat flux, thus promoting the formation of thin fluid channels in the optimized topologies. They also report that this behavior can be mitigated, if the temperature field in the fluid is approximated by a diffusion model, and that the formation of small solid elements is prevented with an explicit feature size control. Joo et al. [27] extends the simple NLC model to account for the shape-dependency of the heat transfer coefficient in the problem formulation. The results show that the use of a shape-dependent variable definition of the heat transfer coefficient accounts with more accuracy for the actual channel spacing between the fins. This approach has recently been extended to the 3-D case [28], where the heat transfer coefficient depends on the local shape of the fins and decreases along the direction of the flow.
An alternative to the NLC method for reducing the computational cost in natural convection problems is to consider a simplified flow model resembling Darcy’s law for fluid in porous media. Darcy’s law is used by Guest & Prévost [23] for topology optimization of creeping fluid flows. In particular, the Darcy equation is used to model the flow in the solid domain, thus allowing to formulate the flow with a unified Darcy-Stokes flow formulation on a given solid-fluid domain. A simplified flow model based on Darcy’s law is also considered by Zhao et al. [51] for 2-D topology optimization of turbulent forced convection for cooling channels. Similarly, Asmussen et al. [7] proposed a methodology for the topology optimization of 2-D heat sinks cooled by natural convection. A potential flow model, resembling Darcy’s law, is considered to simplify the fluid flow, leading to promising optimized designs that are in good agreement with those achieved considering the full Navier-Stokes flow model. It is also shown, that the approach yields significantly better designs than an approach based on NLC. Both in the work by Zhao et al. [51] and Asmussen et al. [7], particular attention is given to the definition of the numerical values of the fictitious fluid permeability parameters required by Darcy’s law. In particular, Zhao et al. [51] compares the simplified flow model to a full-blown turbulent flow benchmark example. The average velocity at a predefined cross-section of the domain, the temperature distribution at the center of the heat source and the pressure drop from inlet to outlet are used to perform the parametric tuning. Asmussen et al. [7] perform a tuning procedure by comparing the temperature distribution associated with the simplified flow model and the incompressible Navier-Stokes flow in a benchmark example.
In this work, we extend the approach presented by Asmussen et al. [7] to topology optimization of 3-D high resolution natural convection problems. The simplified flow model resembling Darcy’s law is coupled to the thermal convection-diffusion equation through the Boussinesq approximation (Fig. 1). We propose a tuning procedure for the fictitious fluid permeability parameter following analytical results available in the literature. In the solid region, we mimic the absence of flow by assigning an infinitesimal value to the permeability of the solid material. The non-linear system of governing equations is solved using stabilized finite elements in a parallel high-performance computing framework that allows for optimizing large scale problems. A density-based topology optimization approach is used, where a two-material (i.e. solid-fluid) interpolation scheme is applied to both the permeability and conductivity of the distributed material. As a consequence of the simplified flow formulation considered, the proposed approach allows for a significant reduction of the computational effort required in the optimization, and at the same time it is significantly more accurate than even simpler models based on NLC, as already shown by Asmussen et al. [7]. The methodology discussed herein is applied to the optimization of academic heat sink design cases. The results are compared to those presented by Alexandersen et al. [5], obtained considering an equivalent problem formulation using the full Navier-Stokes flow model. The comparison is done in terms of computational cost, and performance of the optimized designs. Moreover, we suggest the use of the simplified natural convection model discussed herein in conjunction with a more accurate one based on the Navier-Stokes flow model. The result is a hybrid optimization approach, that leads to optimized designs with a superior performance compared to those obtained considering the simplified model only, but requiring a reasonable computational cost.
The remainder of the article is organized as follows: Sec. 2 presents the formulation of the problem at hand, with details on the governing equations of the problem; Sec. 3 provides a detailed description of the proposed tuning procedure for the fluid permeability parameter; Sec. 4 briefly discusses the finite element approximation adopted for the evaluation of the system response; Sec. 5 formulates the topology optimization problem considered with details on the material interpolation technique adopted and on other computational aspects; Sec. 6 presents an in-depth study and comparison for the benchmark example of [5]; Sec. 7 presents a second numerical example illustrating the strengths and limitations of the proposed approaches; lastly, concluding remarks are given in Sec. 8.
2 Problem formulation
In this section we present the governing equations. In particular, we first present the procedure adopted to simplify the fluid flow model. This has recently been presented by Asmussen et al. [7], but is reproduced here for completeness. We then conclude this section presenting the full set of governing equations including the incompressibility condition, and the equations for the energy conservation.
2.1 From Navier-Stokes to Darcy
We begin by considering the Navier-Stokes equations for a laminar and incompressible steady-state fluid flow. Through a sequence of assumptions, the final simplified flow model is obtained, and it can be defined also in terms of Darcy’s law. The steady-state incompressible Navier-Stokes equations considered are the following:
[TABLE]
where is the -th component of the velocity vector u, is the density, is the fluid viscosity, is the pressure, and is the -th acceleration component of the gravity vector g.
The equations that model the fluid flow are coupled with the convection-diffusion equations through the Boussinesq approximation. The Boussinesq approximation links the fluid density with its temperature assuming a linear formulation, and it mimics the occurrence of buoyancy due to differences in the density caused by differences in temperature:
[TABLE]
where is the coefficient of thermal expansion, and are reference values of the density and temperature. For convenience, we define the variable , which is the modified pressure measure which includes the gravitational head:
[TABLE]
If we assume that the buoyancy term is dominant compared to the inertia term, or more explicitly:
[TABLE]
then Eq. (1) becomes:
[TABLE]
Last, we consider the viscous resistance term to be linearly dependent on the velocity:
[TABLE]
where is the permeability parameter associated to a fictitious porous medium. By substituting Eq. (6) into Eq. (5) we obtain the simplified flow model, that resembles Darcy’s law for fluid flow in porous media:
[TABLE]
2.2 Governing equations
The governing equations are written for a unified domain, that includes both the solid and fluid part, i.e. . The characterization of the governing equations to each of the two sub domains is achieved by controlling the parameters that define the material behavior. In particular, we will interpolate the material permeability, , and conductivity, , between the two domains (i.e. solid and fluid). The following are the governing equations for the simplified flow model, incompressibility condition, and energy conservation:
[TABLE]
where is the specific heat capacity, is the temperature, and is the volumetric heat source. Further, the following boundary conditions hold:
[TABLE]
When solving the above equations, the explicit expression for the velocity components are inserted into the incompressibility condition to give a Poisson-type equation for the pressure. Thus, the number of degrees-of-freedom (DOFs) is reduced to only 2 for the simplified model, namely the pressure, P, and the temperature, T. This is in contrast to the full Navier-Stokes model, where the number of DOFs are 5, namely the three velocity components, , in addition to the two aforementioned. This is what yields the main computational reduction of the proposed approach.
Both and are theoretically varying between solid (i.e. and ) and fluid (i.e. and ) properties:
[TABLE]
Because the convection term of the energy equation in (8) vanishes in the solid domain, has a constant value associated to the fluid phase. The heat source is assigned only to the solid domain , which is not involved in the design. Thus, also will not be considered design dependent. The interpolation of the two parameters between the two materials in Eq. (10) is defined through the design field : indicates that the element with coordinates x belongs to the fluid domain; means that the element with coordinates x belongs to the solid domain. The response of the systems considered herein will be evaluated numerically with a finite element approach, where to each element , a design variable will be assigned. The vector collects all the design variables. Only the variables associated with elements belonging to the subdomain , with the exclusion of , will be actual design variables of the problem.
3 Tuning of the artificial fluid permeability
Darcy’s law was originally conceived to describe the flow of a fluid through a porous medium, characterized by a permeability parameter. In this work, we use it to emulate true fluid flow. For this reason, the permeability parameter is artificial and needs to be tuned in order to adequately model the flow of the pure fluid considered, as well as the absence of flow in the solid domain. The topology optimization problems considered in this work will be characterized by a two-material distribution, i.e. a solid material and a fluid material. Therefore, the permeability parameters of these two materials (i.e. and ) need to be appropriately defined.
Ideally, the permeability of the solid domain is zero, but will in what follows be set to a very small number to avoid numerical issues (e.g. ). The permeability of the fluid is tuned considering analytical results available in the literature for a 2-D fluid cell recirculating inside a rectangular enclosure [14, 39]. In particular, we consider the case in which the enclosure contains pure fluid (i.e. governed by the Navier-Stokes equations) and fluid in a porous medium (i.e. governed by Darcy’s law). The vertical walls are isothermally heated, while the horizontal ones are thermally insulated (Fig. 3).
Between the two vertical plates, the same fixed has been considered in the two cases. The tuning procedure consists in assuming that in both cases there is equal heat flux exchanged between the two vertical plates of the enclosure, translated to equal average Nusselt numbers. The case of pure fluid recirculating in a rectangular enclosure is discussed by Bergman et al. [14]. In this case, the Nusselt number can be calculated as follows:
[TABLE]
where
[TABLE]
In Eq. (11) and Eq. (12), is the average Nusselt number of the vertical plate with height ; is the Prandtl number; is the Rayleigh number of the vertical plate with height ; is the Grashof number; the gravity acceleration constant; the fluid thermal expansion coefficient; the height of the enclosure; the fluid kinematic viscosity; and the fluid thermal diffusivity.
Similarly, the case of clockwise side-to-side convection in an enclosure with a porous medium is discussed by Nield & Bejan [39]. In this case, the Nusselt number can be approximated as follows:
[TABLE]
with
[TABLE]
where is the permeability; the distance between the vertical plates; and is the thermal diffusivity of the porous medium. If we equate Eq. (11) and Eq. (13), and then rewrite the resulting expression explicitly for we obtain the following relation:
[TABLE]
where the subscript indicates that the estimated permeability refers to the fluid domain.
In Sec. 6, we will consider four design cases discussed by Alexandersen et al. [5]111Herein all quantities are given with units. However, the values are set so as to be equivalent to the non-dimensional quantities presented by Alexandersen et al. [5].. They are characterized by a cubic domain with dimensions . Due to the symmetry of the problem we expect that for a generic design there will be rolling convective cells of circulating fluid occupying a quarter of the domain. Thus, in Eq. (15) we assume and . Moreover, we will tune the fluid permeability specifically for each design case. Hence, the following values of the coefficient of thermal expansion will be considered: . The values of adopted in Eq. (15) will be based on the results discussed by Alexandersen et al. [5]. However, similar results can be obtained considering . All the remaining parameters are set to one.
The results of the tuning procedure are listed in Table 1.
It can be observed that the estimated fluid permeability gets smaller for increasing values of the fluid thermal expansion coefficient. In the numerical applications in Sec. 5 we will consider the fluid permeability parameters listed in Table 1.
4 Finite element formulation
The governing equations are discretized using trilinear hexahedral finite elements. To obtain a smooth and non-oscillatory numerical solution of the governing equations, stabilization terms are added to the weak form of the convection-diffusion equation. The details of the formulation can be found in A.
5 Topology optimization
In this section we first present the main topology optimization problem formulation. Subsequently, we provide additional information regarding the adopted material interpolation functions, continuation scheme, and other computational considerations.
5.1 Optimization problem
The goal of the optimization is to find an optimized material distribution that minimizes an objective function with a constraint on the maximum amount of solid conductive material. The objective function minimized is the thermal compliance:
[TABLE]
Considering the numerical approximation introduced for evaluating the response of the system (Eq. (30) of A), the discretized version of the objective function actually minimized is the following:
[TABLE]
where is the number of finite elements. We impose a constraint on the volume of the solid domain:
[TABLE]
where is the number of elements included in the design domain (with ), is the volume of element , and is the volume fraction of the solid domain with respect to the full design volume of the system considered. The optimization problem can then be written as:
[TABLE]
The topology optimization problem (19) has been solved with an iterative gradient-based optimization algorithm, namely the Method of Moving Asymptotes (MMA) [44, 2, 1]. This algorithm relies on first order information. Therefore, the gradients of the objective function and of the constraint need to be calculated. The constraint function (i.e. ) is formulated explicitly in terms of the design variables. Hence, its gradient can be calculated explicitly. On the contrary, the dependency of the objective function (i.e. ) on the design variables (i.e. ) is expressed implicitly through a non-linear relation. For this reason, we rely on adjoint sensitivity analysis to calculate the objective function gradient.
In the optimization analysis, the design field is regularized through a PDE-based (partial differential equation) filter to avoid the appearance of checkerboard patterns [31, 1].
5.2 Material interpolation
The purpose of the optimization-based design approach discussed herein is to identify an optimized topology described by . Because of their definition, the entries have physical meaning only at the extreme values, that is for (solid) or (fluid). Nevertheless, the problem at hand has been formulated as a continuous optimization problem in Sec. (5.1) in order to solve it with a computationally efficient gradient-based algorithm. As a consequence, the variables can assume intermediate values between [math] and . However, intermediate values should be avoided. This is done by introducing in the final solution appropriate material interpolation functions. The most popular interpolation scheme in topology optimization is the Solid Isotropic Material with Penalization (SIMP) [12]. Its main idea is to penalize the intermediate values of a relaxed binary variable definition, implicitly promoting the convergence towards crisp distributions of the design variables (in our case ). The Rational Approximation of Material Properties (RAMP) is another material interpolation scheme based on the same idea [43]. In the optimization problem discussed herein both SIMP and RAMP have been tested. However, RAMP was chosen for the final problem formulation since it proved to be more effective in leading the optimization algorithm towards final discrete solid-fluid distributions. In particular, we applied the RAMP scheme to the definition of the material conductivity and permeability for :
[TABLE]
[TABLE]
In Eq. (20) and Eq. (21), and yieldse a linear interpolation of the conductivity and permeability parameters. For increasing values of and , the penalizing effect on the values of between 0 and 1 increases. Moreover, in Eq. (20) and have fixed values which will be provided in Sec. 6. In Eq. (21), the definition of follows the procedure described in Sec. 3, while is decreased during the optimization to smoothly converge towards the final optimized designs. More details regarding the values assumed by are provided in Sec. 5.3.
5.3 Continuation scheme
The material interpolation schemes presented in Eq. (20) and Eq. (21) are based on few parameters that need to assume specific values in order to produce meaningful interpolations of the material properties. These parameters are , , and . Experience showed that it is convenient to start with small but appreciable values of and , and to gradually increase their value in a step-wise manner in a continuation scheme. In a similar way is progressively decreased. After predefining a maximum allowed number of optimization iterations (e.g. iterations), the values of these parameters are initialized, and updated at predefined intermediated optimization stages (e.g. every iterations) according to the following scheme similar to that presented by Alexandersen et al. [5]:
[TABLE]
The continuation scheme outlined in (22) was chosen for our applications because it proved to be effective in gradually converging towards final near-discrete optimized designs. It should be noted that the optimization problem is highly non-linear and non-convex. The design solutions obtained will be local minima of the problem, and they will strongly depend on the starting point of the optimization analysis, as well as on the particular continuation scheme adopted. However, based on the authors’ experience, the continuation scheme (22) gives a good balance between ease of convergence toward the final designs, performance of the optimized designs and modeling accuracy (see [5] for further discussion).
5.4 Computational considerations
The optimization and analysis have been implemented in the computational framework developed by Alexandersen et al. [5], based on the framework for topology optimization originally presented by Aage et al. [1] based on PETSc [10]. The PETSc framework has been used because it allows for parallelized high performance computing, it provides both linear and non-linear solvers and preconditioners, and the possibility to handle structured meshes.
In particular, the non-linear system of equations is solved with a damped Newton method. The damping coefficient is chosen as the minimizer of the -norm of the residual vector (i.e. ) in correspondence with the current intermediate design (optimization) iteration. This particular non-linear iterative solver based on the residual minimization combined with a good initial solution guess (the response of the system from the previous optimization iteration) proved to be very robust during the numerical computations performed. In the eventuality that the solver fails to converge with the initial solution provided, a ramping scheme is used for the volumetric heat source magnitude (i.e. ). The stopping criteria for the Newton solver requires a reduction of the -norm of the residual of relatively to its initial value for the current design iteration. In practice, this means a high absolute accuracy, since a good initial solution is in general used (the solution from the previous design solution). However, due to the finite precision and approximate solution of the linear systems, the absolute accuracy does not converge to 0.
Most of the computational effort and time is spent on the solution of the linearized system of equations in each Newton iteration. The computational burden originates from the fact that high resolution 3-D design cases are considered. Thus, the linear systems are solved using a Krylov subspace parallelized solver. More details can be found in [5]. The stopping criteria for the linear solver requires a reduction of the residual of relatively to its initial value.
6 Benchmark example - heat sink in closed cavity
In this section we present and discuss several numerical results obtained by applying the simplified model to the benchmark example presented by Alexandersen et al. [5]. We first test the computational performance of the parallelized framework. The performance is compared with the results of Alexandersen et al. [5], where the fluid flow was modeled through the full Navier-Stokes equations. Then, we discuss the optimization of an academic example of a heat sink. We consider several operational conditions, characterized by different values of the fluid thermal expansion coefficient222Due to the setting of most parameters to unit size, the thermal expansion coefficient becomes equal to the Grashof number in [5]. . Lastly, we suggest the use of a two-stage hybrid optimization approach. It consists of two stages, where the two models (simplified and full Navier-Stokes) are used in two sequential stages. In this way it is possible to obtain final design with a superior performance to those obtained considering the simplified model only, but saving computational efforts.
6.1 Problem setup
Fig. 4 shows the problem setup considered in the following examples with details regarding geometry and boundary conditions. The red block represents the heat source (e.g. electronic chip) that generates a volumetric heat . The design domain is represented by the grey block, which is placed on top of the heat source to allow the cooling fluid to circulate around and beneath it. The external vertical and top walls are kept at a constant temperature . The external wall at the bottom is insulated. The dimensions of the outer box are , the design domain dimensions are , and the heat source dimensions are . The boundary conditions and the geometry of the problem are both symmetric. Thus, in the computations we consider a quarter of the original domain with symmetry boundary conditions. The volume fraction is in all examples , i.e. in Eq. (18). The design variables are initialized to , such that the volume constraint (18) is initially satisfied. The conductivity of the solid material is , while the conductivity of the fluid material is . The remaining parameters are set as follows: , , . Lastly, in all the optimization analyses we considered a moving limit of . The moving limit defines in each optimization iteration the maximum variable update step from the current solution. The use of moving limits allows for a smooth convergence towards optimized designs, avoiding premature convergence towards undesired poor local minima.
With regards to the hardware adopted for the computations, the numerical results have been obtained on the exact same cluster as used by Alexandersen et al. [5], where each node is composed of two Intel Xeon e5-2680v2 10-core 2.8GHz processors.
6.2 Computational performance
To test the computational performance of the state solver, we solved the optimization problem (19) on a fixed mesh for a quarter sub-domain of the problem setup outlined in Fig. 4. The mesh resolution considered is elements. The computational performance is shown in Table 2. They have been obtained performing the optimization analyses for iterations for , and with constant values of the penalization parameters: and . Moreover, we considered the values of obtained from Eq. (15). The data shows, in both cases, a computational cost that depends almost linearly on the number of processors (CPUs) used. Furthermore, the times show a significant reduction of one order of magnitude compared to the same values reported by Alexandersen et al. [5]. Moreover, compared to the case , the computational time for is on average higher.
We performed a second study with the purpose of testing the performance of the linear solver (F-GMRES) with respect to the mesh resolution. The performance was measured in terms of number of linear solver iterations, and we considered both low and high values of the coefficient of thermal expansion . Table 3 lists the number of iterations required by the linear solver averaged for each mesh resolution over , , and iterations respectively. It is seen that the computational cost in general increases with the problem size. That is, the linear solver requires more iterations in average for larger problem sizes. Nevertheless, the actual increase of computational cost is limited, and F-GMRES can be considered an appropriate linear solver for this class of natural convection problems. Comparing these values to those reported by Alexandersen et al. [5], it can be seen that in general the number of linear iterations needed are lower than for the full Navier-Stokes model. This is likely due to the better structure of the linear systems of equations, where both the pressure and temperature problems are Poisson-like equations, leading to further time savings of the proposed model.
6.3 Design for different thermal expansion coefficients of the fluid
In this section, we present the results obtained considering different values of the coefficient of thermal expansion, . With these numerical examples we intend to provide an insight into the effect of the governing parameter for the fluid-thermal coupling on the final optimized designs. The results have been obtained considering a computational mesh of elements, which resulted in a total of elements and degrees of freedom. The optimization analyses discussed in this section have been performed with CPUs for iterations. The design domain consists of elements and the filter radius was set to 2.5 times the element size, i.e. . Fig. 5 shows the optimized designs obtained for different values of . Table 4 lists the time required for the optimization analyses, and the final values of the objective function. Once again comparing to the computational times reported by Alexandersen et al. [5], significantly shorter time () is needed using only 500 cores in contrast to 1280. In the unit of core-hours, this yields a total reduction of the computational time to .
The optimized designs have been visualized in ParaView [8], where the densities have been thresholded at . Strong similarities with the results presented by Alexandersen et al. [5] verify the assumptions behind the simplified fluid model. First, the optimized topologies are characterized by “thermal tree” shapes that carry the heat generated away from the source to cooler areas in the surrounding fluid. Another similarity is the tendency of the optimized topologies to contract and to increase the number of branches as the value of increases. This can be explained by the shift from a conduction/diffusion dominated problem, to one dominated by convection. For lower values of the heat is mostly dissipated by conduction, and this results in longer branches that carry the load to the cool areas of the fluid close to the boundaries. For higher values of , the heat is instead dissipated mostly through convection. To this end, the optimizer identifies topologies with an increased surface area at the fluid-solid interface where the heat is exchanged with the fluid, and carried away by the flow. Fig. 6 shows the optimized designs for and viewed from below. Notice the tendency to reach more peripheral and cold areas of the fluid in the first case, and a more contracted shape in the second case. The performance of the obtained designs has been evaluated for all the operating conditions considered, i.e. values. The results are listed in Table 5. It can be observed that each design performs at its best in the operating condition for which it is optimized.
To verify the performance of the optimised designs, the designs have been thresholded at and exported from ParaView as smooth surfaces. They have then been analyzed using a body-fitted mesh in COMSOL Multiphysics 5.3 [18], considering a high-fidelity conjugate heat transfer model. For modeling the designs in COMSOL, we considered the same parameter setting used in the optimization. Each of the optimized designs displayed in Fig. 5 was tested for all the values of . The intention was to check whether each design would have performed better than the others for the specific value of for which it was optimized for, also considering the high-fidelity model.
The results obtained from the verification in COMSOL are shown in Table 6. Each column contains the performances of each of the optimized designs. Fig. 7 shows the performances in terms of temperature and velocity magnitude obtained in COMSOL of the deigns optimized for . The results in Table 6 show that only in the first case (i.e. for ) the design outperforms the others for the specific flow condition for which it is optimized. However, for the other flow conditions, the designs have a performance quite close to the best one for that specific condition. Some perform better for flow conditions that are different from those considered for their optimization. Clearly, the topology optimization approach discussed herein based on the Darcy flow model should not be expected to identify optimized designs also for the case of Navier-Stokes flow. Rather, it should be seen as a approach that reduces the computational cost significantly, and that provides unintuitive designs that would not have been possible otherwise to identify with even simpler models.
6.4 Hybrid optimization approach
In the previous section, it has been possible to observe that the designs obtained considering the simplified fluid flow model had a small performance loss when tested with the full Navier-Stokes fluid flow model. This was an expected consequence of the fact that the models considered for optimization and for verification were different. In this section, we present an additional application where we combine the use of the simplified fluid flow model discussed herein with the full Navier-Stokes model. The goal is to obtain optimized designs that possessed a better performance than those optimized considering the simplified flow model only, if tested with the full Navier-Stokes fluid flow model.
With the intention of maintaining the overall computational cost required within reasonable limits, we considered a hybrid optimization approach, where both the Darcy and the Navier-Stokes flow models were considered in two sequential stages. This requires switching the fluid model considered at a predefined intermediate optimization step. In order to identify a suitable optimization strategy based on a hybrid approach, we performed a study where we compared different approaches. We considered a single design case as described in Fig. 4 for and with a mesh resolution of elements. We performed the optimization considering different fluid flow models used for the evaluation of the performance (i.e thermal compliance, ): optimization based on the Darcy model, ; optimization based on the Navier-Stokes model, ; optimization based on the Darcy model followed by the Navier-Stokes model, ; and optimization based on the Navier-Stokes model followed by the Darcy model, . In Table 7 we provide a description of the different models considered during the optimization according to the different approaches.
In Fig. 8, we compare the performance of the different approaches during the optimization analyses. The performances of the four approaches outlined in Table 7 are compared in terms of thermal compliance (Eq. (16)), considering the simplified (i.e. Darcy) and full (i.e. Navier-Stokes) fluid flow models.
Fig. 8(b) shows the evolution of the performance of the different approaches during the last step of the continuation scheme (i.e. last optimization iterations). The performance is compared considering the Darcy flow model. As expected, the design optimized for the Darcy model (i.e. ) has the best final performance. Among the hybrid approaches (i.e. -, -), - identified an optimized design with a better performance. Similarly, Fig. 8(d) shows the performances calculated considering the Navier-Stokes flow model. Also in this case, the design optimized for the same model used for verification has the best performance (i.e. ), and the approach based on the hybrid approach - identified a design with better performance.
Based on the results shown in Fig. 8, we decided to use the - hybrid approach for further optimization. In this way, the more accurate, but computationally more expensive, Navier-Stokes flow model is considered only in the initial stages of the optimization-based design. As a result, initially the algorithm is expected to converge towards a local optimal design characterized by a better performance if analyzed considering a Navier-Stokes fluid flow. In the second phase, we significantly reduce the computational effort (and time) required by the optimization analysis by considering the simplified flow model. In this stage, we finalize the design initially identified converging towards a final near-discrete optimized topology.
Also in this case, in the numerical examples we considered four different values of the coefficient of thermal expansion as in Sec. 6.3. In the first stage of the problem governed by the Navier-Stokes fluid model, the parameters and the problem settings were defined as by Alexandersen et al. [5]. In the second stage, the parameters and the problem settings were defined as in Sec 6.3. We considered one unified continuation scheme for the following parameters:
[TABLE]
where the parameters’ values are updated every iterations. It should be noted that in the first stage, interpolates the material conductivity as in the second stage, while interpolates the impermeability in the solid phase instead of the permeability between the solid and fluid phases as in the second stage. Consequently, in the first stage represents the impermeability of the solid material, while in the second stage it represents the permeability of the solid material. More details regarding the interpolation schemes adopted in the first optimization stage where the Navier-Stokes fluid flow model is considered can be found in [5]. Table 8 lists the values of the objective function of the optimized designs, and the computational time required in the different design cases in each specific optimization stage. By comparing the computational time required in the first and second stages, one appreciates the significant computational savings obtained by switching to a simplified fluid model in the second stage of the optimization analysis. Fig. 9 and 10 show the optimized topologies and their associated temperature distributions in the fluid for . In particular, in the convection-dominated case (i.e. ) the final optimized topology strongly resembles the one presented by Alexandersen et al. [5]. This is particularly evident if the optimized design is viewed from the bottom, as shown in Fig. 10(b). This result highlights the benefit of considering the hybrid approach proposed here, which consists in the ability of reducing significantly the computational effort required in the optimization process while achieving optimized designs that are very similar to those obtained considering only the Navier-Stokes fluid flow model.
For verification, the optimized designs have again been analyzed using COMSOL Multiphysics 5.3 [18]. As before, the designs have been analyzed for all the values of considered in the optimization analyses, and the results of the cross-check are reported in Table 9. First, one observes that all the optimized designs, except the one obtained for , have a better performance than the designs discussed in Sec. 6.3, if analyzed with the same full Navier-Stokes flow model. Additionally, the designs obtained for perform at best under the same condition (i.e. same ) for which they are designed for, even though the models considered for design and verification are different. The design obtained for shows a loss of performance if tested with the high-fidelity model, even though the difference in performance is only about with respect to the best performance observed in the verification phase for .
7 Application example - suspended heated cylinder
This example further explores the performance of the simplified model for more complex problems. More specifically, the problem treated is that of a heated cylinder suspended in a closed cavity.
7.1 Problem setup
Fig. 11 shows the problem setup, where the red cylinder represents the heat source, with radius of , height of and a volumetric heat of . The design domain is represented by the grey domain, which surrounds the heated cylinder with the same height and an outer radius . The cylindrical setup is placed in the centre of a closed cavity with dimensions . As for the benchmark example, the external vertical and top walls are kept at a constant temperature . The external wall at the bottom is insulated. The boundary conditions and the geometry of the problem are both symmetric. Thus, in the computations we consider a quarter of the original domain with symmetry boundary conditions. The volume fraction is , i.e. in Eq. (18). The conductivity of the solid material is , while the conductivity of the fluid material is . The remaining parameters are set as follows: , , . The problem is investigated for , the convective regime. The computational domain is a quarter of the presented, discretized using elements, and the filter radius was set to 2.5 times the element size, i.e. .
7.2 Initial design
For this problem, an initial design is considered. The initial design has four regularly-spaced radial fins with a total volume that equals the above-mentioned volume constraint. In order to set the fluid permeability, the analytical expression Eq. (15) is used with due to the extension of the inner heated cylinder from the centre. The temperature difference, , is found using COMSOL simulations of the initial design. This is how we envision that a thermal engineer would estimate this in practice. The average surface temperature is yielding a final fluid permeability .
Since an initial design is supplied to the optimization algorithm, a different and shorter continuation strategy is applied:
[TABLE]
where the parameters’ values are updated every iterations. For the hybrid NS-D approach, Navier-Stokes is used for the first step with equivalent parameter values.
7.3 Optimized designs
Figure 12 shows the initial design, as well as optimised designs333In order to make the comparison to the reference design as fair as possible, the designs have been thresholded at a value of 0.5 in order to be volume preserving and ensure a similar volume of material as that of the reference. using pure Darcy and hybrid approach with Navier-Stokes for 100 iterations and then Darcy for 200. It can be seen that the optimised designs are quite different than the initial design. The optimised designs have eight radial members, where material has been carved from the original fins in order to build new features between them. The conducting members are seen to have elongated cross-sections and split into multiple secondary members. The observed design features are perfectly in line with the previously presented results, both in the above benchmark example as well as for passive coolers for LED lamps [6]. However, the obtained characteristics are in direct contrast to those reported by Joo et al. [28] for a very similar problem setup using a simplified NLC convection model.
The design obtained using pure Darcy flow is generally similar to that obtained using the hybrid NS-D approach. This indicates that good designs can generally be obtained using a well-tuned Darcy model. However, in order to verify the performance of the optimized designs, verification simulations using full Navier-Stokes model are performed using COMSOL. The models are discretized using elements with boundary layer refinement. The resulting temperature fields are shown in Figure 13 and the performance is summarized in Table 10.
Figure 13 shows that the temperature fields and flow fields are generally very similar for the three designs. However, a slightly more compact plume appears above the optimized designs.
Table 10 shows that both optimized designs perform better than the reference design. The best performing design is obtained using the hybrid NS-D approach, having an average cylinder temperature that is lower than the reference design. The pure Darcy design is only slightly behind, having an average core temperature of only higher than the NS-D design.
7.4 Computational time
The computational time using 500 cores for the shown results was: 1 hour and 6 minutes for the pure Darcy optimization; and 8 hours and 39 minutes for the hybrid NS-D optimization. Taking into account the relative performance of the Darcy design, this indicates that an improved design can be obtained in a very short time with a well-tuned Darcy model. An estimate for the computational time using the full NS model is 20 hours, based on the time taken for the first 100 iterations of the hybrid NS-D approach. Thus, the pure Darcy optimization takes a mere of the time using the same number of cores.
The Darcy optimization was also run using 100 cores, taking 5 hours and 16 minutes, as well as using only 40 cores, taking 12 hours and 48 minutes. Firstly, this shows the very good scalability of the framework, with and strong scaling efficiency for 100 and 500 cores, respectively, compared to 40. Secondly, this shows that the proposed methodology is capable of providing an optimized design during the workday on a small computational cluster and overnight on a high-end dual-processor desktop.
8 Conclusions
In this work we discuss a simplified approach for topology optimization of steady-state natural convection 3-D problems. The simplified approach discussed herein has been implemented in a PETSc-based framework for parallel computing that allows for optimizing high-resolution problems, significantly reducing the overall computational cost to in terms of core-hours compared to that required by the full Navier-Stokes model. A significant contribution of the work discussed herein is the proposal of a simple, but effective, tuning procedure for the fictitious fluid permeability parameter derived from analytical expressions.
The proposed methodology has been applied to academic design cases, and the obtained designs show strong similarities to the results obtained by some of the authors in previous works where the full Navier-Stokes flow model was considered. Also in this case, the optimized topologies are characterized by “thermal trees” that drive the heat away from the source towards cooler areas of the surrounding fluid. Moreover, the optimized topologies have the tendency to create longer branches in the conduction dominated case, and more contracted and branched topologies in the convection dominated case.
The optimized designs have been analyzed with the commercial finite element software COMSOL with a high-fidelity natural convection model. The designs showed a modest loss of performance due to the discrepancy between the models adopted in the optimization and verification phases. To improve the performance of the designs obtained, the simplified natural convection model has been deployed also in conjunction with a more accurate one, resulting in a hybrid optimization approach. This led to final optimized designs with a better performance than those obtained considering the simplified fluid model only. The use of a hybrid approach also allowed for a significant reduction of the computational cost compared to the full Navier-Stokes model. The obtained designs strongly resemble those obtained considering the full model and could be used directly for further developments or as initial guesses for subsequent more sophisticated optimization analyses.
The suggested approach allows for a better characterization of the problem at hand compared to other even simpler natural convection models based on Newton’s law of cooling. The simplified model discussed herein overcomes some of the major limitations encountered with simpler approaches based on Newton’s law of cooling, such as the over-prediction of the heat flux at the solid-fluid interface that leads to topologies characterized by very thin fluid channels and internal cavities. However, due the assumptions used in deriving the simplified model, it also has limitations. Nevertheless, it appears that the model in general provides meaningful and well-performing designs - at least for the problems treated herein.
A question still remaining to be answered, is whether optimal heat sinks in natural convection are pin-, plate- or tree-like. Recent work on the simpler area-to-point conduction problem by Yan et al. [48] proved that pin structures, and not tree structures, are optimal for that case. The studies herein and by Alexandersen et al. [5] seem to favor pin-like structures for conduction-dominated problems, which supports the findings of Yan et al. [48], and tree-like structures for convection-dominated problems. However, to dig deeper into this question requires extensive parameter studies, which are out of the scope of the present work. Nevertheless, with the computational savings made possible with the suggested methodology, performing such extensive investigations has become significantly less demanding.
Acknowledgements
The work presented in this paper was funded by the project “Sapere Aude TOpTEN” (Topology Optimization of Thermal ENergy systems) from the Danish Council for Independent Research (Grant No. DFF-4005-00320). The authors gratefully acknowledge this financial support. The authors would like to thank the members of the TopOpt group for fruitful discussions.
Appendix A Finite element formulation
The approximated problem takes the form:
[TABLE]
In Eq. (25), a Petrov-Galerkin method has been used to stabilize the convective term of the weak form of the energy conservation equation. In particular, a streamline-upwind weight function has been adopted in the form:
[TABLE]
where is the weight function and the stabilization parameter. It should be noted that in Eq. (25) the second order derivative of the stabilization term has been neglected since we rely on linear finite elements. In the work discussed herein, both the temperature and pressure fields have been discretized with the same shape functions. In particular for each element we have that:
[TABLE]
where and are the interpolated pressure and temperature fields, and are the pressure and temperature nodal degrees of freedom, is the shape function vector and lastly x is the coordinate vector. Hence, the streamline-upwind weight function are defined as follows:
[TABLE]
As in [4] and [5], we adopt the stabilization parameter presented in [45]:
[TABLE]
where the element length scale is , with , , and denoting the element dimensions in the three directions, and is the velocity vector evaluated in the element centroid.
After integrating Eq. (25), we obtain the following system of equations:
[TABLE]
where the matrices and vectors of Eq. (30) have been assembled from the element equivalents:
[TABLE]
and
[TABLE]
The global system of equilibrium equations (Eq. (30)) is posed in residual form as follows:
[TABLE]
where . Eq. (33) represents a nonlinear system of equations. The details of the algorithm adopted to solve it will be given in Sec. 5.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1Aage et al. [2014] Aage, N., Andreassen, E., & Lazarov, B. S. (2014). Topology optimization using PET Sc: An easy-to-use, fully parallel, open source topology optimization framework. Structural and Multidisciplinary Optimization , (pp. 565–572).
- 2Aage & Lazarov [2013] Aage, N., & Lazarov, B. S. (2013). Parallel framework for topology optimization using the method of moving asymptotes. Structural and Multidisciplinary Optimization , 47 , 493–505.
- 3Alexandersen [2011] Alexandersen, J. (2011). Topology optimisation for convection problems . Master thesis DTU Mekanik.
- 4Alexandersen et al. [2014] Alexandersen, J., Aage, N., Andreasen, C. S., & Sigmund, O. (2014). Topology optimisation for natural convection problems. International Journal for Numerical Methods in Fluids , 76 , 699–721.
- 5Alexandersen et al. [2016] Alexandersen, J., Sigmund, O., & Aage, N. (2016). Large scale three-dimensional topology optimisation of heat sinks cooled by natural convection. International Journal of Heat and Mass Transfer , 100 , 876–891.
- 6Alexandersen et al. [2018] Alexandersen, J., Sigmund, O., Meyer, K. E., & Lazarov, B. S. (2018). Design of passive coolers for light-emitting diode lamps using topology optimisation. International Journal of Heat and Mass Transfer , 122 , 138–149.
- 7Asmussen et al. [2019] Asmussen, J., Alexandersen, J., Sigmund, O., & Andreasen, C. S. (2018). A ”poor man’s” approach to topology optimization of natural convection problems. Accepted for publication in Structural and Multidisciplinary Optimization. doi:10.1007/s 00158-019-02215-9 . URL: ar Xiv:1809.01900 .
- 8Ayachit [2018] Ayachit, U. (2018). The Para View guide . Clifton Park, NY: Kitware, Incorporated; Para View 5.5 edition.
