원시데이터 수집 시스템
선정목록으로

Topology optimization of differentiable microstructures

간접 관련 엔지니어링 플라스틱 · (23) 컴파운드 (21) 에폭시수지(22) POM(폴리아세탈)

기본 정보

저자
  1. Xiaoya Zhai — Department of Sustainable Design Engineering, Delft University of Technology, Delft, The Netherlands|||School of Mathematical Sciences, University of Science and Technology of China, Hefei, PR China
  2. Weiming Wang — Department of Mechanical, Aerospace and Civil Engineering, The University of Manchester, United Kingdom
  3. Falai Chen — School of Mathematical Sciences, University of Science and Technology of China, Hefei, PR China
  4. Jun Wu — Department of Sustainable Design Engineering, Delft University of Technology, Delft, The Netherlands
DOI
10.1016/j.cma.2023.116530
저널
Computer Methods in Applied Mechanics and Engineering
발행년도
2023
발행기관
Elsevier BV
피인용수
22
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1016/j.cma.2023.116530
토픽
Composite Material Mechanics
OpenAlex ID
W4387629129

평가 내용

관련도
간접 관련
사업분야
엔지니어링 플라스틱 · (23) 컴파운드
부 분야
(21) 에폭시수지, (22) POM(폴리아세탈)
R&D 측면
분석·모델링
확신도
0.70
근거 용어
Topology optimization, microstructures, functionally graded, bulk modulus, multi-scale structural optimization
판단 근거
이 논문은 미세구조(microstructure)의 기하학적 형상과 기계적 물성을 연속적으로 제어하는 위상 최적화 설계 기법을 다룹니다. 이는 코오롱인더스트리의 엔지니어링 플라스틱(23) 및 복합소재 컴파운드 설계 시, 경량화와 강성을 동시에 확보하기 위한 격자 구조(lattice structure) 또는 기능성 경사 소재 설계 모델링에 응용될 수 있습니다.
R&D 활용 포인트
고기능성 컴파운드 및 엔지니어링 플라스틱 제품 설계 시, 특정 부위의 강성을 최적화하거나 경량화를 달성하기 위한 미세 구조 설계 및 시뮬레이션 방법론으로 활용 가능합니다.
평가 입력
본문 71,556자 중 30,032자 발췌

초록

<p>Recent years have seen a growing interest in topology optimization of functionally graded microstructures, characterized by an array of microstructures with varying volume fractions. However, microstructures optimized at slightly different volume fractions do not necessarily connect well when placed adjacently. Furthermore, optimization is commonly performed on a finite set of volume fractions, limiting the number of microstructure configurations. In this paper, we introduce the concept of differentiable microstructures, which are parameterized microstructures that exhibit continuous variations in both geometry and mechanical properties. To construct such microstructures, we propose a novel formulation for topology optimization. In this approach, a series of 2-dimensional microstructures is represented using a height field, and the objective is to maximize the bulk modulus of the entire series. Through this optimization process, an initial microstructure with a small volume fraction undergoes non-uniform transformations, generating a series of microstructures with progressively increasing volume fractions. Notably, when compared to traditional uniform morphing methods, our proposed optimization approach yields a series of microstructures with bulk moduli that closely approach the theoretical limit.</p>

본문 71,556자

