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

Multi-scale topology optimization using neural networks

간접 관련 엔지니어링 플라스틱 · (23) 컴파운드 (9) 타이어코드(10) 아라미드(21) 에폭시수지

기본 정보

저자
  1. Hongrui Chen — Carnegie Mellon University, Pittsburgh, USA
  2. Xingchen Liu — Intact Solutions, Madison, USA
  3. Liwei Wang — Carnegie Mellon University, Pittsburgh, USA
  4. Levent Burak Kara — Carnegie Mellon University, Pittsburgh, USA
DOI
10.1007/s00366-025-02156-6
저널
Engineering With Computers
발행년도
2025
발행기관
Springer Science+Business Media
피인용수
0
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1007/s00366-025-02156-6
토픽
Composite Structure Analysis and Optimization
OpenAlex ID
W4411190429

평가 내용

관련도
간접 관련
사업분야
엔지니어링 플라스틱 · (23) 컴파운드
부 분야
(9) 타이어코드, (10) 아라미드, (21) 에폭시수지
R&D 측면
분석·모델링
확신도
0.70
근거 용어
multi-scale topology optimization, neural networks, microstructure, elasticity tensor, inverse homogenization
판단 근거
이 논문은 신경망을 이용해 미세구조(microstructure)의 강성(stiffness)을 최적화하는 위상 최적화 기법을 다룹니다. 이는 코오롱인더스트리의 엔지니어링 플라스틱 컴파운드(23)나 고강도 섬유(9, 10) 설계 시, 특정 물성을 갖는 경량·고강도 복합소재의 미세 구조를 설계하는 방법론으로 응용 가능합니다.
R&D 활용 포인트
고기능성 컴파운드 및 강화 섬유 설계 시, AI 기반의 위상 최적화를 통해 목표로 하는 기계적 물성(강성, 탄성 등)을 갖는 최적의 미세 구조 및 밀도 분포를 예측하고 설계하는 데 활용할 수 있습니다.
평가 입력
섹션 본문 37,752자 중 30,032자 발췌

초록

Abstract A long-standing challenge in multi-scale structural design is ensuring proper connectivity between the constituent cells as each cell is being optimized toward its theoretical performance limit. We propose a new method for multi-scale topology optimization that seamlessly ensures compatibility across neighboring microstructure cells without the need for a catalog of unit cells and associated connectivity rules. Our approach consists of a topology neural network that encodes each cell’s microstructure as well as the distribution of the optimized cells within the design domain as a continuous and differentiable density field. Each cell is optimized based on a prescribed elasticity tensor. The neural network takes as input the local coordinates within a cell to represent the density distribution within a cell, as well as the global coordinates of each cell to generate spatially varying microstructure cells. As such, our approach models an n-dimensional multi-scale optimization problem as a 2n-dimensional inverse homogenization problem using neural networks. During the inverse homogenization of each unit cell, we extend the boundary of each cell by scaling the input coordinates such that the boundaries of neighboring cells are blended and, thus, jointly optimized. This enables inverse homogenization of the cells to be consistently connected without introducing discontinuities at the cell boundaries. We demonstrate our method through the design and optimization of several graded multi-scale structures.

본문 38,837자

