Next Article in Journal
A Control Strategy for Achieving Constant Voltage Output with an Extensive ZVS Operating Range in Bidirectional Wireless EV Charging Systems
Next Article in Special Issue
Enhancing Heat Transfer in Mini-Scale Liquid-Cooled Heat Sinks by Flow Oscillation—A Numerical Analysis
Previous Article in Journal
State of the Art of Renewable Sources Potentialities in the Middle East: A Case Study in the Kingdom of Saudi Arabia
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

The Cut-Cell Method for the Conjugate Heat Transfer Topology Optimization of Turbulent Flows Using the “Think Discrete–Do Continuous” Adjoint

by
Nikolaos Galanos
*,
Evangelos M. Papoutsis-Kiachagias
and
Kyriakos C. Giannakoglou
*
Parallel CFD & Optimization Unit (PCOpt), School of Mechanical Engineering, National Technical University of Athens, 15772 Athens, Greece
*
Authors to whom correspondence should be addressed.
Energies 2024, 17(8), 1817; https://doi.org/10.3390/en17081817
Submission received: 20 March 2024 / Revised: 3 April 2024 / Accepted: 8 April 2024 / Published: 10 April 2024
(This article belongs to the Special Issue Computational Fluid Dynamics (CFD) for Heat Transfer Modeling)

Abstract

:
This paper presents a topology optimization (TopO) method for conjugate heat transfer (CHT), with turbulent flows. Topological changes are controlled by an artificial material distribution field (design variables), defined at the cells of a background grid and used to distinguish a fluid from a solid material. To effectively solve the CHT problem, it is crucial to impose exact boundary conditions at the computed fluid–solid interface (FSI); this is the purpose of introducing the cut-cell method. On the grid, including also cut cells, the incompressible Navier–Stokes equations, coupled with the Spalart–Allmaras turbulence model with wall functions, and the temperature equation are solved. The continuous adjoint method computes the derivatives of the objective function(s) and constraints with respect to the material distribution field, starting from the computation of derivatives with respect to the positions of nodes on the FSI and then applying the chain rule of differentiation. In this work, the continuous adjoint PDEs are discretized using schemes that are consistent with the primal discretization, and this will be referred to as the “Think Discrete–Do Continuous” (TDDC) adjoint. The accuracy of the gradient computed by the TDDC adjoint is verified and the proposed method is assessed in the optimization of two 2D cases, both in turbulent flow conditions. The performance of the TopO designs is investigated in terms of the number of required refinement steps per optimization cycle, the Reynolds number of the flow, and the maximum allowed power dissipation. To illustrate the benefits of the proposed method, the first case is also optimized using a density-based TopO that imposes Brinkman penalization terms in solid areas, and comparisons are made.

1. Introduction

Since its introduction in [1] for use in solid mechanics and structures, TopO has been widely adopted in a variety of scientific fields, targeting the optimal material layout that minimizes the given objective function under certain design constraints. TopO formulations for fluid mechanics include phase-field approaches [2], level set methods [3,4,5,6], porosity/density-based methods [7,8], etc., with applications to a wide range of problems, including Stokes flows [7], laminar [8] and turbulent flows [9,10,11], unsteady flows [12,13], reactive flows [14], natural convection problems [15,16], etc. The use of TopO for fluid problems with CHT first appeared in [17,18] and still remains an active area of research [19,20,21,22], including also the design of bi-fluid heat exchangers [23,24,25]. An overview of the state-of-the-art TopO methods for fluid flow problems, including heat transfer, was recently published [26].
Irrespective of the approach used to compute the optimal material distribution, the latter is usually introduced into the flow equations through the so-called Brinkman penalization terms, which attempt to drive the flow solution to zero in the solidified parts of the domain. This leads to the imposition of the wall boundary conditions only in a weak sense, which, among other outcomes, may allow some flow leakage into the solidified domain, making TopO prone to inaccuracies and potentially leading to sub-optimal solutions. Converting the TopO solution to a body-fitted grid and successively performing shape optimization can mitigate this effect [27], without being able, however, to make topological changes in this second stage. Attempts to impose boundary conditions in a stronger sense in TopO, using the finite element/volume methods (FEM/FVM), have been made. Regarding the former, the XFEM approach was introduced in [28] to perform TopO based on the level-set approach for 2D laminar flow problems. Recently, it has been utilized to increase the accuracy of TopO solvers in laminar [29] and turbulent flows [20], including heat transfer. In FVM methods for TopO, [30] utilized a ghost-cell immersed boundary method to apply wall boundary conditions for turbulent flow problems, without having to modify the background mesh. In [31], dealing with laminar flow TopO problems, a cut-cell approach was used to introduce new boundary faces at the FSI, allowing the solution of the flow equations on a body-fitted grid and the imposition of boundary conditions in the strong sense. The present paper utilizes a similar methodology and extends it to tackle TopO problems under turbulent flow conditions, including CHT. The flow solver utilizes also adaptive mesh refinement (AMR) to better resolve the flow and thermal boundary layers around the FSI. AMR has been used recently to enhance the accuracy of TopO using the density [21] and the level-set approach [22], but not in the context of TopO with immersed boundary methods, as in this work. The imposition of exact boundary conditions and the AMR affect not only the accuracy of the flow solver but also the optimized geometries designed by it; see Section 4.
The majority of works on TopO rely on gradient-based optimization methods, supported by continuous [10,32] or discrete [11,33] adjoints, to compute the sensitivity derivatives of the objective and constraint functions with respect to the design variables. In a continuous adjoint, the adjoint PDEs must be discretized and numerically solved; devising appropriate discretization schemes is a challenge affecting the accuracy of the computed sensitivity derivatives [34]. In a continuous adjoint, it is important to mention the ease of implementation, the physical insight into the adjoint terms/equations, and the lower computational cost and memory footprint of the adjoint code. On the other hand, the discrete adjoint equations are always consistent with the discretized flow equations [33] and may also retain the convergence characteristics of the flow solver [35]; however, the discrete adjoint is known for its larger memory requirements and/or computational costs [36,37]. Recently, the present group of authors developed an adjoint methodology named the “Think Discrete–Do Continuous” (TDDC) adjoint, leading to discretization schemes for continuous adjoint equations that are consistent with those of the primal solver, drawing inspiration from the discrete adjoint. Practically, the new TDDC adjoint bridges the gap between the two adjoint approaches, combining the best of both worlds. Thus, using the TDDC adjoint, one enjoys the low cost and memory requirements of the continuous adjoint and the consistency of the discrete adjoint. The TDDC approach was briefly introduced in [38] in shape optimization and is further elaborated upon herein, constituting the second main focus of this article.
This article is structured as follows. Section 2 describes the developed cut-cell approach for CHT TopO problems, including the utilized AMR approach and the primal and TDDC adjoint equations. Section 3 presents the methodological differences between the developed cut-cell TopO approach and a density-based one, with Section 4 showcasing these differences in CHT TopO examples. Here, the importance of applying proper boundary conditions and using AMR in TopO becomes clear. Finally, Section 5 summarizes the findings of this article.
The methods described in this article are implemented in the in-house variant of the adjointOptimisation library of OpenFOAM, developed and made public by the present group of authors. Using the proposed method, the objective function values recorded during (and, of course, at the end) of the TopO loop are accurate, thus eliminating the need to re-evaluate the optimized geometry on a body-fitted grid. In addition, the TDDC adjoint ensures that consistent gradients are computed throughout the optimization.

2. The Cut-Cell TopO Method

The solution of the TopO problem starts with the generation of a background grid for the analysis domain, Ω d . In most cases, a typical Cartesian grid suffices. An artificial “density” field, α , stored at the cell centers of the background grid, corresponds to the design variables to be updated in each optimization cycle. The α field is transformed into an auxiliary material distribution field, β (see Section 2.1), indicating the spatial distribution of a fluid or solid. Areas with β 1 correspond to solids and those with β 0 to fluids. Cells with intermediate values appear close to the FSI. These cells are refined (h-refinement; see Section 2.2) to effectively model the flow phenomena close to the wall. Then, the β w = 0.5 iso-surface, acting as the interface of a fluid and solid, is computed. Its intersections with the background grid cells give rise to cut cells separating the initial grid into fluid, Ω F , and solid, Ω S , domains. The governing flow equations, without the Brinkman terms usually met in TopO, are solved only in Ω F by applying proper boundary conditions along its wall boundaries, as if a body-fitted grid was used. The solution of the temperature equation takes place over both Ω F and Ω S . The continuous adjoint problem is, then, formulated for the objective function J to be minimized and each flow-related constraint g i to compute their derivatives with respect to the coordinates of grid nodes that lie at the FSI. By applying the chain rule of differentiation, these are transformed into derivatives with respect to the design variables α to be used to update the latter using the Method of Moving Asymptotes (MMA) [39]. The MMA creates and solves a convex optimization sub-problem in each TopO cycle, by creating convex approximations to the objective and constraint functions based on their computed gradients. The various steps of the TopO algorithm are presented schematically in Figure 1 and are further analyzed below.

2.1. Filtering of the Design Variables

To avoid grid-dependent solutions and eliminate the well-known checkerboard pathologies [40], a filtering scheme for the α field is utilized. This computes an auxiliary smoothed density field, β , by solving a Helmoltz-type filter PDE [41],
R F β , α = r 2 3 2 2 β x j 2 + β α = 0
where R F β , α denotes the filtering operation and r is the radius, usually defined as 5 to 10 times the average edge length in the background grid. In addition, the usage of filtering “broadens” the effect of the design variables on the computed FSI and accelerates the convergence of the TopO.

2.2. Grid Refinement