본문 펼치기
Delft University of Technology Topology optimization of differentiable microstructures Zhai, Xiaoya; Wang, Weiming; Chen, Falai; Wu, Jun DOI [10.1016/j.cma.2023.116530](https://doi.org/10.1016/j.cma.2023.116530) Publication date 2024 Document Version Final published version Published in Computer Methods in Applied Mechanics and Engineering Citation (APA) Zhai, X., Wang, W., Chen, F., & Wu, J. (2024). Topology optimization of differentiable microstructures. Computer Methods in Applied Mechanics and Engineering, 418(Part A), Article 116530. [https://doi.org/10.1016/j.cma.2023.116530](https://doi.org/10.1016/j.cma.2023.116530) Important note To cite this publication, please use the final published version (if applicable). Please check the document version above. Copyright Other than for strictly personal use, it is not permitted to download, forward or distribute the text or part of it, without the consent of the author(s) and/or copyright holder(s), unless the work is under an open content license such as Creative Commons. Takedown policy Please contact us and provide details if you believe this document breaches copyrights. We will remove access to the work immediately and investigate your claim. This work is downloaded from Delft University of Technology. For technical reasons the number of authors shown on this cover page is limited to a maximum of 10. p pp g g ( ) Contents lists available at [ScienceDirect](https://www.elsevier.com/locate/cma) # Comput. Methods Appl. Mech. Engrg. journal homepage: [www.elsevier.com/locate/cma](http://www.elsevier.com/locate/cma) ## Topology optimization of differentiable microstructures Xiaoya Zhai <sup>a,b</sup>, Weiming Wang <sup>c</sup>, Falai Chen <sup>b</sup>, Jun Wu <sup>a,∗</sup> a _Department_ _of_ _Sustainable_ _Design_ _Engineering,_ _Delft_ _University_ _of_ _Technology,_ _Delft,_ _The_ _Netherlands_ b _School_ _of_ _Mathematical_ _Sciences,_ _University_ _of_ _Science_ _and_ _Technology_ _of_ _China,_ _Hefei,_ _PR_ _China_ c _Department_ _of_ _Mechanical,_ _Aerospace_ _and_ _Civil_ _Engineering,_ _The_ _University_ _of_ _Manchester,_ _United_ _Kingdom_ A R T I C L E I N F O _Keywords:_ Topology optimization Functionally graded microstructures Inverse homogenization 1. Introduction A B S T R A C T Recent years have seen a growing interest in topology optimization of functionally graded microstructures, characterized by an array of microstructures with varying volume fractions. However, microstructures optimized at slightly different volume fractions do not necessarily connect well when placed adjacently. Furthermore, optimization is commonly performed on a finite set of volume fractions, limiting the number of microstructure configurations. In this paper, we introduce the concept of _differentiable_ _microstructures_, which are parameterized microstructures that exhibit continuous variations in both geometry and mechanical properties. To construct such microstructures, we propose a novel formulation for topology optimization. In this approach, a series of 2-dimensional microstructures is represented using a height field, and the objective is to maximize the bulk modulus of the entire series. Through this optimization process, an initial microstructure with a small volume fraction undergoes nonuniform transformations, generating a series of microstructures with progressively increasing volume fractions. Notably, when compared to traditional uniform morphing methods, our proposed optimization approach yields a series of microstructures with bulk moduli that closely approach the theoretical limit. In recent years, alongside the advancements in additive manufacturing technologies, there has been a growing interest in the optimal design of multi-scale structures, i.e., structures that are composed of intricate sub-structures. Multi-scale structural optimization dates back to the seminal work of Bendsøe and Kikuchi [1]. A comprehensive overview of the historical and latest developments in this field is available in a recent review article [2]. Multi-scale structures are intrinsically lightweight and hold the promise of achieving superior functionalities, e.g., buckling resistance [3,4] and damage tolerance [5]. Within a macroscale structural layout, the distribution of microstructures typically falls into one of two categories: periodic or spatially graded. In the former case, a single microstructure is repeated in the macroscale structural layout, resulting in a homogeneous distribution. In the latter, a set of varying microstructures is distributed within the macroscale structure, creating a spatial gradation of mechanical properties. The tailoring of local microstructure configurations to meet spatially varying functional requirements is of great importance in engineering design. For instance, in the design of orthopedic implants, it has been suggested to place highly porous microstructures at the bone-implant interface for promoting bony ingrowth, and allocate dense microstructures in the central region (where bony ingrowth is irrelevant) for maintaining structural integrity [6,7]. A systematic approach for the inverse design of microstructures is topology optimization [8,9]. It involves optimizing the material distribution within a unit cell to tailor its effective properties, which can be determined through methods such as numerical ∗ Corresponding author. _E-mail_ _addresses:_ [xiaoyazhai@ustc.edu.cn](mailto:xiaoyazhai@ustc.edu.cn) (X. Zhai), [J.Wu-1@tudelft.nl](mailto:J.Wu-1@tudelft.nl) (J. Wu). [https://doi.org/10.1016/j.cma.2023.116530](https://doi.org/10.1016/j.cma.2023.116530) Received 7 July 2023; Received in revised form 7 October 2023; Accepted 7 October 2023 Available online 13 October 2023 0045-7825/© 2023 The Author(s). Published by Elsevier B.V. This is an open access article under the CC BY license [(http://creativecommons.org/licenses/by/4.0/).](http://creativecommons.org/licenses/by/4.0/) _p_ _pp_ _g_ _g_ _(_ _)_ homogenization. This inverse design approach, often referred to as inverse homogenization, was initially proposed to design periodic microstructures [8] and has since been extended to design a series of varying microstructures (e.g., [7,10]). For example, by applying inverse homogenization to maximize the bulk modulus of microstructures under a linearly varying volume fraction of solid material, it becomes possible to design a series of microstructures with varying porosity and bulk modulus. However, optimized microstructures that are close with respect to the volume fraction do not necessarily match when placed adjacently. This is due to the existence of numerous local optima in the tremendous solution space of microstructure topology optimization. The disconnectivity issue has received significant attention in the research community [7,10–18]. Zhou and Li [10] were among the first to investigate this problem. They proposed to optimize the summation of mechanical properties of individual cells, and introduced a non-linear diffusion term into the objective function to penalize disconnection. In a recent development, Garner et al. [7] proposed to optimize the mechanical properties measured on the extended domain of compound cells. This formulation stimulates mechanical compatibility across adjacent cells, since a poor connection is reflected by the suboptimal mechanical performance of the compound cells. The set of graded microstructures obtained through inverse homogenization is typically parameterized by the volume fraction of solid material (or equivalently, porosity). Since inverse homogenization is applied to a discrete set of volume fractions, either individually or holistically, the obtained set of microstructures is inherently discrete. In other words, there is a finite difference in volume fractions between adjacent microstructures. This discrete nature implies abrupt changes in geometry between adjacent microstructures, even when the connectivity has been optimized. Consequently, stress concentration at the interface between adjacent microstructures may arise under loading conditions. In contrast to the discrete nature of the series of optimized microstructures, two-scale optimization with graded microstructures typically assumes a continuous parameter (e.g., the volume fraction of solid material) for the macroscale optimization problem [19,20]. Thus, quantization of the continuous parameter is required for mapping the discrete microstructures to the optimized continuous macroscale layout. The error introduced by the quantization is often neglected. A strategy to reduce the quantization error is to increase the size of the discrete set of volume fractions. For instance, Garner et al. [7] demonstrated simultaneous optimization of up to 100 unit cells of varying volume fraction. This involves intensive computation, since numerical homogenization must be applied to each volume fraction. Alternatively, the quantization error can be mitigated by regarding the discrete microstructures as different materials in the macroscale optimization [21,22]. This requires a multi-material optimization approach on the macroscale [23,24], which is more complex than optimizing with a single continuous parameter. In this paper, we introduce the concept of _differentiable_ _microstructures_, which entails a continuous parameterization of microstructures. In this framework, any parameter value within a valid interval corresponds to a unique microstructure instance. This innovative approach eliminates the need for quantization in two-scale optimization and removes the requirement for a multi-material optimization setup. Furthermore, the continuous parameterization ensures that an infinitesimal change in the parameter value results in an infinitesimal change in the geometry and mechanical properties of the microstructure. This theoretically eliminates the possibility of stress concentration occurring between adjacent microstructures. Several known families of microstructures can be classified as differentiable microstructures. For instance, simple 2D X-shaped lattices parameterized by the in-plane thickness of bars, parameterized auxetic metamaterials [25], and 3D cellular structures based on parametric surfaces such as triply-periodic minimal surfaces [26]. In fact, these and similar geometric parameterizations are not uncommon in two-scale structural optimization (e.g., [27–30], reviewed in [2]). These geometries offer a continuous parameterization, but at the price of a compromise in the mechanical properties of individual microstructures. The bulk modulus of these simply parameterized microstructures is lower than the theoretic limits [31]. Differentiable microstructures may also be obtained by geometric interpolation. Cramer et al. [19] optimized isotropic microstructures for maximum bulk modulus at five volume fractions, and proposed the use of a signed distance field function for interpolation. This geometric approach works for microstructures of similar topology, which, however, is not always the case in inverse homogenization. Zobaer and Sutradhar [32] presented an optimization-based approach to interpolate orthotropic microstructures through supershape-based parametric modeling. Nevertheless, the complexity of microstructures that can be accurately represented by supershapes is limited. In this paper, we present a novel formulation for designing differentiable microstructures through topology optimization. Our method takes a microstructure with a low volume fraction as the input and generates a series of microstructures by expanding it. To ensure the differentiability of microstructures, our approach starts with a continuous parameterization of microstructures. Specifically, we represent the continuous series of 2D microstructures by a height field defined over the microstructure design domain, where each height corresponds to a specific microstructure. We analyze the geometric feature of the height field and its implications on the mechanical properties of the resulting microstructures. In particular, it is found that the height field shall be smooth, and free of local maxima and saddle points to avoid sub-optimal microstructure configurations. To achieve this, we propose a novel regularization technique using a heat equation. We further analyze the optimality of the differentiable microstructures regarding different input microstructures, and provide heuristic principles to generate these input microstructures under specified conditions. Our method is demonstrated on the maximization of bulk modules of 2D microstructures. The remainder of the paper is organized as follows. Section 2 introduces the definition of and the conceptualization towards differentiable microstructures. Section 3 presents the methodology for topology optimization of differentiable microstructures. Section 4 provides a comparative analysis of our results in relation to alternative approaches, and discusses the geometric features and differentiability of the optimized outcomes. The paper concludes with final remarks and suggestions for future research in Section 5. _p_ _pp_ _g_ _g_ _(_ _)_ 2. Differentiable microstructures Let _?_ be a binary field, representing a microstructure that is defined on a domain _?⊂_ R <sup>_?_</sup> ( _?_ = 2 or 3). At each point _?_ ∈ _?_, _?_ is 0 or 1, indicating that the material at this point is void or solid. We consider a series of varying microstructures that is parameterized by one or a few continuous parameters, _?_ ∈[ _<u>?,</u>_ _<u>?</u>_ <u>].</u> This series of varying microstructures, i.e., functionally graded microstructures, is compactly represented by _?_ ( _?_ ). For multi-scale design optimization, it is essential to require that _?_ ( _?_ ) are continuous _functionally_ and _geometrically_ . Here function refers to physical properties of _?_ ( _?_ ), e.g., its bulk modulus and average density. Functional continuity enables the use of gradient-based mathematical programming for solving multi-scale design optimization problems. Geometric continuity ensures that the functionally graded microstructures, when adjacently placed, can effectively deliver their physical properties, i.e., to transfer mechanical loads. Based on these requirements, we propose the concept of differentiable microstructures. _Differentiable microstructures._ Differentiable microstructures are graded microstructures that are described by continuous parameters, and wherein both physical properties and the geometry of _?_ ( _?_ ) are continuous and differentiable with respect to _?_ . Denoting a generic physical property by _?_, the physical differentiability is related to the existence of _??_ lim→0 _<u>????</u>_ <sup>,</sup> <sup>where</sup> <sup>_??_</sup> <sup>is</sup> <sup>an</sup> <sup>infinitesimal</sup> change of the continuous parameter _?_ . The physical properties can be evaluated, for example, by numerical homogenization. To define geometric differentiability, a metric is needed for quantifying the geometric difference between _?_ ( _?_ ) and _?_ ( _?_ + _??_ ). To this end, here we use the size of the absolute difference between the two fields, _<u>??</u>_ _??_ →0 _<u>????</u>_ <sup>,</sup> <sup>where</sup> <sup>_??_</sup> <sup>is</sup> <sup>an</sup> <sup>infinitesimal</sup> _??_ = ∫ _?_ | _?_ ( _?_ + _??_ ) − _?_ ( _?_ )| d _?_ _._ (1) The geometric differentiability thus translates to the existence of lim _??_ →0 _<u>????</u>_ <sup>.</sup> We note that the metric of the geometric difference is independent of the topology of _?_ ( _?_ ) or _?_ ( _?_ + _??_ ). This is beneficial to allow for varying topologies in functionally graded microstructures. While often a small modification in geometry leads to a small change in physical properties, the change in physical properties is not guaranteed to be small. If the topology of _?_ ( _?_ + _??_ ) differs from that of _?_ ( _?_ ), the physical properties may differ unproportionally. Thus, both geometric and physical differentiabilities are needed to define differentiable microstructures. _2.1._ _Conceptualization_ _towards_ _differentiable_ _microstructures_ An approach to differentiable microstructures is to start with a simple geometry (e.g., an X-shaped microstructure in 2D), and uniformly change its thickness, e.g., by offsetting its boundary (shown in Fig. 1(a)). This achieves geometric and physical differentiability, but the physical property of the microstructures is sub-optimal. To approach the optimal physical property, the main idea of our method is to _non-uniformly_ morph the boundary of an initial microstructure. The uniform offsetting and non-uniform morphing are illustrated in Fig. 1(a) and (b) for a simple X-shaped input microstructure, respectively. The series of 2D microstructures can be seen as the cross-sections of a height field (cf. the bottom row in Fig. 1). The continuous morphing ensures geometric differentiability, while the non-uniform characteristic provides an opportunity to maximize the physical property for the entire sequence during morphing, _?_ ( _?_ ), _<u>?</u>_ ≤ _?_ ≤ _<u>?</u>_ <u>.</u> The objective function is generically written as _<u>?</u>_ _?_ = ∫ _<u>?</u>_ _?_ ( _?_ ( _?_ ))d _?._ (2) Here _?_ is an operator for evaluating the physical property of interest, e.g., numerical homogenization. We note that, mathematically, maximizing the integral function does not guarantee the optimality of each individual microstructure. In our approach and in multi-scale optimization, the interest is to get an optimal series, and thus the integral form of the objective function. In this work, we take the bulk modulus as an example. The input microstructure _?_ 0 corresponds to one with a low volume fraction. The optimization thus non-uniformly expands the boundary of _?_ 0. During the expansion, the topology of the microstructure is allowed to change, offering flexibility to maximize the bulk modulus of the sequence. We introduce a novel parameterization for encoding the non-uniform expansion. We conceptualize the expansion of the boundary as heat conduction in the design domain _?_ . The non-uniform expansion can thus be encoded by the temperature distribution resulting from the non-homogeneous thermal properties in the domain. Specifically, heat conduction is governed by _?_ <sup>_<u>?</u>_</sup> _?_ <sup>2</sup> _?_ <sup>_<u>?</u>_</sup> <sup>2</sup> <sup>_<u>??</u>_</sup> _??_ <sup>_,_</sup> (3) <sup>_<u>?</u>_</sup> <sup>2</sup> <sup>_<u>?</u>_</sup> _?_ _?_ <sup>2</sup> <sup>=</sup> <sup>_<u>??</u>_</sup> _??_ where _?_ is the thermal diffusivity. _?_ and _?_ refer to temperature and time, respectively. The domain boundary ( _??_ ) is insulated, i.e., (∇ _?_ ⋅ _⃖⃗?_ )| _??_ = 0 where _⃖⃗?_ is the normal vector of boundary _??_ . The solid region of the input microstructure ( _?_ 0 = { _?_ | _?_ 0( _?_ ) = 1}) serves as the heat source, with a constant temperature, i.e., _?_ | _?_ 0 _,?_ = _?_ 0 = 1. The rest of the domain starts with a temperature of 0, i.e., _?_ | _?_ ⧵ _?_ 0 _,?_ = _?_ 0 = 0. The temperature distribution at a specific time _?_ = _?_ 1 is thus determined by the thermal diffusivity _?_ . We denote the temperature field at _?_ 1 by _?_ . The iso-contours of _?_ are analogously interpreted as boundaries of varying microstructures. As a result of the heat conduction process, the obtained microstructures are geometrically differentiable. This conceptualization is illustrated in Fig. 2. Given an input microstructure _?_ 0 and an initial thermal diffusivity field _?_, a temperature distribution is computed by solving the heat equation. The iso-contours of the temperature field are indicated by black _p_ _pp_ _g_ _g_ _(_ _)_ Fig. 1. Illustration of uniform offsetting (a) and non-uniform morphing (b) from an X-shaped 2D microstructure. They correspond to the cross-sections of different height fields (c and d). Fig. 2. Conceptualization towards differentiable microstructures based on heat conduction. (a) Input microstructure _?_ 0. (b) Initial thermal coefficients _?_ . (c)(d) Iso-contours and its height field _?_ . (e)–(g) Intermediate microstructures. (h)–(l) The optimized results. lines in Fig. 2(c). These iso-contours are interpreted as varying microstructures, shown in (e-g). The temperature distribution can also be visualized by a height field (d), where the height corresponds to a temperature value. In the thermal diffusivity field for this illustration, the right-hand side of the domain has larger thermal diffusivities than the left-hand side. Consequently, the resulting microstructures have larger solid regions on their right-hand side (e-g). In order to generate optimal differentiable microstructures, the thermal diffusivity field is updated in an iterative numerical optimization process. The optimized microstructures are visualized in (h-l). The height field _?_ depends on the input microstructure _?_ 0 and the thermal diffusivity field _?_ . To obtain optimal microstructures, we take the heterogeneous thermal diffusivity field as design variables. The input microstructure is obtained by inverse homogenization to maximize its bulk modulus, at a small volume fraction. The inverse homogenization approach is able to find microstructures whose bulk moduli are close to the theoretical limit [7,8,33]. The solution by the numerical approach however is not unique - there exist many microstructures with a similar bulk modulus but different topology and geometry. In the results section, we thoroughly examine the influence of geometric features of the input microstructure on the optimality of the optimized differentiable microstructures. 3. Topology optimization of differentiable microstructures The design of differentiable microstructures is formulated as a topology optimization problem based on a finite element discretization of the domain _?_ . The integral objective (Eq. (2)) is rewritten as the summation over _?_ sample microstructures in the series, _?_ ( _?_ ) = ∑ _?_ _?_ _?_ ( _?_ <sup>[</sup> <sup>_?_</sup> <sup>]</sup> ( _?_ )) _._ (4) _p_ _pp_ _g_ _g_ _(_ _)_ Here, _?_ is a function to evaluate the physical property of an individual microstructure. _?_ <sup>[</sup> <sup>_?_</sup> <sup>]</sup> represents the _?_ th sample microstructure, corresponding to _??_ ∈ <u>[</u> _<u>?,</u>_ _<u>?</u>_ <u>].</u> As explained, the design variables are the thermal diffusivity field. The design variables _?_ are first smoothed by a convolution filter, as commonly done in density-based topology optimization. The smoothed field _̃_ _?_ is then used to obtain a temperature field _?_, by solving the heat equation. From the continuous temperature field, smoothed Heaviside projections with varying thresholds are applied to get the sample microstructures, _?_ <sup>[</sup> <sup>_?_</sup> <sup>]</sup>, _?_ = 1 _,_ … _, ?_ . This section starts with the computational steps to obtain the sample microstructures from the design variables. We then proceed to present the optimization problem and the constraints. The sensitivity analysis and pseudocode to solve the design optimization problem are also included. _3.1._ _Computational_ _steps_ _to_ _obtain_ _sample_ _microstructures_ _Step_ _1:_ _Smoothing_ _of_ _design_ _variables_ _?_ In numerical optimization, the integral objective (Eq. (2)) is replaced by the summation over a few sample microstructures (Eq. (4)). This means that the microstructures between sample microstructures are not explicitly part of the objective function. To ensure a continuous change between the sample microstructures, it is thus necessary to have a smooth thermal diffusivity field. The smoothness of the thermal diffusivity field affects the gradient of the resulting temperature field. To this end, a convolution filter commonly used in density-based topology optimization is adopted here to smooth the thermal diffusivity field. The smoothed diffusivity is ∑ _??_ = _?_ ∈ _??_ <sup>_?_</sup> _?_ <sup>(</sup> <sup>_?_</sup> _?_ <sup>_, ?_</sup> <sup>)</sup> <sup>_?_</sup> _?_ <sup>_?_</sup> _?_ ~~∑~~ _?_ ∈ _??_ <sup>_?_</sup> _?_ <sup>(</sup> <sup>_?_</sup> _?_ <sup>_, ?_</sup> <sup>)</sup> <sup>_?_</sup> _?_ _,_ (5) where _??_ is the volume of an element, which is constant in our implementations. The weighting factor decreases linearly with respect to the distance between _??_ and _??_, _??_ ( _??, ?_ ) = _?_ - ‖ _??_ - _??_ ‖ _,_ (6) where _?_ is a predefined filter radius. _??_ and _??_ are respectively the centroid of element _?_ and of an element that is in its close vicinity, _?_ ∈ _??_ = { _?_ | ‖ _??_ - _??_ ‖ ≤ _?_ }. _Step_ _2:_ _From_ _the_ _thermal_ _diffusivity_ _field̃_ _?_ _to_ _a_ _temperature_ _field_ _?_ The heat equation is used to generate a smoothly varying temperature field. In 2D, it is written as = <sup>_<u>??</u>_</sup> _??_ <sup>_._</sup> (7) _?_ <sup>_<u>??</u>_</sup> _??_ + <sup>_<u>?</u>_</sup> _??_ _<u>?</u>_ _??_ ( ) ( _?_ <sup>_<u>??</u>_</sup> _??_ ) To solve this partial differential equation, the domain _?_ is discretized into bi-linear quad elements. The temperature ( _?_ ) is defined on the nodes. Each element is associated with a thermal diffusivity value _̃_ _??_ . The left-hand side of Eq. (7) can be discretized using finite difference [34] or finite element schemes [35]. A finite element scheme is used in this work for its applicability to irregular grids. The right-hand side of Eq. (7) is discretized using a one-step finite difference scheme. This is in accordance with the purpose of getting a smoothly varying temperature field. Note that we set the solid region of the input microstructure ( _?_ 0 = { _?_ | _?_ 0( _?_ ) = 1}) as the heat source with a constant temperature, i.e., _?_ | _?_ 0 = 1, and the domain boundary is insulated. As _?_ → ∞, the solution to Eq. (7) is a uniform temperature distribution. Using a finite element scheme for the space and a one-step finite difference scheme for the time dimension, the heat equation is written as _?_ ( _?_ _̃_ ) _?_ _?_ 1 = _?_ _?_ <u>1</u> - _?_ _?_ <u>0</u> _._ (8) _??_ _?_ _?_ 0 is the temperature distribution at _?_ = _?_ 0, i.e., _?_ | _?_ 0 = 1 and _?_ | _?_ ⧵ _?_ 0 _,?_ = _?_ 0 = 0. _?_ _?_ 1 is the unknown temperature distribution at _?_ = _?_ 1. _?_ is the global thermal diffusivity matrix, assembled from that of each element, i.e., _?_ ( _?_ _̃_ ) = <sup>∑</sup> _?_ <sup>_?_</sup> _?_ <sup>(</sup> <sup>_̃?_</sup> _?_ <sup>).</sup> <sup>The</sup> <sup>thermal</sup> <sup>diffusivity</sup> matrix for an element with _̃_ _??_ is linearly scaled from that of the element with a thermal diffusivity of 1, which is denoted by _?_ _?_ =1, _?_ _?_ ( _̃??_ ) = _̃ ??_ _?_ _?_ =1 _._ (9) We rearrange Eq. (8) as ( _?_ - _??_ _?_ ( _?_ _̃_ )) _?_ _?_ 1 = _?_ _?_ 0 _._ (10) Here, _?_ is an _?_ × _?_ identity matrix, where _?_ is the number of nodes of the spatial discretization. Solving this linear system of equations to obtain the temperature distribution at nodes, the temperature of each element is then computed by bi-linear interpolation. This is written in the matrix form as a transformation by _?_ = _??_ _?_ ? _._ (11) _?_ is a sparse matrix that transforms the temperature from nodes to elements. For structured quad meshes in 2D, as used in our examples, _??,?_ = 4 <sup><u>1</u></sup> <sup>if</sup> <sup>the</sup> <sup>_?_</sup> <sup>th</sup> <sup>node</sup> <sup>is</sup> <sup>one</sup> <sup>of</sup> <sup>the</sup> <sup>_?_</sup> <sup>th</sup> <sup>element’s</sup> <sup>nodes,</sup> <sup>and</sup> <sup>_??,?_</sup> <sup>= 0,</sup> <sup>otherwise.</sup> _Step_ _3:_ _From_ _the_ _temperature_ _field_ _?_ _to_ _sample_ _microstructures_ _?_ <sup>[</sup> <sup>_?_</sup> <sup>]</sup> _p_ _pp_ _g_ _g_ _(_ _)_ The temperature distribution is a continuous scalar field with values between 0 and 1. It can be visualized as a height field (see Fig. 2(d)). The cross-section of the height field by a horizontal plane is interpreted as a microstructure. In the microstructure corresponding to a cross-section at height _??_, a point at _?_ is solid if _?_ _?_ ≤ _??_, or empty, otherwise. We use a smoothed Heaviside projection to approximate the thresholding, _?_ <sup>[</sup> <sup>_?_</sup> <sup>]</sup> = <sup>tanh(</sup> tanh( <sup>_??_</sup> _??_ <sup>_<u>?</u>_</sup> _?_ <sup>) + tanh(</sup> ) + tanh( <sup>_?_</sup> _?_ <sup>(</sup> (1 − <sup>_?_</sup> <sup>−</sup> _?_ <sup>_?_</sup> _?_ <sup>_<u>?</u>_</sup> )) <sup>))</sup> <sup>_._</sup> (12) Here, _?_ is a parameter to control the sharpness of the projection function [36]. As _?_ approaches infinity, the projection is equivalent to a step function. A continuation is adopted for stability. The initial value of _?_ is set to 2. It is doubled every 50 iterations, until it reaches 128. _3.2._ _Optimization_ _problem_ With the encoding of the microstructures through a heat equation, the optimization problem is formulated as max _?_ = _?_ max ∑ _?_ _?_ _?_ ( _?_ <sup>[</sup> <sup>_?_</sup> <sup>]</sup> ( _?_ )) (13) subject to ( _?_ - _??_ _?_ ( _?_ _̃_ )) _?_ _?_ 1 = _?_ _?_ 0 _,_ (14) ∑ _?_ _<u>?</u>_ _?_ _<u>?</u>_ <u>=1</u> <sup>_???_</sup> _?_ <sup>[</sup> <sup>_?_</sup> <sup>]</sup> <sup>_???_</sup> _?_ <sup>[</sup> <sup>_?_</sup> <sup>]</sup> ≤ _?_ <sup>[</sup> <sup>_?_</sup> <sup>]</sup> _,_ ∀ _?,_ (15) | _?_ | 0 ≤ _??_ ≤ 1 _,_ ∀ _?._ (16) The objective function and heat equation follow the previous section. Eq. (15) is a volume constraint that is introduced to regularize the varying volume fraction in the series of microstructures. _??_ and | _?_ | represent the volume of an element and of the domain, respectively. _?_ is the number of elements in the domain. _?_ <sup>[</sup> <sup>_?_</sup> <sup>]</sup> is the prescribed volume fraction of the _?_ th sample microstructure. Recall the height field visualization of differentiable microstructures (Fig. 2(d)). A larger height _?_ corresponds to a microstructure with a small volume fraction. We prescribe a linear relationship between the height parameter and the volume fraction, _??_ = 1 − _?_ <sup>[</sup> <sup>_?_</sup> <sup>]</sup> _._ (17) Eq. (16) sets design variables to be within [0 _,_ 1]. The upper bound, together with _??_ in Eq. (14), influences the frequency of occurrences of different temperature values in the resulting temperature field. For instance, a large uniform _?_ and _??_ will result in a temperature distribution that is dominated by temperature values close to 1. On the contrary, a small uniform _?_ and _??_ result in a temperature distribution that is dominated by temperature values close to 0. In both cases, the iso-contours of the temperature field are clustered, negatively affecting the optimization convergence. In our examples, setting the upper bound of _??_ to 1 and _??_ = 10 <sup>−3</sup> is found to be able to obtain a temperature field that smoothly varies from 1 to 0, resulting in good convergence. In this work, we optimize differentiable microstructures to maximize their bulk modulus. The bulk modulus is computed based on the homogenized elasticity tensor that is calculated using numerical homogenization [7,33]. The optimization problem is solved using the method of moving asymptotes (MMA) [37]. The optimized bulk modulus of the differentiable microstructures is compared to the Hashin–Shtrikman bounds [31]. _3.2.1._ _Sensitivity_ _analysis_ _????_ 1 <sup>_,_</sup> _??_ <sup>_<u>??</u>_</sup> 2 _<u>??</u>_ _??_ <sup>_<u>??</u>_</sup> 2 <sup>_,_</sup> <sup>…</sup> <sup>_,_</sup> _???_ , where The sensitivity of the objective function _?_ ( _?_ ) = <sup>∑</sup> <sup>_?_</sup> _?_ _?_ <sup>_<u>??</u>_</sup> _?_ <sup>=</sup> <sup>_?_</sup> _?_ =1 <sup>_?_</sup> <sup>(</sup> <sup>_?_</sup> <sup>[</sup> <sup>_?_</sup> <sup>])</sup> <sup>regarding</sup> <sup>the</sup> <sup>design</sup> <sup>variable</sup> <sup>_?_</sup> <sup>is</sup> _?_ <sup>_<u>??</u>_</sup> _?_ ]? [ _?_ is the number of elements. Take one of these elements for example, by using the chain law, _?????_ <sup>is</sup> <sup>defined</sup> <sup>as</sup> ∑ _?_ ∈ _??_ _<u>??</u>_ _??_ <sup>[</sup> _?_ <sup>_?_</sup> <sup>]</sup> _<u>??</u>_ _???_ _???_ <sup>[</sup> <sup>_?_</sup> <sup>]</sup> _???_ ⋅ _???_ _?̃??_ ⋅ _?̃??_ _???_ _._ (18) = ∑ _?_ _?_ ⋅ where _??_ is the neighborhood of element _?_ . _<u>??</u>_ _??_ <sup>[</sup> _?_ <sup>_?_</sup> <sup>]</sup> is stated below: ) _,_ (19) _<u>??</u>_ <u>(</u> _<u>?</u>_ <sup>[</sup> <sup>_?_</sup> <sup>]</sup> <u>)</u> _??_ <sup>[</sup> _?_ <sup>_?_</sup> <sup>]</sup> ( ∑3 _?,?_ =1 _<u>??</u>_ _??_ <sup>[</sup> _?_ <sup>_?_</sup> <sup>]</sup> = ∑ _?_ _?_ =1 = ∑ _?_ _?_ =1 _???_ _??_ <sup>[</sup> _<u>??</u>_ <sup>_?_</sup> <sup>]</sup> _??_ <sup>[</sup> _?_ <sup>_?_</sup> <sup>]</sup> Here, _?_ ( _?_ <sup>[</sup> <sup>_?_</sup> <sup>]</sup> ) = <sup>∑3</sup> _??_ <sup>[</sup> <sup>_?_</sup> <sup>]</sup> <sup>is</sup> <sup>a</sup> <sup>function</sup> <sup>of</sup> <sup>the</sup> <sup>homogenized</sup> <sup>elasticity</sup> <sup>tensors</sup> <sup>_?_</sup> <sup>.</sup> <sup>_???_</sup> <sup>is</sup> <sup>constant,</sup> <sup>1</sup> <sup>or</sup> <sup>0.</sup> _??_ <sup>[</sup> _<u>??</u>_ <sup>_?_</sup> <sup>]</sup> _??_ <sup>[</sup> <sup>_?_</sup> <sup>]</sup> <sup>3</sup> _?,?_ =1 <sup>_????_</sup> _??_ <sup>[</sup> <sup>_?_</sup> <sup>]</sup> is calculated based on the equilibrium equation and the modified solid isotropic material with penalization (SIMP) method _?_ (see e.g., [7]). _????_ <sup>[</sup> _<u>??</u>_ <sup>_?_</sup> <sup>]</sup> <sup>is</sup> <sup>calculated</sup> <sup>from</sup> <sup>the</sup> <sup>Heaviside</sup> <sup>function.</sup> _p_ _pp_ _g_ _g_ _(_ _)_ _???_ _?̃??_ <sup>is</sup> <sup>computed</sup> <sup>using</sup> <sup>the</sup> <sup>adjoint</sup> <sup>method.</sup> <sup>Let</sup> <sup>_?_</sup> <sup>0</sup> <sup>=</sup> <sup>_?_</sup> <sup>−</sup> <sup>_??_</sup> <sup>_?_</sup> <sup>(</sup> <sup>_̃?_</sup> <sup>).</sup> <sup>The</sup> <sup>Lagrangian</sup> <sup>function</sup> <sup>for</sup> <sup>the</sup> <sup>volume</sup> <sup>constraint</sup> <sup>is</sup> ) _._ (20) ∑ _?_ _?_ =1 _?_ <sup>[</sup> _?_ <sup>_?_</sup> <sup>]</sup> <sup>=</sup> <u>1</u> | _?_ | <sup>[</sup> _?_ <sup>_?_</sup> <sup>]</sup> <sup>=</sup> <u>1</u> | _?_ | _??_ _?_ <sup>[</sup> _?_ <sup>_?_</sup> <sup>]</sup> <sup>−</sup> <sup>_?_</sup> <sup>[</sup> <sup>_?_</sup> <sup>] + (</sup> <sup>_?_</sup> <sup>[</sup> <sup>_?_</sup> <sup>])?</sup> <sup>(</sup> _?_ 0 _?_ _?_ 1 - _?_ _?_ 0 Then the derivative of _?_ <sup>[</sup> _?_ <sup>_?_</sup> <sup>]</sup> <sup>regarding</sup> <sup>_̃_</sup> <sup>_?_</sup> <sup>is</sup> <sup>calculated</sup> <sup>as:</sup> ) _?_ _?_ _?_ <u>1</u> _?̃?_ ( _??_ <u>0</u> _?̃?_ <sup>_?_</sup> <sup>_?_</sup> <sup>1</sup> <sup>+</sup> <sup>_?_</sup> <sup>0</sup> _???̃??_ <sup>[</sup> <sup>_?_</sup> <sup>]</sup> <sup>+ (</sup> <sup>_?_</sup> <sup>[</sup> <sup>_?_</sup> <sup>])?</sup> _??_ <sup>[</sup> <sup>_?_</sup> <sup>]</sup> _??_ <sup>[</sup> _<u>?</u>_ <sup>_?_</sup> <sup>]</sup> <sup>[</sup> _<u>?</u>_ <sup>_?_</sup> <sup>]</sup> = <sup><u>1</u></sup> _?̃?_ | _?_ | _?_ | ∑ _?_ _?_ =1 ∑ _?_ _?_ =1 _??_ _??_ _???_ <u>1</u> _?̃?_ _???_ _?̃?_ <sup>+ (</sup> <sup>_?_</sup> <sup>[</sup> <sup>_?_</sup> <sup>])?</sup> ) ( _??_ <u>0</u> _?̃?_ <sup>_??_</sup> <sup>1</sup> <sup>+</sup> <sup>_?_</sup> <sup>0</sup> = <sup><u>1</u></sup> | _?_ | _???_ <sup>[</sup> <sup>_?_</sup> <sup>]</sup> _???_ _??_ <sup>[</sup> <sup>_?_</sup> <sup>]</sup> _._ _????_ <sup>[</sup> <u>11</u> <sup>_?_</sup> <sup>]</sup> <sup>_, ?_</sup> <sup>2</sup> _??_ <sup>[</sup> <sup>_?_</sup> <sup>]</sup> _????_ <sup>[</sup> <u>22</u> <sup>_?_</sup> <sup>]</sup> <sup>_,_</sup> <sup>…</sup> <sup>_, ??_</sup> _??_ <sup>[</sup> <sup>_?_</sup> <sup>]</sup> _?????_ <sup>[</sup> _<u>?</u>_ <sup>_?_</sup> <sup>]</sup> <sup>]?,</sup> <sup>and</sup> <sup>then</sup> <sup>with</sup> <sup>_?_</sup> <sup>=</sup> <sup>_??_</sup> <sup>_?_</sup> 1 <sup>we</sup> <sup>have</sup> (21) (22) Let _?_ <sup>[</sup> <sup>_?_</sup> <sup>]</sup> = <u>1</u> | _?_ | <sup>[</sup> <sup>_?_</sup> <sup>1</sup> _??_ <sup>[</sup> _<u>?</u>_ <sup>_?_</sup> <sup>]</sup> _?̃?_ <sup>_<u>?</u>_</sup> <sup>_<u>?</u>_</sup> <sup>+ (</sup> <sup>_?_</sup> <sup>[</sup> <sup>_?_</sup> <sup>])?</sup> ) <sup>[</sup> _<u>?</u>_ <sup>_?_</sup> <sup>]</sup> =( _?_ <sup>[</sup> <sup>_?_</sup> <sup>]</sup> ) <sup>?</sup> <sup>_<u>?</u>_</sup> <sup>_<u>?</u>_</sup> _?̃?_ _?̃?_ ( _?_ _?_ <u>0</u> _?̃?_ <sup>_?_</sup> <sup>_?_</sup> <sup>1</sup> <sup>+</sup> <sup>_?_</sup> <sup>0</sup> _?_ _?_ _?_ <u>1</u> _?̃?_ _?_ _?_ _?_ <u>1</u> _?̃?_ ( _?_ _?_ <u>0</u> _?̃?_ <sup>_??_</sup> <sup>1</sup> <sup>+</sup> <sup>_?_</sup> <sup>0</sup> ) =( _?_ <sup>[</sup> <sup>_?_</sup> <sup>]</sup> ) <sup>?</sup> _?_ _?_ _?_ _?_ <u>1</u> + ( _?_ <sup>[</sup> <sup>_?_</sup> <sup>]</sup> ) <sup>?</sup> _?̃?_ <sup>_?_</sup> <sup><u>0</u></sup> _?̃?_ <sup>_?_</sup> <sup>_?_</sup> <sup>1</sup> <sup>_._</sup> =( _?_ <sup>[</sup> <sup>_?_</sup> <sup>]</sup> ) <sup>?</sup> _?_ + ( _?_ <sup>[</sup> <sup>_?_</sup> <sup>]</sup> ) <sup>?</sup> _?_ 0 _?_ _?_ _?_ <u>1</u> _?_ _?_ <u>1</u> + ( _?_ <sup>[</sup> <sup>_?_</sup> <sup>]</sup> ) <sup>?</sup> <sup>_?_</sup> <sup>_?_</sup> <sup><u>0</u></sup> _?̃?_ _?̃?_ With _?_ <sup>[</sup> <sup>_?_</sup> <sup>]</sup> being solved from the following equation _?_ <sup>?</sup> 0 <sup>_?_</sup> <sup>[</sup> <sup>_?_</sup> <sup>] +</sup> <sup>_?_</sup> <sup>?</sup> <sup>_?_</sup> <sup>[</sup> <sup>_?_</sup> <sup>]</sup> <sup>= 0</sup> <sup>_,_</sup> (23) _<u>??</u>_ <sup>[</sup> _<u>?</u>_ <sup>_?_</sup> <sup>]</sup> is rewritten as _?̃?_ _??_ <sup>[</sup> _<u>?</u>_ <sup>_?_</sup> <sup>]</sup> _?̃?_ <sup>_?_</sup> <sup><u>0</u></sup> <sup>_?_</sup> <sup>_?_</sup> <sup>1</sup> <sup>_._</sup> (24) <sup>[</sup> _<u>?</u>_ <sup>_?_</sup> <sup>]</sup> = ( _?_ <sup>[</sup> <sup>_?_</sup> <sup>]</sup> ) <sup>?</sup> <sup>_?_</sup> <sup>_?_</sup> <sup><u>0</u></sup> _?̃?_ _?̃?_ _3.2.2._ _Solution_ _procedure_ The pseudocode in Algorithm 1 details the optimization process of generating differentiable microstructures. This algorithm takes the filter radius _?_, number of sample microstructures _?_, and microstructure _?_ 0 as input. The output is the differentiable microstructures encoded by an optimized temperature field _?_ . Algorithm 1: Topology optimization of differentiable microstructures input : The filter radius _?_, number of sample microstructures _?_ . output: Differentiable microstructures encoded by _?_ . 1 Initialization: Design variable _??_ = 0 _._ 5 _,_ ∀ _?_ ; iteration index _?_ = 0; maximum number of iterations _????_ = 500; design change _?_ = 1 _._ 0; threshold _?_ = 10 <sup>−3</sup> ; projection parameter _?_ = 2 _._ 0; maximum and minimum volume fractions _????_ = 0 _._ 9 and _????_ = _??????_ ( _?_ 0), input microstructure _??_ 0 = _?_ 0; 2 Set volume constraints: _?_ _???_ = _????????_ ( _????, ????, ?_ ); 3 Set projection parameters: _?_ = 1 − _?_ _???_ ; 4 while _?> ?_ & _?< ????_ do 5 k = k+1; 6 Compute _?_ → _̃_ _?_ → _?_ ( _?_ _̃_ ) via Eq. (5); 7 Compute temperature field _?_ via Eqs. (10) and (11); 8 Compute microstructures by parameters _?_ through projection function via Eq. (12); 9 Compute objective function via Eq. (4) and volume constraints Eq. (15) ; _<u>??</u>_ 10 Evaluate sensitivities _???_ <sup>via</sup> <sup>Eq.</sup> <sup>(18);</sup> 11 Update _?_ via MMA solver; 12 if _mod_ ( _?,_ 50) _==0_ & _?<_ 128 then 13 _?_ = 2 _?_ ; 14 end 15 _?_ = max∀ _?_ (| _??_ <sup>[</sup> <sup>_?_</sup> <sup>]</sup> _?_ <sup>[</sup> <sup>_?_</sup> <sup>]</sup> - _??_ <sup>[</sup> <sup>_?_</sup> <sup>−1]</sup> _?_ <sup>[</sup> <sup>_?_</sup> <sup>−1]</sup> |); 16 end 17 Thermal diffusivity _?_ → optimized temperature field _?_ via Eqs. (5), (10), and (11). _p_ _pp_ _g_ _g_ _(_ _)_ Fig. 3. (a) The input microstructure for topology optimization of differentiable microstructures. (b) The optimized thermal diffusivity _?_ . (c) The iso-contours of the optimized temperature field, interpreted as microstructure instances. (d) Visualization of the temperature field as a height field. (e) The bulk modulus of 50 uniformly sampled microstructures in the optimized differentiable microstructure. 4. Results and discussion In this section, we thoroughly evaluate the proposed method by comparing optimized results with those obtained from alternative methods (Section 4.1), and by analyzing the geometric features and differentiability of optimized results (Section 4.2). This analysis is followed by validation of differentiable microstructures for two-scale topology optimization (Section 4.3). The proposed method is implemented using MATLAB, and tested on a standard desktop PC equipped with an Intel i7 CPU running at 2.90 GHz and with 64 GB RAM. The material model has Young’s modulus of _?_ = 1 _._ 0 and Poisson’s ratio of _?_ = 0 _._ 3. In all examples, the design domain is discretized into 200 × 200 bi-linear quad elements. _4.1._ _Results_ _and_ _comparison_ Fig. 3(a) shows an input microstructure _?_ 0, obtained by inverse homogenization for maximizing its bulk modulus at a volume fraction of 20%. The input microstructure _?_ 0 serves as the heat source in the optimization. Fig. 3(b) shows the optimized thermal diffusivity field _?_ . Fig. 3(c) and (d) visualize the corresponding temperature field based on iso-contours and a height field _?_, respectively. In this optimization, the input microstructure, with a volume fraction of 20%, is morphed to reach a volume fraction of 90%. A total of 8 key microstructures is uniformly sampled from 20% to 90% with an interval of 10%. To evaluate the optimality of the obtained microstructures, we further sample the range to get 50 microstructures and plot their corresponding volume fraction and effective bulk modulus in Fig. 3(e). The theoretical limit from the Hashin–Shtrikman bound is plotted as a reference. We further compare the optimized microstructures with those from two alternative methods. The results are visually compared in Fig. 4, using the height field as well as iso-contours. The slope of the height field is inversely proportional to the space between adjacent iso-contours. In Fig. 4(a), the input microstructure is uniformly dilated with an increasing dilation radius. This results in a constant slope in the height field and constant spacing between adjacent iso-contours. In Fig. 4(b), the input microstructure is morphed in a manner similar to the proposed approach, but with a uniform thermal diffusivity, i.e., no optimization of the thermal diffusivities is involved. Variations in the slope in the height field and the spacing between adjacent iso-contours can be observed. Fig. 4(c) corresponds to our approach. Here one can observe even larger variations in the slope in the height field and the spacing between adjacent iso-contours. This large variation is achieved with non-uniform thermal diffusivities. Three instances of the microstructures in each series are shown at the bottom. To compare the mechanical properties of the three series of microstructures, we sampled 50 microstructures from each of them and plotted the bulk modulus of these microstructures under varying volume fractions (Fig. 5) . The theoretical limit from the Hashin–Shtrikman bound is plotted as a reference (the red curve in Fig. 5(a)). The bulk modulus of microstructures in the three series is shown as dots in blue, orange, and yellow, respectively. As can be seen from this plot, the results from our method (yellow dots) are closest to the H-S bound. This is followed by the orange dots corresponding to the uniform thermal diffusivity. The plot in Fig. 5(b) shows the relationship between the volume fraction _?_ and the parameter _?_ . A linear relation between these two is prescribed in our method (Eq. (17)). The results from our method (yellow dots in Fig. 5(b)) closely align with this linear relation. To quantitatively measure the deviation from the theoretical limit, we define two metrics to evaluate the quality of the optimized microstructures. _?_ 1 measures the average of the difference between the bulk modulus of the optimized microstructure and the theoretical limit at different volume fractions. _?_ 2 measures the maximum of the differences. | _?_ ( _̃??_ ) − _?_ ( _̃??_ )| ) _,_ (25) _?_ 1 = _?_ <sup><u>1</u></sup> _?_ <sup><u>1</u></sup> <sup>‖</sup> <sup>_?_</sup> <sup>(</sup> <sup>_̃?_</sup> <sup>) −</sup> <sup>_?_</sup> <sup>(</sup> <sup>_̃?_</sup> <sup>)‖1</sup> <sup>=</sup> _?_ <sup><u>1</u></sup> _?_ ( _?_ ∑ _?_ =1 _?_ 2 = ‖ _?_ ( _̃?_ ) − _?_ ( _̃?_ )‖∞ = max _?_ | _?_ ( _̃??_ ) − _?_ ( _̃??_ )| _._ (26) Here _̃_ _?_ = { _̃?_ 1 _,̃ ?_ 2 _,_ … _,̃ ??_ } is the evenly sampled volume fractions in the predetermined range between _????_ and _????_ . _?_ is the number of samples. _?_ evaluates the bulk modulus of the optimized microstructure, while _?_ is the Hashin–Shtrikman bound of the bulk modulus. _p_ _pp_ _g_ _g_ _(_ _)_ Fig. 4. Comparison of 2D differentiable microstructures (iii) obtained by (a) uniform dilation, (b) uniform thermal diffusivity, and (c) optimized thermal diffusivity. The differentiable microstructures are visualized by height fields (i) and iso-contours (ii). Fig. 5. The theoretical bulk modulus is plotted by the red line in (a) and real bulk modulus of 50 microstructures generated by #1, #2, #3 are represented by blue, red, and yellow dots. (b) shows the relationship between volume fraction and parameter _?_ . (For interpretation of the references to color in this figure legend, the reader is referred to the web version of this article.) In Fig. 6, we evaluate the quality of the optimized results by our method and those obtained by alternative methods. This evaluation is performed on ten different input microstructures (including the one in the above analysis). These ten input microstructures were obtained by inverse homogenization for maximizing their bulk modulus at a volume fraction of 20%. The filter radius and the power-law material interpolation in the inverse homogenization were modified to obtain diverse results. The three methods were then used to generate microstructures for the range of 20%∼90%. The evaluation of the optimized microstructures using _?_ 1 and _?_ 2 are summarized in Fig. 6. In each case, the bar graph, from left to right, corresponds to uniform dilation, uniform thermal diffusivity, and optimized thermal diffusivity. In all ten tested cases, the optimized thermal diffusivity results in _?_ 1 and _?_ 2 that are several times smaller compared to their counterparts from alternative approaches. _4.2._ _Differentiability_ _and_ _geometric_ _features_ The quality of the series of optimized microstructures depends not only on the optimization but also on the input microstructure. To understand the influence of the input microstructure, we look at results from the input shown in Fig. 7(a). The bulk moduli of 50 sample microstructures in this series are plotted in Fig. 7(d). It can be observed that there is a strong discontinuity in bulk modulus at a volume fraction close to 0.6. The differentiability can be analyzed in relation to the geometric features shown in the height field visualization (Fig. 7(b)). The height field corresponds to the temperature field _?_, representing an open surface. Three types of local surfaces may appear, as revealed by the cut-planes in Fig. 7(e-g), i.e., convex surfaces, concave surfaces, and saddle surfaces. These can be detected by analyzing the Hessian matrix _?_ ( _?_ = [ <sup>_<u>?</u>_</sup> <sup>2</sup> <sup>_<u>?</u>_</sup> _?????_ <sup>2</sup> _<u>?</u>_ <sup>;</sup> <sup>_<u>?</u>_</sup> <sup>2</sup> <sup>_<u>?</u>_</sup> _<u>???</u>_ <sup>2</sup> _<u>?</u>_ <sup>2</sup> <sup>])</sup> <sup>at</sup> <sup>each</sup> <sup>point</sup> <sup>in</sup> <sup>the</sup> <sup>temperature</sup> <sup>field.</sup> <sup>Convex,</sup> <sup>concave,</sup> <sup>and</sup> <sup>saddle</sup> analyzing the Hessian matrix _?_ ( _?_ = [ _??_ <sup>_<u>?</u>_</sup> <sup>2</sup> <sup>_<u>?</u>_</sup> <sup>2</sup> _?????_ <sup>2</sup> _<u>?</u>_ <sup>;</sup> _????_ <sup>_<u>?</u>_</sup> <sup>2</sup> <sup>_<u>?</u>_</sup> _<u>???</u>_ <sup>2</sup> _<u>?</u>_ <sup>2</sup> <sup>])</sup> <sup>at</sup> <sup>each</sup> <sup>point</sup> <sup>in</sup> <sup>the</sup> <sup>temperature</sup> <sup>field.</sup> <sup>Convex,</sup> <sup>concave,</sup> <sup>and</sup> <sup>saddle</sup> surfaces correspond to the determinant of the Hessian matrix being positive, negative, or zero, respectively. _??_ <sup>2</sup> _?????_ <sup>2</sup> _<u>?</u>_ <sup>;</sup> _????_ <sup>_<u>?</u>_</sup> <sup>2</sup> <sup>_<u>?</u>_</sup> _????_ _p_ _pp_ _g_ _g_ _(_ _)_ Fig. 6. The bar graph of the evaluation factor _?_ 1 (blue bar) and _?_ 2 (pink bar) of three approaches under ten cases. The histograms from left to right show uniform dilation operation (1), uniform thermal diffusivity operation (2), and optimized thermal diffusivity operation (3), respectively. (For interpretation of the references to color in this figure legend, the reader is referred to the web version of this article.) Fig. 7. Illustration of geometric features and different surface types and generated microstructures. These three cases are analyzed in isolation in Fig. 8. For convex surfaces, the solid region of the parametric microstructure concentrates at the center. As the volume fraction increases, before the central solid region is in touch with the domain boundary, the bulk modulus of these microstructure instances is zero. In contrast, for concave surfaces, the solid region is initiated from the domain boundary, and the bulk modulus increases smoothly along with an increase in the volume fraction. At a low volume fraction, the solid regions corresponding to a saddle surface are disconnected, offering no stiffness in one of the two directions. As the volume fraction increases, the solid regions begin to merge, increasing the stiffness greatly. The topological change of the solid region at the saddle points results in discontinuity in the bulk modulus. To ensure the differentiability of generated microstructures, we need to avoid local maximum points and saddle points in the temperature field. In the thermal diffusion approach, the maximum temperature only appears at the region defined by the input microstructure. It guarantees the temperature field is free of further maxima. The saddle points, however, may appear. Their appearance seems solely determined by the input microstructure. To analyze the appearance of saddle points, we have performed a test on a simpler geometry. The input microstructure is shown in Fig. 9(a), while the microstructures by uniform dilation, uniform thermal diffusivity, and optimized thermal diffusivity are shown in Fig. 9(b)–(d), respectively. The saddle points are revealed by the cut planes in the subfigures at the bottom. The bulk modulus of the three series of microstructures is plotted in Fig. 10. The discontinuity can be observed in all three series, corresponding to the saddle points. However, they appear at different volume fractions. The discontinuity in our approach, with optimized thermal diffusivity, appears at the smallest volume fraction. This leaves flexibility for reaching optimal bulk modulus at higher volume fractions. The optimization of the thermal diffusivity achieves bulk modulus much closer to the theoretical limit. _p_ _pp_ _g_ _g_ _(_ _)_ Fig. 8. Illustration of the influence of three types of surfaces on microstructure generation. Fig. 9. A simple input geometry and the microstructures generated by uniform dilation, uniform thermal diffusion, and optimized non-uniform thermal diffusion. Our experiments have shown that saddle points are likely to appear if there are elongated holes in the input microstructure. This observation allows us to make a selection of input microstructures for design optimization. To confirm this observation, we have conducted further tests on input microstructures that have the same topology but different geometric features. The two input microstructures are shown in Fig. 11(a1)(b1). Case A has an elongated void region, in contrast to Case B. The correspondingly optimized height fields, section views, and iso-contours are displayed in Fig. 11 (a2)-(a4) and (b2)-(b4). Saddle points can be detected in the middle of the domain boundaries, highlighted in (a4). As a comparison, there is a local saddle patch in (a3), while at the same location, the patch in (b3) is concave. _4.3._ _Two-scale_ _topology_ _optimization_ The concept of differentiable microstructures is introduced primarily for the design of two-scale structures with gradation. In this section, we validate their benefits using different two-scale topology optimization strategies. _p_ _pp_ _g_ _g_ _(_ _)_ Fig. 10. Comparison of the bulk moduli of microstructures generated with uniform dilation, uniform thermal diffusion, and optimized non-uniform thermal diffusion. The microstructures are shown in Fig. 9. Fig. 11. Initial microstructure testing on case A (a1) and case B(b1), followed by the corresponding height fields (a2) (b2), section views (a3) (b3), and iso-contours (a4) (b4). _4.3.1._ _Decoupled_ _two-scale_ _optimization_ We follow the decoupled two-scale optimization approach as described in Ref. [7,19]. In this approach, the series of microstructures is predefined, possibly by optimization. The relation between the elasticity tensor of microstructures, evaluated by numerical homogenization, and their volume fraction is established by polynomial curve fitting. This relation is then used to replace the power-law interpolation (i.e., SIMP) in topology optimization on the macroscale. Following optimization, each intermediate density is mapped to a microstructure in the predefined series which shares the same or the closest volume fraction. We compare our method against ‘‘uniform dilation’’ and ‘‘uniform thermal diffusivity’’ (Fig. 12) as well as the compatibilityoptimized microstrucutres [7] (Fig. 13). The design domain and boundary conditions are illustrated in Fig. 12(a). The volume constraint is _?_ <sup>∗</sup> = 0 _._ 5. Under the distributed loads on the top and bottom of the domain, the density-based topology optimization with the power-law interpolation results in a large number of gray elements, as can also be seen in the histogram in Fig. 12(b). In this example, we take the microstructures from Fig. 4. Fig. 12(c) plots the relation between the elasticity tensor and the volume fraction for three families of microstructures, which are shown in sub-figures (d) - ‘‘uniform dilation’’, (e) - ‘‘uniform thermal diffusivity’’, and (f) – our approach. The resolution for the macroscale topology optimization is 60 × 30, with a relatively large filter _p_ _pp_ _g_ _g_ _(_ _)_ Fig. 12. Decoupled two-scale topology optimization with differentiable microstructures. (a) Design domain and boundary conditions. The standard density-based topology optimization results in a large number of gray elements. (b) Histogram showing the number of intermediate densities between 0 and 1. (c) The elasticity interpolation function for three series of differentiable microstructures, obtained by ‘‘uniform dilation’’ (d), ‘‘uniform thermal diffusivity’’ (e), and our approach (f). The compliance is evaluated based on homogenization as well as full-scale analysis. size of 5 in order to promote a continuous gradation of density. The compliance of the optimized structure is evaluated using the homogenized elasticity tensor, as well as by discretizing the full scale using a resolution of 6000 × 3000. Here, each unit cell has 100 × 100 elements. In all three cases, the compliance by the full-scale analysis is larger than the compliance evaluated using the homogenized elasticity tensor, in alignment with previous results [7]. The compliance from our approach is the smallest among the three, as a result of the optimized bulk modulus of microstructures by our approach. The improvement is more pronounced when comparing our approach with the compatibility-optimized microstructures [7]. Two series of microstructures are obtained by the compatibility optimization approach, using 5 and 10 key microstructures, shown respectively in Fig. 13(a) and (b). The microstructure with the smallest volume fraction in Fig. 13(b) is used to generate differentiable microstructures, as shown in Fig. 13(c). Again, macroscale topology optimization is performed based on the elasticity interpolation function from the three series of microstructures. In Fig. 13(a) and (b), the small set of microstructures results in volume deviation when mapping the intermediate densities to microstructures that have the closest volume fraction. From the compliance values, it is confirmed that the differentiable microstructures achieve the best results. _4.3.2._ _Concurrent_ _two-scale_ _topology_ _optimization_ In addition to the optimization of bulk modulus, the concept of differentiable microstructures can also be used in concurrent two-scale optimization where the microstructure and the macroscale layout are optimized simultaneously. The concurrent twoscale topology optimization employs two sets of design variables: the density distribution of the macroscale layout and the thermal diffusivity field of a single microstructure. Fig. 14 shows the test on a short cantilever beam, with a resolution of 30 × 30 and 100 × 100 on the macro and microscale respectively. The input is an X-shaped microstructure. While the input is rotationally symmetric, the obtained differentiable microstructures are anisotropic, due to the specific mechanical boundary conditions on the design domain. 5. Conclusions In this paper, we have introduced the concept of differentiable microstructures - parameterized microstructures that are continuous both in terms of geometry and physical properties. To construct differentiable microstructures, we propose a novel _p_ _pp_ _g_ _g_ _(_ _)_ Fig. 13. Decoupled two-scale topology optimization with compatibility-optimized microstructures (a, b) [7] and differentiable microstructures by our approach (c). Fig. 14. Differentiable microstructures applied to concurrent two-scale topology optimization. (a) Illustration of the design domain, boundary conditions, and the optimized two-scale structure. (b, c, d) Visualization of the optimized differentiable microstructures, showing the anisotropic feature due to the specific boundary conditions. topology optimization formulation aimed at maximizing the bulk modulus of the entire series. The optimization morphs an input microstructure in a non-uniform manner to obtain a series of microstructures with an increasing volume fraction. When compared to uniform morphing approaches, our proposed optimization method achieves a series of microstructures with bulk moduli closely approaching the theoretical limit. The quality of optimized differentiable microstructures depends on the input microstructure. We have analyzed critical geometric features of input microstructures and their impact on the differentiability. In our future work, we intend to explore the possibility of considering the input microstructure as a design variable. Furthermore, our current work is restricted to 2D differentiable microstructures optimized for maximum bulk modulus. While the concept of differentiable microstructures is potentially applicable to other physical properties such as Poisson’s ratio, it may require different parameterizations of the optimization problem to effectively explore the solution space for these properties. Declaration of competing interest The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper. Data availability Data will be made available on request. _p_ _pp_ _g_ _g_ _(_ _)_ Acknowledgments This work was partially supported by the National Natural Science Foundation of China (NSFC) under Grant number 61972368, 12371383, and 62172073, the Provincial Natural Science Foundation of Anhui, China (2208085QA01), the Fundamental Research Funds for the Central Universities, China (WK0010000075), the Liaoning Provincial Natural Science Foundation, China (No. 2021-MS-110). X. Zhai was supported by the China Scholarship Council (CSC) under Grant Number 201906340020. References [1] M.P. Bendsøe, N. Kikuchi, Generating optimal topologies in structural design using a homogenization method, Comput. Methods Appl. Mech. Engrg. 71 (2) (1988) 197–224, [http://dx.doi.org/10.1016/0045-7825(88)90086-2.](http://dx.doi.org/10.1016/0045-7825%0x2888%0x2990086-2) [2] J. Wu, O. Sigmund, J. Groen, Topology optimization of multi-scale structures: A review, Struct. Multidiscip. Optim. 63 (3) (2021) 1455–1480, [http://dx.doi.org/10.1007/s00158-021-02881-8.](http://dx.doi.org/10.1007/s00158-021-02881-8) [3] A. Clausen, N. Aage, O. Sigmund, Exploiting additive manufacturing infill in topology optimization for improved buckling load, Engineering 2 (2) (2016) 250–257, [http://dx.doi.org/10.1016/J.ENG.2016.02.006.](http://dx.doi.org/10.1016/J.ENG.2016.02.006) [4] J. Wu, W. Wang, X. Gao, Design and optimization of conforming lattice structures, IEEE Trans. Vis. Comput. Graphics 27 (1) (2021) 43–56, [http:](http://dx.doi.org/10.1109/TVCG.2019.2938946) [//dx.doi.org/10.1109/TVCG.2019.2938946.](http://dx.doi.org/10.1109/TVCG.2019.2938946) [5] J. Wu, N. Aage, R. Westermann, O. Sigmund, Infill optimization for additive manufacturing - Approaching bone-like porous structures, IEEE Trans. Vis. Comput. Graphics 24 (2) (2018) 1127–1140, [http://dx.doi.org/10.1109/TVCG.2017.2655523.](http://dx.doi.org/10.1109/TVCG.2017.2655523) [6] V.K. Balla, S. Bodhak, S. Bose, A. Bandyopadhyay, Porous tantalum structures for bone implants: Fabrication, mechanical and in vitro biological properties, Acta Biomater. 6 (8) (2010) 3349–3359, [http://dx.doi.org/10.1016/j.actbio.2010.01.046.](http://dx.doi.org/10.1016/j.actbio.2010.01.046) [7] E. Garner, H.M. Kolken, C.C. Wang, A.A. Zadpoor, J. Wu, Compatibility in microstructural optimization for additive manufacturing, Addit. Manuf. 26 (2019) 65–75, [http://dx.doi.org/10.1016/j.addma.2018.12.007.](http://dx.doi.org/10.1016/j.addma.2018.12.007) [8] O. Sigmund, Materials with prescribed constitutive parameters: an inverse homogenization problem, Int. J. Solids Struct. 31 (17) (1994) 2313–2329, [http://dx.doi.org/10.1016/0020-7683(94)90154-6.](http://dx.doi.org/10.1016/0020-7683%0x2894%0x2990154-6) [9] M. Osanov, J.K. Guest, Topology optimization for architected materials design, Annu. Rev. Mater. Res. 46 (1) (2016) 211–233, [http://dx.doi.org/10.1146/](http://dx.doi.org/10.1146/annurev-matsci-070115-031826) [annurev-matsci-070115-031826.](http://dx.doi.org/10.1146/annurev-matsci-070115-031826) [10] S. Zhou, Q. Li, Design of graded two-phase microstructures for tailored elasticity gradients, J. Mater. Sci. 43 (15) (2008) 5157–5167, [http://dx.doi.org/](http://dx.doi.org/10.1007/s10853-008-2722-y) [10.1007/s10853-008-2722-y.](http://dx.doi.org/10.1007/s10853-008-2722-y) [11] A. Radman, X. Huang, Y. Xie, Topological optimization for the design of microstructures of isotropic cellular materials, Eng. Optim. 45 (11) (2013) 1331–1348, [http://dx.doi.org/10.1080/0305215X.2012.737781.](http://dx.doi.org/10.1080/0305215X.2012.737781) [12] Z. Du, X.-Y. Zhou, R. Picelli, H.A. Kim, Connecting microstructures for multiscale topology optimization with connectivity index constraints, J. Mech. Des. 140 (11) (2018) [http://dx.doi.org/10.1115/1.4041176.](http://dx.doi.org/10.1115/1.4041176) [13] X.-Y. Zhou, Z. Du, H.A. Kim, A level set shape metamorphosis with mechanical constraints for geometrically graded microstructures, Struct. Multidiscip. Optim. 60 (1) (2019) 1–16, [http://dx.doi.org/10.1007/s00158-019-02293-9.](http://dx.doi.org/10.1007/s00158-019-02293-9) [14] T. Kumar, K. Suresh, A density-and-strain-based K-clustering approach to microstructural topology optimization, Struct. Multidiscip. Optim. 61 (2020) 1399–1415, [http://dx.doi.org/10.1007/s00158-019-02422-4.](http://dx.doi.org/10.1007/s00158-019-02422-4) [15] P. Liu, Z. Kang, Y. Luo, Two-scale concurrent topology optimization of lattice structures with connectable microstructures, Addit. Manuf. 36 (2020) 101427, [http://dx.doi.org/10.1016/j.addma.2020.101427.](http://dx.doi.org/10.1016/j.addma.2020.101427) [16] Q. Li, R. Xu, Q. Wu, S. Liu, Topology optimization design of quasi-periodic cellular structures based on erode–dilate operators, Comput. Methods Appl. Mech. Engrg. 377 (2021) 113720, [http://dx.doi.org/10.1016/j.cma.2021.113720.](http://dx.doi.org/10.1016/j.cma.2021.113720) [17] E. Duriez, J. Morlier, M. Charlotte, C. Azzaro-Pantel, A well connected, locally-oriented and efficient multi-scale topology optimization (EMTO) strategy, Struct. Multidiscip. Optim. 64 (6) (2021) 3705–3728, [http://dx.doi.org/10.1007/s00158-021-03048-1.](http://dx.doi.org/10.1007/s00158-021-03048-1) [18] C. Zhang, S. Xu, J. Liu, Y. Ma, Comprehensive clustering-based topology optimization for connectable multi-scale additive manufacturing structures, Addit. Manuf. 54 (2022) 102786, [http://dx.doi.org/10.1016/j.addma.2022.102786.](http://dx.doi.org/10.1016/j.addma.2022.102786) [19] A.D. Cramer, V.J. Challis, A.P. Roberts, Microstructure interpolation for macroscopic design, Struct. Multidiscip. Optim. 53 (3) (2016) 489–500, [http://dx.doi.org/10.1007/s00158-015-1344-7.](http://dx.doi.org/10.1007/s00158-015-1344-7) [20] H. Li, Z. Luo, L. Gao, P. Walker, Topology optimization for functionally graded cellular composites with metamaterials by level sets, Comput. Methods Appl. Mech. Engrg. 328 (2018) 340–364, [http://dx.doi.org/10.1016/j.cma.2017.09.008.](http://dx.doi.org/10.1016/j.cma.2017.09.008) [21] J. Deng, W. Chen, Concurrent topology optimization of multiscale structures with multiple porous materials under random field loading uncertainty, Struct. Multidiscip. Optim. 56 (1) (2017) 1–19, [http://dx.doi.org/10.1007/s00158-017-1689-1.](http://dx.doi.org/10.1007/s00158-017-1689-1) [22] Y. Zhang, M. Xiao, H. Li, L. Gao, S. Chu, Multiscale concurrent topology optimization for cellular structures with multiple microstructures based on ordered SIMP interpolation, Comput. Mater. Sci. 155 (2018) 74–91, [http://dx.doi.org/10.1016/j.commatsci.2018.08.030.](http://dx.doi.org/10.1016/j.commatsci.2018.08.030) [23] J. Stegmann, E. Lund, Discrete material optimization of general composite shell structures, Internat. J. Numer. Methods Engrg. 62 (14) (2005) 2009–2027, [http://dx.doi.org/10.1002/nme.1259.](http://dx.doi.org/10.1002/nme.1259) [24] W. Zuo, K. Saitou, Multi-material topology optimization using ordered SIMP interpolation, Struct. Multidiscip. Optim. 55 (2) (2017) 477–491, [http:](http://dx.doi.org/10.1007/s00158-016-1513-3) [//dx.doi.org/10.1007/s00158-016-1513-3.](http://dx.doi.org/10.1007/s00158-016-1513-3) [25] Z.-D. Ma, H. Bian, C. Sun, G.M. Hulbert, K. Bishnoi, F. Rostam-Abadi, [Functionally-graded](http://refhub.elsevier.com/S0045-7825%0x2823%0x2900654-0/sb25) NPR (Negative Poisson’s ratio) material for a blast-protective deflector, in: Proceedings of the 2010 NDIA Ground Vehicle Systems [Engineering](http://refhub.elsevier.com/S0045-7825%0x2823%0x2900654-0/sb25) and Technology Symposium Modeling & Simulation, Testing and Validation Mini-Symposium, [Dearborn,](http://refhub.elsevier.com/S0045-7825%0x2823%0x2900654-0/sb25) MI, USA, 2010. [26] H. Karcher, K. Polthier, J. Klinowski, A.L. Mackay, Construction of triply periodic minimal surfaces, Phil. Trans. R. Soc. A 354 (1715) (1996) 2077–2104, [http://dx.doi.org/10.1098/rsta.1996.0093.](http://dx.doi.org/10.1098/rsta.1996.0093) [27] C. Wang, J.H. Zhu, W.H. Zhang, S.Y. Li, J. Kong, Concurrent topology optimization design of structures and non-uniform parameterized lattice microstructures, Struct. Multidiscip. Optim. 58 (1) (2018) 35–50, [http://dx.doi.org/10.1007/s00158-018-2009-0.](http://dx.doi.org/10.1007/s00158-018-2009-0) [28] D. Li, W. Liao, N. Dai, G. Dong, Y. Tang, Y.M. Xie, Optimal design and modeling of gyroid-based functionally graded cellular structures for additive manufacturing, Comput. Aided Des. 104 (2018) 87–99, [http://dx.doi.org/10.1016/j.cad.2018.06.003.](http://dx.doi.org/10.1016/j.cad.2018.06.003) [29] C. Imediegwu, R. Murphy, R. Hewson, M. Santer, Multiscale structural optimization towards three-dimensional printable structures, Struct. Multidiscip. Optim. 60 (2) (2019) 513–525, [http://dx.doi.org/10.1007/s00158-019-02220-y.](http://dx.doi.org/10.1007/s00158-019-02220-y) [30] S. Watts, W. Arrighi, J. Kudo, D.A. Tortorelli, D.A. White, Simple, accurate surrogate models of the elastic response of three-dimensional open truss micro architectures with applications to multiscale topology design, Struct. Multidiscip. Optim. 60 (5) (2019) 1887–1920, [http://dx.doi.org/10.1007/s00158-](http://dx.doi.org/10.1007/s00158-019-02297-5) [019-02297-5.](http://dx.doi.org/10.1007/s00158-019-02297-5) [31] Z. Hashin, S. Shtrikman, A variational approach to the theory of the elastic behaviour of multiphase materials, J. Mech. Phys. Solids 11 (2) (1963) 127–140, [http://dx.doi.org/10.1016/0022-5096(63)90060-7.](http://dx.doi.org/10.1016/0022-5096%0x2863%0x2990060-7) _p_ _pp_ _g_ _g_ _(_ _)_ [32] S.T. Zobaer, A. Sutradhar, An energy-based method for interface connectivity of incompatible microstructures through parametric modeling, Comput. Methods Appl. Mech. Engrg. 370 (2020) 113278, [http://dx.doi.org/10.1016/j.cma.2020.113278.](http://dx.doi.org/10.1016/j.cma.2020.113278) [33] L. Xia, P. Breitkopf, Design of materials using topology optimization and energy-based homogenization approach in matlab, Struct. Multidiscip. Optim. 52 (6) (2015) 1229–1241, [http://dx.doi.org/10.1007/s00158-015-1294-0.](http://dx.doi.org/10.1007/s00158-015-1294-0) [34] V. Thomée, Finite difference methods for linear parabolic equations, Handb. Numer. Anal. 1 (1990) 5–196, [http://dx.doi.org/10.1016/S1570-8659(05)](http://dx.doi.org/10.1016/S1570-8659%0x2805%0x2980034-1) [80034-1.](http://dx.doi.org/10.1016/S1570-8659%0x2805%0x2980034-1) [35] G. Comini, S.D. Guidice, R.W. Lewis, O.C. Zienkiewicz, Finite element solution of non-linear heat conduction problems with special reference to phase change, Internat. J. Numer. Methods Engrg. 8 (3) (1974) 613–624, [http://dx.doi.org/10.1002/nme.1620080314.](http://dx.doi.org/10.1002/nme.1620080314) [36] F. Wang, B.S. Lazarov, O. Sigmund, On projection methods, convergence and robust formulations in topology optimization, Struct. Multidiscip. Optim. 43 (6) (2011) 767–784, [http://dx.doi.org/10.1007/s00158-010-0602-y.](http://dx.doi.org/10.1007/s00158-010-0602-y) [37] K. Svanberg, The method of moving asymptotes—a new method for structural optimization, Internat. J. Numer. Methods Engrg. 24 (2) (1987) 359–373, [http://dx.doi.org/10.1002/nme.1620240207.](http://dx.doi.org/10.1002/nme.1620240207)

섹션 본문 89문단 · 44,351자

(제목 없음)

1Recent years have seen a growing interest in topology optimization of functionally graded microstructures, characterized by an array of microstructures with varying volume fractions.However, microstructures optimized at slightly different volume fractions do not necessarily connect well when placed adjacently.Furthermore, optimization is commonly performed on a finite set of volume fractions, limiting the number of microstructure configurations.In this paper, we introduce the concept of differentiable microstructures, which are parameterized microstructures that exhibit continuous variations in both geometry and mechanical properties.To construct such microstructures, we propose a novel formulation for topology optimization.In this approach, a series of 2-dimensional microstructures is represented using a height field, and the objective is to maximize the bulk modulus of the entire series.Through this optimization process, an initial microstructure with a small volume fraction undergoes nonuniform transformations, generating a series of microstructures with progressively increasing volume fractions.Notably, when compared to traditional uniform morphing methods, our proposed optimization approach yields a series of microstructures with bulk moduli that closely approach the theoretical limit.

Introduction

2In recent years, alongside the advancements in additive manufacturing technologies, there has been a growing interest in the optimal design of multi-scale structures, i.e., structures that are composed of intricate sub-structures.Multi-scale structural optimization dates back to the seminal work of Bendsøe and Kikuchi [1].A comprehensive overview of the historical and latest developments in this field is available in a recent review article [2].Multi-scale structures are intrinsically lightweight and hold the promise of achieving superior functionalities, e.g., buckling resistance [3,4] and damage tolerance [5].Within a macroscale structural layout, the distribution of microstructures typically falls into one of two categories: periodic or spatially graded.In the former case, a single microstructure is repeated in the macroscale structural layout, resulting in a homogeneous distribution.In the latter, a set of varying microstructures is distributed within the macroscale structure, creating a spatial gradation of mechanical properties.The tailoring of local microstructure configurations to meet spatially varying functional requirements is of great importance in engineering design.For instance, in the design of orthopedic implants, it has been suggested to place highly porous microstructures at the bone-implant interface for promoting bony ingrowth, and allocate dense microstructures in the central region (where bony ingrowth is irrelevant) for maintaining structural integrity [6,7].

3A systematic approach for the inverse design of microstructures is topology optimization [8,9].It involves optimizing the material distribution within a unit cell to tailor its effective properties, which can be determined through methods such as numerical homogenization.This inverse design approach, often referred to as inverse homogenization, was initially proposed to design periodic microstructures [8] and has since been extended to design a series of varying microstructures (e.g., [7,10]).For example, by applying inverse homogenization to maximize the bulk modulus of microstructures under a linearly varying volume fraction of solid material, it becomes possible to design a series of microstructures with varying porosity and bulk modulus.However, optimized microstructures that are close with respect to the volume fraction do not necessarily match when placed adjacently.This is due to the existence of numerous local optima in the tremendous solution space of microstructure topology optimization.The disconnectivity issue has received significant attention in the research community [7,[10][11][12][13][14][15][16][17][18].Zhou and Li [10] were among the first to investigate this problem.They proposed to optimize the summation of mechanical properties of individual cells, and introduced a non-linear diffusion term into the objective function to penalize disconnection.In a recent development, Garner et al. [7] proposed to optimize the mechanical properties measured on the extended domain of compound cells.This formulation stimulates mechanical compatibility across adjacent cells, since a poor connection is reflected by the suboptimal mechanical performance of the compound cells.

4The set of graded microstructures obtained through inverse homogenization is typically parameterized by the volume fraction of solid material (or equivalently, porosity).Since inverse homogenization is applied to a discrete set of volume fractions, either individually or holistically, the obtained set of microstructures is inherently discrete.In other words, there is a finite difference in volume fractions between adjacent microstructures.This discrete nature implies abrupt changes in geometry between adjacent microstructures, even when the connectivity has been optimized.Consequently, stress concentration at the interface between adjacent microstructures may arise under loading conditions.In contrast to the discrete nature of the series of optimized microstructures, two-scale optimization with graded microstructures typically assumes a continuous parameter (e.g., the volume fraction of solid material) for the macroscale optimization problem [19,20].Thus, quantization of the continuous parameter is required for mapping the discrete microstructures to the optimized continuous macroscale layout.The error introduced by the quantization is often neglected.A strategy to reduce the quantization error is to increase the size of the discrete set of volume fractions.For instance, Garner et al. [7] demonstrated simultaneous optimization of up to 100 unit cells of varying volume fraction.This involves intensive computation, since numerical homogenization must be applied to each volume fraction.Alternatively, the quantization error can be mitigated by regarding the discrete microstructures as different materials in the macroscale optimization [21,22].This requires a multi-material optimization approach on the macroscale [23,24], which is more complex than optimizing with a single continuous parameter.

5In this paper, we introduce the concept of differentiable microstructures, which entails a continuous parameterization of microstructures.In this framework, any parameter value within a valid interval corresponds to a unique microstructure instance.This innovative approach eliminates the need for quantization in two-scale optimization and removes the requirement for a multi-material optimization setup.Furthermore, the continuous parameterization ensures that an infinitesimal change in the parameter value results in an infinitesimal change in the geometry and mechanical properties of the microstructure.This theoretically eliminates the possibility of stress concentration occurring between adjacent microstructures.

6Several known families of microstructures can be classified as differentiable microstructures.For instance, simple 2D X-shaped lattices parameterized by the in-plane thickness of bars, parameterized auxetic metamaterials [25], and 3D cellular structures based on parametric surfaces such as triply-periodic minimal surfaces [26].In fact, these and similar geometric parameterizations are not uncommon in two-scale structural optimization (e.g., [27][28][29][30], reviewed in [2]).These geometries offer a continuous parameterization, but at the price of a compromise in the mechanical properties of individual microstructures.The bulk modulus of these simply parameterized microstructures is lower than the theoretic limits [31].Differentiable microstructures may also be obtained by geometric interpolation.Cramer et al. [19] optimized isotropic microstructures for maximum bulk modulus at five volume fractions, and proposed the use of a signed distance field function for interpolation.This geometric approach works for microstructures of similar topology, which, however, is not always the case in inverse homogenization.Zobaer and Sutradhar [32] presented an optimization-based approach to interpolate orthotropic microstructures through supershape-based parametric modeling.Nevertheless, the complexity of microstructures that can be accurately represented by supershapes is limited.

7In this paper, we present a novel formulation for designing differentiable microstructures through topology optimization.Our method takes a microstructure with a low volume fraction as the input and generates a series of microstructures by expanding it.To ensure the differentiability of microstructures, our approach starts with a continuous parameterization of microstructures.Specifically, we represent the continuous series of 2D microstructures by a height field defined over the microstructure design domain, where each height corresponds to a specific microstructure.We analyze the geometric feature of the height field and its implications on the mechanical properties of the resulting microstructures.In particular, it is found that the height field shall be smooth, and free of local maxima and saddle points to avoid sub-optimal microstructure configurations.To achieve this, we propose a novel regularization technique using a heat equation.We further analyze the optimality of the differentiable microstructures regarding different input microstructures, and provide heuristic principles to generate these input microstructures under specified conditions.Our method is demonstrated on the maximization of bulk modules of 2D microstructures.

8The remainder of the paper is organized as follows.Section 2 introduces the definition of and the conceptualization towards differentiable microstructures.Section 3 presents the methodology for topology optimization of differentiable microstructures.Section 4 provides a comparative analysis of our results in relation to alternative approaches, and discusses the geometric features and differentiability of the optimized outcomes.The paper concludes with final remarks and suggestions for future research in Section 5.

Differentiable microstructures

9Let be a binary field, representing a microstructure that is defined on a domain ⊂ R ( = 2 or 3).At each point ∈ , is 0 or 1, indicating that the material at this point is void or solid.We consider a series of varying microstructures that is parameterized by one or a few continuous parameters, ∈ [, ].This series of varying microstructures, i.e., functionally graded microstructures, is compactly represented by ().

10For multi-scale design optimization, it is essential to require that () are continuous functionally and geometrically.Here function refers to physical properties of (), e.g., its bulk modulus and average density.Functional continuity enables the use of gradient-based mathematical programming for solving multi-scale design optimization problems.Geometric continuity ensures that the functionally graded microstructures, when adjacently placed, can effectively deliver their physical properties, i.e., to transfer mechanical loads.Based on these requirements, we propose the concept of differentiable microstructures.

11Differentiable microstructures.Differentiable microstructures are graded microstructures that are described by continuous parameters, and wherein both physical properties and the geometry of () are continuous and differentiable with respect to .Denoting a generic physical property by , the physical differentiability is related to the existence of lim →0 , where is an infinitesimal change of the continuous parameter .The physical properties can be evaluated, for example, by numerical homogenization.To define geometric differentiability, a metric is needed for quantifying the geometric difference between () and ( + ).To this end, here we use the size of the absolute difference between the two fields,

12The geometric differentiability thus translates to the existence of lim →0 .We note that the metric of the geometric difference is independent of the topology of () or ( +).This is beneficial to allow for varying topologies in functionally graded microstructures.While often a small modification in geometry leads to a small change in physical properties, the change in physical properties is not guaranteed to be small.If the topology of ( + ) differs from that of (), the physical properties may differ unproportionally.Thus, both geometric and physical differentiabilities are needed to define differentiable microstructures.

Conceptualization towards differentiable microstructures

13An approach to differentiable microstructures is to start with a simple geometry (e.g., an X-shaped microstructure in 2D), and uniformly change its thickness, e.g., by offsetting its boundary (shown in Fig. 1(a)).This achieves geometric and physical differentiability, but the physical property of the microstructures is sub-optimal.

14To approach the optimal physical property, the main idea of our method is to non-uniformly morph the boundary of an initial microstructure.The uniform offsetting and non-uniform morphing are illustrated in Fig. 1(a) and (b) for a simple X-shaped input microstructure, respectively.The series of 2D microstructures can be seen as the cross-sections of a height field (cf. the bottom row in Fig. 1).The continuous morphing ensures geometric differentiability, while the non-uniform characteristic provides an opportunity to maximize the physical property for the entire sequence during morphing, (), ≤ ≤ .The objective function is generically written as

15Here is an operator for evaluating the physical property of interest, e.g., numerical homogenization.We note that, mathematically, maximizing the integral function does not guarantee the optimality of each individual microstructure.In our approach and in multi-scale optimization, the interest is to get an optimal series, and thus the integral form of the objective function.

16In this work, we take the bulk modulus as an example.The input microstructure 0 corresponds to one with a low volume fraction.The optimization thus non-uniformly expands the boundary of 0 .During the expansion, the topology of the microstructure is allowed to change, offering flexibility to maximize the bulk modulus of the sequence.

17We introduce a novel parameterization for encoding the non-uniform expansion.We conceptualize the expansion of the boundary as heat conduction in the design domain .The non-uniform expansion can thus be encoded by the temperature distribution resulting from the non-homogeneous thermal properties in the domain.Specifically, heat conduction is governed by

18where is the thermal diffusivity. and refer to temperature and time, respectively.The domain boundary () is insulated, i.e., (∇ ⋅ ⃖ ⃗ )| = 0 where ⃖ ⃗ is the normal vector of boundary .The solid region of the input microstructure ( 0 = { | 0 () = 1}) serves as the heat source, with a constant temperature, i.e., | 0 ,= 0 = 1.The rest of the domain starts with a temperature of 0, i.e., | ⧵ 0 ,= 0 = 0.The temperature distribution at a specific time = 1 is thus determined by the thermal diffusivity .We denote the temperature field at 1 by .The iso-contours of are analogously interpreted as boundaries of varying microstructures.As a result of the heat conduction process, the obtained microstructures are geometrically differentiable.

19This conceptualization is illustrated in Fig. 2. Given an input microstructure 0 and an initial thermal diffusivity field , a temperature distribution is computed by solving the heat equation.The iso-contours of the temperature field are indicated by black lines in Fig. 2(c).These iso-contours are interpreted as varying microstructures, shown in (e-g).The temperature distribution can also be visualized by a height field (d), where the height corresponds to a temperature value.In the thermal diffusivity field for this illustration, the right-hand side of the domain has larger thermal diffusivities than the left-hand side.Consequently, the resulting microstructures have larger solid regions on their right-hand side (e-g).In order to generate optimal differentiable microstructures, the thermal diffusivity field is updated in an iterative numerical optimization process.The optimized microstructures are visualized in (h-l).

20The height field depends on the input microstructure 0 and the thermal diffusivity field .To obtain optimal microstructures, we take the heterogeneous thermal diffusivity field as design variables.The input microstructure is obtained by inverse homogenization to maximize its bulk modulus, at a small volume fraction.The inverse homogenization approach is able to find microstructures whose bulk moduli are close to the theoretical limit [7,8,33].The solution by the numerical approach however is not unique -there exist many microstructures with a similar bulk modulus but different topology and geometry.In the results section, we thoroughly examine the influence of geometric features of the input microstructure on the optimality of the optimized differentiable microstructures.

Topology optimization of differentiable microstructures

21The design of differentiable microstructures is formulated as a topology optimization problem based on a finite element discretization of the domain .The integral objective (Eq.( 2)) is rewritten as the summation over sample microstructures in the series,

22Here, is a function to evaluate the physical property of an individual microstructure. [] represents the th sample microstructure, corresponding to ∈ [, ].

23As explained, the design variables are the thermal diffusivity field.The design variables are first smoothed by a convolution filter, as commonly done in density-based topology optimization.The smoothed field α is then used to obtain a temperature field , by solving the heat equation.From the continuous temperature field, smoothed Heaviside projections with varying thresholds are applied to get the sample microstructures, [] , = 1, … , .

24This section starts with the computational steps to obtain the sample microstructures from the design variables.We then proceed to present the optimization problem and the constraints.The sensitivity analysis and pseudocode to solve the design optimization problem are also included.

Computational steps to obtain sample microstructures

25Step 1: Smoothing of design variables In numerical optimization, the integral objective (Eq.( 2)) is replaced by the summation over a few sample microstructures (Eq.( 4)).This means that the microstructures between sample microstructures are not explicitly part of the objective function.To ensure a continuous change between the sample microstructures, it is thus necessary to have a smooth thermal diffusivity field.The smoothness of the thermal diffusivity field affects the gradient of the resulting temperature field.To this end, a convolution filter commonly used in density-based topology optimization is adopted here to smooth the thermal diffusivity field.The smoothed diffusivity is

26where is the volume of an element, which is constant in our implementations.The weighting factor decreases linearly with respect to the distance between and ,

27where is a predefined filter radius. and are respectively the centroid of element and of an element that is in its close vicinity,

28Step 2: From the thermal diffusivity field α to a temperature field The heat equation is used to generate a smoothly varying temperature field.In 2D, it is written as

29To solve this partial differential equation, the domain is discretized into bi-linear quad elements.The temperature ( ) is defined on the nodes.Each element is associated with a thermal diffusivity value α .The left-hand side of Eq. ( 7) can be discretized using finite difference [34] or finite element schemes [35].A finite element scheme is used in this work for its applicability to irregular grids.The right-hand side of Eq. ( 7) is discretized using a one-step finite difference scheme.This is in accordance with the purpose of getting a smoothly varying temperature field.Note that we set the solid region of the input microstructure ( 0 = {| 0 () = 1}) as the heat source with a constant temperature, i.e., | 0 = 1, and the domain boundary is insulated.As → ∞, the solution to Eq. ( 7) is a uniform temperature distribution.Using a finite element scheme for the space and a one-step finite difference scheme for the time dimension, the heat equation is written as

30is the global thermal diffusivity matrix, assembled from that of each element, i.e., ( α) = ∑ ( α ).The thermal diffusivity matrix for an element with α is linearly scaled from that of the element with a thermal diffusivity of 1, which is denoted by =1 ,

31We rearrange Eq. ( 8) as

32Here, is an × identity matrix, where is the number of nodes of the spatial discretization.Solving this linear system of equations to obtain the temperature distribution at nodes, the temperature of each element is then computed by bi-linear interpolation.This is written in the matrix form as a transformation by

33is a sparse matrix that transforms the temperature from nodes to elements.For structured quad meshes in 2D, as used in our examples, , = 1 4 if the th node is one of the th element's nodes, and , = 0, otherwise.

34Step 3: From the temperature field to sample microstructures [] The temperature distribution is a continuous scalar field with values between 0 and 1.It can be visualized as a height field (see Fig. 2(d)).The cross-section of the height field by a horizontal plane is interpreted as a microstructure.In the microstructure corresponding to a cross-section at height , a point at is solid if ≤ , or empty, otherwise.We use a smoothed Heaviside projection to approximate the thresholding,

35Here, is a parameter to control the sharpness of the projection function [36].As approaches infinity, the projection is equivalent to a step function.A continuation is adopted for stability.The initial value of is set to 2. It is doubled every 50 iterations, until it reaches 128.

Optimization problem

36With the encoding of the microstructures through a heat equation, the optimization problem is formulated as

37subject to

38The objective function and heat equation follow the previous section.Eq. ( 15) is a volume constraint that is introduced to regularize the varying volume fraction in the series of microstructures. and | | represent the volume of an element and of the domain, respectively. is the number of elements in the domain. [] is the prescribed volume fraction of the th sample microstructure.

39Recall the height field visualization of differentiable microstructures (Fig. 2(d)).A larger height corresponds to a microstructure with a small volume fraction.We prescribe a linear relationship between the height parameter and the volume fraction,

40Eq. ( 16) sets design variables to be within [0, 1].The upper bound, together with in Eq. ( 14), influences the frequency of occurrences of different temperature values in the resulting temperature field.For instance, a large uniform and will result in a temperature distribution that is dominated by temperature values close to 1. On the contrary, a small uniform and result in a temperature distribution that is dominated by temperature values close to 0. In both cases, the iso-contours of the temperature field are clustered, negatively affecting the optimization convergence.In our examples, setting the upper bound of to 1 and = 10 −3 is found to be able to obtain a temperature field that smoothly varies from 1 to 0, resulting in good convergence.

41In this work, we optimize differentiable microstructures to maximize their bulk modulus.The bulk modulus is computed based on the homogenized elasticity tensor that is calculated using numerical homogenization [7,33].The optimization problem is solved using the method of moving asymptotes (MMA) [37].The optimized bulk modulus of the differentiable microstructures is compared to the Hashin-Shtrikman bounds [31].

Sensitivity analysis

42The sensitivity of the objective function () = ∑ =1 ( [] ) regarding the design variable

43is the number of elements.Take one of these elements for example, by using the chain law, is defined as

44where is the neighborhood of element . [] is stated below:

45( [] )

46Here, ( [] ) = ∑ 3 ,=1 [] is a function of the homogenized elasticity tensors . is constant, 1 or 0.

47[] [] is calculated based on the equilibrium equation and the modified solid isotropic material with penalization (SIMP) method (see e.g., [7]).

48[] is calculated from the Heaviside function.

X. Zhai et al.

49is computed using the adjoint method.Let 0 = − ( α).The Lagrangian function for the volume constraint is

50Then the derivative of [] regarding α is calculated as:

51Let

52] , and then with = 1 we have

53With [] being solved from the following equation 0 [] + [] = 0,

54[] α is rewritten as

Solution procedure

55The pseudocode in Algorithm 1 details the optimization process of generating differentiable microstructures.This algorithm takes the filter radius , number of sample microstructures , and microstructure 0 as input.The output is the differentiable microstructures encoded by an optimized temperature field .5), (10), and (11).