본문 펼치기
A long-standing challenge in multi-scale structural design is ensuring proper connectivity between the constituent cells as each cell is being optimized toward its theoretical performance limit.We propose a new method for multiscale topology optimization that seamlessly ensures compatibility across neighboring microstructure cells without the need for a catalog of unit cells and associated connectivity rules.Our approach consists of a topology neural network that encodes each cell's microstructure as well as the distribution of the optimized cells within the design domain as a continuous and differentiable density field.Each cell is optimized based on a prescribed elasticity tensor that also accommodates in-plane rotations.The neural network takes as input the local coordinates within a cell to represent the density distribution within a cell, as well as the global coordinates of each cell to generate spatially varying microstructure cells.As such, our approach models an n-dimensional multi-scale optimization problem as a 2n-dimensional inverse homogenization problem using neural networks.During the inverse homogenization of each unit cell, we extend the boundary of each cell by scaling the input coordinates such that the boundaries of neighboring cells are blended and thus jointly optimized.This enables inverse homogenization of the cells to be consistently connected without introducing discontinuities at the cell boundaries.We demonstrate our method through the design and optimization of several graded multi-scale structures. INTRODUCTION There has been a recent increase in machine learningdriven topology and multi-scale structures optimization approaches, particularly using neural networks for performing structural optimization.Both data-driven [1][2][3][4][5] and direct training-based [6][7][8][9][10][11] approaches have been explored.Data-driven approaches typically require large training sets and long training times.They perform instant optimal topology generation during inference time.Direct training approaches use the neural network to represent the density field of a single or a group of designs.Prior works on direct training approaches focus on using the neural network with spatial coordinates as input and density as the output to represent the geometry [6,9,10].Inverse homogenization refers to the optimization of microstructure with the desired property [12,13].Sridhara et al. [10] applied direct neural network-based inverse homogenization in designing single microstructure cells.Unfortunately, no direct neural network-based optimization for multi-scale structures has been developed.One key challenge from microstructure design to multiscale structure is ensuring good connectivity between cells [13].Connecting individual optimized microstructure cells into a multi-scale structure is called de-homogenization [13].Cell rotation is included in de-homogenization in which cells can perform very close to the theoretical limit [13].De-homogenization is a post-processing step to obtain a well-connected multi-scale design introduced by Pantz and Trabelsi [14].During inverse homogenization, connectivity can also be encouraged where Garner et al. [15] combined adjacent cells and Liu et al. [16] formulated a constraint on the boundary of each cell.However, these previous methods did not incorporate rotation during inverse homogenization.On the other hand, dehomogenization relies on post-processing to add rotation. INTRODUCTION In this work, we aim to use a neural network to represent the design of a multi-scale structure such that connectivity and rotation can be enforced.We configure a neural network to take in both local and global spatial coordinates to represent multi-scale structural designs.We focus on 2D multi-scale structures; hence, the coordinates are two-dimensional.The local coordinates represent the micro-scale microstructure.The global coordinates correspond with the macro-scale cell location.Given the local and global coordinate pairs as input, the neural network outputs the density for that specific location as a value between 0 and 1.During training2 , the microstructure for each cell is optimized to maximize or minimize a specific material property, derived from the elasticity tensor.We extend the unit cell boundary to its neighboring cells during inverse homogenization to encourage connectivity between cells.Since the inputs to the neural network are spatial coordinates, transformation matrices, for example, scaling, and rotation, can be applied to the coordinates.We apply rotation matrices to the local input coordinates such that the cell is oriented similarly to dehomogenization [14].The difference is that in our approach the orientation of the cell is co-optimized during the training of the neural network instead of a post-processing step. INTRODUCTION In the training of a conventional machine learning model, a loss function is used to back-propagate and update the parameters in the model.Similarly, we also formulate a combined loss function for the optimization of multi-scale structures.The combined loss includes the target volume fraction for each cell, the error w.r.t target material property, and an L1 loss between cell boundaries to encourage microstructure connectivity.Since the inputs to the neural network are local and global coordinates, one can sample the coordinates at any point in the domain without interpolation.During the optimization, we sample the coordinates at regular intervals which corresponds to the square element used in Finite Element Analysis (FEA).The FEA module operates separately from the machine learning pipeline but outputs the objective value during forward propagation and sensitivities during backpropagation.During the training of the neural network, the network gradually learns the local geometry of each microstructure cell.Once training is finished, we can sample the coordinates at the same or finer interval such that a higher resolution result with smooth and crisp boundary can be obtained. INTRODUCTION Our main contributions are: INTRODUCTION • a neural network-based optimization of multi-scale structure • a method to enforce connectivity for multi-scale design • accommodates rotation of cells with neural network geometry representation RELATED WORK Multi-scale topology optimization: Multi-scale structures offer the potential to deliver outstanding performance, being inherently lightweight, durable, and versatile.Bendsøe and Kikuchi [17] introduced the homogenization approach for topology optimization.The SIMP method [18,19] considers the relative material density in each element of the Finite Element (FE) mesh as design variables, allowing for a simpler interpretation and optimized designs with more clearly defined features.A comprehensive review by Wu et al. [13] discusses the existing approaches of multi-scale topology optimization and analysis of their strength and applications.Research that targets improving the compatibility of multi-scale structures includes Garner et al. [15], where adjacent cells were combined when inverse homogenization is performed such that compatibility can be improved.However, adding neighboring cells to the optimization will increase the computation time for FE analysis.We instead extend the cell boundary into neighboring cells where the FE resolution remains the same.Liu et al. [16] formulated a constraint on the boundary of each cell such that given n types of desired microstructure, all these n types share the same boundary.This allows the optimized cell designs to be mutually compatible.One possible limitation is that the total types of cell designs are limited and as the number of cell designs increases, the restriction on the boundary can be increased.In this work, we establish connectivity between neighboring cells, where the limitation on geometry is less. RELATED WORK Connectivity is also important when designing multi-scale structures given a material exemplar.Senhora et al. [20] use spinodal architected materials to place material along principal stress directions.A library of microstructure can be pre-generated and connectivity between cells can be improved through mapping [21] or inherent connectivity of the microstructure dataset [22].However, the microstructure performance gamut can be limited by the generated dataset. RELATED WORK Direct topology optimization with neural networks: We refer to direct topology optimization methods as those that do not use any prior data but rather train a neural network in a self-supervised manner for learning the optimal density distribution/topology.Chandrasekhar and Suresh [6] explored a direct approach where the density field is parameterized using a neural network.The direct approach has also been extended to designing microstructure cells [10].We further extend upon single-cell design to formulate a neural network for graded multi-scale structure design. RELATED WORK Fourier projection-based neural network for length scale control [8] and application for multi-material topology optimization [7] has also been explored.Deng and To [23] propose topology optimization with Deep Representation Learning, with a similar concept of reparametrization, and demonstrate the effectiveness of the proposed method on minimum compliance and stressconstrained problems.Deng and To [24] also propose a neural network-based method for level-set topology optimization, where a fully connected deep neural network describes the implicit function of the level-set.Zehnder et al. [11] effectively leverage neural representations in the context of mesh-free topology optimization and use multilayer perceptrons to parameterize both density and displacement fields.It enables self-supervised learning of continuous solution spaces for topology optimization problems.Mai et al. [25] develop a similar approach for the optimum design of truss structures.Hoyer et al. [26] use CNNs for density parametrization and directly enforce the constraints in each iteration, reducing the loss function to compliance only.They observe that the CNN solutions are qualitatively different from the baselines and often involve simpler and more effective structures.Zhang at al. [27] adopt a similar strategy and show solutions for different optimization problems including stress-constrained problems and compliant mechanism design. PROPOSED METHOD In our proposed method, the density distribution of the multi-scale structure is directly represented by the topology neural network. Neural network-based topology representation The topology network T (X) (Figure 1), learns a density field differently as compared to typical topology optimization which represents the density field as a finite element mesh.The topology neural network takes in local domain coordinates u, w, as well as the global coordinate x, y for each cell.The global coordinates get concatenated with the local coordinates to form the input to the topology network, X = [x, y, u, w].The local coordinates are normalized between −0.5 to 0.5.The global coordinates are normalized between −0.5 to 0.5 along the longest axis. Neural network-based topology representation Given the local and global coordinates, the topology network outputs the density value ρ at each coordinate point.The domain coordinates represent the center of each element in the design domain.During topology optimization, a batch of domain coordinates that correspond to the mesh grid and the corresponding strain energy field is fed into the topology network.The output is then sent to the FE solver.The solver outputs the stiffness objective which is combined with the volume fraction violation as a loss.The loss is then backpropagated to learn the weights of the topology network.We implement the neural network in TensorFlow.For the topology network design, we employed a simple architecture that resembles the function expression of f (x) = wsin(kx + b).Similar neural network architectures have been used to control the length scale of geometry in topology optimization [8].The conditioned domain coordinates are multiplied with a kernel K.The kernel K regulates the frequency of the sine function.We add a constant value of 1 to break the sine function's rotation symmetry around the origin.We use a Sigmoid function to guarantee the output is between 0 and 1.The topology network can be formulated as follows: Neural network-based topology representation where: X: Domain coordinate input, X = (x, y, u, w) σ: Sigmoid activation function K: Trainable frequency kernels W: Trainable weights For a typical multi-scale problem, we employ around 5k frequency kernels and a same number of corresponding trainable weights.This means a total of 10k trainable parameters to represent a multi-scale structure. Inverse Homogenization We rely on an energy-based homogenization approach to compute the elasticity tensor of each cell and design the material distribution of each cell.A detailed review and accompanying code can be found in the work from Xia and Breitkopf [28].Nevertheless, for the sake of clarity, we include a brief review of the formulation of homogenization and inverse homogenization in this section. Inverse Homogenization Homogenization aims to evaluate the equivalent constitutive behavior of repetitive microstructures.A compact and easy-to-implement formulation for homogenization is the energy-based approach based on the average stress and strain theorems.The homogenized stiffness tensor E H ijkl can be approximated in terms of the discretized N mutual energy of elements of the design domain Y . Inverse Homogenization Once the constitutive stiffness tensor is computed, inverse homogenization refers to the minimization of a combination of the homogenized stiffness tensor. Inverse Homogenization The optimization equation involves K, the global stiffness matrix, while U A(kl) and F (kl) represent the global displacement vector and the external force vector for the test case (kl), respectively.Here, d refers to the spatial dimensionality, v e is the volume of an individual element, and ϑ defines the upper limit for the volume fraction.The objective function c(E H ijkl ) depends on the homogenized stiffness tensors.For example, the maximization of the bulk modulus can be written with an objective function: Multi-scale topology optimization with neural networks The goal of using the neural network to represent the topology is to enforce cell compatibility.The first mechanism to encourage compatibility is extending the cell boundaries during inverse homogenization, illustrated in Figure 2. In 2D, we extend the boundary of each cell by 1.2 times to cover all its 8 neighboring cells.If rotation of the cell is required, the boundary is further extended to 1.6 times to cover all 8 neighboring cells.For the extended regions that are in neighboring cells, the domain coordinates use the local and global coordinates for neighboring cells.We use 4 node square elements for finite element analysis.Within the boundary, we sample the domain at uniform intervals that directly correspond with the finite element mesh.During training, iterative updates to the design domain are carried out on these sampling points.The second mechanism to encourage cell compatibility is boundary loss.Once we upsample the input coordinate to obtain geometry at finer resolution, we observe that there are still small inconsistent transitions between cell boundaries which can be seen in Figure 3. Therefore, a boundary loss is added to improve the consistency between cells. Multi-scale topology optimization with neural networks The boundary loss is formulated as the L1 loss between the outer edge of the neighboring cells and the outer edge of the center cell. Multi-scale topology optimization with neural networks As illustrated in Figure 3, the outer region T (X neigh ) for the 8 neighboring cells consists of the area highlighted in solid red lines and the outer region for the center cell T (X center ) is highlighted in blue dashed lines.The extent of the sampling for each cell is also expanded by 1.2 times.For the regular sampling for the continuous multi-scale structure, each local coordinate is normalized between -0.5 and 0.5.During the computation of the boundary loss, each cell is further expanded by 1.2 times such that the local coordinates are in the range of -0.6 to 0.6.We choose the extension ratio based on heuristics such that a small portion of the neighboring cells is covered while not being too big that most of the FE simulation patch consists of neighboring cells instead of the center cell.During the optimization, the boundary loss is turned on after 50 epochs. Multi-scale topology optimization with neural networks During optimization, the topology network outputs the density value at the center for each element.These density values are then sent to the finite element solver to calculate the homogenized stiffness tensor based on the SIMP interpolation.We adopted the educational MATLAB code by Xia and Breitkopf [28] for inverse homogenization and programmed the FE code in Python to connect with the neural network that is implemented in TensorFlow. Multi-scale topology optimization with neural networks The homogenization is based on an energy-based approach where unit test strains are directly imposed on the boundaries of the base cell.In order to achieve a different ratio of the stiffness tensor target, a weight w is assigned to each of the components of the stiffness tensor.(6) The finite element solver is treated as a black box within the neural network.It takes in the density of each element and outputs the homogenized stiffness tensor and the sensitivity for each element with respect to the stiffness tensor.Variables that are being optimized are the weights W and kernels K of the neural network.Adam [29] is used to train the neural network with a learning rate of 0.002.The constrained optimization problem needs to be transferred into an unconstrained minimization problem for neural networks.The combined loss function is Multi-scale topology optimization with neural networks The objective of stiffness tensor c i is calculated for each cell i and normalized against the stiffness objective c 0,i which is calculated from a homogenized density field with volume fraction of V * i .α is the penalty factor volume fraction V i of each cell i.Starting from the first epoch, it gradually increases to 100 at the end of the optimization.β is the penalty factor for the boundary loss L bc which remains 0 until epoch 50 and gradually increases to 1 at the end of the optimization.We choose epoch 50 as we can observe some microstructure starts to appear while the domain is still largely not converged.One example of convergence history is plotted in Figure 5.A similar loss function for a single scale has also been used by Chandrasekhar and Suresh [6] for compliance minimization and volume fraction constraint with neural networks. RESULTS AND DISCUSSIONS We set up problems with varying stiffness tensor targets, changing volume fractions, and rotation of stiffness tensor targets.These problems aim to test the ability of the neural network-based multi-scale optimization to design compatible microstructure.All experiments are run on a PC with i7-12700K as the processor, 32 GB of RAM, and Nvidia RTX3080 GPU. Multi-scale topology optimization with varying stiffness tensor We first evaluate the effectiveness of our approach with changing stiffness tensor targets.The stiffness tensor target is formulated as a combination of varying weights on the compliance calculated for each cell.For example, the bottom left side of Figure 4 The example in Figure 4 consists of 8×8 cells on the macro-scale, 30×30 elements on the micro-scale, and a uniform volume fraction target of 0.4.The stiffness tensor weights are configured such that in the horizontal direction E 11 is increased.In the vertical direction E 22 is increased.We run the optimization for 300 epochs and plot out a snapshot of the multi-scale structure during training in Figure 5.The optimization takes 9 minutes to run.During optimization, we observe that cells converge in clusters.On the top right corner of Figure 5 is a large cluster where the cells converged faster.As the optimization progresses, the front with converged microstructure gradually progresses to the bottom left.This could indicate that the neural network is using cells that are closer in global coordinates to interpolate. Multi-scale topology optimization with varying stiffness tensor In addition to changing the stiffness tensor weights, the volume fraction can also be varied.Compared to the example in Figure 4, the example in Figure 6 has the volume fraction target increasing from 0.3 to 0.5 in the horizontal axis.We can observe the thickness of the multi-scale structure smoothly increased to accommodate for the changing volume fraction.The compliance evaluated in each cell is plotted in Figure 6 (a), where it is lower with a higher volume fraction. Multi-scale topology optimization with varying stiffness tensor We then configure a problem with varying volume fraction and bulk modulus maximization.This allows us to compare the performance of the theoretical Hashin-Shrickman (HS) upper bound [30].To maximize for the bulk modulus, the weightage on the stiffness tensor is configured as in equation 4. The converged multi-scale structure is plotted in Figure 7 (b).The volume fraction target in the center is 0.6 and is gradually decreased to 0.4 on the outer edges.We threshold the density field at 0.4.The bulk modulus of each cell and the corresponding HS upper bound are calculated with the thresholded density field.The ratio between the computed bulk modulus versus the HS upper bound is then plotted in 7 (a).On average, across 64 total cells and between 0.4 and 0.56 volume fraction, we achieved 84.9% of the HS upper bound for bulk modulus.This is slightly lower compared to the work by Sridhara et al. [10] where for single microstructure design by the neural network, they achieved 90% of the HS upper bound in the volume fraction range.Slightly higher restrictions on design freedom can be expected with the connectivity constraints posed.We note that no explicit symmetry constraint is applied to this example.The resulting structure demonstrated 2-fold rotation symmetry.While mirror symmetry is missing, this is attributed to the architecture of the neural network.Inputting global coordinates from the I and III or II and IV quadrants leads to the same result.For results where mirror symmetry is desired, explicit mirroring of the global coordinates needs to be performed.Previous works with neural network-based topology optimization also required such mirroring [6]. Multi-scale topology optimization with varying stiffness tensor Two potential issues with the previous experiments are the linearly increasing memory consumption and longer runtime with full batches.Therefore, we explored minibatches to reduce the number of cells seen at every backpropagation step and mini-epochs for which we only let the optimizer see a subset of cells every epoch to exploit the interpretability of neural networks.We compared runtime and the percentage of the Hashin-Shrickman upper bound achieved under different batch sizes and total epochs.In Figure 8 experiments (c, d), we used minibatches where each batch contained 1/2 or 1/4 of the total -0.17 -0.2 -0.23 -0.24 -0.25 -0.23 -0.23 -0.23 -0.18 -0.19 -0.22 -0.23 -0.24 -0.24 -0.23 -0.23 -0.18 -0.19 -0.21 -0.22 -0.23 -0.23 -0.24 -0.24 -0.17 -0.19 -0.2 -0.21 -0.21 -0.23 -0.24 -0.24 -0.15 -0.16 -0.18 -0.19 -0.21 -0.22 -0.23 -0.24 -0.13 -0.14 -0.17 -0.17 -0.2 -0.21 -0.22 -0.23 -0.1 -0.14 -0.14 -0.16 -0.18 -0.19 -0.19 -0.2 -0.13 -0.12 -0.13 -0.15 -0.16 -0.17 -0.18 -0.17 Multi-scale topology optimization In this section, we delve into concurrent optimization of the two-scale structure.While the previous subsection emphasized the application of predefined stiffness tensors, our focus now shifts toward simultaneous optimization of the density distribution of the macro-scale structure and the micro-scale individual microstructure where similar optimization schemes are explored in [31,32].The neural network architecture remains the same as in the previous examples.We modify the loss function to include the compliance instead of the stiffness tensor target.The multiscale topology optimization problem considered here assigns a distinct microstructure to each macro finite element.Let the macrostructure Ω M be discretized into N M elements, and for each macro element, we define a corresponding material microstructure Ω m discretized into N m elements.The macro design variables are denoted by ρ i M (i = 1, 2, . . ., N M ), and the micro design variables (for each macro cell) by ρ j m (j = 1, 2, . . ., N m ).The optimization problem is stated as: Multi-scale topology optimization -0.12 -0.16 -0.18 -0.22 -0.25 -0.28 -0.33 -0.36 -0.12 -0.16 -0.19 -0.2 -0.24 -0.28 -0.3 -0.34 -0.13 -0.17 -0.19 -0.22 -0.24 -0.25 -0.29 -0.35 -0.13 -0.16 -0.19 -0.22 -0.24 -0.23 -0.28 -0.33 -0.13 -0.16 -0.17 -0.18 -0.2 -0.22 -0.26 -0.3 -0.12 -0.14 -0.14 -0.18 -0.21 -0.24 -0.27 -0.3 -0.08 -0.12 -0.14 -0.18 -0.22 -0.24 -0.26 -0.29 -0.09 -0.12 -0.Find: Multi-scale topology optimization Here, c(ρ M , ρ m ) is the structural compliance.The macro topology is determined by ρ M , and each macro element's effective properties depend on its own micro topology described by ρ m .V * M (ρ M ) imposes a limit V M on the macro material usage, and V * m (ρ m ) enforces a limit V m on the micro material consumption.The lower bounds ρ min M and ρ min m avoid numerical singularities.The displacement field at the macro scale is denoted by u M , with Multi-scale topology optimization The operator a is a bilinear form representing the internal energy, and l is a linear form associated with external forces.At the macro scale, the principle of virtual work leads to: In the above, f is the body force, and h is the boundary traction on the Neumann boundary Γ M .The tensors E M (ρ M , ρ m ) and E m (ρ m ) are derived via a material interpolation scheme akin to the modified SIMP approach, given by: Multi-scale topology optimization where E 0 is the base material elasticity tensor, c 0 = 10 −9 prevents numerical singularity, and p is the penalization exponent.The homogenized tensor E H depends on the local micro design: Multi-scale topology optimization A variety of gradient-based methods may be employed to solve this formulation.Thus, the sensitivities (firstorder derivatives) of c(ρ M , ρ m ) and the volume constraints V * M (ρ M ), V * m (ρ m ) with respect to the design variables are needed.The partial derivatives of the objective and macro volume constraint with respect to ρ M read: Multi-scale topology optimization Likewise, the first-order derivatives of c(ρ M , ρ m ) and V * m (ρ m ) with respect to the micro design ρ m are expressed as: Multi-scale topology optimization The derivative of the homogenized elastic tensor E H with respect to ρ m is given by: Multi-scale topology optimization With these sensitivities, standard gradient-based optimization procedures can be used to simultaneously update the macro design variables ρ i M and each element's corresponding micro design variables ρ j m .In implementation, the changes occur in implementing a multiscale FE solver, which computes the compliance c for the entire and adds the volume fraction constraint V * M for the macro scale structure.The combined loss function for concurrent multiscale topology optimization is: Multi-scale topology optimization Furthermore, the macro-scale design is represented by a second neural network with the domain coordinate input reduced to 2D: X = (x, y).While the frequency kernels K and W are reduced to align with the 2D input.We demonstrate the multiscale topology optimization with three examples.The boundary condition is shown in Figure 11 (a-c).The converged multi-scale structure is shown in Figure 11 (d-f).One benefit of using a similar neural network to represent the macro scale design field is that it allows us to upsample as well.We use the upsampled macro scale density field as a filter to threshold the microstructures.Compared to filtering with the grid-based macro-scale design field, the continuous macro-scale density field allows smooth boundaries to be extracted that better follow microstructures.We observe that good cell compatibility is achieved in the multi-scale structure.Similar to the "mini-epoch" example in the previous subsection, we also demonstrate the neural network's interpolation ability with multi-scale topology optimization.We configure a 1/4 mini-epoch, which uses four microstructure cells per macro element.In Figure 12 (a), we choose one out of four microstructure cells every epoch to conduct homogenization and optimization.We cycle through each cell every four epochs.We run the same number of total epochs and the same boundary condition as the previous example.We observe that the converged result also consists of good cell connectivity with no significant increase in runtime. Metamaterial system design Metamaterials are engineered materials whose unique properties stem from the arrangement of their microstructures rather than the materials they are made of [33].Mechanical metamaterials are a specific type designed to achieve mechanical characteristics that cannot be attained through their base material alone.Prior work by Wang et al. demonstrated metamaterial design of metamaterials to match a target displacement through the microstructure selection with a deep generative model [34].We are motivated by prior work in designing metamaterials to match a target displacement with our neural network.For the metamaterial design problem, similar to the prior work by Wang et al., we limit the scope to microstructure design.One difference is that since we are designing the microstructure real-time, we also need an additional optimization objective of bulk modulus maximization to ensure the result is overall structurally sound.Otherwise, with only the displacement target as the objective, the result may lack structural performance in other loading conditions. Metamaterial system design The objective function first consists of a target displacement u t where the displacement u of the multiscale structure is trying to match.Same with Wang et al., we minimize the difference in displacement with an L2 loss: Metamaterial system design Following Wang et al., we only design the microstructure in metamaterial system design.Thus we modify their sensitivity function to compute the derivative of the objective function w.r.t micro design field x j : Metamaterial system design where ∂K e ∂x j = B T ∂C e ∂x j B. Metamaterial system design ( Metamaterial system design The combined loss function also resembles the previous examples of bulk modulus minimization, but it includes an additional term for displacement mismatch. Metamaterial system design Specifically for displacement matching, γ is a vector with the value one at the degrees of freedom corresponding to the displacement targets and with zeros everywhere else.We configure two examples with different boundary conditions Figure 13 (a)(b).The target displacement is highlighted in red in each boundary condition figure.In the first example, the boundary condition and displacement target are similar to one of the examples in Wang et al. [34].A load is applied on the right-hand side with a target displacement along the center of the structure.We configure the second example with load applied to the bottom center and target displacement prescribed to the top surface with a region of enforced solid highlighted in gray.Some potential applications for the second boundary condition include flexible haptics devices and jet engine intake ramps.We plot out the target and achieved displacement in Figure 13 (c)(d), where we observe minimal errors.The converge metamaterial is shown in Figure 13 (e)(f) with deformed metamaterial shown in Figure 13 (g)(h). LIMITATIONS AND FUTURE WORK In this study, our primary emphasis lies in showcasing our capability to generate interconnected microstructures amidst demanding design constraints.The convergence of the multi-scale structure can be further explored.In a prior work [9], the authors explored using a conditioning field to speed up convergence on single-scale topology optimization problems.A conditioning field can also be used to apply to multi-scale structures.One possible conditioning field is the rank-N laminates.The neural network can help connect the Rank-N laminates.In another prior work, [35], Physics Informed Neural Network (PINN) is used to directly optimize topology.It is worth exploring if PINN can also be used in multi-scale optimization, whether in macro-scale designing stiffness tensors or in micro-scale designing microstructures. LIMITATIONS AND FUTURE WORK Manufacturing constraints can also be explored.In prior works [36], the neural network-based topology optimization allows the computation of density gradients; therefore, overhang control can be applied for additive manufacturing.Overhang control can also be applied to microstructures such that each individual cell can be additively manufactured without suffering from local print failures.Multi-material and multi-physics can also be integrated into the proposed approach. CONCLUSIONS In conclusion, our study introduces a novel approach to direct multi-scale topology optimization with neural networks.Through the utilization of neural networks, particularly in inverse homogenization tasks, we have effectively Fig. 1 :Fig. 2 : Fig. 1: The neural network outputs density ρ at each coordinate point.By sampling coordinate points across the design domain, we obtain the density field.From the density field, we calculate the current volume fraction and the homogenized stiffness tensor from an FEA solver.The homogenized stiffness tensor and volume fraction are then formulated as a loss function which is used in backpropagation of the training process until convergence. Fig. 3 : Fig. 3: The boundary loss is defined as the L1 loss between the red solid line region and the blue dashed line region in (a).When we zoom into the right bottom corner of the multi-scale structure shown in (b), we can observe that with boundary loss (c), the connection between cells is more continuous when upsampled compared to without boundary loss (d).  targets a stiffness tensor with the ratio of: is written in as c = −(0.6E11 + 1.5E 12 + 0.6E 22 ). Fig. 4 :Fig. 5 : Fig.4: Given a changing stiffness tensor weights, we can observe in (a) that, as the combined weights increase to the top right corner, the objective function value for each cell is also smaller.From the converged multi-scale structure, we can observe good connectivity between the cells. Fig. 6 :Fig. 7 : Fig.6: The volume fraction target is varied for each cell along the horizontal direction.Good compatibility is observed as the microstructure edges gradually thicken.The objective value is also lower with higher volume fraction as the stiffness tensor is greater for cells with higher volume fraction. Fig. 8 : Fig. 8: Comparing the runtime and the percentage of Hashin-Shrickman upper bound reached given different batch sizes and total epochs.For runs in (c,d), we configured a mini-batch where each batch is 1/2 or 1/4 of the total number of cells.We observed stable convergence with slightly increased runtime due to the increased backpropagation count.For runs in (e,f), we explored if the interpretation capability of the neural network allows us to use a subset of cells every epoch.We use 1/2 or 1/4 of the cells per epoch, which we call mini-epoch.The runtime showed almost half and a quarter of the runtime compared to the full batch, with a small penalty in mechanical performance. Fig. 8 : geometry (c) Rotating stiffness tensor -0.39 -0.29 -0.28 -0.24 -0.33 -0.33 -0.38 -0.37 -0.36 -0.24 -0.26 -0.24 -0.29 -0.34 -0.42 -0.38 -0.34 -0.25 -0.2 -0.24 -0.31 -0.39 -0.34 -0.34 -0.33 -0.23 -0.22 -0.3 -0.37 -0.29 -0.3 -0.34 -0.29 -0.17 -0.21 -0.31 -0.27 -0.23 -0.24 -0.23 -0.25 -0.14 -0.25 -0.24 -0.21 -0.23 -0.26 -0.27 -0.21 -0.24 -0.15 -0.17 -0.24 -0.24 -0.24 -0.27 -0.22 -0.2 -0.26 -0.31 -0.34 -0.35 -0.36 -Average objective: -0.28 -0.41 -0.38 -0.33 -0.27 -0.27 -0.32 -0.31 -0.31 -0.4 -0.36 -0.3 -0.25 -0.27 -0.31 -0.3 -0.31 -0.41 -0.35 -0.28 -0.24 -0.28 -0.33 -0.31 -0.32 -0.4 -0.33 -0.23 -0.22 -0.28 -0.28 -0.27 -0.26 -0.37 -0.29 -0.2 -0.22 -0.22 -0.24 -0.25 -0.26 -0.35 -0.25 -0.19 -0.21 -0.24 -0.28 -0.3 -0.33 -0.28 -0.21 -0.25 -0.29 -0.33 -0.35 -0.37 -0.38 -0.19 -0.29 -0.36 -0.37 -0.41 -0.4 -0.4 Fig. 9 : Fig. 9: (a) The stiffness tensor field provided as input.(b-c) Rotation of the geometry versus rotation of the stiffness tensor.Rotating the geometry results in a microstructure that more closely follows the prescribed rotation.In contrast, rotating the stiffness tensor causes a more abrupt transition. Fig. 10 : Fig. 10: The figure demonstrates strong connectivity, with each cell rotated around the center.Except for the four central cells, the Poisson's ratio of all other cells is negative. Fig. 11 : Fig. 11: (a-c) Boundary conditions for the multiscale topology optimization examples.(d-f) Converged multiscale structures.The neural network-based representation of the macro-scale design field enables upsampling, allowing for a smoother extraction of microstructure boundaries.The resulting multiscale structures demonstrate good cell compatibility.Both macro and micro scale structure reached within 10% error of their volume fraction target. Fig. 12 : Fig. 12: (a) We use a 1/4 mini-epoch setup, where one of four microstructure cells is optimized each epoch, cycling every four epochs.(b) The final result shows good cell connectivity without a major increase in runtime.(c) We then reduce the mini-epoch to 1/9 with good convergence still observed for the cantilever beam example.(d) We further reduce the mini-epoch to 1/16 for the second problem configuration, meaning the optimizer sees each microstructure cell once every 16 epochs.(e) With the 1/16 mini-epoch result, the gradation between adjacent microstructure is sufficiently small, allowing us to further upsample the microstructure without losing connectivity.This figure consists of a total of 36864 microstructure cells with a total of 58 million elements.Furthermore, with the smooth continuous spatial density function learned by the neural network, there is no theoretical upper limit to the sampling resolution. Fig. 12 : c = −(w 11 E 11 +w 12 E 12 +w 13 E 13 +w 22 E 22 +w 23 E 23 +w 33 E 33 )