In each optimization cycle, the grid close to the FSI is adequately refined in order to accurately simulate the flow and thermal boundary layers. Cells in the vicinity of the FSI are refined using an h-adaptivity approach. In what follows, the cells of the coarse grid to be refined are referred to as “parent” cells, whereas those resulting from the splitting of the “parent” cells are the “offspring”. Note that this work exclusively makes use of block-structured grids consisting purely of hexahedral cells (square elements of the same size/area in 2D).
In the beginning of this step, all background grid cells are set to have a uniform refinement level ( L 0 ). Then, cells with β values in the user-defined [ β m i n , β m a x ] range are selected for refinement. This range defines the bandwidths of cells close to the FSI to be refined, even though the β field is not a distance field. β m i n = 0.3 and β m a x = 0.7 are used in the examples presented here in order to refine the cells in a broad band across the FSI. Then, cells are added to or subtracted from the previously selected set in order to meet the grid regularity requirements. In particular, cells are marked or unmarked for refinement in such a way that keeps the level difference of adjacent cells equal to 1, at most; this is imposed for stability reasons. The cells to be refined are split into 4 (in 2D) or 8 (in 3D) offspring cells, each having a refinement level of L P + 1 , where L P is the level of their parent cell. An octree (in 3D) or quadtree (in 2D) data structure is used to store the information regarding parent and offspring cells. The cell selection and refinement process described above is repeated several times in each optimization cycle, until a user-defined maximum refinement level L m a x is reached. At the end of each refinement step, the β field is interpolated to the offspring cells, and the selection criterion for new refinement cells is applied again. In this work, a trilinear polynomial of the following form
β x , y , z = p T · c = 1 , x , y , z , x y , x z , y z , x y z · c 0 , c 1 , c 2 , c 3 , c 4 , c 5 , c 6 , c 7 T
is constructed for each refined parent cell in terms of the coordinates ( x , y , z ) in the local coordinate system and is used to compute the β values at the offspring cell centers. At each vertex i of the parent cell, β ^ i = p i T · c should hold. Here, β ^ i denotes the interpolated β value from adjacent cells to vertex i. In a grid with hexahedra, this leads to the formation of an 8 × 8 linear system of equations of the form A · c = β ^ . By inverting A, the unknown coefficients can be expressed as a linear combination of β ^ i , i.e., c i = α i j β ^ j , and Equation (2) can be written as
β x , y , z = p T · A 1 · β ^
Equation (3) requires the β ^ values at grid vertices prior to the refinement. These are computed by interpolating β from cells to vertices, according to
β ^ p = C C e l l s ( p ) ω p C β C C C e l l s ( p ) ω p C
where C e l l s ( p ) is the set of cells sharing vertex p and ω p C = 1 x i p x i C are inverse-distance interpolation weights. Differentiating Equation (4) with respect to β at any cell Q yields
δ β ^ p δ β Q = ω p Q C C e l l s ( p ) ω p C
if Q belongs on the list of cells sharing p as a vertex, or 0 otherwise. This will later be used as part of the chain rule to compute δ J δ α .

2.3. Generation of Cut Cells

The β field, interpolated at the refined grid vertices though Equation (4), is used to compute the FSI and create body-fitted grids at each optimization cycle. The FSI reflects the intersection of grid edges by the β w = 0.5 iso-surface (or isoline in 2D). An edge connecting nodes A and B with values β ^ A < β w < β ^ B is intersected at
x i S = x i A + β w β ^ A β ^ B β ^ A x i B x i A
Based on Equation (6), the derivative of x i S with respect to β ^ at any node M is computed as
δ x i S δ β ^ M = x i B x i A β ^ B β ^ A β w β ^ B β ^ B β ^ A δ A M + β ^ A β w β ^ B β ^ A δ B M
where δ is the Kronecker delta. Equation (7) is also part of the chain rule computing δ J δ α .
Cut cells are created by connecting the computed nodes along the edges intersected by the iso-surface to define new internal grid faces. The node connectivity is computed as in [42,43]. The new internal faces split the initial cells into sub-cells belonging to Ω F and Ω S . This is shown schematically in Figure 2, where the introduced internal faces correspond to the dark-gray edges. In practice, a cell might be intersected more than once by the β w iso-surface; see Figure 2c. Surface areas, centers, and normals for the newly added faces are computed using the x i S coordinates. The same quantities are re-computed for intersected faces belonging to Ω F or Ω S using the defined x i S nodes on these faces and the nodes of the background face with β ^ < β w or β ^ > β w , respectively. Finally, the cell centers and volumes of the so-formed cut cells are computed.
In practice, cut cells of small size can be generated. Their presence next to cells of much larger size might cause numerical instabilities during the flow solution, leading to convergence issues. To deal with this, each small cell is merged with a neighboring larger cell if its volume is less than 1 % of that of the latter [44], as shown in Figure 3. More than one small cell can be merged with the same neighboring cell, by also updating the grid connectivity information. Further discussion of this matter is beyond the scope of this work and can be found in many papers on conventional cut-cell methods [45,46,47].
Compared to level-set-based methods [48], the approach proposed here to track the FSI is simpler, since it avoids the re-initialization of the signed distance field in each optimization cycle by solving, for instance, the Hamilton Jacobi equation. Since the solution of the flow (see Section 2.4) and adjoint (see Section 2.6) equations takes place only in Ω F , by discarding all cells belonging to Ω S , the computational burden is reduced compared to that in standard density-based TopO. In other words, the systems of equations emerging from the discretization of the governing PDEs have as many cells as those in Ω F , with the exception of the temperature equation, which is solved simultaneously in both Ω F and Ω S , i.e., over the entire domain Ω d .

2.4. Governing Equations

The governing equations for the flow and CHT problem are presented; their boundary conditions are summarized in Appendix A along with those of the adjoint problem. The flow solver (and its adjoint) is implemented in the in-house adjointOptimisation library [49] of OpenFOAM; the latter utilizes a finite-volume discretization and a cell-centered storage strategy. Details regarding the numerical solution of the governing PDEs follow.

2.4.1. Flow Equations

The flow is governed by the Navier–Stokes equations for incompressible fluids, which, in residual form, are written as
R p = v j x j = 0
R i v = v j v i x j + p x i τ i j x j = 0 , i = 1 , 2
where p is the pressure divided by the constant fluid density and v i is the velocity. τ i j = ν + ν t v i x j + v j x i is the stress tensor, where ν is the bulk and ν t the eddy viscosity. The later is modeled by the Spalart–Allmaras turbulence model [50] equation
R ν ˜ = v j ν ˜ x j x j ν + ν ˜ σ ν ˜ x j c b 2 σ ν ˜ x j 2 + ν ˜ D ν ˜ , y P ν ˜ , y = 0
solved to compute ν ˜ . In Equation (10), P ν ˜ , y = c b 1 S ˜ and D ν ˜ , y = c w 1 f w ν ˜ y 2 are the production and dissipation terms of the model, respectively. The turbulence model functions are given by
χ = ν ˜ ν , f v 1 = χ 3 χ 3 + c v 1 3 , f v 2 = 1 χ 1 + χ f v 1 , S ˜ = S + f v 2 ν ˜ κ 2 y 2 , S = 2 1 2 v j x i v i x j f w = g 1 + c w 3 6 g 6 + c w 3 6 1 6 , g = r + c w 2 r 6 r , r = ν ˜ S ˜ κ 2 y 2
and its constants are c b 1 = 0.1355 , c b 2 = 0.622 , σ = 2 / 3 , κ = 0.41 , c w 1 = c b 1 κ 2 + 1 + c b 2 σ , c w 2 = 0.3 , c w 3 = 2 , and c v 1 = 7.1 . Finally, the eddy viscosity is computed as ν t = f v 1 ν ˜ . To avoid extreme grid stretching close to the wall, the wall function technique, as in Spalding’s formula [51], is used.
The distances y from the nearest wall, including the FSI, are computed via the solution of the Hamilton–Jacobi equation [52], reading
R y = x j y x j y 1 + ϵ y 2 y x j 2 1 = 0
in which the diffusion term has been multiplied by 1 + ϵ , with ϵ = 0.1 , for stability reasons.
Equations (8)–(10) are solved in a segregated manner based on the Semi-Implicit Method for Pressure-Linked Equations (SIMPLE) [53], to handle the pressure–velocity coupling. Second-order upwind schemes are used to discretize the convection terms. Second-order central schemes are used for Laplace terms, using an explicit correction term to take into account the grid’s non-orthogonality. Finally, gradients are computed by applying Gauss’ theorem over control volumes; linear interpolation from cell to face centers is used to evaluate the field’s values at their boundaries.

2.4.2. Temperature Equation

The temperature field in Ω F is modeled by the advection–diffusion equation,
R F T = ρ F c p F v j T x j x j k e f f T x j Q = 0
Here, ρ F is the fluid density, and c p F is the fluid-specific heat capacity. k e f f = k F + k t is the effective thermal conductivity, which includes a laminar k F and a turbulent k t = ρ F c p F ν t P r t part, where P r t is the turbulent Prandtl number. The assumption that the fluid’s thermophysical properties do not depend on the temperature is made. In Equation (12), Q is a volumetric heat source term that can be either constant or given in the form of h T r e f T , where h is a constant heat transfer coefficient and T r e f a reference temperature. This difference in the form of Q (and the corresponding physics) is the main distinction between the two cases presented in Section 4.
In Ω S , heat conduction ( R S T = 0 ) is modeled by the same equation, by replacing k e f f with k S (solid thermal conductivity), while considering zero velocity, guaranteed by the exact boundary conditions over the FSI, due to the use of cut cells.
The discretization of Equation (12) using finite volumes assumes integration over the boundaries of each cell, which requires k e f f f ( f = f a c e ) to be available at the grid faces. For the internal faces of Ω F and Ω S , the linear interpolation of k e f f from cells to faces is used. However, special treatment is required at the FSI to accurately compute the diffusive fluxes q f . There, the heat flux conservation property implies that q f = q F f = q S f , where q F f , q S f are the outgoing heat fluxes from the fluid and solid parts. In discrete form,
q f = k F + k t f T f T F Δ F f q F f = k S T f T S Δ S f q S f
where T f is the temperature at the FSI; T F , T S denote the temperature values at the adjacent fluid and solid cell centers, respectively; and Δ F f , Δ S f are the distances of the cell centers in Ω F and Ω S , adjacent to the FSI, from the latter. By solving Equation (13) for T f and substituting it back to either q F f or q S f , the heat flux at the interface can be written in terms of T F and T S as
q f = k F + k t f k s Δ F S k F + k t f Δ S f + k s Δ F f k ^ e f f f T S T F Δ F S
Equation (14) is consistent with the way in which the boundary conditions are imposed at the interface between adjacent domains in CHT simulations based on a partitioned approach [54].