Results and discussion

56In this section, we thoroughly evaluate the proposed method by comparing optimized results with those obtained from alternative methods (Section 4.1), and by analyzing the geometric features and differentiability of optimized results (Section 4.2).This analysis is followed by validation of differentiable microstructures for two-scale topology optimization (Section 4.3).The proposed method is implemented using MATLAB, and tested on a standard desktop PC equipped with an Intel i7 CPU running at 2.90 GHz and with 64 GB RAM.The material model has Young's modulus of = 1.0 and Poisson's ratio of = 0.3.In all examples, the design domain is discretized into 200 × 200 bi-linear quad elements.

Results and comparison

57Fig. 3(a) shows an input microstructure 0 , obtained by inverse homogenization for maximizing its bulk modulus at a volume fraction of 20%.The input microstructure 0 serves as the heat source in the optimization.Fig. 3(b) shows the optimized thermal diffusivity field .Fig. 3(c) and (d) visualize the corresponding temperature field based on iso-contours and a height field , respectively.In this optimization, the input microstructure, with a volume fraction of 20%, is morphed to reach a volume fraction of 90%.A total of 8 key microstructures is uniformly sampled from 20% to 90% with an interval of 10%.To evaluate the optimality of the obtained microstructures, we further sample the range to get 50 microstructures and plot their corresponding volume fraction and effective bulk modulus in Fig. 3(e).The theoretical limit from the Hashin-Shtrikman bound is plotted as a reference.