섹션 본문 61문단 · 37,079자

(제목 없음)

1A long-standing challenge in multi-scale structural design is ensuring proper connectivity between the constituent cells as each cell is being optimized toward its theoretical performance limit.We propose a new method for multiscale topology optimization that seamlessly ensures compatibility across neighboring microstructure cells without the need for a catalog of unit cells and associated connectivity rules.Our approach consists of a topology neural network that encodes each cell's microstructure as well as the distribution of the optimized cells within the design domain as a continuous and differentiable density field.Each cell is optimized based on a prescribed elasticity tensor that also accommodates in-plane rotations.The neural network takes as input the local coordinates within a cell to represent the density distribution within a cell, as well as the global coordinates of each cell to generate spatially varying microstructure cells.As such, our approach models an n-dimensional multi-scale optimization problem as a 2n-dimensional inverse homogenization problem using neural networks.During the inverse homogenization of each unit cell, we extend the boundary of each cell by scaling the input coordinates such that the boundaries of neighboring cells are blended and thus jointly optimized.This enables inverse homogenization of the cells to be consistently connected without introducing discontinuities at the cell boundaries.We demonstrate our method through the design and optimization of several graded multi-scale structures.

INTRODUCTION

2There has been a recent increase in machine learningdriven topology and multi-scale structures optimization approaches, particularly using neural networks for performing structural optimization.Both data-driven [1][2][3][4][5] and direct training-based [6][7][8][9][10][11] approaches have been explored.Data-driven approaches typically require large training sets and long training times.They perform instant optimal topology generation during inference time.Direct training approaches use the neural network to represent the density field of a single or a group of designs.Prior works on direct training approaches focus on using the neural network with spatial coordinates as input and density as the output to represent the geometry [6,9,10].Inverse homogenization refers to the optimization of microstructure with the desired property [12,13].Sridhara et al. [10] applied direct neural network-based inverse homogenization in designing single microstructure cells.Unfortunately, no direct neural network-based optimization for multi-scale structures has been developed.One key challenge from microstructure design to multiscale structure is ensuring good connectivity between cells [13].Connecting individual optimized microstructure cells into a multi-scale structure is called de-homogenization [13].Cell rotation is included in de-homogenization in which cells can perform very close to the theoretical limit [13].De-homogenization is a post-processing step to obtain a well-connected multi-scale design introduced by Pantz and Trabelsi [14].During inverse homogenization, connectivity can also be encouraged where Garner et al. [15] combined adjacent cells and Liu et al. [16] formulated a constraint on the boundary of each cell.However, these previous methods did not incorporate rotation during inverse homogenization.On the other hand, dehomogenization relies on post-processing to add rotation.