2.5. Objective Functions and Constraints

In this work, TopO is applied to improve the performance of cooling devices. In the presented examples (see Section 4), a volumetric heat source term Q is applied over Ω S and this causes the T over the solid to increase. Due to the high thermal conductivity of the solid material, the applied heat is then transferred to the fluid/coolant and is removed through the domain outlet. Depending on the way in which heat is provided to the system, the TopO aims either to minimize the average temperature
J T = Ω S T d Ω Ω S d Ω
over Ω S or to maximize the amount of heat transferred from the solid to the fluid. The latter is the difference in the convecting energy fluxes evaluated at the inlet ( S I ) and the outlet ( S O ), i.e.,
J H = S I ρ F c p F v j n j T d S + S O ρ F c p F v j n j T d S
Note that, due to the way in which the normal vectors are defined, the two integrals on the right-hand side of Equation (16) have opposite signs.
An increase in cooling performance usually comes at the expense of higher power consumption in order to maintain the flow. The energy loss due to friction forces at the solid walls is given by the volume flowrate–weighted total pressure ( p t = p + 1 2 v k 2 ) drop between the inlet and outlet,
P L = S I v j n j p t d S S O v j n j p t d S
which should not exceed a threshold value. This constraint is expressed as
g P L = P L P L 0 π P L 0
where P L 0 is the power dissipation computed for the starting geometry of the TopO and π P L is the percentage value of the threshold. A second inequality constraint is imposed on the fluid volume so as not to exceed a target percentage ( π V ) of the analysis domain ( Ω d ) volume, as follows:
g V = Ω F d Ω Ω d d Ω π V 0

2.6. Continuous Adjoint Method for Sensitivity Analysis

To update the design variables α in each optimization cycle, the derivatives of the objective and the constraint functions with respect to α are computed using the continuous adjoint [10]. The formulation of the adjoint problem for a general objective function or constraint, F , starts by augmenting it with the field integrals of the governing equations multiplied by the adjoint variables to form the Lagrangian, Ł F , i.e.,
Ł = F + Ω F q R p + u i R i v + ν a ˜ R ν ˜ + y α R y d Ω + Ω d T α R F , S T d Ω
where q is the adjoint pressure, u i is the adjoint velocity, ν a ˜ is the adjoint turbulence variable, y α is the adjoint distance, and T α is the adjoint temperature.
To compute the total variation in F due to changes in the shape of the interface, Ł is differentiated with respect to the coordinates x m s of the points on the FSI, with δ Ł δ x m s = δ F δ x m s . Following the terminology used in shape optimization, these derivatives practically stand for the sensitivity map of F [55] on the FSI computed by the cut-cell method. Since the coordinates x m s depend on the cell center β ( α ) values, the chain rule of differentiation is applied to compute the derivatives of F with respect to α .
To derive the adjoint equations and their boundary conditions, δ Ł δ x m s is expanded using Gauss’ theorem and the identity δ δ x m s Φ x j = x j δ Φ δ x m s Φ x k x j δ x k δ x m s [56], relating spatial derivatives to total derivatives with respect to x m s and holds for any quantity Φ . This mathematical development for CHT problems (governed by Equations (8)–(12)) can be found in [57] (therein, however, for shape optimization) and is not repeated here in the interest of brevity. δ Ł δ x m s is written as
δ Ł δ x m s = δ F δ x m s + Ω F R i u δ v i δ x m s + R q δ p δ x m s + R ν a ˜ δ ν ˜ δ x m s + R y α δ y δ x m s d Ω + Ω d R F , S T α δ T δ x m s d Ω + Ω F B C i u δ v i δ x m s + B C q δ p δ x m s + B C ν a ˜ δ ν ˜ δ x m s + B C y α δ y δ x m s + B C F T α δ T δ x m s d S Ω F u i n j δ τ i j δ b n d S Ω F ν + ν ˜ σ ν a ˜ δ δ b n ν ˜ x j n j d S + Ω F ν + ν ˜ σ ν a ˜ ν ˜ x j δ n j δ b n d S Ω F T α δ q F δ x m s d S Ω S T α δ q S δ x m s d S + Ω S B C S T α δ T δ x m s d S + Ω F T α k F + k t T x j δ n j δ x m s d S + Ω S T α k S T x j δ n j δ x m s d S Ω F Θ j k F n j δ x k δ x m s d S + Ω F Θ j k F x j δ x k δ x m s d Ω Ω S Θ j k S n j δ x k δ x m s d S + Ω S Θ j k S x j δ x k δ x m s d Ω
The undefined terms in Equation (21) will become clear as the analysis proceeds.
To avoid the computation of δ v i δ x m s , δ p δ x m s , δ ν ˜ δ x m s , δ y δ x m s , δ T δ x m s in the fluid and solid domains, field integrals including them in Equation (21) are eliminated by setting their multipliers to zero, giving rise to the field adjoint equations
R q = u i x i = 0
R i u = ( v j u i ) x j + u j v j x i + q x i τ i j α x j + x j C S ˜ S ν a ˜ ν ˜ v i x j v j x i + ρ F c p F T α T x i + F v i = 0 , i = 1 , 2
R ν a ˜ = v j ν a ˜ x j x j ν + ν ˜ σ ν ˜ x j + 1 σ ν ˜ x j ν a ˜ x j + 2 c b 2 σ x j ν a ˜ ν ˜ x j + ν a ˜ D ν ˜ , y P ν ˜ , y + C ν ˜ ν ˜ ν a ˜ + u i x j v i x j + v j x i δ ν t δ ν ˜ + ρ f c p F P r t T α x j T x j δ ν t δ ν ˜ + F ν ˜ = 0
R y α = 2 x j y x j y α ϵ y α 2 y x j 2 ϵ x j y y α x j + C y ν ˜ ν a ˜ = 0
R F T α = ρ F c p F v j T α x j x j k e f f T α x j Q α + F T = 0
where τ i j α = ν + ν t u i x j + u j x i is the adjoint stress tensor and Q α is the adjoint heat source term. Terms C S ˜ , C ν ˜ , and C y emerge from the differentiation of the production and dissipation terms in Equation (10) with respect to S ˜ , ν ˜ , and y and can be found in [58]. Eliminating the same derivatives along the boundaries of Ω F and Ω S gives rise to the adjoint boundary conditions, summarized in Appendix A.
The solution of the adjoint problem (Equations (22)–(26)) starts by first solving the adjoint temperature equation (Equation (26)) over the entire Ω d to compute T α . Equation (14) is used to evaluate the adjoint thermal diffusive flux at the FSI, by replacing T with T α . Then, the adjoint mean flow (Equations (22) and (23)) and turbulence model (Equation (24)) PDEs are solved in a segregated manner. In this work, the discretization of the adjoint equations, described in Section 2.7, is consistent with the one used for the primal problem (as in the discrete adjoint), leading to the computation of accurate sensitivity derivatives.
After satisfying the field adjoint equations and their boundary conditions, the remaining terms in Equation (21) are the shape sensitivity derivatives along the FSI,
δ F δ x m s = Ω F Θ j k F n j δ x k δ x m s d S + Ω F Θ j k F x j δ x k δ x m s d Ω Ω S Θ j k S n j δ x k δ x m s d S + Ω S Θ j k S x j δ x k δ x m s d Ω + Ω F u n τ i j δ n i n j δ x m s d S + Ω F k F + k t T α T x j δ n j δ x m s d S + Ω S k S T α T x j δ n j δ x m s d S
where
Θ j k F = q v j x k v j u i v i x k u j p x k + u i τ i j x k τ i j α v i x k ν a ˜ v j ν ˜ x k x k ν + ν ˜ σ ν ˜ x j 2 c b 2 σ ν ˜ x j ν ˜ x k C S ˜ S ν ˜ v i x j + v j x i v i x k ν + ν ˜ σ ν a ˜ x j ν ˜ x k 2 y α y x j y x k T α ρ F c p F v j T x k x k k F + k t T x j k F + k t T α x j T x k
Θ j k S = k S T α 2 T x k x j k S T α x j T x k
Note that Equation (27) requires the grid sensitivities δ x k δ x m s obtained by differentiating the coordinates of face centers along the FSI and the cut-cell centers with respect to x m s ; the latter are given by closed-form expressions that can be found in [43].
Having computed δ F δ x m s , the chain rule of differentiation helps in computing δ F δ β at cell P as
δ F δ β P = n = 1 N Q = 1 N P δ F δ x m s n δ x m s n δ β ^ Q δ β ^ Q δ β P
where the first summation is over the N nodes along the FSI, whereas the second is over all N P nodes at the edges cut by the FSI. The derivatives δ x m s n δ β ^ Q , δ β ^ Q δ β P are obtained through Equations (5) and (7), respectively. Using the proposed method, non-zero derivatives with respect to β are computed only at cells close to the FSI. From this point of view, the proposed TopO method resembles level-set -based rather than the standard density-based TopO. As a final step, the filtering operation R F Ψ β , δ F δ β (see Section 2.1) is applied to δ F δ β to yield the derivatives with respect to α at each cell P of the background mesh, viz. δ F δ α P = Ψ P β Ω P , where Ω P is the cell volume.

2.7. “Think Discrete–Do Continuous” Adjoint Discretization