58We further compare the optimized microstructures with those from two alternative methods.The results are visually compared in Fig. 4, using the height field as well as iso-contours.The slope of the height field is inversely proportional to the space between adjacent iso-contours.In Fig. 4(a), the input microstructure is uniformly dilated with an increasing dilation radius.This results in a constant slope in the height field and constant spacing between adjacent iso-contours.In Fig. 4(b), the input microstructure is morphed in a manner similar to the proposed approach, but with a uniform thermal diffusivity, i.e., no optimization of the thermal diffusivities is involved.Variations in the slope in the height field and the spacing between adjacent iso-contours can be observed.Fig. 4(c) corresponds to our approach.Here one can observe even larger variations in the slope in the height field and the spacing between adjacent iso-contours.This large variation is achieved with non-uniform thermal diffusivities.Three instances of the microstructures in each series are shown at the bottom.

59To compare the mechanical properties of the three series of microstructures, we sampled 50 microstructures from each of them and plotted the bulk modulus of these microstructures under varying volume fractions (Fig. 5) .The theoretical limit from the Hashin-Shtrikman bound is plotted as a reference (the red curve in Fig. 5(a)).The bulk modulus of microstructures in the three series is shown as dots in blue, orange, and yellow, respectively.As can be seen from this plot, the results from our method (yellow dots) are closest to the H-S bound.This is followed by the orange dots corresponding to the uniform thermal diffusivity.The plot in Fig. 5(b) shows the relationship between the volume fraction and the parameter .A linear relation between these two is prescribed in our method (Eq.( 17)).The results from our method (yellow dots in Fig. 5(b)) closely align with this linear relation.