3In this work, we aim to use a neural network to represent the design of a multi-scale structure such that connectivity and rotation can be enforced.We configure a neural network to take in both local and global spatial coordinates to represent multi-scale structural designs.We focus on 2D multi-scale structures; hence, the coordinates are two-dimensional.The local coordinates represent the micro-scale microstructure.The global coordinates correspond with the macro-scale cell location.Given the local and global coordinate pairs as input, the neural network outputs the density for that specific location as a value between 0 and 1.During training2 , the microstructure for each cell is optimized to maximize or minimize a specific material property, derived from the elasticity tensor.We extend the unit cell boundary to its neighboring cells during inverse homogenization to encourage connectivity between cells.Since the inputs to the neural network are spatial coordinates, transformation matrices, for example, scaling, and rotation, can be applied to the coordinates.We apply rotation matrices to the local input coordinates such that the cell is oriented similarly to dehomogenization [14].The difference is that in our approach the orientation of the cell is co-optimized during the training of the neural network instead of a post-processing step.

4In the training of a conventional machine learning model, a loss function is used to back-propagate and update the parameters in the model.Similarly, we also formulate a combined loss function for the optimization of multi-scale structures.The combined loss includes the target volume fraction for each cell, the error w.r.t target material property, and an L1 loss between cell boundaries to encourage microstructure connectivity.Since the inputs to the neural network are local and global coordinates, one can sample the coordinates at any point in the domain without interpolation.During the optimization, we sample the coordinates at regular intervals which corresponds to the square element used in Finite Element Analysis (FEA).The FEA module operates separately from the machine learning pipeline but outputs the objective value during forward propagation and sensitivities during backpropagation.During the training of the neural network, the network gradually learns the local geometry of each microstructure cell.Once training is finished, we can sample the coordinates at the same or finer interval such that a higher resolution result with smooth and crisp boundary can be obtained.