To compute the gradient of the discretized objective with respect to the design variables as accurately as in the discrete adjoint, the continuous adjoint PDEs (Equations (22)–(26)) should be discretized in a manner consistent with the primal equations. In this work, this is achieved by the “Think Discrete–Do Continuous” (TDDC) adjoint, firstly introduced by the present group of authors in [38] for use in aerodynamic shape optimization. It is now extended to TopO with CHT. The derivation of the TDDC adjoint starts from the derivation of a (hand-differentiated) discrete adjoint.
The method is exemplified through the derivation of the consistent discretization of the convection term in the adjoint temperature equation (Equation (26)), which emerges from the differentiation of term ρ F c p F v j T x j (Equation (12)). Integrating the convection term of Equation (12) over the finite volume Ω P , using the Gauss divergence theorem and a second-order upwind interpolation, yields
R F , P T = f F ( P ) ρ F c p F v n P N w U P N T P + w ˜ U P N T N Δ S f Φ F O T , P N + f F ( P ) ρ F c p F v n P N w U P N T x j | P d j P f + w ˜ U P N T x j | N d j N f Δ S f Φ S O T , P N
where v n P N is the normal to the face f convecting velocity computed by the Rhie–Chow interpolation [59], Δ S f are the face areas, and w U P N , w ˜ U P N = 1 w U P N are the upwind interpolation weights computed based on v n P N . Moreover, d j P f is the vector connecting the cell centroid to the face center. In Equation (31), summation is performed over the faces F ( P ) of the finite volume. The spatial gradients of T are computed based on Gauss’ theorem and linear interpolation from cells to face centers, i.e.,
T x j | P = 1 Ω P f F ( P ) w L P N T P + w ˜ L P N T N n j P N Δ S f
where w L P N = | d j N f | | d j P N | are linear interpolation weights, computed using geometric distances. Here, Φ F O T , P N , Φ S O T , P N denote the first- and second-order convecting fluxes at the faces.
The discrete form of the adjoint convection term ρ F c p F ( v j T α ) x j integrated over a control volume is
R F , P T α = Ω P ρ F c p F ( v j T α ) x j d Ω = f F ( P ) Φ F O T α , P N + Φ S O T α , P N
where F O and S O have the same meaning as before. According to the proposed TDDC adjoint, the adjoint fluxes in Equation (33) should be computed as follows
Φ F O T α , P N = ρ F c p F v n f w ˜ U P N T α P + w U P N T α N Δ S f , Φ S O T α , P N = ρ F c p F w ˜ L P N T α x j | P + w L P N T α x j | N n j P N Δ S f
for the discrete form of Equation (33) to be consistent with its primal counterpart (Equation (31)). The first-order adjoint flux in Equation (34) is similar to the corresponding first-order primal one, Φ F O T i P N , the only difference being that the upwind interpolation weights, w U P N , w ˜ U P N , have switched places. This suggests that a downwind scheme should be employed for the interpolation of T α at the faces in conformity with the upwind propagating information in the adjoint problem. Additional differences can be seen in the second-order fluxes, in which the adjoint gradients are multiplied by the linear interpolation weights and are projected onto the face normal vectors, rather than the face-to-cell distance ones.
The spatial gradients in Equation (34) are discretized as follows
T α x j | P Ω P = f F ( P ) v n P N w ˜ U P N T α P + w U P N T α N d j P f Δ S f + T α P f F ( P ) v n P N d j P f Δ S f
where the fluxes in both terms are computed in a non-conservative manner (i.e., fluxes computed on the same face are different when seen from the two cells adjacent to that face, due to the presence of d j P f ). Despite this, the consistent second-order adjoint flux (Equation (34)) is conservative; this is in line with the fact that the adjoint energy equation (Equation (26)) is conservative too.
The full derivation of Equations (34) and (35) is given in Appendix B.

3. Comparison with Density-Based TopO (denTopO)

A sharp distinction between the proposed TopO workflow and that of the density-based approach (denTopO) is the ability of the former to apply proper boundary conditions along the FSI and generate (and adapt/refine) body-fitted grids. On the other hand, denTopO utilizes Brinkman penalization terms to simulate the effect that solidified areas have on the flow. These terms, expressed in terms of the material distribution field β , are added to Equations (9)–(11) (and their adjoints) and effectively treat solid walls as regions of high impermeability. For a flow variable ϕ , the corresponding Brinkman term is given by B S ϕ = β m a x I β ϕ , where β m a x stands for the impermeability value of the solid material and takes high enough values to ensure that ϕ 0 inside Ω S . Its value is selected based on the non-dimensional Darcy number (set here to D a = 10 5 ) expressing the ratio of viscous to porous forces as follows
β m a x = ν D a · L 2
where L is a characteristic length. I β = β 1 + b I 1 β is a convex function [7] and b I a steepening parameter, which penalizes intermediate density values, driving them closer to 0. In the examples of Section 4, whenever denTopO is utilized, b I = 10 . The main disadvantage of this approach is that, in practice, the imposed penalization terms are not sufficient to impose exact zero values of the corresponding flow field inside Ω S . For instance, for ϕ = v i in B S ϕ , spurious unwanted flow leakage inside the solid areas, hindering the accuracy of the flow solution, usually occurs. Moreover, it does not support the use of the wall function technique in turbulent flows. To solve the CHT problem, the thermal conductivity k at the cell centers is interpolated between k F and k S , using the β field, as k β = k F + β p k S k F , with p = 3 . The interpolation scheme used for k allows intermediate values to appear. Then, Equation (12) computes T over Ω d using k e f f = k β + ( 1 β ) k t as the effective thermal conductivity. Note that denTopO is unable to accurately interpolate k e f f at the FSI (Equation (14)), which is crucial in simulating heat transfer phenomena.
The second difference between cut-cell TopO and denTopO is related to the computation of the adjoint sensitivities with respect to α . The cut-cell TopO is driven by shape sensitivities, which are, then, transformed into derivatives with respect to α . These are used to update the design variables and, subsequently, the FSI’s position. Depending on the r value used in Equation (1), δ J δ α in cut-cell-based TopO takes on non-zero values at cells in the vicinity of the FSI. In denTopO, the derivative of J with respect to α at cell P is given by
δ J δ α P = Ω d β m a x u i v i + ν a ˜ ν ˜ + y α y I β β β α P d Ω + Ω d T x j T α x j k S k F p β p 1 k t β α P d Ω
These take on non-zero values everywhere in Ω d , allowing thus more drastic topological changes between optimization cycles.

4. Application in CHT Problems

The proposed method is demonstrated in two different CHT TopO problems. The two topologies, having a single (CHT-A) and a split (CHT-B) outlet, can be found in Figure 4, with dimensions given in terms of the inlet height H = 0.1 m. CHT-A was first defined in [19]. The design variables α take on a zero value inside the inlet and outlet channels (Figure 4) and are allowed to vary only in the central part of the geometry (shown in blue color in Figure 4; this stands for the design domain Ω D ), where a solid material (in gray color) can be added or subtracted. For both cases, a Cartesian background grid is generated, with 21.6 K square cells of edge length equal to h = H 20 . Even if both cases are symmetric with respect to the top horizontal line, the entire domain is shown in most figures presenting results.
The working fluid is air, with a constant density ρ F = 1.18 kg/m3, specific heat capacity c p F = 1004.9 J/kg·K, thermal conductivity k F = 0.0254 W/m·K, and bulk viscosity ν = 1.5 × 10 5 m2/s. Moreover, P r t = 1 . The solid material corresponds to aluminum with k S = 237 W/m·K. The fluid enters the domain at the temperature of T i n = 273 K; the exit pressure is set to zero. The case Reynolds number is defined as R e = v i n H ν , in terms of the inlet velocity magnitude v i n . Unless specified otherwise, the inlet velocity is v i n = 0.375 m/s, or R e = 2500 .
In CHT-A, the sought solid domain is heated by a constant volumetric heat source Q = 1 kW/m2. TopO seeks to minimize the average temperature over Ω S ( J T , Equation (15)). In CHT-B, the volumetric heat source term applied over Ω S is given by Q = h T r e f T , where h = 10 W/m2K and T r e f = 373 K. Since Q is not fixed, the goal is to maximize the heat transferred to the coolant by maximizing J H (Equation (16)). In both cases, the fluid volume (area in 2D) inside Ω D should be less than 45 % of Ω D ( π V 0.49 in Equation (19)). Power dissipation for CHT-A is controlled by setting π P L = 0.33 in Equation (18), whereas three different π P L values ( 0.25 , 0.33 , and 0.5 ) are used in CHT-B to investigate its effect on the cooling performance (see Section 4.4).
Regarding the MMA settings used in both cases, the adaptation parameters controlling the amount of the asymptote decrease or increase in each optimization cycle are set to 0.5 and 1.05 , respectively, instead of the recommended (in [39]) values of 0.7 and 1.2 . In addition, ρ = 5 × 10 5 (as opposed to the default value of 1 × 10 5 ) is used to increase the convexity of the approximated J , g P L , and g V .

4.1. CHT-A Results Using denTopO