60To quantitatively measure the deviation from the theoretical limit, we define two metrics to evaluate the quality of the optimized microstructures. 1 measures the average of the difference between the bulk modulus of the optimized microstructure and the theoretical limit at different volume fractions. 2 measures the maximum of the differences.

61Here Ṽ = { Ṽ1 , Ṽ2 , … , Ṽ } is the evenly sampled volume fractions in the predetermined range between and . is the number of samples. evaluates the bulk modulus of the optimized microstructure, while is the Hashin-Shtrikman bound of the bulk modulus.In Fig. 6, we evaluate the quality of the optimized results by our method and those obtained by alternative methods.This evaluation is performed on ten different input microstructures (including the one in the above analysis).These ten input microstructures were obtained by inverse homogenization for maximizing their bulk modulus at a volume fraction of 20%.The filter radius and the power-law material interpolation in the inverse homogenization were modified to obtain diverse results.The three methods were then used to generate microstructures for the range of 20%∼90%.The evaluation of the optimized microstructures using 1 and 2 are summarized in Fig. 6.In each case, the bar graph, from left to right, corresponds to uniform dilation, uniform thermal diffusivity, and optimized thermal diffusivity.In all ten tested cases, the optimized thermal diffusivity results in 1 and 2 that are several times smaller compared to their counterparts from alternative approaches.