5Our main contributions are:

6• a neural network-based optimization of multi-scale structure • a method to enforce connectivity for multi-scale design • accommodates rotation of cells with neural network geometry representation

RELATED WORK

7Multi-scale topology optimization: Multi-scale structures offer the potential to deliver outstanding performance, being inherently lightweight, durable, and versatile.Bendsøe and Kikuchi [17] introduced the homogenization approach for topology optimization.The SIMP method [18,19] considers the relative material density in each element of the Finite Element (FE) mesh as design variables, allowing for a simpler interpretation and optimized designs with more clearly defined features.A comprehensive review by Wu et al. [13] discusses the existing approaches of multi-scale topology optimization and analysis of their strength and applications.Research that targets improving the compatibility of multi-scale structures includes Garner et al. [15], where adjacent cells were combined when inverse homogenization is performed such that compatibility can be improved.However, adding neighboring cells to the optimization will increase the computation time for FE analysis.We instead extend the cell boundary into neighboring cells where the FE resolution remains the same.Liu et al. [16] formulated a constraint on the boundary of each cell such that given n types of desired microstructure, all these n types share the same boundary.This allows the optimized cell designs to be mutually compatible.One possible limitation is that the total types of cell designs are limited and as the number of cell designs increases, the restriction on the boundary can be increased.In this work, we establish connectivity between neighboring cells, where the limitation on geometry is less.

8Connectivity is also important when designing multi-scale structures given a material exemplar.Senhora et al. [20] use spinodal architected materials to place material along principal stress directions.A library of microstructure can be pre-generated and connectivity between cells can be improved through mapping [21] or inherent connectivity of the microstructure dataset [22].However, the microstructure performance gamut can be limited by the generated dataset.

9Direct topology optimization with neural networks: We refer to direct topology optimization methods as those that do not use any prior data but rather train a neural network in a self-supervised manner for learning the optimal density distribution/topology.Chandrasekhar and Suresh [6] explored a direct approach where the density field is parameterized using a neural network.The direct approach has also been extended to designing microstructure cells [10].We further extend upon single-cell design to formulate a neural network for graded multi-scale structure design.

10Fourier projection-based neural network for length scale control [8] and application for multi-material topology optimization [7] has also been explored.Deng and To [23] propose topology optimization with Deep Representation Learning, with a similar concept of reparametrization, and demonstrate the effectiveness of the proposed method on minimum compliance and stressconstrained problems.Deng and To [24] also propose a neural network-based method for level-set topology optimization, where a fully connected deep neural network describes the implicit function of the level-set.Zehnder et al. [11] effectively leverage neural representations in the context of mesh-free topology optimization and use multilayer perceptrons to parameterize both density and displacement fields.It enables self-supervised learning of continuous solution spaces for topology optimization problems.Mai et al. [25] develop a similar approach for the optimum design of truss structures.Hoyer et al. [26] use CNNs for density parametrization and directly enforce the constraints in each iteration, reducing the loss function to compliance only.They observe that the CNN solutions are qualitatively different from the baselines and often involve simpler and more effective structures.Zhang at al. [27] adopt a similar strategy and show solutions for different optimization problems including stress-constrained problems and compliant mechanism design.

PROPOSED METHOD

11In our proposed method, the density distribution of the multi-scale structure is directly represented by the topology neural network.

Neural network-based topology representation

12The topology network T (X) (Figure 1), learns a density field differently as compared to typical topology optimization which represents the density field as a finite element mesh.The topology neural network takes in local domain coordinates u, w, as well as the global coordinate x, y for each cell.The global coordinates get concatenated with the local coordinates to form the input to the topology network, X = [x, y, u, w].The local coordinates are normalized between −0.5 to 0.5.The global coordinates are normalized between −0.5 to 0.5 along the longest axis.

13Given the local and global coordinates, the topology network outputs the density value ρ at each coordinate point.The domain coordinates represent the center of each element in the design domain.During topology optimization, a batch of domain coordinates that correspond to the mesh grid and the corresponding strain energy field is fed into the topology network.The output is then sent to the FE solver.The solver outputs the stiffness objective which is combined with the volume fraction violation as a loss.The loss is then backpropagated to learn the weights of the topology network.We implement the neural network in TensorFlow.For the topology network design, we employed a simple architecture that resembles the function expression of f (x) = wsin(kx + b).Similar neural network architectures have been used to control the length scale of geometry in topology optimization [8].The conditioned domain coordinates are multiplied with a kernel K.The kernel K regulates the frequency of the sine function.We add a constant value of 1 to break the sine function's rotation symmetry around the origin.We use a Sigmoid function to guarantee the output is between 0 and 1.The topology network can be formulated as follows:

14where: X: Domain coordinate input, X = (x, y, u, w) σ: Sigmoid activation function K: Trainable frequency kernels W: Trainable weights For a typical multi-scale problem, we employ around 5k frequency kernels and a same number of corresponding trainable weights.This means a total of 10k trainable parameters to represent a multi-scale structure.

Inverse Homogenization