For the purpose of comparison, CHT-A is firstly optimized using the “standard” denTopO approach with Brinkman terms in the flow equations (see Section 2.4). Using the inlet height H as the characteristic length in Equation (36), β m a x = 150 . As denTopO cannot trace the FSI, there is no clear boundary separating Ω F and Ω S . Thus, J T (Equation (15)) and g V (Equation (19)) are recast as follows
J T = Ω d β T d Ω Ω d β d Ω , g V = Ω d 1 β d Ω Ω d d Ω π V 0
where integrations over Ω d (instead of Ω F and Ω S ) are performed by considering the β field. In addition, in Equation (12), the imposed heat source term Q is multiplied by β to activate the term in the solidified part only. Note that, in this problem, as the solid volume changes during the optimization, the total amount of heat given to the solid, Ω d β Q d Ω , is not fixed. The volume constraint ensures that a minimum amount of heat is given to the system and avoids trivial all-fluid solutions.
Figure 5 shows the convergence of the normalized J T value and the imposed constraints. At the beginning of denTopO, both g V and g P L are violated. The first ∼ 20 cycles are spent to meet the inequality constraints; then, the MMA goes on to reduce J T to 335.4 K. The optimized distribution of β is shown in the bottom half of Figure 6a. Even though the computed β field in the optimized solution is almost binary, thin gray areas between the fluid and solid appear. The top half of Figure 6a corresponds to the optimized geometry, for which the FSI has been computed by post-processing the β field to generate cut cells. On the background grid that is adapted to the FSI, the optimized solution is re-evaluated using the cut-cell code. This re-evaluation gives J T = 447.6 K, with g P L = 0.14 . This means that, when re-evaluated with the cut-cell primal solver, the denTopO solution still has a lot of room before approaching the P L threshold, justifying the poor thermal performance. In terms of execution time, the cut-cell flow and adjoint solvers are ∼ 38 % and ∼ 30 % faster than the corresponding Brinkman solvers, for the same amount of SIMPLE iterations, without the usage of AMR, and on the same hardware. This reduction in computational cost is expected, considering that Ω S occupies ∼ 51 % of Ω d . Isolines for the non-dimensional velocity magnitude v i v i n , the intermediate Spalart–Allmaras model variable χ = ν ˜ ν , and the temperature T using the Brinkman and the cut-cell-based flow solvers are shown in Figure 6b–d, respectively. As indicated by the iso-velocity contours of Figure 6b, the re-evaluation on the cut-cell grid results in a different distribution of the incoming flow within the various channels. Due also to the inability of the denTopO flow solver to impose accurate boundary conditions on the FSI, significant discrepancies in the computed temperature fields between the two flow solvers can be seen, as in Figure 6d. This study highlights the importance of performing TopO based on solvers able to accurately compute physics. As shown in Section 4.3, a better-performing (in terms of cooling) design can be obtained using the proposed methodology.

4.2. Verification of Computed Sensitivities Using TDDC Adjoint

In this subsection, the computed sensitivity derivatives using the proposed TDDC adjoint of Section 2.7 are validated against finite differences (FDs) for CHT-A. To reduce the cost of the FDs, which depends directly on the number of design variables, a volumetric NURBS-based parameterization is used. In particular, a 2D lattice of N X × N Y nodes controls the α values in cells lying within its boundaries; the latter coincide with the boundaries of Ω D (Figure 7). The α C P values at the control points are the design variables of the problem, instead of the α values of the background grid cells. Since N X = 25 , N Y = 13 , this leads to 325 design variables in total. A set of parametric coordinates ( u , v ) is assigned to each cell P, the center coordinates ( x P , y P ) of which lie within the control lattice; the parametric coordinates at P are computed as u P = x P x m i n x m a x x m i n , v P = y P y m i n y m a x y m i n and the α value as
a P = i = 0 N X 1 j = 0 N Y 1 U i u P V j v P α C P i j
where U i , V j are the second-degree NURBS basis functions. Taking the derivative of Equation (39) with respect to α C P l m yields, δ α P δ α C P l m = U l u P V m v P .
The control lattice is shown in Figure 7a, whereas the resulting geometry after transforming the α field into cut cells is presented in Figure 7b; the velocity field is shown inside Ω F , whereas Ω S is in gray. The derivatives of J T with respect to the α cell values are computed by the adjoint method, as described in Section 2.6. The chain rule of differentiation transforms δ J T δ α P into δ J T δ α C P l m . The so-computed derivatives for the first 100 design variables are plotted in Figure 7c and are in perfect agreement with those computed by the FDs. This verifies the accuracy of the sensitivity derivatives of J when the TDDC adjoint discretization schemes are used. The same level of accuracy is obtained for the derivatives with respect to the remaining design variables, which are not shown here. It should be noted that the lattice shown in Figure 7 is used only in this comparison, to keep the cost of the FDs as low as possible, and not in any other study that follows.

4.3. CHT-A Results Using Cut-Cell-Based TopO

Having verified the accuracy of the computed derivatives using the TDDC adjoint, the latter is used by the cut-cell-based TopO to optimize the cooling in CHT-A. To initialize the case, Ω D has been seeded with multiple square solid structures of size H 2 ; see Figure 8a.
First, the importance of using the grid refinement strategy of Section 2.2 is demonstrated by solving the TopO problem with 0, 1, and 2 refinement steps. The three solutions will be referred to as R0, R1, and R2, respectively; see Figure 9. Small but significant differences exist among the three optimized geometries. Since the design variables of TopO are defined on the background grid, the unknown optimization variables are the same in all three cases; therefore, the differences in the optimized geometries can be attributed only to differences in the flow solution’s accuracy due to the grid refinement. At the end of the refinement process (if applied), the grid used to solve the flow consists of 21.6 K, ∼ 62 K, and ∼ 140 K cells for R0, R1, and R2, respectively; a close-up view of the refined grid close to the FSI walls in the central area of the three optimized geometries is given in Figure 9. The maximum y + values computed at the cell centers adjacent to the FSI are also reported; as expected, lower values are computed as the grid resolution close to the FSI increases. According to the J T values listed in Figure 9, each computed using the grid utilized during TopO, the three optimized designs perform equally well in terms of cooling. For a fair comparison, solutions R0 and R1 are re-evaluated after refining the background grid twice using the already optimized β field. The computed J T and Δ p t values are listed in Table 1. The power dissipation values of (the re-evaluated) R0 and R1 solutions exceed the maximum allowed value, which means that the g P L constraint is not met. Irrespective of the violation or not of this constraint, solution R2 outperforms R0 and R1 in terms of J T . The current study confirms the need to refine the grid during TopO.
The Reynolds number’s effect on the optimized solution is also investigated. The optimization problem is solved for three different inlet velocity values, namely v i n = 0.15 m/s, 0.375 m/s, and 0.75 m/s, corresponding to R e = 1000 , 2500, and 5000, respectively. Based on the previous study, the grid is refined twice in each cycle of TopO and this leads to the maximum y + values at cells adjacent to the FSI equal to 3, 5, and 8, respectively.
The optimized solutions for the three R e are presented in Figure 10. The average temperature values in Ω S are also given. Note that the solution presented in the middle column of Figure 10 is identical to R2, as in Figure 9. The power dissipation value P L 0 of the initial design (Figure 8) increases as R e increases and so does the maximum allowed power dissipation, according to Equation (18). In all optimized designs, a number of solid bodies, forming a network of flow channels inside the design domain for improved cooling, can be observed. For R e = 1000 , larger solid structures, aligned with the flow, are created. By increasing R e , more solid structures of smaller sizes, and thus more and narrower flow channels, are formed. Thus, the heat dissipation is enhanced and this is reflected in the average temperature values being equal to J T = 547.25 K, 378 K, and 340.4 K for R e = 1000 , 2500, and 5000, respectively. These observations are in agreement with those in [19,20]. Figure 11 shows the convergence of the normalized J T value and of the imposed constraints for the three optimizations of Figure 10. In the beginning of the TopO, the fluid volume is more than 45 % of Ω D and, thus, g V is violated. As the solid material is added to meet g V , more heat is given to the system and this leads to higher J T values. Once g V has been satisfied, an almost constant amount of heat, Q = 275 W, is imposed in all remaining cycles. After satisfying both g V and g P L , the MMA tries to minimize the value of J T ; see Figure 11. Since a further decrease in the fluid’s volume and Δ p t would be counterproductive with respect to the cooling of CHT-A, both g V and g P L are practically satisfied as equality constraints ( g V , g P L 0 ).

4.4. CHT-B Results Using Cut-Cell-Based TopO

The ability of the proposed method to generate optimal topologies is demonstrated in a second configuration, in which the outlet duct has been re-located to the bottom right of Ω D ; see Figure 4b. Compared to CHT-A, the solid material is heated up according to the following volumetric heat source term: Q = h T r e f T . TopO seeks to maximize the heat transferred to the fluid. The latter is expressed by J H (Equation (16)), which, after taking into consideration the energy conservation, is equivalent to Ω S h T r e f T d Ω . As in CHT-A, the initial design has been seeded with multiple square solid structures; see Figure 8b.
The influence of the maximum allowed power dissipation inside the heat exchanger is investigated by performing the optimization for three different π P L values (Equation (18)), namely π P L = 0.25 , π P L = 0.33 , and π P L = 0.5 . The background grid is refined twice in each TopO cycle. The optimized solutions are presented in Figure 12. Increasing π P L , and thus the allowed power dissipation, leads to the formation of more flow channels for enhanced heat transfer. The average temperature inside Ω S for the three designs shown in Figure 12 is J T = 327.9 K , 323.4 K , and 318.6 K . As expected, lower values of J T are obtained by increasing π P L as this allows more heat to be exchanged.

5. Conclusions