Differentiability and geometric features

62The quality of the series of optimized microstructures depends not only on the optimization but also on the input microstructure.To understand the influence of the input microstructure, we look at results from the input shown in Fig. 7(a).The bulk moduli of 50 sample microstructures in this series are plotted in Fig. 7(d).It can be observed that there is a strong discontinuity in bulk modulus at a volume fraction close to 0.6.

63The differentiability can be analyzed in relation to the geometric features shown in the height field visualization (Fig. 7(b)).The height field corresponds to the temperature field , representing an open surface.Three types of local surfaces may appear, as revealed by the cut-planes in Fig. 7(e-g), i.e., convex surfaces, concave surfaces, and saddle surfaces.These can be detected by analyzing the Hessian matrix

64) at each point in the temperature field.Convex, concave, and saddle surfaces correspond to the determinant of the Hessian matrix being positive, negative, or zero, respectively.These three cases are analyzed in isolation in Fig. 8.For convex surfaces, the solid region of the parametric microstructure concentrates at the center.As the volume fraction increases, before the central solid region is in touch with the domain boundary, the bulk modulus of these microstructure instances is zero.In contrast, for concave surfaces, the solid region is initiated from the domain boundary, and the bulk modulus increases smoothly along with an increase in the volume fraction.At a low volume fraction, the solid regions corresponding to a saddle surface are disconnected, offering no stiffness in one of the two directions.As the volume fraction increases, the solid regions begin to merge, increasing the stiffness greatly.The topological change of the solid region at the saddle points results in discontinuity in the bulk modulus.