15We rely on an energy-based homogenization approach to compute the elasticity tensor of each cell and design the material distribution of each cell.A detailed review and accompanying code can be found in the work from Xia and Breitkopf [28].Nevertheless, for the sake of clarity, we include a brief review of the formulation of homogenization and inverse homogenization in this section.

16Homogenization aims to evaluate the equivalent constitutive behavior of repetitive microstructures.A compact and easy-to-implement formulation for homogenization is the energy-based approach based on the average stress and strain theorems.The homogenized stiffness tensor E H ijkl can be approximated in terms of the discretized N mutual energy of elements of the design domain Y .

17Once the constitutive stiffness tensor is computed, inverse homogenization refers to the minimization of a combination of the homogenized stiffness tensor.

18The optimization equation involves K, the global stiffness matrix, while U A(kl) and F (kl) represent the global displacement vector and the external force vector for the test case (kl), respectively.Here, d refers to the spatial dimensionality, v e is the volume of an individual element, and ϑ defines the upper limit for the volume fraction.The objective function c(E H ijkl ) depends on the homogenized stiffness tensors.For example, the maximization of the bulk modulus can be written with an objective function:

Multi-scale topology optimization with neural networks

19The goal of using the neural network to represent the topology is to enforce cell compatibility.The first mechanism to encourage compatibility is extending the cell boundaries during inverse homogenization, illustrated in Figure 2. In 2D, we extend the boundary of each cell by 1.2 times to cover all its 8 neighboring cells.If rotation of the cell is required, the boundary is further extended to 1.6 times to cover all 8 neighboring cells.For the extended regions that are in neighboring cells, the domain coordinates use the local and global coordinates for neighboring cells.We use 4 node square elements for finite element analysis.Within the boundary, we sample the domain at uniform intervals that directly correspond with the finite element mesh.During training, iterative updates to the design domain are carried out on these sampling points.The second mechanism to encourage cell compatibility is boundary loss.Once we upsample the input coordinate to obtain geometry at finer resolution, we observe that there are still small inconsistent transitions between cell boundaries which can be seen in Figure 3. Therefore, a boundary loss is added to improve the consistency between cells.

20The boundary loss is formulated as the L1 loss between the outer edge of the neighboring cells and the outer edge of the center cell.

21As illustrated in Figure 3, the outer region T (X neigh ) for the 8 neighboring cells consists of the area highlighted in solid red lines and the outer region for the center cell T (X center ) is highlighted in blue dashed lines.The extent of the sampling for each cell is also expanded by 1.2 times.For the regular sampling for the continuous multi-scale structure, each local coordinate is normalized between -0.5 and 0.5.During the computation of the boundary loss, each cell is further expanded by 1.2 times such that the local coordinates are in the range of -0.6 to 0.6.We choose the extension ratio based on heuristics such that a small portion of the neighboring cells is covered while not being too big that most of the FE simulation patch consists of neighboring cells instead of the center cell.During the optimization, the boundary loss is turned on after 50 epochs.

22During optimization, the topology network outputs the density value at the center for each element.These density values are then sent to the finite element solver to calculate the homogenized stiffness tensor based on the SIMP interpolation.We adopted the educational MATLAB code by Xia and Breitkopf [28] for inverse homogenization and programmed the FE code in Python to connect with the neural network that is implemented in TensorFlow.

23The homogenization is based on an energy-based approach where unit test strains are directly imposed on the boundaries of the base cell.In order to achieve a different ratio of the stiffness tensor target, a weight w is assigned to each of the components of the stiffness tensor.(6) The finite element solver is treated as a black box within the neural network.It takes in the density of each element and outputs the homogenized stiffness tensor and the sensitivity for each element with respect to the stiffness tensor.Variables that are being optimized are the weights W and kernels K of the neural network.Adam [29] is used to train the neural network with a learning rate of 0.002.The constrained optimization problem needs to be transferred into an unconstrained minimization problem for neural networks.The combined loss function is

24The objective of stiffness tensor c i is calculated for each cell i and normalized against the stiffness objective c 0,i which is calculated from a homogenized density field with volume fraction of V * i .α is the penalty factor volume fraction V i of each cell i.Starting from the first epoch, it gradually increases to 100 at the end of the optimization.β is the penalty factor for the boundary loss L bc which remains 0 until epoch 50 and gradually increases to 1 at the end of the optimization.We choose epoch 50 as we can observe some microstructure starts to appear while the domain is still largely not converged.One example of convergence history is plotted in Figure 5.A similar loss function for a single scale has also been used by Chandrasekhar and Suresh [6] for compliance minimization and volume fraction constraint with neural networks.

RESULTS AND DISCUSSIONS

25We set up problems with varying stiffness tensor targets, changing volume fractions, and rotation of stiffness tensor targets.These problems aim to test the ability of the neural network-based multi-scale optimization to design compatible microstructure.All experiments are run on a PC with i7-12700K as the processor, 32 GB of RAM, and Nvidia RTX3080 GPU.

Multi-scale topology optimization with varying stiffness tensor

26We first evaluate the effectiveness of our approach with changing stiffness tensor targets.The stiffness tensor target is formulated as a combination of varying weights on the compliance calculated for each cell.For example, the bottom left side of Figure 4 The example in Figure 4 consists of 8×8 cells on the macro-scale, 30×30 elements on the micro-scale, and a uniform volume fraction target of 0.4.The stiffness tensor weights are configured such that in the horizontal direction E 11 is increased.In the vertical direction E 22 is increased.We run the optimization for 300 epochs and plot out a snapshot of the multi-scale structure during training in Figure 5.The optimization takes 9 minutes to run.During optimization, we observe that cells converge in clusters.On the top right corner of Figure 5 is a large cluster where the cells converged faster.As the optimization progresses, the front with converged microstructure gradually progresses to the bottom left.This could indicate that the neural network is using cells that are closer in global coordinates to interpolate.

27In addition to changing the stiffness tensor weights, the volume fraction can also be varied.Compared to the example in Figure 4, the example in Figure 6 has the volume fraction target increasing from 0.3 to 0.5 in the horizontal axis.We can observe the thickness of the multi-scale structure smoothly increased to accommodate for the changing volume fraction.The compliance evaluated in each cell is plotted in Figure 6 (a), where it is lower with a higher volume fraction.

28We then configure a problem with varying volume fraction and bulk modulus maximization.This allows us to compare the performance of the theoretical Hashin-Shrickman (HS) upper bound [30].To maximize for the bulk modulus, the weightage on the stiffness tensor is configured as in equation 4. The converged multi-scale structure is plotted in Figure 7 (b).The volume fraction target in the center is 0.6 and is gradually decreased to 0.4 on the outer edges.We threshold the density field at 0.4.The bulk modulus of each cell and the corresponding HS upper bound are calculated with the thresholded density field.The ratio between the computed bulk modulus versus the HS upper bound is then plotted in 7 (a).On average, across 64 total cells and between 0.4 and 0.56 volume fraction, we achieved 84.9% of the HS upper bound for bulk modulus.This is slightly lower compared to the work by Sridhara et al. [10] where for single microstructure design by the neural network, they achieved 90% of the HS upper bound in the volume fraction range.Slightly higher restrictions on design freedom can be expected with the connectivity constraints posed.We note that no explicit symmetry constraint is applied to this example.The resulting structure demonstrated 2-fold rotation symmetry.While mirror symmetry is missing, this is attributed to the architecture of the neural network.Inputting global coordinates from the I and III or II and IV quadrants leads to the same result.For results where mirror symmetry is desired, explicit mirroring of the global coordinates needs to be performed.Previous works with neural network-based topology optimization also required such mirroring [6].

29Two potential issues with the previous experiments are the linearly increasing memory consumption and longer runtime with full batches.Therefore, we explored minibatches to reduce the number of cells seen at every backpropagation step and mini-epochs for which we only let the optimizer see a subset of cells every epoch to exploit the interpretability of neural networks.We compared runtime and the percentage of the Hashin-Shrickman upper bound achieved under different batch sizes and total epochs.In Figure 8 experiments (c, d), we used minibatches where each batch contained 1/2 or 1/4 of the total -0.17 -0.2 -0.23 -0.24 -0.25 -0.23 -0.23 -0.23 -0.18 -0.19 -0.22 -0.23 -0.24 -0.24 -0.23 -0.23 -0.18 -0.19 -0.21 -0.22 -0.23 -0.23 -0.24 -0.24 -0.17 -0.19 -0.2 -0.21 -0.21 -0.23 -0.24 -0.24 -0.15 -0.16 -0.18 -0.19 -0.21 -0.22 -0.23 -0.24 -0.13 -0.14 -0.17 -0.17 -0.2 -0.21 -0.22 -0.23 -0.1 -0.14 -0.14 -0.16 -0.18 -0.19 -0.19 -0.2 -0.13 -0.12 -0.13 -0.15 -0.16 -0.17 -0.18 -0.17

Multi-scale topology optimization