A TopO framework that combines a material distribution field (design variables) and the cut-cell method to tackle laminar and turbulent flow problems with CHT is proposed. Here, the design variables are defined at the cell centers of a background grid and their post-processing yields an auxiliary field β that helps to identify fluid and solid areas, as well as the FSI as the β w = 0.5 iso-surface. The FSI’s intersections with the background grid generate cut cells, giving rise to a body-fitted grid on which the flow equations are solved by applying proper boundary conditions, including wall functions. As cells belonging to Ω S are discarded, the solution cost of the flow and adjoint equations is reduced (by up to ∼ 38 % in the examined cases). Additionally, the proposed workflow is able to locally refine the grid close to the FSI to capture the flow physics. The proposed method replaces the Brinkman penalization terms in the flow equations, frequently met in TopO, with the imposition of exact boundary conditions on the FSI and, thus, avoids spurious flow leakage inside Ω S .
To facilitate TopO, the continuous adjoint method is derived for the CHT problem and computes the sensitivity map of J on the FSI. The chain rule is applied on the computed shape sensitivities, yielding the derivatives with respect to the material field. This is the mechanism that allows topological changes to be made. This work also focuses on the derivation of consistent discretization schemes for the adjoint PDEs. This derivation, guided by a hand-differentiated discrete adjoint, under the name “Think Discrete–Do Continuous” or the TDDC adjoint, enables the computation of consistent gradients for the discretized objective function (as in the discrete adjoint) and provides physical meaning to the underlying adjoint PDEs and a low memory footprint (as in the continuous adjoint).
The cut-cell TopO workflow was demonstrated in two 2D cases having a single (CHT-A) and a split (CHT-B) outlet, both operating in turbulent flow conditions. CHT-A was first optimized using the density approach for TopO, relying on the usage of Brinkman penalization terms and interpolation schemes for the thermal conductivity. The re-evaluation of the optimized geometry using the developed cut-cell flow solver showed large discrepancies in the objective and constraint values. In the same case, the accuracy of the proposed TDDC adjoint solver in computing the gradient of J with respect to α was verified against FDs. The use of the cut-cell-based TopO method highlighted the importance of grid refinement to accurately compute the performance during TopO and obtain solutions that truly meet the imposed constraints. CHT-A and CHT-B were optimized for different Re numbers and with different threshold values for the allowed power dissipation, respectively, reaffirming that higher values of both lead to the creation of more flow channels and, eventually, better cooling performance.
The proposed method was demonstrated in 2D cases of academic interest drawn from the literature, to allow for several parametric studies at a low computational cost. The corresponding s/w for 3D flow/optimization problems has already been implemented and its application will be the focus of subsequent research.

Author Contributions

Conceptualization, N.G., E.M.P.-K. and K.C.G.; methodology, N.G., E.M.P.-K. and K.C.G.; software, N.G. and E.M.P.-K.; validation, N.G.; writing—original draft preparation, N.G., E.M.P.-K. and K.C.G.; writing—review and editing, N.G., E.M.P.-K. and K.C.G.; supervision, E.M.P.-K. and K.C.G.; funding acquisition, E.M.P.-K. and K.C.G. All authors have read and agreed to the published version of the manuscript.

Funding

Part of this research was funded by the Hellenic Foundation for Research and Innovation (H.F.R.I.) under the “2nd Call for H.F.R.I. Research Projects to Supported Faculty Members & Researchers” (Project Number: 3821).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The original contributions presented in the study are included in the article, further inquiries can be directed to the corresponding author.

Conflicts of Interest

The authors declare no conflicts of interest.

Abbreviations

The following abbreviations are used in this manuscript:
AMRAdaptive Mesh Refinement
CHTConjugate Heat Transfer
denTopODensity-Based Topology Optimization
FDsFinite Differences
FSIFluid–Solid Interface
FVMFinite Volume Method
MMAMethod of Moving Asymptotes
PDEPartial Differential Equation
TDDCThink Discrete–Do Continuous
TopOTopology Optimization
XFEMExtended Finite Element Method

Appendix A. Primal and Adjoint Boundary Conditions

The boundary of Ω d generally comprises inlets ( S I ), outlets ( S O ), solid walls ( S W ), and symmetry planes ( S s y m ). The boundary conditions imposed on the primal and adjoint fields of Section 2.4 and Section 2.6 are summarized in Table A1. The B C terms as in Equation (21) are given by
B C q = u i n i + F p
B C i u = q n i + v j n j u i + τ i j α n j C S ˜ S ν a ˜ ν ˜ v i x j v j x i n j + F v i
B C ν a ˜ = v j n j ν a ˜ + ν + ν ˜ σ ν a ˜ x j n j + F ν ˜
B C y α = 2 y α y x j n j
B C T α = ρ F c p F v j n j T α + k + k t T α x j n j + F T
and are set to zero in order to derive the adjoint boundary conditions.
Table A1. Boundary conditions for the primal and adjoint fields.
Table A1. Boundary conditions for the primal and adjoint fields.
Inlet ( S I )Outlet ( S O )Solid Walls ( S W )Symmetry Plane ( S sym )
p p x j n j = 0 p = 0 p x j n j = 0 p x j n j = 0
v i v i = v i n n i v i x j n j = 0 v i = 0 v i n i = 0 , v i t x j n j = 0
ν ˜ ν ˜ = 10 ν ν ˜ x j n j = 0 ν ˜ = 0 ν ˜ x j n j = 0
y y x j n j = 0 y x j n j = 0 y = 0 y x j n j = 0
T T = T i n T x j n j = 0 T x j n j = 0 T x j n j = 0
q q x j n j = 0 B C i u n i = 0 q x j n j = 0 q x j n j = 0
u i B C p = 0 , u i t i = 0 B C i u t i = 0 , u i n i x j n j = 0 B C p = 0 , u i t i = 0 u i t i x j n j = 0 , u i n i = 0
y α y α = 0 y α = 0 y α x j n j = 0 y α x j n j = 0
ν a ˜ ν a ˜ = 0 B C ν a ˜ = 0 ν a ˜ = 0 ν a ˜ x j n j = 0
T α T α = 0 B C T α = 0 T α x j n j = 0 T α x j n j = 0

Appendix B. Derivation of Consistent Discretization Schemes for the Adjoint Convection Term of the Temperature Equation

In this appendix, the formulas for the consistent adjoint fluxes, given by Equation (34), to the second-order upwind discretization of the energy equation convection term are derived. In the discrete adjoint, the discrete residual R P T α of the T α equation at cell P is given by
R P T α = Q Ω d T α Q R Q T T P + F T P
Using Equation (31) as the discrete residual of the primal equation,
Q Ω d T α Q R Q T T P = Q T α Q f F ( Q ) Φ F O T , Q N T P R F O , Q T α + Q T α Q f F ( Q ) Φ S O T , Q N T P R S O , Q T α
The term R F O , P T α , including the derivatives of first-order fluxes, is first developed:
R F O , P T α = Q T α Q f F ( Q ) ρ F c p F v n Q N w U Q N T Q T P + w ˜ U Q N T N T P Δ S f = f F ( P ) ρ F c p F v n P N w U P N T α P T α N Δ S f
By adding and subtracting ρ F c p F v n P N T α P Δ S f , and using w ˜ U P N = 1 w U P N as well as the mass fluxes over all faces of Ω P that sum up to zero, Equation (A7) becomes
R F O , P T α = f F ( P ) ρ F c p F v n P N w ˜ U P N T α P + w U P N T α N Δ S f
In Equation (A8), ρ F c P F v n P N w ˜ U P N T α P + w U P N T α N Δ S f stands for the consistent first-order adjoint convective flux, as given in Equation (34).
The differentiation of the second-order flux term R S O , P T α with respect to T P gives
R S O , P T α = Q T α Q f F ( Q ) ρ F c p F v n Q N w U Q N T P T x j Q d j Q f + w ˜ U Q N T P T x j N d j N f Δ S f = Q ρ F c p F T P T x j Q f F ( P ) v n Q N w ˜ U Q N T α Q + w U Q N T α N d j Q f Δ S f T α Q f F ( P ) v n Q N d j Q f Δ S f
The multiplier of T P T x j Q gives rise to the so-called adjoint gradient term given by Equation (35). To proceed with the derivation, the discretization of T x j using Gauss’ theorem (Equation (32)) is differentiated with respect to T P , and this yields
R S O , P T α = Q ρ F c p F T α x j | Q T P T x j Q Ω Q = Q ρ F c p F T α x j | Q f F ( P ) w L Q N T Q T P + w ˜ L Q N T N T P n j Q N Δ S f = f F ( P ) ρ F c p F w ˜ L P N T α x j | P + w L P N T α x j | N n j P N Δ S f
where, considering also that the normal vector n j P N points outwards from Ω P , the identity f F ( P ) n j P N Δ S f = 0 has been used to obtain the last expression. From Equation (A9), it can be seen that the term within the summation is identical to the second-order consistent adjoint flux given in Equation (34).