65To ensure the differentiability of generated microstructures, we need to avoid local maximum points and saddle points in the temperature field.In the thermal diffusion approach, the maximum temperature only appears at the region defined by the input microstructure.It guarantees the temperature field is free of further maxima.The saddle points, however, may appear.Their appearance seems solely determined by the microstructure.To analyze the appearance of saddle points, we have performed a test on a simpler geometry.The input microstructure is shown in Fig. 9(a), while the microstructures by uniform dilation, uniform thermal diffusivity, and optimized thermal diffusivity are shown in Fig. 9(b)-(d), respectively.The saddle points are revealed by the cut planes in the subfigures at the bottom.The bulk modulus of the three series of microstructures is plotted in Fig. 10.The discontinuity can be observed in all three series, corresponding to the saddle points.However, they appear at different volume fractions.The discontinuity in our approach, with optimized thermal diffusivity, appears at the smallest volume fraction.This leaves flexibility for reaching optimal bulk modulus at higher volume fractions.The optimization of the thermal diffusivity achieves bulk modulus much closer to the theoretical limit.Our experiments have shown that saddle points are likely to appear if there are elongated holes in the input microstructure.This observation allows us to make a selection of input microstructures for design optimization.To confirm this observation, we have conducted further tests on input microstructures that have the same topology but different geometric features.The two input microstructures are shown in Fig. 11(a1)(b1).Case A has an elongated void region, in contrast to Case B. The correspondingly optimized height fields, section views, and iso-contours are displayed in Fig. 11 (a2)-(a4) and (b2)-(b4).Saddle points can be detected in the middle of the domain boundaries, highlighted in (a4).As a comparison, there is a local saddle patch in (a3), while at the same location, the patch in (b3) is concave.

Two-scale topology optimization

66The concept of differentiable microstructures is introduced primarily for the design of two-scale structures with gradation.In this section, we validate their benefits using different two-scale topology optimization strategies.

Decoupled two-scale optimization

67We follow the decoupled two-scale optimization approach as described in Ref. [7,19].In this approach, the series of microstructures is predefined, possibly by optimization.The relation between the elasticity tensor of microstructures, evaluated by numerical homogenization, and their volume fraction is established by polynomial curve fitting.This relation is then used to replace the power-law interpolation (i.e., SIMP) in topology optimization on the macroscale.Following optimization, each intermediate density is mapped to a microstructure in the predefined series which shares the same or the closest volume fraction.

68We compare our method against ''uniform dilation'' and ''uniform thermal diffusivity'' (Fig. 12) as well as the compatibilityoptimized microstrucutres [7] (Fig. 13).The design domain and boundary conditions are illustrated in Fig. 12(a).The volume constraint is * = 0.5.Under the distributed loads on the top and bottom of the domain, the density-based topology optimization with the power-law interpolation results in a large number of gray elements, as can also be seen in the histogram in Fig. 12(b).In this example, we take the microstructures from Fig. 4. Fig. 12(c) plots the relation between the elasticity tensor and the volume fraction for three families of microstructures, which are shown in sub-figures (d) -''uniform dilation'', (e) -''uniform thermal diffusivity'', and (f) -our approach.The resolution for the macroscale topology optimization is 60 × 30, with a relatively large filter size of 5 in order to promote a continuous gradation of density.The compliance of the optimized structure is evaluated using the homogenized elasticity tensor, as well as by discretizing the full scale using a resolution of 6000 × 3000.Here, each unit cell has 100 × 100 elements.In all three cases, the compliance by the full-scale analysis is larger than the compliance evaluated using the homogenized elasticity tensor, in alignment with previous results [7].The compliance from our approach is the smallest among the three, as a result of the optimized bulk modulus of microstructures by our approach.

69The improvement is more pronounced when comparing our approach with the compatibility-optimized microstructures [7].Two series of microstructures are obtained by the compatibility optimization approach, using 5 and 10 key microstructures, shown respectively in Fig. 13(a) and (b).The microstructure with the smallest volume fraction in Fig. 13(b) is used to generate differentiable microstructures, as shown in Fig. 13(c).Again, macroscale topology optimization is performed based on the elasticity interpolation function from the three series of microstructures.In Fig. 13(a) and (b), the small set of microstructures results in volume deviation when mapping the intermediate densities to microstructures that have the closest volume fraction.From the compliance values, it is confirmed that the differentiable microstructures achieve the best results.

Concurrent two-scale topology optimization

70In addition to the optimization of bulk modulus, the concept of differentiable microstructures can also be used in concurrent two-scale optimization where the microstructure and the macroscale layout are optimized simultaneously.The concurrent twoscale topology optimization employs two sets of design variables: the density distribution of the macroscale layout and the thermal diffusivity field of a single microstructure.Fig. 14 shows the test on a short cantilever beam, with a resolution of 30 × 30 and 100 × 100 on the macro and microscale respectively.The input is an X-shaped microstructure.While the input is rotationally symmetric, the obtained differentiable microstructures are anisotropic, due to the specific mechanical boundary conditions on the design domain.

Conclusions

71In this paper, we have introduced the concept of differentiable microstructures -parameterized microstructures that are continuous both in terms of geometry and physical properties.To construct differentiable microstructures, we propose a novel topology optimization formulation aimed at maximizing the bulk modulus of the entire series.The optimization morphs an input microstructure in a non-uniform manner to obtain a series of microstructures with an increasing volume fraction.When compared to uniform morphing approaches, our proposed optimization method achieves a series of microstructures with bulk moduli closely approaching the theoretical limit.

72The quality of optimized differentiable microstructures depends on the input microstructure.We have analyzed critical geometric features of input microstructures and their impact on the differentiability.In our future work, we intend to explore the possibility of considering the input microstructure as a design variable.Furthermore, our current work is restricted to 2D differentiable microstructures optimized for maximum bulk modulus.While the concept of differentiable microstructures is potentially applicable to other physical properties such as Poisson's ratio, it may require different parameterizations of the optimization problem to effectively explore the solution space for these properties.

Declaration of competing interest

73The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.

Data availability

74Data will be made available on request.

Fig. 1 .

75Fig. 1.Illustration of uniform offsetting (a) and non-uniform morphing (b) from an X-shaped 2D microstructure.They correspond to the cross-sections of different height fields (c and d).

Fig. 2 .

76Fig. 2. Conceptualization towards differentiable microstructures based on heat conduction.(a) Input microstructure 0 .(b) Initial thermal coefficients .(c)(d) Iso-contours and its height field .(e)-(g) Intermediate microstructures.(h)-(l) The optimized results.

Algorithm 1 :2 5 k = k+1; 6 Compute 7 8 9 11 Update 13 𝛽 = 2𝛽; 14 end 15 𝛥

77Topology optimization of differentiable microstructures input : The filter radius , number of sample microstructures .output: Differentiable microstructures encoded by . 1 Initialization: Design variable = 0.5, ∀; iteration index = 0; maximum number of iterations = 500; design change = 1.0; threshold = 10 −3 ; projection parameter = 2.0; maximum and minimum volume fractions = 0.9 and = ( 0 ), input microstructure 0 = 0 ; Set volume constraints: = ( , , ); 3 Set projection parameters: = 1 − ; 4 while > & < do → α → ( α) via Eq.(5); Compute temperature field via Eqs.(10) and (11); Compute microstructures by parameters through projection function via Eq.(12); Compute objective function via Eq.(4) and volume constraints Eq. (15) ; via MMA solver; 12 if mod (, 50)==0 & < 128 then = max ∀ (| [] − [−1] |); 16 end 17 Thermal diffusivity → optimized temperature field via Eqs.(

Fig. 3 .

78Fig. 3. (a) The input microstructure for topology optimization of differentiable microstructures.(b) The optimized thermal diffusivity .(c) The iso-contours of the optimized temperature field, interpreted as microstructure instances.(d) Visualization of the temperature field as a height field.(e) The bulk modulus of 50 uniformly sampled microstructures in the optimized differentiable microstructure.

Fig. 4 .

79Fig. 4. Comparison of 2D differentiable microstructures (iii) obtained by (a) uniform dilation, (b) uniform thermal diffusivity, and (c) optimized thermal diffusivity.The differentiable microstructures are visualized by height fields (i) and iso-contours (ii).

Fig. 5 .

80Fig. 5.The theoretical bulk modulus is plotted by the red line in (a) and real bulk modulus of 50 microstructures generated by #1, #2, #3 are represented by blue, red, and yellow dots.(b) shows the relationship between volume fraction and parameter .(For interpretation of the references to color in this figure legend, the reader is referred to the web version of this article.)

Fig. 6 .Fig. 7 .

81Fig. 6.The bar graph of the evaluation factor 1 (blue bar) and 2 (pink bar) of three approaches under ten cases.The histograms from left to right show uniform dilation operation (1), uniform thermal diffusivity operation (2), and optimized thermal diffusivity operation (3), respectively.(For interpretation of the references to color in this figure legend, the reader is referred to the web version of this article.)

X

82. Zhai et al.

Fig. 8 .

83Fig. 8. Illustration of the influence of three types of surfaces on microstructure generation.

Fig. 9 .

84Fig. 9.A simple input geometry and the microstructures generated by uniform dilation, uniform thermal diffusion, and optimized non-uniform thermal diffusion.

Fig. 10 .

85Fig. 10.Comparison of the bulk moduli of microstructures generated with uniform dilation, uniform thermal diffusion, and optimized non-uniform thermal diffusion.The microstructures are shown in Fig. 9.

Fig. 11 .

86Fig.11.Initial microstructure testing on case A (a1) and case B(b1), followed by the corresponding height fields (a2) (b2), section views (a3) (b3), and iso-contours (a4) (b4).

Fig. 12 .

87Fig. 12. Decoupled two-scale topology optimization with differentiable microstructures.(a) Design domain and boundary conditions.The standard density-based topology optimization results in a large number of gray elements.(b) Histogram showing the number of intermediate densities between 0 and 1. (c) The elasticity interpolation function for three series of differentiable microstructures, obtained by ''uniform dilation'' (d), ''uniform thermal diffusivity'' (e), and our approach (f).The compliance is evaluated based on homogenization as well as full-scale analysis.

Fig. 13 .

88Fig. 13.Decoupled two-scale topology optimization with compatibility-optimized microstructures (a, b)[7] and differentiable microstructures by our approach (c).

Fig. 14 .

89Fig. 14.Differentiable microstructures applied to concurrent two-scale topology optimization.(a) Illustration of the design domain, boundary conditions, and the optimized two-scale structure.(b, c, d) Visualization of the optimized differentiable microstructures, showing the anisotropic feature due to the specific boundary conditions.

참고문헌 36건

  1. Finite difference methods for linear parabolic equations Handbook of numerical analysis · Elsevier BV · 1990 10.1016/s1570-8659(05)80034-1
  2. Design of materials using topology optimization and energy-based homogenization approach in Matlab Structural and Multidisciplinary Optimization · Springer Science+Business Media · 2015 10.1007/s00158-015-1294-0
  3. Microstructure interpolation for macroscopic design Structural and Multidisciplinary Optimization · Springer Science+Business Media · 2015 10.1007/s00158-015-1344-7
  4. Design of graded two-phase microstructures for tailored elasticity gradients Journal of Materials Science · Springer Science+Business Media · 2008 10.1007/s10853-008-2722-y
  5. Materials with prescribed constitutive parameters: An inverse homogenization problem International Journal of Solids and Structures · Elsevier BV · 1994 10.1016/0020-7683(94)90154-6
  6. On projection methods, convergence and robust formulations in topology optimization Structural and Multidisciplinary Optimization · Springer Science+Business Media · 2010 10.1007/s00158-010-0602-y
  7. The method of moving asymptotes—a new method for structural optimization International Journal for Numerical Methods in Engineering · Wiley · 1987 10.1002/nme.1620240207
  8. Generating optimal topologies in structural design using a homogenization method Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 1988 10.1016/0045-7825(88)90086-2
  9. A variational approach to the theory of the elastic behaviour of multiphase materials Journal of the Mechanics and Physics of Solids · Elsevier BV · 1963 10.1016/0022-5096(63)90060-7
  10. Topological optimization for the design of microstructures of isotropic cellular materials Engineering Optimization · Taylor & Francis · 2012 10.1080/0305215x.2012.737781
  11. Porous tantalum structures for bone implants: Fabrication, mechanical and in vitro biological properties Acta Biomaterialia · Elsevier BV · 2010 10.1016/j.actbio.2010.01.046
  12. Finite element solution of non‐linear heat conduction problems with special reference to phase change International Journal for Numerical Methods in Engineering · Wiley · 1974 10.1002/nme.1620080314
  13. Discrete material optimization of general composite shell structures International Journal for Numerical Methods in Engineering · Wiley · 2005 10.1002/nme.1259
  14. Construction of triply periodic minimal surfaces Philosophical Transactions of the Royal Society A Mathematical Physical and Engineering Sciences · Royal Society · 1996 10.1098/rsta.1996.0093
  15. Multi-material topology optimization using ordered SIMP interpolation Structural and Multidisciplinary Optimization · Springer Science+Business Media · 2016 10.1007/s00158-016-1513-3
  16. Topology Optimization for Architected Materials Design Annual Review of Materials Research · Annual Reviews · 2016 10.1146/annurev-matsci-070115-031826
  17. Exploiting Additive Manufacturing Infill in Topology Optimization for Improved Buckling Load Engineering · Elsevier BV · 2016 10.1016/j.eng.2016.02.006
  18. Infill Optimization for Additive Manufacturing—Approaching Bone-Like Porous Structures IEEE Transactions on Visualization and Computer Graphics · Institute of Electrical and Electronics Engineers · 2017 10.1109/tvcg.2017.2655523
  19. Concurrent topology optimization of multiscale structures with multiple porous materials under random field loading uncertainty Structural and Multidisciplinary Optimization · Springer Science+Business Media · 2017 10.1007/s00158-017-1689-1
  20. Topology optimization for functionally graded cellular composites with metamaterials by level sets Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2017 10.1016/j.cma.2017.09.008
  21. Concurrent topology optimization design of structures and non-uniform parameterized lattice microstructures Structural and Multidisciplinary Optimization · Springer Science+Business Media · 2018 10.1007/s00158-018-2009-0
  22. Optimal design and modeling of gyroid-based functionally graded cellular structures for additive manufacturing Computer-Aided Design · Elsevier BV · 2018 10.1016/j.cad.2018.06.003
  23. Multiscale concurrent topology optimization for cellular structures with multiple microstructures based on ordered SIMP interpolation Computational Materials Science · Elsevier BV · 2018 10.1016/j.commatsci.2018.08.030
  24. Connecting Microstructures for Multiscale Topology Optimization With Connectivity Index Constraints Journal of Mechanical Design · American Society of Mechanical Engineers · 2018 10.1115/1.4041176
  25. Compatibility in microstructural optimization for additive manufacturing Additive manufacturing · Elsevier BV · 2019 10.1016/j.addma.2018.12.007
  26. Multiscale structural optimization towards three-dimensional printable structures Structural and Multidisciplinary Optimization · Springer Science+Business Media · 2019 10.1007/s00158-019-02220-y
  27. Simple, accurate surrogate models of the elastic response of three-dimensional open truss micro-architectures with applications to multiscale topology design Structural and Multidisciplinary Optimization · Springer Science+Business Media · 2019 10.1007/s00158-019-02297-5
  28. A level set shape metamorphosis with mechanical constraints for geometrically graded microstructures Structural and Multidisciplinary Optimization · Springer Science+Business Media · 2019 10.1007/s00158-019-02293-9
  29. A density-and-strain-based K-clustering approach to microstructural topology optimization Structural and Multidisciplinary Optimization · Springer Science+Business Media · 2019 10.1007/s00158-019-02422-4
  30. Design and Optimization of Conforming Lattice Structures IEEE Transactions on Visualization and Computer Graphics · Institute of Electrical and Electronics Engineers · 2019 10.1109/tvcg.2019.2938946
  31. Two-scale concurrent topology optimization of lattice structures with connectable microstructures Additive manufacturing · Elsevier BV · 2020 10.1016/j.addma.2020.101427
  32. An energy-based method for interface connectivity of incompatible microstructures through parametric modeling Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2020 10.1016/j.cma.2020.113278
  33. Topology optimization design of quasi-periodic cellular structures based on erode–dilate operators Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2021 10.1016/j.cma.2021.113720
  34. Topology optimization of multi-scale structures: a review Structural and Multidisciplinary Optimization · Springer Science+Business Media · 2021 10.1007/s00158-021-02881-8
  35. A well connected, locally-oriented and efficient multi-scale topology optimization (EMTO) strategy Structural and Multidisciplinary Optimization · Springer Science+Business Media · 2021 10.1007/s00158-021-03048-1
  36. Comprehensive clustering-based topology optimization for connectable multi-scale additive manufacturing structures Additive manufacturing · Elsevier BV · 2022 10.1016/j.addma.2022.102786