30In this section, we delve into concurrent optimization of the two-scale structure.While the previous subsection emphasized the application of predefined stiffness tensors, our focus now shifts toward simultaneous optimization of the density distribution of the macro-scale structure and the micro-scale individual microstructure where similar optimization schemes are explored in [31,32].The neural network architecture remains the same as in the previous examples.We modify the loss function to include the compliance instead of the stiffness tensor target.The multiscale topology optimization problem considered here assigns a distinct microstructure to each macro finite element.Let the macrostructure Ω M be discretized into N M elements, and for each macro element, we define a corresponding material microstructure Ω m discretized into N m elements.The macro design variables are denoted by ρ i M (i = 1, 2, . . ., N M ), and the micro design variables (for each macro cell) by ρ j m (j = 1, 2, . . ., N m ).The optimization problem is stated as:

31-0.12 -0.16 -0.18 -0.22 -0.25 -0.28 -0.33 -0.36 -0.12 -0.16 -0.19 -0.2 -0.24 -0.28 -0.3 -0.34 -0.13 -0.17 -0.19 -0.22 -0.24 -0.25 -0.29 -0.35 -0.13 -0.16 -0.19 -0.22 -0.24 -0.23 -0.28 -0.33 -0.13 -0.16 -0.17 -0.18 -0.2 -0.22 -0.26 -0.3 -0.12 -0.14 -0.14 -0.18 -0.21 -0.24 -0.27 -0.3 -0.08 -0.12 -0.14 -0.18 -0.22 -0.24 -0.26 -0.29 -0.09 -0.12 -0.Find:

32Here, c(ρ M , ρ m ) is the structural compliance.The macro topology is determined by ρ M , and each macro element's effective properties depend on its own micro topology described by ρ m .V * M (ρ M ) imposes a limit V M on the macro material usage, and V * m (ρ m ) enforces a limit V m on the micro material consumption.The lower bounds ρ min M and ρ min m avoid numerical singularities.The displacement field at the macro scale is denoted by u M , with

33The operator a is a bilinear form representing the internal energy, and l is a linear form associated with external forces.At the macro scale, the principle of virtual work leads to: In the above, f is the body force, and h is the boundary traction on the Neumann boundary Γ M .The tensors E M (ρ M , ρ m ) and E m (ρ m ) are derived via a material interpolation scheme akin to the modified SIMP approach, given by:

34where E 0 is the base material elasticity tensor, c 0 = 10 −9 prevents numerical singularity, and p is the penalization exponent.The homogenized tensor E H depends on the local micro design:

35A variety of gradient-based methods may be employed to solve this formulation.Thus, the sensitivities (firstorder derivatives) of c(ρ M , ρ m ) and the volume constraints V * M (ρ M ), V * m (ρ m ) with respect to the design variables are needed.The partial derivatives of the objective and macro volume constraint with respect to ρ M read:

36Likewise, the first-order derivatives of c(ρ M , ρ m ) and V * m (ρ m ) with respect to the micro design ρ m are expressed as:

37The derivative of the homogenized elastic tensor E H with respect to ρ m is given by:

38With these sensitivities, standard gradient-based optimization procedures can be used to simultaneously update the macro design variables ρ i M and each element's corresponding micro design variables ρ j m .In implementation, the changes occur in implementing a multiscale FE solver, which computes the compliance c for the entire and adds the volume fraction constraint V * M for the macro scale structure.The combined loss function for concurrent multiscale topology optimization is:

39Furthermore, the macro-scale design is represented by a second neural network with the domain coordinate input reduced to 2D: X = (x, y).While the frequency kernels K and W are reduced to align with the 2D input.We demonstrate the multiscale topology optimization with three examples.The boundary condition is shown in Figure 11 (a-c).The converged multi-scale structure is shown in Figure 11 (d-f).One benefit of using a similar neural network to represent the macro scale design field is that it allows us to upsample as well.We use the upsampled macro scale density field as a filter to threshold the microstructures.Compared to filtering with the grid-based macro-scale design field, the continuous macro-scale density field allows smooth boundaries to be extracted that better follow microstructures.We observe that good cell compatibility is achieved in the multi-scale structure.Similar to the "mini-epoch" example in the previous subsection, we also demonstrate the neural network's interpolation ability with multi-scale topology optimization.We configure a 1/4 mini-epoch, which uses four microstructure cells per macro element.In Figure 12 (a), we choose one out of four microstructure cells every epoch to conduct homogenization and optimization.We cycle through each cell every four epochs.We run the same number of total epochs and the same boundary condition as the previous example.We observe that the converged result also consists of good cell connectivity with no significant increase in runtime.

Metamaterial system design

40Metamaterials are engineered materials whose unique properties stem from the arrangement of their microstructures rather than the materials they are made of [33].Mechanical metamaterials are a specific type designed to achieve mechanical characteristics that cannot be attained through their base material alone.Prior work by Wang et al. demonstrated metamaterial design of metamaterials to match a target displacement through the microstructure selection with a deep generative model [34].We are motivated by prior work in designing metamaterials to match a target displacement with our neural network.For the metamaterial design problem, similar to the prior work by Wang et al., we limit the scope to microstructure design.One difference is that since we are designing the microstructure real-time, we also need an additional optimization objective of bulk modulus maximization to ensure the result is overall structurally sound.Otherwise, with only the displacement target as the objective, the result may lack structural performance in other loading conditions.

41The objective function first consists of a target displacement u t where the displacement u of the multiscale structure is trying to match.Same with Wang et al., we minimize the difference in displacement with an L2 loss:

42Following Wang et al., we only design the microstructure in metamaterial system design.Thus we modify their sensitivity function to compute the derivative of the objective function w.r.t micro design field x j :

43where ∂K e ∂x j = B T ∂C e ∂x j B.

44(

45The combined loss function also resembles the previous examples of bulk modulus minimization, but it includes an additional term for displacement mismatch.

46Specifically for displacement matching, γ is a vector with the value one at the degrees of freedom corresponding to the displacement targets and with zeros everywhere else.We configure two examples with different boundary conditions Figure 13 (a)(b).The target displacement is highlighted in red in each boundary condition figure.In the first example, the boundary condition and displacement target are similar to one of the examples in Wang et al. [34].A load is applied on the right-hand side with a target displacement along the center of the structure.We configure the second example with load applied to the bottom center and target displacement prescribed to the top surface with a region of enforced solid highlighted in gray.Some potential applications for the second boundary condition include flexible haptics devices and jet engine intake ramps.We plot out the target and achieved displacement in Figure 13 (c)(d), where we observe minimal errors.The converge metamaterial is shown in Figure 13 (e)(f) with deformed metamaterial shown in Figure 13 (g)(h).

LIMITATIONS AND FUTURE WORK

47In this study, our primary emphasis lies in showcasing our capability to generate interconnected microstructures amidst demanding design constraints.The convergence of the multi-scale structure can be further explored.In a prior work [9], the authors explored using a conditioning field to speed up convergence on single-scale topology optimization problems.A conditioning field can also be used to apply to multi-scale structures.One possible conditioning field is the rank-N laminates.The neural network can help connect the Rank-N laminates.In another prior work, [35], Physics Informed Neural Network (PINN) is used to directly optimize topology.It is worth exploring if PINN can also be used in multi-scale optimization, whether in macro-scale designing stiffness tensors or in micro-scale designing microstructures.

48Manufacturing constraints can also be explored.In prior works [36], the neural network-based topology optimization allows the computation of density gradients; therefore, overhang control can be applied for additive manufacturing.Overhang control can also be applied to microstructures such that each individual cell can be additively manufactured without suffering from local print failures.Multi-material and multi-physics can also be integrated into the proposed approach.

CONCLUSIONS

49In conclusion, our study introduces a novel approach to direct multi-scale topology optimization with neural networks.Through the utilization of neural networks, particularly in inverse homogenization tasks, we have effectively

Fig. 1 :Fig. 2 :

50Fig. 1: The neural network outputs density ρ at each coordinate point.By sampling coordinate points across the design domain, we obtain the density field.From the density field, we calculate the current volume fraction and the homogenized stiffness tensor from an FEA solver.The homogenized stiffness tensor and volume fraction are then formulated as a loss function which is used in backpropagation of the training process until convergence.

Fig. 3 :

51Fig. 3: The boundary loss is defined as the L1 loss between the red solid line region and the blue dashed line region in (a).When we zoom into the right bottom corner of the multi-scale structure shown in (b), we can observe that with boundary loss (c), the connection between cells is more continuous when upsampled compared to without boundary loss (d).



52targets a stiffness tensor with the ratio of: is written in as c = −(0.6E11 + 1.5E 12 + 0.6E 22 ).

Fig. 4 :Fig. 5 :

53Fig.4: Given a changing stiffness tensor weights, we can observe in (a) that, as the combined weights increase to the top right corner, the objective function value for each cell is also smaller.From the converged multi-scale structure, we can observe good connectivity between the cells.

Fig. 6 :Fig. 7 :

54Fig.6: The volume fraction target is varied for each cell along the horizontal direction.Good compatibility is observed as the microstructure edges gradually thicken.The objective value is also lower with higher volume fraction as the stiffness tensor is greater for cells with higher volume fraction.

Fig. 8 :

55Fig. 8: Comparing the runtime and the percentage of Hashin-Shrickman upper bound reached given different batch sizes and total epochs.For runs in (c,d), we configured a mini-batch where each batch is 1/2 or 1/4 of the total number of cells.We observed stable convergence with slightly increased runtime due to the increased backpropagation count.For runs in (e,f), we explored if the interpretation capability of the neural network allows us to use a subset of cells every epoch.We use 1/2 or 1/4 of the cells per epoch, which we call mini-epoch.The runtime showed almost half and a quarter of the runtime compared to the full batch, with a small penalty in mechanical performance.

56geometry (c) Rotating stiffness tensor -0.39 -0.29 -0.28 -0.24 -0.33 -0.33 -0.38 -0.37 -0.36 -0.24 -0.26 -0.24 -0.29 -0.34 -0.42 -0.38 -0.34 -0.25 -0.2 -0.24 -0.31 -0.39 -0.34 -0.34 -0.33 -0.23 -0.22 -0.3 -0.37 -0.29 -0.3 -0.34 -0.29 -0.17 -0.21 -0.31 -0.27 -0.23 -0.24 -0.23 -0.25 -0.14 -0.25 -0.24 -0.21 -0.23 -0.26 -0.27 -0.21 -0.24 -0.15 -0.17 -0.24 -0.24 -0.24 -0.27 -0.22 -0.2 -0.26 -0.31 -0.34 -0.35 -0.36 -Average objective: -0.28 -0.41 -0.38 -0.33 -0.27 -0.27 -0.32 -0.31 -0.31 -0.4 -0.36 -0.3 -0.25 -0.27 -0.31 -0.3 -0.31 -0.41 -0.35 -0.28 -0.24 -0.28 -0.33 -0.31 -0.32 -0.4 -0.33 -0.23 -0.22 -0.28 -0.28 -0.27 -0.26 -0.37 -0.29 -0.2 -0.22 -0.22 -0.24 -0.25 -0.26 -0.35 -0.25 -0.19 -0.21 -0.24 -0.28 -0.3 -0.33 -0.28 -0.21 -0.25 -0.29 -0.33 -0.35 -0.37 -0.38 -0.19 -0.29 -0.36 -0.37 -0.41 -0.4 -0.4

Fig. 9 :

57Fig. 9: (a) The stiffness tensor field provided as input.(b-c) Rotation of the geometry versus rotation of the stiffness tensor.Rotating the geometry results in a microstructure that more closely follows the prescribed rotation.In contrast, rotating the stiffness tensor causes a more abrupt transition.

Fig. 10 :

58Fig. 10: The figure demonstrates strong connectivity, with each cell rotated around the center.Except for the four central cells, the Poisson's ratio of all other cells is negative.

Fig. 11 :

59Fig. 11: (a-c) Boundary conditions for the multiscale topology optimization examples.(d-f) Converged multiscale structures.The neural network-based representation of the macro-scale design field enables upsampling, allowing for a smoother extraction of microstructure boundaries.The resulting multiscale structures demonstrate good cell compatibility.Both macro and micro scale structure reached within 10% error of their volume fraction target.

Fig. 12 :

60Fig. 12: (a) We use a 1/4 mini-epoch setup, where one of four microstructure cells is optimized each epoch, cycling every four epochs.(b) The final result shows good cell connectivity without a major increase in runtime.(c) We then reduce the mini-epoch to 1/9 with good convergence still observed for the cantilever beam example.(d) We further reduce the mini-epoch to 1/16 for the second problem configuration, meaning the optimizer sees each microstructure cell once every 16 epochs.(e) With the 1/16 mini-epoch result, the gradation between adjacent microstructure is sufficiently small, allowing us to further upsample the microstructure without losing connectivity.This figure consists of a total of 36864 microstructure cells with a total of 58 million elements.Furthermore, with the smooth continuous spatial density function learned by the neural network, there is no theoretical upper limit to the sampling resolution.

61c = −(w 11 E 11 +w 12 E 12 +w 13 E 13 +w 22 E 22 +w 23 E 23 +w 33 E 33 )

참고문헌 30건

  1. 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
  2. Concurrent topology optimization design of material and structure within <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" altimg="si25.gif" display="inline" overflow="scroll"><mml:msup><mml:mrow><mml:mstyle mathvariant="normal"><mml:mi>FE</mml:mi></mml:mstyle></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msup></mml:math> nonlinear multiscale analysis framework Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2014 10.1016/j.cma.2014.05.022
  3. The COC algorithm, Part II: Topological, geometrical and generalized shape optimization Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 1991 10.1016/0045-7825(91)90046-9
  4. 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
  5. A Post-Treatment of the Homogenization Method for Shape Optimization SIAM Journal on Control and Optimization · Society for Industrial and Applied Mathematics · 2008 10.1137/070688900
  6. 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
  7. 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
  8. Optimal shape design as a material distribution problem Structural and Multidisciplinary Optimization · Springer Science+Business Media · 1989 10.1007/bf01650949
  9. The Road Ahead for Metamaterials Science · American Association for the Advancement of Science · 2010 10.1126/science.1186756
  10. Simultaneous material and structural optimization by multiscale topology optimization Structural and Multidisciplinary Optimization · Springer Science+Business Media · 2016 10.1007/s00158-016-1519-x
  11. Deep Generative Design: Integration of Topology Optimization and Generative Models Journal of Mechanical Design · American Society of Mechanical Engineers · 2019 10.1115/1.4044229
  12. Non-iterative structural topology optimization using deep learning Computer-Aided Design · Elsevier BV · 2019 10.1016/j.cad.2019.05.038
  13. Two-Scale Topology Optimization with Microstructures ACM Transactions on Graphics · Association for Computing Machinery · 2017 10.1145/3072959.3095815
  14. TopologyGAN: Topology Optimization Using Generative Adversarial Networks Based on Physical Fields Over the Initial Domain Journal of Mechanical Design · American Society of Mechanical Engineers · 2021 10.1115/1.4049533
  15. Topology optimization based on deep representation learning (DRL) for compliance and stress-constrained design Computational Mechanics · Springer Science+Business Media · 2020 10.1007/s00466-020-01859-5
  16. Deep generative modeling for mechanistic-based learning and design of metamaterial systems Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2020 10.1016/j.cma.2020.113377
  17. TOuNN: Topology Optimization using Neural Networks Structural and Multidisciplinary Optimization · Springer Science+Business Media · 2020 10.1007/s00158-020-02748-4
  18. A Parametric Level Set Method for Topology Optimization Based on Deep Neural Network Journal of Mechanical Design · American Society of Mechanical Engineers · 2021 10.1115/1.4050105
  19. Topology optimization of multi-scale structures: a review Structural and Multidisciplinary Optimization · Springer Science+Business Media · 2021 10.1007/s00158-021-02881-8
  20. Multi-Material Topology Optimization Using Neural Networks Computer-Aided Design · Elsevier BV · 2021 10.1016/j.cad.2021.103017
  21. TONR: An exploration for a novel way combining neural network with topology optimization Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2021 10.1016/j.cma.2021.114083
  22. Optimally‐Tailored Spinodal Architected Materials for Multiscale Design and Manufacturing Advanced Materials · Wiley · 2022 10.1002/adma.202109304
  23. Approximate Length Scale Filter in Topology Optimization using Fourier Enhanced Neural Networks Computer-Aided Design · Elsevier BV · 2022 10.1016/j.cad.2022.103277
  24. A generalized framework for microstructural optimization using neural networks Materials & Design · Elsevier BV · 2022 10.1016/j.matdes.2022.111213
  25. Physics-informed neural energy-force network: a unified solver-free numerical simulation for structural optimization Engineering With Computers · Springer Science+Business Media · 2023 10.1007/s00366-022-01760-0
  26. Concurrent Build Direction, Part Segmentation, and Topology Optimization for Additive Manufacturing Using Neural Networks Journal of Mechanical Design · American Society of Mechanical Engineers · 2023 10.1115/1.4062663
  27. Diffusion Models Beat GANs on Topology Optimization Proceedings of the AAAI Conference on Artificial Intelligence · Association for the Advancement of Artificial Intelligence · 2023 10.1609/aaai.v37i8.26093
  28. DMF-TONN: Direct Mesh-free Topology Optimization using Neural Networks Engineering With Computers · Springer Science+Business Media · 2023 10.1007/s00366-023-01904-w
  29. Topology Optimization Using Neural Networks With Conditioning Field Initialization for Improved Efficiency Journal of Mechanical Design · American Society of Mechanical Engineers · 2023 10.1115/1.4064131
  30. Consistent machine learning for topology optimization with microstructure-dependent neural network material models Journal of the Mechanics and Physics of Solids · Elsevier BV · 2024 10.1016/j.jmps.2024.106015