References

  1. Bendsoe, M.P.; Kikuchi, N. Generating optimal topologies in structural design using a homogenization method. Comput. Methods Appl. Mech. Eng. 1988, 71, 197–224. [Google Scholar] [CrossRef]
  2. Bourdin, B.; Chambolle, A. Design–dependent loads in topology optimization. ESAIM Control. Optim. Calc. Var. 2003, 9, 19–48. [Google Scholar] [CrossRef]
  3. Makhija, D.; Maute, K. Level set topology optimization of scalar transport problems. Struct. Multidisc. Optim. 2015, 51, 267–285. [Google Scholar] [CrossRef]
  4. Zhang, B.; Liu, X. Topology optimization study of arterial bypass configurations using the level set method. Struct. Multidisc. Optim. 2015, 51, 773–798. [Google Scholar] [CrossRef]
  5. Kubo, S.; Yaji, K.; Yamada, T.; Izui, K.; Nishiwaki, S. A level set-based topology optimization method for optimal manifold designs with flow uniformity in plate-type microchannel reactors. Struct. Multidisc. Optim. 2017, 55, 1311–1327. [Google Scholar] [CrossRef]
  6. Sasaki, Y.; Sato, Y.; Yamada, Y.; Izui, K.; Nishiwaki, S. Topology optimization for fluid flows using the MPS method incorporating the level set method. Comput. Fluids 2019, 188, 86–101. [Google Scholar] [CrossRef]
  7. Borrvall, T.; Petersson, J. Topology optimization of fluids in Stokes flow. Int. J. Numer. Meth. Fluids 2003, 41, 77–107. [Google Scholar] [CrossRef]
  8. Gersborg-Hansen, A.; Sigmund, O.; Haber, R.B. Topology optimization of channel flow problems. Struct. Multidisc. Optim. 2005, 30, 181–192. [Google Scholar] [CrossRef]
  9. Yoon, G.H. Topology optimization for turbulent flow with Spalart–Allmaras model. Comput. Methods Appl. Mech. Eng. 2016, 303, 288–311. [Google Scholar] [CrossRef]
  10. Papoutsis-Kiachagias, E.M.; Giannakoglou, K.C. Continuous Adjoint Method for Turbulent Flows, Applied to Shape and Topology Optimization: Industrial Applications. Arch. Comput. Methods Eng. 2016, 23, 255–299. [Google Scholar] [CrossRef]
  11. Dilgen, C.B.; Dilgen, S.B.; Fuhrman, D.R.; Sigmund, O.; Lazarov, B.S. Topology optimization of turbulent flows. Comput. Methods Appl. Mech. Eng. 2018, 331, 363–393. [Google Scholar] [CrossRef]
  12. Deng, Y.; Liu, Z.; Zhang, P.; Liu, Y.; Wu, Y. Topology optimization of unsteady incompressible Navier–Stokes flows. J. Comput. Phys. 2011, 230, 1229–1253. [Google Scholar] [CrossRef]
  13. Nørgaard, S.; Sigmund, O.; Lazarov, B. Topology optimization of unsteady flow problems using the lattice boltzmann method. J. Comput. Phys. 2016, 307, 291–307. [Google Scholar] [CrossRef]
  14. Okkels, F.; Bruus, H. Scaling behaviour of optimally structured catalytic microfluidic reactors. Phys. Rev. E 2007, 75, 016301. [Google Scholar] [CrossRef] [PubMed]
  15. Alexandersen, J.; Aage, N.; Andreasen, C.S.; Sigmund, O. Topology optimization for natural convection problems. Int. J. Numer. Method Fluids 2014, 76, 699–721. [Google Scholar] [CrossRef]
  16. Alexandersen, J.; Sigmund, O.; Aage, N. Large scale three–dimensional topology optimization of heat sinks cooled by natural convection. Int. J. Heat Mass Transf. 2016, 100, 876–891. [Google Scholar] [CrossRef]
  17. Dede, E. Multiphysics topology optimization of heat transfer and fluid flow systems. In Proceedings of the COMSOL Conference 2009, Boston, MA, USA, 8–10 October 2009. [Google Scholar]
  18. Yoon, G.H. Topological design of heat dissipating structure with forced convective heat transfer. J. Mech. Sci. Technol. 2010, 6, 1225–1233. [Google Scholar] [CrossRef]
  19. Dilgen, S.B.; Dilgen, C.B.; Fuhrman, D.R.; Sigmund, O.; Lazarov, B.S. Density based topology optimization of turbulent flow heat transfer systems. Struct. Multidiscip. Optim. 2018, 57, 1905–1918. [Google Scholar] [CrossRef]
  20. Noël, L.; Maute, K. XFEM level set-based topology optimization for turbulent conjugate heat transfer problems. Struct. Multidiscip. Optim. 2022, 66, 2. [Google Scholar] [CrossRef]
  21. Gallorini, E.; Hèlie, J.; Piscaglia, F. A multi region adjoint-based solver for topology optimization in conjugate heat transfer problems. Comput. Fluids 2023, 266, 106042. [Google Scholar] [CrossRef]
  22. Chen, D.; Kumar, P.; Kametani, Y.; Hasegawa, Y. Multi-objective topology optimization of heat transfer surface using level-set method and adaptive mesh refinement in OpenFOAM. Int. J. Heat Mass Transf. 2024, 221, 125099. [Google Scholar] [CrossRef]
  23. Høghøj, L.C.; Nørhave, D.R.; Alexandersen, J.; Sigmund, O.; Andreasen, C.S. Topology optimization of two fluid heat exchangers. Int. J. Heat Mass Transf. 2020, 163, 120543. [Google Scholar] [CrossRef]
  24. Kobayashi, H.; Yaji, K.; Yamasaki, S.; Fujita, K. Topology design of two-fluid heat exchange. Struct. Multidisc. Optim. 2021, 63, 821–834. [Google Scholar] [CrossRef]
  25. Galanos, N.; Papoutsis-Kiachagias, E.M.; Giannakoglou, K.C.; Kondo, Y.; Tanimoto, K. Synergistic use of adjoint-based topology and shape optimization for the design of Bi-fluid heat exchangers. Struct. Multidisc. Optim. 2022, 65, 245. [Google Scholar] [CrossRef]
  26. Alexandersen, J.; Andreasen, C. A Review of Topology Optimization for Fluid-Based Problems. Fluids 2020, 5, 29. [Google Scholar] [CrossRef]
  27. Koch, J.R.L.; Papoutsis-Kiachagias, E.M.; Giannakoglou, K.C. Transition from adjoint level set topology optimization to shape optimization for fluid mechanics. Comput. Fluids 2017, 150, 123–138. [Google Scholar] [CrossRef]
  28. Kreissl, S.; Maute, K. Levelset based fluid topology optimization using the extended finite element method. Struct. Multidisc. Optim. 2012, 46, 311–326. [Google Scholar] [CrossRef]
  29. Lin, Y.; Zhu, W.; Li, J.; Ke, Y. A stabilized parametric level-set XFEM topology optimization method for thermal-fluid problem. Int. J. Numer. Methods Eng. 2022, 123, 924–952. [Google Scholar] [CrossRef]
  30. Kubo, S.; Koguchi, A.; Yaji, K.; Yamada, T.; Izui, K.; Nishiwaki, S. Level set-based topology optimization for two dimensional turbulent flow using an immersed boundary method. J. Comput. Phys. 2021, 446, 110630. [Google Scholar] [CrossRef]
  31. Vrionis, P.; Samouchos, K.; Giannakoglou, K. Topology optimization in fluid mechanics using continuous adjoint and the cut-cell method. Comput. Math. Appl. 2021, 97, 286–297. [Google Scholar] [CrossRef]
  32. Kontoleontos, E.A.; Papoutsis-Kiachagias, E.M.; Zymaris, A.M.; Papadimitriou, D.I.; Giannakoglou, K.C. Adjoint-based constrained topology optimization of viscous flows, including heat transfer. Eng. Opt. 2013, 25, 941–961. [Google Scholar] [CrossRef]
  33. Kenway, G.K.; Mader, C.A.; He, P.; Martins, J.R. Effective adjoint approaches for computational fluid dynamics. Prog. Aerosp. Sci. 2019, 110, 100542. [Google Scholar] [CrossRef]
  34. Stück, A.; Rung, T. Adjoint complement to viscous finite-volume pressure-correction methods. J. Comput. Phys. 2013, 248, 402–419. [Google Scholar] [CrossRef]
  35. Fang, L.; He, P. A duality-preserving adjoint method for segregated Navier–Stokes solvers. J. Comput. Phys. 2024, 503, 112860. [Google Scholar] [CrossRef]
  36. He, P.; Mader, C.A.; Martins, J.R.; Maki, K.J. An aerodynamic design optimization framework using a discrete adjoint approach with OpenFOAM. Comput. Fluids 2018, 168, 285–303. [Google Scholar] [CrossRef]
  37. Fleischli, B.; Mangani, L.; Del Rio, A.; Casartelli, E. A discrete adjoint method for pressure-based algorithms. Comput. Fluids 2021, 227, 105037. [Google Scholar] [CrossRef]
  38. Giannakoglou, K.; Asouti, V.; Papoutsis-Kiachagias, E.; Galanos, N.; Kontou, M.; Trompoukis, X. The Think Discrete–Do Continuous Adjoint in Aerodynamic Shape Optimization. In Proceedings of the 15th ECCOMAS Thematic Conference on Evolutionary and Deterministic Methods for Design, Optimization, and Control, EUROGEN 2023, Chania, Crete, Greece, 1–3 June 2023. [Google Scholar]
  39. Svanberg, K. The Method of Moving Asymptotes—A new method for structural optimization. Int. J. Numer. Methods Eng. 1987, 24, 359–373. [Google Scholar] [CrossRef]
  40. Bruns, T.E.; Tortorelli, D.A. Topology optimization of non–linear elastic structures and compliant mechanisms. Comput. Method Appl. Mech. Eng. 2001, 190, 3443–3459. [Google Scholar] [CrossRef]
  41. Lazarov, B.S.; Sigmund, O. Filters in topology optimization based on Helmholtz-type differential equations. Int. J. Numer. Methods Eng. 2011, 86, 765–781. [Google Scholar] [CrossRef]
  42. Roenby, J.; Bredmose, H.; Jasak, H. A computational method for sharp interface advection. R. Soc. Open Sci. 2016, 3, 160405. [Google Scholar] [CrossRef] [PubMed]
  43. Scheufler, H.; Roenby, J. Accurate and efficient surface reconstruction from volume fraction data on general meshes. J. Comput. Phys. 2019, 383, 1–23. [Google Scholar] [CrossRef]
  44. Ji, H.; Lien, F.S.; Yee, E. Numerical simulation of detonation using an adaptive Cartesian cut-cell method combined with a cell-merging technique. Comput. Fluids 2010, 39, 1041–1057. [Google Scholar] [CrossRef]
  45. Ye, T.; Mittal, R.; Udaykumar, H.; Shyy, W. An Accurate Cartesian Grid Method for Viscous Incompressible Flows with Complex Immersed Boundaries. J. Comput. Phys. 1999, 156, 209–240. [Google Scholar] [CrossRef]
  46. Kirkpatrick, M.P.; Armfield, S.W.; Kent, J.H. A representation of curved boundaries for the solution of the Navier-Stokes equations on a staggered three-dimensional Cartesian grid. J. Comput. Phys. 2003, 184, 1–36. [Google Scholar] [CrossRef]
  47. Hu, X.; Khoo, B.; Adams, N.; Huang, F. A conservative interface method for compressible flows. J. Comput. Phys. 2006, 219, 553–578. [Google Scholar] [CrossRef]
  48. Sigmund, O.; Maute, K. Topology optimization approaches. Struct. Multidisc. Optim. 2013, 48, 1031–1055. [Google Scholar] [CrossRef]
  49. Papoutsis-Kiachagias, E.M.; Gkaragkounis, K.T.; Margetis, A.-S.I.; Skamagkis, T.; Asouti, V.G.; Giannakoglou, K.C. adjointOptimisationFoam: An OpenFOAM–based framework for adjoint assisted optimisation. In Proceedings of the 14th ECCOMAS Thematic Conference on Evolutionary and Deterministic Methods for Design, Optimization, and Control, EUROGEN 2021, Athens, Greece, 28–30 June 2021. [Google Scholar]
  50. Spalart, P.; Allmaras, S. A one–equation turbulence model for aerodynamic flows. In Proceedings of the AIAA 30th Aerospace Sciences Meeting and Exhibit, Reno, NV, USA, 6–9 January 1992. Paper 1992-439. [Google Scholar]
  51. Frink, N. Assessment of an unstructured-grid method for predicting 3-D turbulent viscous flows. In Proceedings of the 34th Aerospace Sciences Meeting and Exhibit, Reno, NV, USA, 15–18 January 1996. [Google Scholar] [CrossRef]
  52. Tucker, P.G. Differential equation-based wall distance computation for DES and RANS. J. Comput. Phys. 2003, 190, 229–248. [Google Scholar] [CrossRef]
  53. Patankar, S.V. Numerical Heat Transfer and Fluid Flow; Taylor & Francis: Hemisphere, NY, USA, 1980. [Google Scholar]
  54. Verstraete, T.; Scholl, S. Stability analysis of partitioned methods for predicting conjugate heat transfer. Int. J. Heat Mass Transf. 2016, 101, 852–869. [Google Scholar] [CrossRef]
  55. Othmer, C. Adjoint methods for car aerodynamics. J. Math. Ind. 2014, 4, 6. [Google Scholar] [CrossRef]
  56. Papadimitriou, D.; Giannakoglou, K. Aerodynamic shape optimization using first and second order adjoint and direct approaches. Arch. Comput. Methods Eng. State Art Rev. 2008, 15, 447–488. [Google Scholar] [CrossRef]
  57. Gkaragkounis, K.T.; Papoutsis-Kiachagias, E.M.; Giannakoglou, K.C. The continuous adjoint method for shape optimization in Conjugate Heat Transfer problems with turbulent flows. Appl. Therm Eng. 2018, 140, 351–362. [Google Scholar] [CrossRef]
  58. Skamagkis, T.; Papoutsis-Kiachagias, E.; Giannakoglou, K. CFD-based shape optimization under uncertainties using the Adjoint-assisted Polynomial Chaos Expansion and projected derivatives. Comput. Fluids 2022, 241, 105458. [Google Scholar] [CrossRef]
  59. Rhie, C.M.; Chow, W.L. Numerical study of the turbulent flow past an airfoil with trailing edge separation. AIAA J. 1983, 21, 1525–1532. [Google Scholar] [CrossRef]
Figure 1. Flowchart of the cut-cell-based TopO algorithm.
Figure 1. Flowchart of the cut-cell-based TopO algorithm.
Energies 17 01817 g001
Figure 2. The two-step generation of cut cells. (a) (Step 1): β is interpolated at each vertex q using the β values at the neighboring cells Q. (b,c) (Step 2): The x i S positions where grid edges are cut by the β w = 0.5 iso-surface are computed. Cut cells are generated by connecting these nodes to create new internal faces that split the initial cell into fluid (blue) and solid (red) parts.
Figure 2. The two-step generation of cut cells. (a) (Step 1): β is interpolated at each vertex q using the β values at the neighboring cells Q. (b,c) (Step 2): The x i S positions where grid edges are cut by the β w = 0.5 iso-surface are computed. Cut cells are generated by connecting these nodes to create new internal faces that split the initial cell into fluid (blue) and solid (red) parts.
Energies 17 01817 g002
Figure 3. Merging a small-volume cut cell belonging in Ω F with a neighboring one.
Figure 3. Merging a small-volume cut cell belonging in Ω F with a neighboring one.
Energies 17 01817 g003
Figure 4. A single-outlet (a) and a split-outlet (b) 2D topology [19]. The geometry and boundary conditions imposed at the inlet and outlet. The external walls are adiabatic. The available design space, Ω D , where TopO can add or subtract solid material, is the central rectangular area shown in blue. H = 0.1 m.
Figure 4. A single-outlet (a) and a split-outlet (b) 2D topology [19]. The geometry and boundary conditions imposed at the inlet and outlet. The external walls are adiabatic. The available design space, Ω D , where TopO can add or subtract solid material, is the central rectangular area shown in blue. H = 0.1 m.
Energies 17 01817 g004
Figure 5. denTopO of a single-outlet heat exchanger (CHT-A): convergence of the normalized objective function J T J T 0 and the constraints.
Figure 5. denTopO of a single-outlet heat exchanger (CHT-A): convergence of the normalized objective function J T J T 0 and the constraints.
Energies 17 01817 g005
Figure 6. CHT-A results using denTopO. The bottom half of each domain is the outcome of denTopO. The top half is the same (optimized using denTopO) solution that has been post-processed to generate cut cells and re-evaluated by imposing accurate FSI conditions.
Figure 6. CHT-A results using denTopO. The bottom half of each domain is the outcome of denTopO. The top half is the same (optimized using denTopO) solution that has been post-processed to generate cut cells and re-evaluated by imposing accurate FSI conditions.
Energies 17 01817 g006
Figure 7. CHT-A: verification of the TDDC adjoint sensitivity derivatives of J T against FDs for the cut-cell TopO solver. (a) The 25 × 13 lattice controlling the α field. The control points are colored by their α C P values, which take on user-defined values close to 0 / 1 . (b) The channel geometry ( Ω F ) created by transforming α C P into cut cells and iso-velocities. (c) Sensitivity derivatives of J T with respect to α C P computed by the TDDC adjoint method and FDs.
Figure 7. CHT-A: verification of the TDDC adjoint sensitivity derivatives of J T against FDs for the cut-cell TopO solver. (a) The 25 × 13 lattice controlling the α field. The control points are colored by their α C P values, which take on user-defined values close to 0 / 1 . (b) The channel geometry ( Ω F ) created by transforming α C P into cut cells and iso-velocities. (c) Sensitivity derivatives of J T with respect to α C P computed by the TDDC adjoint method and FDs.
Energies 17 01817 g007
Figure 8. CHT-A (a) and CHT-B (b) initializations.
Figure 8. CHT-A (a) and CHT-B (b) initializations.
Energies 17 01817 g008
Figure 9. CHT-A results using the cut-cell-based TopO: optimized designs at R e = 2500 using no grid refinement (left), one (center), and two grid refinement steps (right). Rows from top to bottom correspond to optimized geometries, grid density over a selected area, and v i v i n and T isolines.
Figure 9. CHT-A results using the cut-cell-based TopO: optimized designs at R e = 2500 using no grid refinement (left), one (center), and two grid refinement steps (right). Rows from top to bottom correspond to optimized geometries, grid density over a selected area, and v i v i n and T isolines.
Energies 17 01817 g009
Figure 10. CHT-A results using the cut-cell-based TopO: optimized designs for three different Reynolds numbers. Rows from top to bottom correspond to v i v i n and T isolines.
Figure 10. CHT-A results using the cut-cell-based TopO: optimized designs for three different Reynolds numbers. Rows from top to bottom correspond to v i v i n and T isolines.
Energies 17 01817 g010
Figure 11. CHT-A: convergence of the normalized objective function J T J T 0 and the constraints for three Reynolds numbers.
Figure 11. CHT-A: convergence of the normalized objective function J T J T 0 and the constraints for three Reynolds numbers.
Energies 17 01817 g011
Figure 12. CHT-B results using the cut-cell-based TopO: optimized designs for three different Δ p t threshold values. Rows from top to bottom correspond to v i v i n and T isolines.
Figure 12. CHT-B results using the cut-cell-based TopO: optimized designs for three different Δ p t threshold values. Rows from top to bottom correspond to v i v i n and T isolines.
Energies 17 01817 g012
Table 1. CHT-A: performance of solutions R0, R1 (both re-evaluated using two grid refinement steps), and R2. The power dissipation threshold value is Δ p t t h r e s h = ρ F π P L Δ p t 0 = 9.8 × 10 2 Pa.
Table 1. CHT-A: performance of solutions R0, R1 (both re-evaluated using two grid refinement steps), and R2. The power dissipation threshold value is Δ p t t h r e s h = ρ F π P L Δ p t 0 = 9.8 × 10 2 Pa.
SolutionR0R1R2
J T [ K ] 387.6 380.4 378.6
Δ p t × 10 2 Pa 11.17 10.50 9.8
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.

Share and Cite

MDPI and ACS Style

Galanos, N.; Papoutsis-Kiachagias, E.M.; Giannakoglou, K.C. The Cut-Cell Method for the Conjugate Heat Transfer Topology Optimization of Turbulent Flows Using the “Think Discrete–Do Continuous” Adjoint. Energies 2024, 17, 1817. https://doi.org/10.3390/en17081817

AMA Style

Galanos N, Papoutsis-Kiachagias EM, Giannakoglou KC. The Cut-Cell Method for the Conjugate Heat Transfer Topology Optimization of Turbulent Flows Using the “Think Discrete–Do Continuous” Adjoint. Energies. 2024; 17(8):1817. https://doi.org/10.3390/en17081817

Chicago/Turabian Style

Galanos, Nikolaos, Evangelos M. Papoutsis-Kiachagias, and Kyriakos C. Giannakoglou. 2024. "The Cut-Cell Method for the Conjugate Heat Transfer Topology Optimization of Turbulent Flows Using the “Think Discrete–Do Continuous” Adjoint" Energies 17, no. 8: 1817. https://doi.org/10.3390/en17081817

APA Style

Galanos, N., Papoutsis-Kiachagias, E. M., & Giannakoglou, K. C. (2024). The Cut-Cell Method for the Conjugate Heat Transfer Topology Optimization of Turbulent Flows Using the “Think Discrete–Do Continuous” Adjoint. Energies, 17(8), 1817. https://doi.org/10.3390/en17081817

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop