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

An 808 line phasor-based dehomogenisation Matlab code for multi-scale topology optimisation

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

기본 정보

저자
  1. Rebekka V. Woldseth — Department of Civil and Mechanical Engineering, Technical University of Denmark, Koppels Allé, B.404, 2800, Kgs. Lyngby, Denmark
  2. Ole Sigmund — Department of Civil and Mechanical Engineering, Technical University of Denmark, Koppels Allé, B.404, 2800, Kgs. Lyngby, Denmark
  3. Peter Dørffler Ladegaard Jensen — Department of Civil and Mechanical Engineering, Technical University of Denmark, Koppels Allé, B.404, 2800, Kgs. Lyngby, Denmark
DOI
10.1007/s00158-024-03880-1
저널
Structural and Multidisciplinary Optimization
발행년도
2024
발행기관
Springer Science+Business Media
피인용수
6
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1007/s00158-024-03880-1
토픽
Composite Structure Analysis and Optimization
OpenAlex ID
W4404833597

평가 내용

관련도
간접 관련
사업분야
엔지니어링 플라스틱 · (23) 컴파운드
부 분야
(21) 에폭시수지, (22) POM(폴리아세탈)
R&D 측면
분석·모델링
확신도
0.70
근거 용어
topology optimisation, multi-scale, microstructures, stiffness, composite material
판단 근거
이 논문은 위상 최적화(Topology Optimisation)와 다중 스케일 미세구조 설계를 통해 구조적 강성(stiffness)을 극대화하는 알고리즘을 다룹니다. 이는 코오롱인더스트리의 엔지니어링 플라스틱(23) 및 복합소재(21) 개발 시, 경량화와 고강성을 동시에 달성하기 위한 구조 설계 및 컴파운드 배합 최적화 모델링에 응용될 수 있습니다.
R&D 활용 포인트
고기능성 엔지니어링 플라스틱 및 복합소재 설계 시, 미세구조(microstructure) 제어를 통한 경량·고강성 구조 설계 및 최적의 물성 구현을 위한 시뮬레이션 모델로 활용 가능합니다.
평가 입력
섹션 본문 79,086자 중 30,032자 발췌

초록

Abstract This work presents an 808-line Matlab educational code for combined multi-scale topology optimisation and phasor-based dehomogenisation titled . The multi-scale formulation utilises homogenisation of optimal microstructures to facilitate efficient coarse-scale optimisation. Dehomogenisation allows for a high-resolution single-scale reconstruction of the optimised multi-scale structure, achieving minor losses in structural performance, at a fraction of the computational cost, compared to its large-scale topology optimisation counterpart. The presented code utilises stiffness optimal Rank-2 microstructures to minimise the compliance of a single-load case problem, subject to a volume fraction constraint. By exploiting the inherent efficiency benefits of the phasor-based dehomogenisation procedure, on-the-fly dehomogenisation to a single-scale structure is obtained. The presented code includes procedures for structural verification of the final dehomogenised structure by comparison to the multi-scale solution. The code is introduced in terms of the underlying theory and its major components, including examples and potential extensions, and can be downloaded from Github .

본문 81,999자

본문 펼치기
This work presents an 808-line Matlab educational code for combined multi-scale topology optimisation and phasor-based dehomogenisation titled deHomTop808.The multi-scale formulation utilises homogenisation of optimal microstructures to facilitate efficient coarse-scale optimisation.Dehomogenisation allows for a high-resolution single-scale reconstruction of the optimised multi-scale structure, achieving minor losses in structural performance, at a fraction of the computational cost, compared to its large-scale topology optimisation counterpart.The presented code utilises stiffness optimal Rank-2 microstructures to minimise the compliance of a single-load case problem, subject to a volume fraction constraint.By exploiting the inherent efficiency benefits of the phasor-based dehomogenisation procedure, on-the-fly dehomogenisation to a single-scale structure is obtained.The presented code includes procedures for structural verification of the final dehomogenised structure by comparison to the multi-scale solution.The code is introduced in terms of the underlying theory and its major components, including examples and potential extensions, and can be downloaded from Github. Introduction Topology optimisation is an established and systematic tool in engineering design and research.The premise is to obtain optimised structural layouts within a given physical design domain, according to specific objectives and constraints.This methodology is particularly valuable in industry applications due to its limited requirement for prior knowledge of the design.Topology optimisation has been applied to numerous fields of study, varying from elastic problems to photonics.Educational dissemination of topology optimisation methods has been achieved through publications of complete interactive apps or software, originating with the top99 code by Sigmund [2001].Most of these publications focus on smaller-scale problems, whereas Aage et al. [2015] provides a large-scale topology optimisation framework using PETSc.An extensive review of educational and publicly available codes is presented in Wang et al. [2021]. Introduction Giga-scale topology optimisation was shown by Aage et al. [2017] and Baandrup et al. [2020] to reveal important aspects of structural design, as novel high-performing structures with bridging length scales were found.These frameworks require a considerable amount of computational resources to achieve these results, due to the discretisation needed to realise the minimum length scale.An alternative approach is to relax the length scale discretisation using a periodic homogenised design representation.Homogenisation-based topology optimisation constitutes the foundation of the research field, first introduced in the seminal paper by Bendsøe and Kikuchi [1988].Due to the multi-scale nature of the optimised structures, obtaining a corresponding realisation on a single length-scale is not trivial, and has likely been a contributing factor as to why this original method stayed passive until recent years. Introduction The single-scale reconstruction of homogenised results involves approximating the conformality and constant periodicity of the multi-scale structure on a finite length scale, as first established in Pantz and Trabelsi [2008] with the introduction of the projection-based dehomogenisation approach, which was later improved by Groen and Sigmund [2018].Numerous other frameworks have been proposed, based on a variety of different concepts.Wu et al. [2021] presented an approach using meshing techniques and Stutz et al. [2022] developed a streamline tracing based procedure.A pattern-generating neural network was employed in Elingaard et al. [2022], whereas Garnier et al. [2022] utilised reaction-diffusion-driven pattern formation.Along similar lines, Woldseth et al. [2024] recently proposed a phasor-based dehomogenisation heuristic, based on noise functions from computer graphics.Senhora et al. [2022] utilised spinodal metamaterials, with inherent similarities in parameterisation, to the phasor noise approach.The dehomogenisation capabilities have also been extended to incorporate multiple loads [Jensen et al., 2022] and manage 3D domains [Geoffroy-Donders et al., 2020;Groen et al., 2020;Jensen et al., 2023]. Introduction By considering a homogenised solution in a layer-wise manner, the oriented periodic multi-scale microtructures are projected to finite periodic laminates with smoothly varying orientations.To ensure structural integrity on a finite length-scale, the dehomogenised design must be separated from the underlying homogenisation assumptions, reflected by the orientation conformality objective of the projection.There is an inherent conflict between the microscale assumption of perfect bonding and the macroscale discontinuities arising from evaluating the microstructure parameters at the centre of each macroscale element [Kumar et al., 2020].Bonding on the macroscale is ensured by the smoothness of the conformal-like mapping, but requires distortion of the microstructure geometry [Allaire et al., 2019].The dehomogenised design should converge towards the correct microstructure shape for increasingly fine length-scales.To this end, the proportions of the microstructure should be preserved in the realisation, which facilitates requirements of spatially coherent layer-spacing.The concepts of best approximating conformality and obtain uniform layer-spacing causes conflict for any non-trivial orientation field, and the heuristic nature of different dehomogenisation approaches emerges from measures aiming to obtain a balanced tradeoff between these incompatible requirements. Introduction Nevertheless, dehomogenisation approaches have been proven to produce large-scale topology optimisation results from coarse parameterisations of multi-scale structures.The obtained structural performance is consistently within 10% of the conventional large-scale approaches, while the computational cost is reduced by several orders of magnitudes, even allowing for solving on conventional workstation PCs [Groen and Sigmund, 2018;Jensen et al., 2022Jensen et al., , 2023;;Woldseth et al., 2024]. Introduction The phasor noise-based dehomogenisation procedure [Woldseth et al., 2024] has proven to provide a highly efficient and well-performing alternative to the more conventional approaches.By exploiting the compact representation and real-time rendering properties of procedural noise functions [Tricard et al., 2020a], many of the computational restrictions of existing methods are overcome, achieving advantageous scalability properties facilitating potential for on-the-fly dehomogenisation.The dehomogenisation implementation is, however, nontrivial and involves a number of computer graphics aspects and heuristic adaptions.Motivated by these observations, an integrated and accessible dehomogenisation and homogenisation-based topology optimisation framework is presented. Introduction The deHomTop808 code presents an integrated workflow combining minimum compliance multi-scale topology optimisation utilising a stiffness-optimal material parameterisation with dehomogenisation to a fine-scale physica structural design.The code constitutes a comprehensive design tool, aimed at giving everyday structural engineers an efficient and adaptable large-scale topology optimisation framework, that can run on simple computer hardware.The deHomTop808 code is capable of, 1. Maximising stiffness of a single-load case scenario subjected to a constraint on the maximum allowed material use. Introduction 2. Performing on-the-fly dehomogenisation of the stiffnessoptimised structure to a given minimum length scale. Introduction 3. Verify the dehomogenised fine-scale structure for stiffness and volume fraction performance. Introduction A multi-scale composite material, the orthogonal Rank-2 laminate, is used as the design material due to its stiffness optimal properties for single-load problem cases.The Rank-2 material is, however, parameterised on two different length scales, which makes the realisation of the microstructure challenging.Instead, a single-scale translation of this parameterisation is introduced, with a corresponding mapping to its multi-scale counterpart, to obtain the Rank-2 material properties.This single-scale parameterisation is subsequently utilised to dehomogenise the Rank-2 structure by the phasor-based approach.With the single-scale parameterisation, minimum length-scale control is introduced, increasing the relevancy for manufacturing-oriented design applications.For improved readability and compactness, the deHomTop808 code consists of a new formulation and implementation of the homogenisation-based optimisation procedure, as well as a simplified version of the original phasor-based dehomogenisation procedure [Woldseth et al., 2024].A visual overview of the code capabilities is seen in Figure 1.The code presented builds on the concept of the top88 code [Andreassen et al., 2011] and the top250 code [Ferrari et al., 2021] utilising the modified OC routine.The code was developed and tested using MATLAB, version R2023b, including MATLAB Image Processing Toolbox1 and is tested on Linux kernel 6.6 Pop!_OS 22.04 LTS, Mac OS Sonoma 14.4 and Windows 11 operative systems. Introduction To provide fundamentals for how deHomTop808 is operated, this paper starts with an introduction of the executable and its various inputs in Section 2. For understanding the mathematical models and methodologies utilised in this code, fundamental theory is presented for the multiscale topology optimisation problem in Section 3.1 and the phasor-based dehomogenisation in Section 3.2.Section 4 provides a more detailed description of the deHomTop808 code, in terms of how the code is organised, the different parameters, and how it relates to the theory in Section 3.1-3.2.Examples and performance considerations are presented in Section 5. Potential extensions to the code are presented in Section 6, and final remarks are given in Section 7. The deHomTop808 Matlab code including additional models can be downloaded from Github. Getting Started with deHomTop808 The Matlab code is executed with the following function call, The first nine arguments are required to run the code, while the tenth argument, TO, represents a previously obtained multi-scale result, facilitating direct dehomogenisation of the multi-scale structure encoded in TO.The input and output arguments are detailed in Table 1. Getting Started with deHomTop808 The code executes in three phases; the first phase is the initialisation of the multi-scale optimisation problem and the phasor-based dehomogenisation problem; the second phase performs the multi-scale topology optimisation, from which the optimised solution is obtained.Depending on deHomFrq, on-the-fly dehomogenisation can also be performed in this phase.The final phase is constituted by the post dehomogenisation of the optimised result, and if eval is enabled, the dehomogenised structure is evaluated for structural compliance.If TO is provided as input, the second phase is skipped. Getting Started with deHomTop808 In each optimisation iteration the following line is printed The default problem is a single-load bridge problem with two distributed simple supports (Figure 1a).The bridge is subjected to surface traction, where supports and reactions are applied to solid passive areas of the computational domain.Running the code with [rhoPhys0,TO] = deHomTop808 (60,30,0.3,2,0.1,1,0.2,10,true)will run all three phases of the code sequentially.The resulting multi-scale structure from the second phase is presented in Figure 2.After the dehomogenisation in the third phase, the obtained single-scale structure (Figure 3) is compared to the multi-scale target in terms of the volume fraction error, f = (f s − f o )/f o , with f o and f s denoting the optimised (Eq.15) and dehomogenised (Eq.43) volume fractions, respectively.If eval = true, the combined volume-weighted compliance error wt err is also evaluated, corresponding to S = (S s − S o )/S o with the volume-weighted compliance S p = J p f p , p ∈ {o, s} and J denoting the compliance (Eq.14).The dehomogenised and multi-scale structures are evaluated on different mesh sizes, meaning that, due to h-convergence effects, a negative bias towards the multi-scale compliance is to be expected. Getting Started with deHomTop808 A summary of these results is printed in the following format resulting in Figure 4.This second step can be repeated for different length scales as desired.The results from the two example code executions are presented in Table 2, where the results have been obtained on an HP 840 Elitebook running Pop!_OS 22.04 LTS with 32 GiB of memory and an 11th-gen i7-1185G7 processor. Setup and formulations A structural rectangular domain, Ω, with dimensions L ∈ L x × L y is considered.Ω is partitioned into a design domain, Ω A ⊆ Ω, and a solid passive domain, Ω P ⊆ Ω.The domain is subjected to surface traction f at Neumann boundaries, Γ N ∈ Ω P , and fixed displacements are applied to Dirichlet boundaries, Γ D ∈ Ω. Ω is discretised on four different grids, T c , T i , T if , and T f , with the element sizes, h c , h i , h if , and h f , respectively, such that 1b).The multi-scale optimisation problem is solved on T c while the final single-scale structure is projected to T f .T i and T if are intermediate grids, utilised in the dehomogenisation procedure, to limit the computational cost of smoothing and interpolating the structure. Setup and formulations Preprint -An 808 Line Phasor-Based Dehomogenisation Matlab Code For Multi-Scale Topology Optimisation 6 Homogenisation-based topology optimisation A multi-scale optimisation problem, formulated on both a macro and a micro scale, is considered.On the macro scale Ω is discretised using N e equal-sized quadrilateral elements e ∈ T c .Let Ω e ⊆ Ω denote the domain spanned by the element e ∈ T c .On the microscale Ω e consists of a constant periodic laminate, the so-called Rank-2 microstructure.The Rank-2 microstructure consists of two periodic orthogonally oriented lamellar materials, parameterised on two different length scales, y i = x/ i , i → 0, for i ∈ {1, 2} (Figure 1c).On the smallest length scale, y 1 , the lamellar material has a stiff phase, (+), and a compliant phase, (−), with Youngs moduli E (+) and E (−) , respectively, and identical Poisson's ratio, ν = 1/3.On the second length scale, y 2 , the lamellar material is similarly structured, but the compliant phase is described by the effective stiffness of the y 1 lamellar.The stiff phases are parameterised by their relative widths µ i ∈ [0, 1], for i ∈ {1, 2}. Homogenisation-based topology optimisation Assuming that the compliant phase is void, E (−) = 0, will make the constitutive model singular, and thus nonpositive definite.To mitigate this, an isotropic background material, with the stiffness E min = 10 −9 , is introduced to approximate void and simplify the expression.The stiffness of the solid phase is set to unit stiffness, E (+) = 1.Following the description of a Rank-N microstructure from Jensen et al. [2022] with Cartesian aligned laminates, the constitutive matrix is defined in Eq. 1. Homogenisation-based topology optimisation The Rank-2 material is rotated with respect to x, using the standard planar rotation (Eq.2), where the basistransformation matrix is given in Eq. 3 with c = cos(a) and s = sin(a), and a ∈ [−4π, 4π] being the orientation angle. Homogenisation-based topology optimisation The relative widths, µ i , are defined on two different scales, making a single-scale interpretation challenging.Instead, the interpretation of relative widths from single-scale, wi , to multi-scale is significantly more straightforward to obtain [Jensen, 2024].To this end, µ i is obtained from wi by Eq. 4-Eq.6, where p i is the stiffness contribution from each layer and ρ N the relative density of a lamellar with N layers. Homogenisation-based topology optimisation wi is a physical relative width, which depends on two design variables; the relative width w i ∈ [w min , w max ], where 0 ≤ w min ≤ w max ≤ 1, and an indicator value Homogenisation-based topology optimisation The indicator determines if the material is active, s = 1, or void, s = 0 [Giele et al., 2021].w and s are filtered to obtain w and s (Eq.7), where k is a kernel based on the neighbourhood Ω k e ∈ Ω defined from the filter radii r min and α rsc r min , for w and s, respectively.α rsc ≥ 1 is a scaling parameter for the indicator filter radius. Homogenisation-based topology optimisation s is projected using the three-field robust approach [Wang et al., 2011] to sm , for m ∈ {e, i, d}, representing the eroded, intermediate and dilated fields, respectively (Eq. 8).η m ∈ [0, 1] are projection thresholds and β ∈ (0, ∞] is the projection sharpness.To ensure minimum length-scale on the physical relative widths, the indicator and widths are convoluted (Eq.9) Homogenisation-based topology optimisation . Homogenisation-based topology optimisation Let w i ∈ R Ne , s ∈ R Ne and a ∈ R Ne be vectors representing the design on Ω, with restrictions w i = 1 and s = 1 in Ω P , for solid passive material.Further, let κ denote the combined set of design variables, such that κ = {w 1 , w 2 , s, a}.The optimisation problem of the multiscale minimum compliance problem is stated in (Eq.10)-(Eq.13). Homogenisation-based topology optimisation The optimisation objective (Eq.10) is to minimise a weighted sum of the structural compliance (Eq.14), and a non-uniqueness penalty term [Giele et al., 2021;Jensen et al., 2022], with weight factors γ 0 and γ S respectively.γ 0 is the volume-weighted solid compliance of Ω, and γ S = 1/20 scales the penalty term. Homogenisation-based topology optimisation The objective is subjected to an upper bound constraint (Eq.12) on the overall volume (Eq.15), with V Ω denoting the volume of Ω. Homogenisation-based topology optimisation The displacements, u, are obtained from the linear elastic problem (Eq.11) considering the eroded multi-scale interpretation of w i (Eq.4). Homogenisation-based topology optimisation The design variables are subjected to box constraints based on their defined ranges (Eq.13).The optimisation problem is solved in a nested form, where in each iteration of the procedure, the design is updated using the OC-resembling update rule from Ferrari et al. [2021].Sensitivities with respect to the objective and volume fraction constraint are computed using the discrete adjoint method. Phasor-based dehomogenisation To provide a rudimentary understanding of the subprocedures of the phasor-based dehomogenisation procedure, the fundamental mathematical definitions and heuristic details are introduced.For the purpose of dehomogenising Rank-2 material structures, the procedure assumes a set of frame fields F = {{n 1 (a)}, {n 2 (a)}} and a corresponding set of relative thicknesses W = {{ wi 1 }, { wi 2 }}, describing the homogenised solution to be realised, are given. Phasor-based dehomogenisation Let K i denote a finite set of phasor kernels such that, for lamination layer i ∈ {1, 2}, E i = {e∈T c : wie ∈[w min , 1)} denotes the set of intermediate density kernels and ζ : E → K i is an injective mapping between each intermediate density element, and a phasor kernel ζ(e) ∈ K i .The phasor kernel ζ(e) ∈ K i inherits a spatial location xe ∈ T c , at the centre of element e, and a unit vector n ie = (n x ie , n y ie ) corresponding to the lamination orientation normal of element e.The corresponding signal emitted from kernel ζ(e), sampled at spatial location x ∈ T i , is denoted G e (x) (Eq. 16). Phasor-based dehomogenisation This signal is the product of two exponential functions, where the first controls the spatial magnitude in terms of a Gaussian and the second defines the periodic oriented complex oscillator originating from the kernel centre.The span and shape of the Gaussian are determined by the signal bandwidth β ∈ R >0 and the distance transformation ∆ r e : R 2 → R ≥0 .The oscillator originating at the kernel centre is a complex wave field of a specified frequency, with magnitude ω ∈ R, orientation n ie and phase shift ϕ e ∈ [−π, π].The phase shift controls the position of the wave in relation to the kernel centre, such that G e (x e ) = exp(iϕ e ). Phasor-based dehomogenisation In accordance with Woldseth et al. [2024], an anisotropic distance measure is considered (Eq.17).This defintion of the distance measure changes the shape of the Gaussian kernel from an isotropic circle, for r=(1, 1) , to an anisotropic ellipse with major axis oriented perpendicular to the kernel normal n ie , for Phasor-based dehomogenisation Figure 5 illustrates the relation between the phasor kernel defining parameters and the resulting kernel signal.When sampling the combined signal from a set of multiple phasor kernels, additional mesures are needed to control the blended transitions in the low-magnitude regions of the complex phasor field, to ensure smooth transitions in the real-valued oriented wave field. Phasor-based dehomogenisation Given the interpolated unit orientation vector n(x) of a sampling point x ∈ T i , a sampling filter is introduced, in the form of a kernel A e (x) with bandwidth α ∈ R >0 , to regularise the signal emitted from ζ(e) (Eq. 18). Phasor-based dehomogenisation The term Λ e (x) = ω(n ie − n(x)) is a similarity weight between the orientation of the kernel ζ(e) being sampled and the interpolated orientation at the sampling point x, such that for Λ e (x) → 0 these orientations are identical and the magnitude of the kernel impact is maximised.The filter kernel is integrated directly in the sampling of the phasor field, which is obtained for sampling point x ∈ T i by computing the complex sum of all kernel signals at this spatial location (Eq. 19). Phasor-based dehomogenisation The relation of the kernel phase shift and the location of the emitted wave signal at the kernel centre, may cause the signal from neighbouring kernels to be out-of-phase, causing destructive inference in the sampled phasor field (Tricard et al. [2020b]).To this end, phase alignment is performed to obtain a set ϕ e , ζ(e) ∈ K i of phase shifts ensuring spatial coherency between the separate kernel wavefronts.The phase alignment procedure is a fixed-iteration heuristic, where the phase shift of each kernel ζ(e) ∈ K i is updated sequentially in each iteration, based on a weighted contribution from the nearby kernels.Similarly to Woldseth et al. [2024], an anisotropic neighbourhood definition is utilised to define the subset N e ⊆ K i of nearby kernels for kernel ζ(e) ∈ K i (Eq.20) Phasor-based dehomogenisation . Phasor-based dehomogenisation Based on the definitions of the neighbouring kernels in the current iterate, the phase shift ϕ e of kernel ζ(e) ∈ K i is the real-valued argument of the combined signal from its neighbours (Eq.21-Eq.22).To account for the inherent πrotational invariance of the microstructure representation in this update, the corrected phase shift φfe and orientation ñfe contributions from kernel ζ(f ) ∈ N e , relative to the kernel ζ(e) ∈ K i being updated, are determined according to Eq. 23-Eq.24. Phasor-based dehomogenisation After alignment, G(x) can be sampled from the kernels ζ(e) ∈ K i on a discretised grid x ∈ T i to obtain the complex phasor field (Figure 6).Cubic interpolation of G(x) from T i to T if ensures sufficient detail is obtained at the finer resolution.From this, φ(x) = Arg(G(x)) is the sawtooth wave-field obtained by isolating the phase of G(x) from its magnitude.ψ(x) = sin(φ(x)) denotes the phasor sine-wave, and τ (x) = arcsin(ψ(x))/π + 0.5 the normalised triangular wave-conversion corresponding to a level-set function of the dehomogenised design. Phasor-based dehomogenisation To best adhere to the orientations n e , e ∈ T c and an imposed constant periodicity ω, for a non-trivial orientation field, the sampled phasor field G(x), x ∈ T if must contain point-singularities, which imposes branch-like bifurcations in the wave-field translations.Therefore, thresholding the triangular wave-field τ (x) may result in a solid-void design with disconnected structural members at these bifurcation locations (Figure 7(a)), which are subjected to a postprocessing procedure to improve structural integrity. Phasor-based dehomogenisation The convenient relation between singularities in the complex phasor field and the branching disconnections in the corresponding real-valued conversions, allows for identifying a discrete set of points B ⊂ T if by identifying where the magnitude of the phasor field vanishes to zero (Eq.25). Phasor-based dehomogenisation Depending on the global phase of the phasor sine-wave ψ(x), relative to a bifurcation location, the degree of disconnection of the branches may vary.Branches with a minimal degree of disconnection will require less invasive efforts to ensure connectivity, compared to those with maximal degree of disconnection.(γ) ∈ [0, 1] is introduced as a measure describing the degree of disconnection of a branching point γ ∈ B, and is computed based on the average normalised phasor sine-wave value within a circular neighbourhood M (Eq.27) with diameter equal to one wave-length λ at the current periodicity ω (Eq.26). Phasor-based dehomogenisation ( Phasor-based dehomogenisation To determine the unit vector γ indicating the closure direction for the branch about the branching point γ ∈ B, the degrees of disconnection at the locations corresponding to moving ± 1 3 -wavelenghts along the layer-normal n(γ) at the branching point γ are compared to determine the best fit (Eq.28).Keeping the control-points within ± 1 3 λ of the identified bifurcation point limits potential interference of neighbouring waves on the closure direction selection. Phasor-based dehomogenisation From the obtained closure direction and degree of disconnection of γ ∈ B a perturbed branch centre γ and a closure control-point γ are identified (Eq.29). Phasor-based dehomogenisation The point γ is chosen as the centre location for ensuring connection by branch solidification.This is obtained by introducing a modified Gaussian Πγ (x) about this centre, and from the union Π(x) a density weighted localised phaseshift π(x) is introduced.A normalised triangular wave τ (x) with solidified branch-shaped connections (Figure 7(b)) can then be obtained by the union of the ±π(x) phase-shifted sine waves ψ(x) (Eq.31-Eq.35). Phasor-based dehomogenisation This branch solidification ensures connection of τ (x), but also introduces excessive material in the branching region. Phasor-based dehomogenisation To reduce the amount of material in the branches while maintaining appropriate branch-shapes, the localised pinchprocedure is applied (Woldseth et al. [2024]).This is an iterative procedure, where for each iterate k ∈ {1, ..., k max } the material of a branch is reduced and its shape corrected by utilising the control points γ k and γk to move the branch centre from γ towards γ, with step-magnitude determined by the degree of disconnection (Eq.36). Phasor-based dehomogenisation The pinch operator is directed by the gradients of the union Πk (x) of anisotropic Gaussians constructed for each γ ∈ B, centred at the correponding current iterate location γ k (Eq.37). Phasor-based dehomogenisation To localise the pinch impact and improve the resulting shape, a union Πk (x) of modified Gaussians, controlled by the interpolated orientation n(x) and relative thickness w(x) at the sampling point x ∈ T if , centred at the control points γk is introduced (Eq.38). Phasor-based dehomogenisation Based on the introduced pinch control measures for an iterate k ∈ {1, ..., k max }, the corresponding transformation of the triangular wave-field from τk−1 (x) to τk (x) at iteration k is governed by the combined pinch perturbation P k (x) and a perturbation magnitude scaling factor δ(x) (Eq.39-Eq.40). Phasor-based dehomogenisation ) After completing k max iterations, the shape and material usage of the branch connections are effectively improved.Given the connected triangular wave-field τi for lamination layer i ∈ {1, 2}, the corresponding thickness-adhering solid-void projection ρ s i is obtained by Eq. 41 (Figure 7(c)). Phasor-based dehomogenisation The combined dehomogenised structure, represented by the density-field ρ s , is then obtained by the union of the lamination layers within the specified structural domain I ⊆ Ω (Eq.42), and the corresponding dehomogenised volume fraction is computed according to Eq. 43. Phasor-based dehomogenisation 4 General structure of the code Phasor-based dehomogenisation The general structure of the code is given in the flowchart in Figure 8.The main code spans from line 1 to line 182 and is divided into three phases; initialisation, optimisaiton and dehomogenisation. Initialisation phase The initialisation phase (lines 4-56) begins by specifying the material properties (line 6) and building the FE-model (lines 8-12).Given the provided mesh size and scale, the FE-model of the bridge problem in Figure 1a is obtained from the function prepFEA().This FE-model contains information on the FE-analysis and grid T c , based on 4noded bilinear Q4 elements, where nodes and elements are counted in y-major order (Figure 1a).The local node count is anti-clockwise, starting from the southwest corner of the elements (Figure 1b).A crucial part of correct FE-analysis and successful multi-scale modelling is applying forces as surface tractions, instead of point forces, on solid elements to avoid stress raisers.In prepFEA(), this is achieved by introducing a passive block count, relative to T c (lines [184][185][186][187][188][189][190][191][192][193][194][195][196][197][198].The surface traction is defined by first identifying elements subjected to a force (forceElms) and determining the triplet force values (sF) based on the defined node counting convention [192][193][194][195][196][197].The constructed sparse force vector is scaled to unit magnitude (line 198).As promoted in Sigmund [2022], and to ensure well-behaved FE-analysis, the bridge problem's simply supported boundary conditions are implemented as multipoint constraints using the Penalty method [Felippa, 2004] to achieve mesh independent point supports. Initialisation phase Based on the degrees of freedom at u 1 (fixedDofsB1) and u 2 (fixedDofsB2), a sparse penalty block matrix (Kp) is constructed with a penalty weight of 10 4 (lines 199-208). Initialisation phase The imposed penalty weight is relatively low to account for the stiffness of the void (E min = 10 −9 ), as a higher weight would result in an ill-conditioned system.Another approach is to implement the multipoint constraints with Lagrange multipliers, but this results in a non-positive definite system, which would increase the complexity of solving the system.The last boundary condition is a single constrained node in the y-direction, to prevent rigid body translation (line 201).The final part of prepFEA() locates the passive design elements passiveElms, outputted as pasE in the main code.Based on the passive design, the active design variables are found (lines 8-10).The combined set of design variables is accessed as κ = {w 1 , w 2 , s, a}, where κ is denoted x in the code. Initialisation phase On lines 14-21 the filtering Eq. 7 and robust projection Eq. 8 are initialised.The filter is based on a convolution filter, with approximate Gaussian kernels, hS and hW, for the indicator and width fields, respectively.The kernel size of the indicator field filter radius is based on the scalar rsc and the input width filter radius rMin. Initialisation phase On lines 23-28 the starting guess for orientation design variables are found from the principle stress directions of an isotropic solid domain.The isotropic constitutive elements of an upper-triangular matrix are obtained from the function getIsotropicElasticity(), which is passed to the FE-analysis, doFEA().The constitutive elements are mirrored to a square matrix for computing the stresses.Due to angle invariants, the orientation field is corrected to [0, 2π] for any negative angles.The scaling factor for compliance (cScale) is further obtained. Initialisation phase On lines 30-33 the starting guess for the indicator and width fields are defined.All elements are initially considered active, while the width is found from (Eq. 6) and bounded by (Eq.13).Elements with passive design values are further enforced. Initialisation phase The dehomogenisation routine is initialised on lines 35-39.From the function prepPhasor() the grids T i , T if , and T f , as well as distance parameters are computed. Initialisation phase From this, the element-wise maximum neighborhood candidate sets are found in prepPhasorKernels().Another FE-model is created using prepFEA(), on T f , to obtain passive design information for the dehomogenisation. Initialisation phase On lines 41-47 the figures for plotting during optimisation are created, using a tiled layout.Finally, on lines 49-56 the initialisation phase is completed with initialising the combined design vector x, the box constraints xmin0 and xmax0 (Eq.13), and the move limits xmove.The indicator penalty scale sWeight (Eq.10) is set.If an optimisation result is provided through the TO argument, the maximum number of design iterations is changed from 300 to 0, thus skipping the optimisation loop. Initialisation phase ∂P/∂s and ∂f /∂(w, s) Initialisation phase • Get x 0 ← (w, a, s) Initialisation phase • Call x 1 = OC(x 0 , ∂Φ, g, ∂g) Initialisation phase • Update x 1 → (w, a, s) Initialisation phase and loop > loopMax? Initialisation phase • Post-analysis intermediate design. Initialisation phase • Store design and result. Optimisation phase The optimisation routine is defined from line 58 to line 149, where the first part is an optimisation loop and the final 10 lines constitute the post-evaluation step. Optimisation phase The optimisation loop starts by checking stopping criteria and the iteration count, whereafter the time, loop and projections parameters are updated on lines 61 to 66. Hereafter, from lines 68 to 73 the single-scale design is obtained.First the active design variables of w and s are filtered (Eq.7).Subsequently, s is projected using the three-field approach (Eq.8), and finally multiplied with w, to get the single-scale eroded physical relative widths (Eq.9). Optimisation phase The multi-scale design is obtained on lines 75-76, where the relative densities (Eq.6) are obtained.From the eroded single-scale physical relative widths, the multi-scale widths, µ, are obtained by the function getMuFromW() (line 210), with Eq. 4 is combined with Eq. 5. getMuFromW() further computed the sensitivities of Eq. 4 with respect to w. Optimisation phase 210 function [mu,dmudw] = getMuFromW(rho,w) ... 213 wSum = w(:,1)+w(:,2); 214 mu(:,1) = w(:,1)./wSum.*rho;215 mu(:,2) = w(:,2).*rho./(wSum.*(1-mu(:,1))); Optimisation phase ... end From the multi-scale design, the FE-analysis is commenced starting on line 78 by obtaining the Rank-2 elastic properties and their sensitivities with respect to µ and a by the function getConstitutiveRank2() (line 226). end The constitutive matrix (Eq. 1) is obtained followed by the rotation (Eq.2).To efficiently perform this construction by vectorisation, the element matrices are stored as an R 3×3×Ne -array, where the page-wise matrix operations (pagemtimes(), pagectranspose()) are utilised.However, due to symmetry, only the lower triangles of the constitutive matrices are considered, which is extracted utilising the two functions TRI() and T2D(). end The FE-analysis is completed (line 79) by the function call to doFEA(), where the stiffness matrix is assembled from the lower triangles of the constitutive matrices (lines 267-271).This is achieved by utilising the page-wise matrix operation for the triplet stiffness values.The penalty term, Kp, is scaled and added to the system.The displacement state field, U, is solved using Cholesky factorisation. end 267 function U = doFEA(F,U,C,iK,jK,freeDofs,KE0,Kp) 268 K = sparse(iK,jK,reshape(sum(pagemtimes(KE0,C),3),[],1)); 269 K = K + Kp*max(diag(K)); 270 U(freeDofs)=decomposition(K(freeDofs,freeDofs), chol , lower ) \F(freeDofs); 271 end On lines 81-88 the compliance objective function (Eq.10) and sensitivities are computed.The sensitivities wrt. the state field are precomputed on lines 82-83 to get the element-wise contributions.The stiffness matrix sensitivities are obtained similarly to how the stiffness matrix is assembled (line 74), which can be used to obtain the element-wise matrix-vector products for the adjoint sensitivities (lines 87-88). end 74 dKdMu1 = sum(pagemtimes(KE0,dCdmu1),3); end The indicator field volume penalty function and sensitivities (Eq.10) are computed on lines 90-91. end On lines 93-95, the volume fraction constraint function and sensitivities are computed by the mean of the relative densities (Eq.6).The dilated volume fraction is also updated for the three-field robust approach. end As the final part of the sensitivity analysis the chain and product rule sensitivities are computed from design domain modifications, i.e., multi-scale transformation, indicator field, projection and filtering (lines 97-106). end The design is updated on lines 108-118 with the modified OC routine from the top250 code [Ferrari et al., 2021]. end The on-the-fly dehomogenisation routine is called on lines 120-126, which will be discussed in detail in Section 4.4. end Finally, the results are printed and plotted on lines 128-135.To plot efficiently during optimisation, only the iterative data is updated in the already initialised plots. end Breaking from the optimisation loop, the optimised intermediate result is post-evaluated on lines 138-148 if the TO data is not already provided, otherwise the TO data will be stored as the final part of the post-evaluation section. Dehomogenisation phase The final phase of the main code is divided into two sections; first, on lines 150-159, the multi-scale structure is dehomogenised by the phasorDehomogenise() procedure (Section 4.4), where the resulting single-scale volume fraction is evaluated wrt. the multi-scale structure. Dehomogenisation phase If the eval input is true, the dehomogenised structure is evaluated for structural performance on lines 161-181.As the dehomogenised structure is single-scale, isotropic elastic properties are assigned to each element, to compute the displacement field, from which the compliance is obtained and evaluated.To give a visual evaluation of the structure, the strain energy density is computed on lines 169-172.The stress and element stress fields are again found using the page-wise matrix operation.Finally, the strain energy density is plotted with log-10 scaling to enhance the visual energy contrast in the plot. Dehomogenisation structure The main Matlab routine for the phasor-based dehomogenisation procedure, outlined in Figure 8, is implemented in the function phasorDehomogenise() (line 356). Dehomogenisation structure 356 function rho = phasorDehomogenise(grid,wMin,w,N,alignItr,align) Dehomogenisation structure From the homogenised design this routine requires the minimum relative thickness wMin, layerwise relative thicknesses w and lamination normals N on T c as inputs.The dehomogenisation procedure specifications are provided by the number of phase alignment iterations alignItr, the grid structure, obtained by the prepPhasor() function (line 273), and the align structure, obtained by the prepPhasorKernels() function (line 340).These structures contain precomputed sizes, parameters and index-sets utilised throughout the dehomogenisation process, that can be reused when dehomogenising designs with shared minimum feature size and coarse mesh representation. Dehomogenisation structure To enable the sequential projections from T c to the intermediate and fine grids, T a , a ∈ {i , if, f }, the homogenised information on the coarse grid is interpolated to obtain smoothed design representations on the finer grids (line 361-364).getIndicator() interpolates layer-wise smoothed material indicator fields from T c to T i .filterVectorField() and interpolateVectorFields() corrects for localised artefacts in the orientation fields on T c and interpolates to T i and T if while accounting for spurious behaviour caused by interpolation of periodic data.The layer-wise relative thicknesses are interpolated in interpThickness(). Dehomogenisation structure The procedure addBoundary() (line 365) generates a synthetic outer layer by constructing a set of phasor kernels along the structural boundary on T c and samples a single wave outlining the structural body on T i , which is utilised for indicator field smoothing and establishing a varying thickness boundary, according to local layer thicknesses, on T f .Additionally, the layer-wise active phasor kernels aligned with the boundary orientations are identified within this procedure.Some of the local orientation and phase-shift adaptions from Woldseth et al. [2024] have been removed to focus on the fundamental elements of this procedure. Dehomogenisation structure phaseAlignment() and phasorSampling() comprise the main components of the phasor noise methodology, by performing the phase alignment procedure (Eq.21-Eq.23) The final dehomogenised design is assembled by combining the thresholded individual lamination layers and the structural boundary (line 388-395).rho represents the finalised structure, which is initialised as the approximately solid regions within the smoothed domain, as these regions are not sampled from the phasor kernels defined by the intermediate density elements.Linear interpolation is applied to obtain the connected wave-field on T f (line 391), which is thresholded to solid-void based on the relative thicknesses (line 392).After combining the lamination layers, the smoothed structural indicator removes potential artefacts outside the structural domain, and the varying thickness boundary is added (line 395).Potential floating structural members are removed by the connected component operation removeIslands2D().These descriptions provide an overview of the functionalities in deHomTop808 and how they collectively contribute to obtaining a dehomogenised design. Phase-alignment The implementation of the phase alignment routine is performed on T c , given the orientations and indexes of active kernels, for all lamination layers. Phase-alignment The set B of branch points is determined from the sampled phasor field G(x) for x ∈ T i (Eq.19), and subsequently projected to T if by the locateBranchinPoints() procedure (line 401). Phase-alignment 401 [gamma_x,gamma_y,numBranch] = locateBranchingPoints(phasor_i,bregion,grid); Phase-alignment The degree of connection condeg (Eq.26) is computed based on the circular neighbourhood extracted from the precomputed grid.discomp(lines 407-416). Phase-alignment 416 condeg = ( sum ( sif_pad ( idofMat ) .* circle (:) ,2) / sum ( circle (:) ) +1) /2; Phase-alignment A simplified computation approximating the closure direction (Eq.28) based on single-point values is utilised to determine the closure control points (lines 418-433). Phase-alignment The main procedure for performing branch solidification (Eq.31-Eq.35) is executed sequentially for each branching point (lines 450-458).For each branching point, the phasor sine-wave sine_if is locally updated based on the weighted phase shift pihat induced by the current branch point. Phase-alignment Pihat =exp(-2*sigma_inv*(wx*xd.^2+yd.^2).*(1-0.5*triangular_if(idL))); Phase-alignment After branch closure is ensured for all branching points on T if , the pinch procedure is locally applied to each branching region on the converted triangular wave-field, by performing k max = 3 pinching steps.The anisotropic Gaussian with gradients specifying the pinch direction Pi_pinch_k (Eq.37) is located about the centre specified by the current pinch step locations ixx and iyy corresponding to γ k .vx_k and vy_k are the directional gradients of this Gaussian determined by a derivative filter and scaled according to the largest gradient magnitudes. Phase-alignment The modified Gaussian for localising the pinch magnitude Pi_local_k (Eq.38) is approximated by the oriented distances xdm and ydm to the iterated point γk . Phase-alignment 486 for k=1:3 Pi_pinch_k(idofMat(:,[1,3,4,6,7,9])).*ky(:) ,2); ... The combined pinch magnitudes and directions pw.*vx and pw.*vy (Eq.39) are then passed to the pinchPatch procedure performing the corresponding interpolation (Eq.40).After all branching point regions have been subjected to the iterative pinch procedure, the triangular wave-field with connected branches is obtained. Structural boundary Due to the realisation of a single-scale structure at finite periodicity, the global phase shift of the lamination layers with respect to the boundary of the structural domain may cause non-load carrying members towards the outer periphery of the structure.Woldseth et al. [2024] exemplified why the addition of a varying thickness structural boundary is highly beneficial for the performance of the dehomogenised structure.A simplified version of the phasor-based boundary from this original work is implemented in deHomTop808 in the function addBoundary() (line 544), where the structural boundary is constructed and additionally utilised to smooth the upscaled structural indicator field to reduce staircase artefacts from the underlying coarse mesh.This structural boundary is constructed as an artificial lamination layer defined by kernels on T c which are sampled as phasor noise on T i and finally modified and projected to T f to obtain the desired results.A filtered structural indicator field is first obtained by combining the individual layer indicator-fields, thresholding and applying a Gaussian filter with zero padding (lines 547-552).This filtered field is subsequently subjected to a Gaussian derivative filter to obtain the derivative components vx and vy (lines 553-555).The angle of orientation vdir and derivative magnitude vmag are derived from these components (line 556) and the kernels within the structural boundary region potential are identified based on the derivative magnitude, as this measure tends to zero away from the boundary region (line 557). Structural boundary 554 vx = reshape(sum(idsp(idofMat).*kx(:) ,2),grid.csize(1:2));555 vy = reshape(sum(idsp(idofMat).*ky(:) ,2),grid.csize(1:2));556 [vdir,vmag] = deal(atan2(vy,vx), vx.^2+vy.^2);557 [potential,bvec] = deal(vmag>1e-3, [cos(vdir(:)),sin(vdir(:))]); Structural boundary The boundary orientations bvec of the boundary region kernels are aligned in a similar manner to the phase alignment procedure (line 559-571).Instead of the phase shift, the angle of the orientation vectors are aligned, and minor modifications are imposed to reduce alignment between orientations with a relative angular difference approaching π/2, to better adapt the boundary to smaller holes within the structure.After alignment, the orientations are upscaled by complex interpolation to T i (lines 573-575), to be used for the phasor sampling filter. Structural boundary 577 idbnd = potential & vmag >= 0.25*max(vmag(:)); 578 new_omg = min(1./(8*grid.h_c),grid.omega/2);omg_rat = new_omg/grid.omega;... 582 atmp = align; atmp.pshift= pi*((1-idsfr(:))*0.5+1/3);583 bphasor = phasorSampling(grid,bvec(:,1),bvec(:,2), ... 584 cos(vec_a(:)),sin(vec_a(:)),idbnd(:),bregion(:),atmp,1); Structural boundary The boundary phasor kernels idbnd are identified (line 577), prescribed a periodicity new_omg (line 578) and assigned individual kernel phase-shifts (line 582).The phaseshift is dependant upon the filtered indicator field value at the kernel grid point to control the location of the signal wave relative to the structural domain boundary.The complex phasor noise signal bphasor is sampled using phasorSampling() directly from these pre-defined phase shifts (line 583-584). Structural boundary The layer-wise identification of kernels that are aligned with the boundary kernels is based on the element-wise dotproducts between the sets (lines 586-588).These identified kernels are utilised in the initialisation of kernel phase shifts in phaseAlignment(), and the layer-wise minimal distance to these kernels (lines 589-592) determine the phase alignment order.From the sampled phasor boundary-wave the indicator cutfield cutfi is constructed in a similar manner to Woldseth et al. [2024] on T i and projected to T f before thresholding to obtain the smoothed structural domain indicator_f (lines 592-600). Structural boundary The boundary-wave is projected to T f and thresholded according to the localised maximal lamination layer thickness, scaled according to the periodicity ratio between the structural boundary and the structural infill (lines 604-608).The structural domain indicator field is subjected to a final clean-up removing potential isolated artefacts utilising removeIslands2D() (line 609). Examples The following section presents a collection of tests and application examples for the deHomTop808 code, facilitating discussions of its performance and limitations. Length-scale convergence The deHomTop808 base-case results in a single-scale structure with volume-weighted compliance narrowly within 10% of the multi-scale solution.This design is evaluated on a relatively large minimal length-scale, meaning there is expected solution quality loss due to the level of abstraction from the infinitely periodic homogenisation assumptions.Table 2 reveals the improvement in solution quality obtained when decreasing the minimum feature size.This is related to the crucial property of a well-defined dehomogenisation procedure, in that the performance convergence towards the homogenised solution as the minimal length scale approaches zero.The resolution of the mesh utilised for optimisation also has a significant effect on the solution quality, affecting the level of detail captured in the multi-scale solution. Length-scale convergence Therefore, this first set of numerical experiments is focused on testing the length-scale convergence behaviour of dehomogenised designs for the baseline bridge example, realised with decreasing dmin, for a select set of different optimisation grid resolutions. Length-scale convergence Figure 9 and Figure 10 illustrate how the relative error of the obtained single-scale designs, compared to the multiscale optimised solution, depends on the minimum lengthscale dmin, for the volume fraction and volume-weighted compliance, respectively.The grid resolution utilised for optimisation is indicated by nelX, and nelY=0.5*nelXfor each case; hence results are effected by h-convergence.dmin is relative to the grid resolution, such that for nelX=180 the dehomogenised result obtained for the length-scale given dmin=0.2corresponds to Figure 11, which has a significantly higher level of detail than the base case run in Both the volume fraction ( f ) and volume-weighted compliance ( S ) errors exhibit the desired convergence behaviour as dmin is reduced, across all grid resolutions.It is, however, evident that the coarsest grid-resolution suffers from loss of detail, causing the structural performance to be diminished.For the remaining grid resolutions the volumeweighted compliance error converges well within a 10% deviance from the multi-scale solution. Length-scale convergence The convergence behaviours of the different grid-resolutions additionally reveal a limitation of dehomogenisation to a relatively large minimum length scale.This leads to an excessive downsampling of the multi-scale details to obtain the single-scale projection, meaning that the level of detail in the optimised solution cannot be sufficiently captured. Benchmark: Michell cantilever The performance of the deHomTop808 code is benchmarked to the first proposed dehomogenisation for manufacturable designs [Groen and Sigmund, 2018] by considering the Michell cantilever.The FE-model of the Michell cantilever can be included in the code by replacing prepFEA() with prepFEA_cant().The Poisson's ratio is set to ν = 0.3 (line 6) in accordance with Groen and Sigmund [2018]. Benchmark: Michell cantilever 6 [E,EMin,nu] = deal(1,1e-9,0.3); Benchmark: Michell cantilever The deHomTop808 code is executed with, deHomTop808(80,40,0.5,1.5,0.1,1,0.2,0,true); Benchmark: Michell cantilever where d min = 0.2 and w min = 0.1 corresponds to a mapped cell size and feature size of 40h f and 2h f [Groen and Sigmund, 2018], respectively.To best replicate the numerical setup in Groen and Sigmund [2018], by ensuring consistent mapping grid resolutions, the minimum thickness for deHomTop808 is increased to w min = 0.1 compared to w min = 0.05 in Groen and Sigmund [2018].The comparative results of the optimisation are seen in Table 3, and for the multi-scale structure in Figure 12. Benchmark: Michell cantilever A similar compliance is achieved by the two frameworks, closely corresponding to the result provided in Sigmund et al. [2016] of J = 56.73,even with a different design domain regularisation for deHomTop808 compared to Groen and Sigmund [2018]; Sigmund et al. [2016].The key observation is the computational time comparison, where deHomTop808 is an order of magnitude faster than Groen and Sigmund [2018].Due to the timings being recorded on different hardware, an exact comparison is discouraged, but the order of magnitude is expected to be representative as the linear systems are of the same size, and both codes are executed in Matlab. Benchmark: Michell cantilever The dehomogenisation result is seen in Table 4, and the single-scale structure is seen in Figure 13.The deHomTop808 result is very close to the optimised solution.However, the dehomogenisation result of Groen and Sigmund [2018] is performing slightly better, which is to be expected for this test case, as discussed in Woldseth et al. [2024].Nevertheless, the computational time is almost two orders of magnitude faster than Groen and Sigmund [2018], which underlines both the efficiency of phasor-based dehomogenisation and the deHomTop808 implementation in general. Optimisation convergence A crucial part in establishing the value of the on-the-fly dehomogenisation option, is to consider how well the intermediate multi-scale designs are captured by the generated single-scale interpretations during the optimisation iterations. Optimisation convergence To this end, the baseline deHomTop808 run with deHomFrq=1 is considered, including FE-analysis of the dehomogenised design in each iteration.The obtained iteration history is compared to the corresponding intermediate multi-scale iterate in Figure 14.It is evident that the performance of the single-scale design deviates significantly from the multi-scale iterates, with higher compliance and lower volume fractions, until β = 4 is reached, and the measure of non-discreteness (mnd) [Sigmund, 2007] stabilises below 10%.For the remainder of the iteration process, the single-scale projection captures the multi-scale iterate within a 10% error.The reason for the poor performance of the dehomogenised structures for large values of mnd, is that the multi-scale iterate has not converged sufficiently to adhere to the minimum relative thickness constraint.To facilitate a single-scale interpretation of a multi-scale design wMin>0 must be defined. Optimisation convergence Figure 15 reveals the effect of the material indicator field convergence before and after stabilisation.At the 29th iteration the multi-scale design contains a large degree of relative thicknesses below the lower bound wMin, imposed in the dehomogenisation, resulting in limited overlap between the single-scale projections of the lamination layers.When reaching 200 iterations, only the boundary region of the structure is affected by lower relative thicknesses, for which the lacking layer-overlap is corrected for by the threshold tolerances and location of the structural boundary. Rotation invariance and orientation seamlines Rotation invariance is a common issue for dehomogenisation due to the non-uniqueness of the Rank microtructures [Jensen et al., 2022].For the Rank-2 microstructure, the rotation invariance is π/2, but occurrences of π-rotation discontinuities are most common.The orientation starting guess is one of the primary causes of these discontinuities in the multi-scale solution.In deHomTop808, the starting guess is obtained from the principle stress directions, which have a π-rotation invariance, often located about symmetry lines in the design.For the bridge model, this invariance is manifested as a discontinuity in the orientations as illustrated with the vector fields in Figure 16, where a "seamline" is visible at the centre of the bridge along the symmetry line. Rotation invariance and orientation seamlines To mitigate this artefact, π is added to any negative angles in the starting guess (line 27).This will not resolve the issue but will shift the invariance artefacts and make them less prevalent.In Figure 17, the vector field with invariance shift is seen where the seamline occurrences are moved towards the domain boundary.This works well for localised discrepancies or small patches of orientation invariance, but enlarged patches may still cause issues in the dehomogenisation.To demonstrate the effect of the seamline-discontinuity, the code is executed with parameters from Section 2, removing the corrections to the starting guess (line 27).The results are presented in Table 5 and the post-analysed dehomogenised structure is illustrated in Figure 18.There is a minor improvement to both the optimised and dehomogenised results.However, the seamline causes artefacts in the post-analysed structure, and due to the heuristic nature of the phase alignment procedure, the extent of such artefacts may cause partly disconnected structural members.Therefore, to ensure a more stable performance, it is recommended to modify the starting guess or to perform post-optimisation combing as suggested in [Stutz et al., 2020]. MBB beam model In addition to the bridge model and the Michell cantilever, models for the MBB beam and the double-clamped beam are included in this paper as extensions with the code. MBB beam model The 3:1-aspect ratio MBB beam is slightly modified from the original model, with distributed simple supports and surface traction.To prevent undesirable mesh effects on the design, the distributed simple supports are moved away from the grid boundary, similarly to the two-load bridge from Jensen et al. [2022].The MBB beam model is included in the code by replacing prepFEA() with prepFEA_mbb(), and is for this demonstration executed with the following call to deHomTop808; deHomTop808(90,30,0.3,2,0.1,1.0,0.2,0,1);A summary of the structural performance is presented in Table 6, where the dehomogenised design (Figure 19) is well within 10% of the multi-scale performance.The dehomogenised structure is seen in Figure 19.The nature of the model requires many bifurcation branch points to maintain unit cell size control, which is one of the key strengths of phasor-based dehomogenisation. Double-clamped beam model The 4:1-aspect ratio double-clamped beam was also featured in the original paper on phasor-based dehomogenisation [Woldseth et al., 2024], as a good benchmark case for orientation singularities, also exemplified in Stutz et al. [2020].Due to the localised nature of the phasor-based approach, it offers a more stable solution in such cases, compared to alternative approaches.The double-clamped beam model is included in the code by replacing prepFEA() with prepFEA_db(), and for exemplification executed in deHomTop808 with the function call deHomTop808(160,40,0.3,sqrt(2),0.1,1.0,0.2,0,1);The structural performance obtained is presented in Table 7 and the single-scale structure is illustrated in Figure 20.Even though the deHomTop808 code is a simplification of the proposed method of Woldseth et al. [2024], the code is robust in handling orientation singularities and achieves solutions approaching the same quality level. Extensions One of the goals of deHomTop808 is to provide the user with a baseline code for further adaptions to application needs.This section will cover some examples of how to integrate different code extensions, showing how deHomTop808 allows for additional problem requirements or dehomogenisation complexity. Passive design variables Extending the passive design beyond a solid domain, to allow for continuous design values, presents many use cases for a multi-scale design.One such use case is to predefine infill density or orientation, where the passive domain Ω P is extended for any passive design variable, w 1 , w 2 , a, or s.This control is achieved by replacing the array pasE with a struct containing member arrays w1, w2, a, and s, each of size R Np×2 , where N p are the individual number of passive variables.The first column of the arrays indicates the element index, while the second column indicates the passive value.The indicator variable is implicitly determined based on the values of w1 and w2.Note that this can cause conflicts due to the requirement that the two layers share material indicator field.This means that if the user specifies that w 1 is passive solid and w 2 is passive void in the same element, the optimisation problem is ill-defined for the deHomTop808 -implementation.The final line removes the passive values, as they are unnecessary beyond this point.For the dehomogenisation, only solid passive elements are updated, insert the following between lines 45 and 46, pasRhoPhys = union(pasRhoPhys.w1(pasRhoPhys.w1(:,2)== 1,1),... pasRhoPhys.w2(pasRhoPhys.w2(:,2)== 1,1)); Passive design variables For the filling step, only active design variables should be updated, replace line 78 with, Finally, the struct with information on passive variables must be introduced for the FE-model.If a variable has no passive domain, then the member array must be initialised with zeros(0,2).For the example shown in Figure 21 with a semi-passive circle, replace line 218 with, Executing the code with deHomTop808(60,30,0.3,2,0.1,1.0,0.1,0,1); will result in the dehomogenised result seen in Figure 22 and Table 8.Due to the rapid orientation changes within the passive circle compared to the dehomogenised lengthscale, excess material is introduced in the branch closure procedure.This causes a larger volume fraction deviation between the homogenised and dehomogenised solutions, but the improvement in compliance ensures that the volumeweighted compliance error is within 10%. Multiple loading cases for dehomgoenisation Homogenisation-based topology optimisation can also be applied to optimise multi-load problems, as described in Jensen et al. [2022].deHomTop808 is not designed to consider multiple loads for optimisation and analysis, but the phasor-based dehomogenisation procedure is directly applicable to Rank-N multi-scale structures.Given a multi-scale solution obtained through appropriate optimisation, deHomTop808 can be utilised to obtain a dehomogenised design at any desired finite minimum length-scale dmin, requiring only modifications of the passiveElms definition (line 207) within the prepFEA() sub-function to fit the desired problem formulation.To exemplify this independency of the phasor-based dehomogenisation procedure on the number of lamination layers in the provided solution, the multi-scale solution to one of the 2-load bridge examples from Jensen et al. [2022], twoLoadBridge_80_48_Rank3_data.mat, is included with the code extensions.To account for the change in passive regions, compared to the default single-load bridge model, the function getPas_2loadbridge() is included as an extension, and is incorporated as a replacement of the fine-scale passive elements definition pasRhoPhys (line 39). Multiple loading cases for dehomgoenisation 39 pasRhoPhys = getPas_2loadbridge(nelX,nelY,deHomGrid.fscale); Multiple loading cases for dehomgoenisation The setup and function call to execute the dehomogenisation procedure, given the correct pasRhoPhys definition, is summarised as follows load( twoLoadBridge_80_48_Rank3_data.mat ) % load dataset [rmin, deHomFrq, eval] = deal(2, 0, false); % suggested default [nelX,nelY] = deal(nDim(1),nDim(2)); % domain dimensions of multi-scale solution TO.w = w; % (nelY*nelX)x(#layers) array of layerwise thicknesses TO.N = zeros(size(N,1),2,size(N,2)/2); % (nelY*nelX)x(2)x(#layers) array of orientation vectors TO.N(:,1,:)=N(:,1:2:end); TO.N(:,2,:)=N(:,2:2:end); % insert xand y-components [TO.f, volFrac] = deal(0.3);% volume fraction of multiscale solution TO.J = c; % multi-scale compliance if needed for comparison [wMin, wMax] = deal(eta(1),eta(2)); % minimal and maximal relative thicknesses dmin = 0.1; % desired physical minimum length scale rhoPhys = deHomTop808 (nelX,nelY,volFrac,rmin,wMin,wMax,dmin, deHomFrq,eval,TO); Multiple loading cases for dehomgoenisation Note that the rmin and deHomFrq inputs must be appropriately defined for the program to not fail during the initialisation process, and that eval=false is necessary unless deHomTop808 ,prepFEA() and doFEA() have been modified to the considered multi-load example. Multiple loading cases for dehomgoenisation An alternative approach of isolating the dehomogenisation procedure from deHomTop808 is available, where a Rank-N multiscale structure can be dehomogenised by the following function-call sequence deHomGrid = prepPhasor(nelX,nelY,dmin,wMin); align = prepPhasorKernels(deHomGrid); alignItr = 20; rhoPhys = phasorDehomogenise(deHomGrid,wMin,TO.w,TO.N,alignItr,align); pasRhoPhys = getPas_2loadbridge(size(rhoPhys,2),size(rhoPhys,1),1); rhoPhys(pasRhoPhys) = 1; Multiple loading cases for dehomgoenisation In this latter case, the passive regions are imposed to rhoPhys after the function call to phasorDehomogenise().The resulting dehomogenised design for dmin=0.1 is illustrated in Figure 23.Table 9 and its solution quality, obtained outside of deHomTop808, compared to the phasorbased result obtained from Woldseth et al. [2024] in Table 9. Multiple loading cases for dehomgoenisation Table 9: Rank-N dehomogenisation utilising deHomTop808 exemplified by the 2-load bridge example from Jensen et al. [2022] analysed by the FEA-setup from and compared to the dehomogenised solution from Woldseth et al. [2024].The solution quality obtained utilising deHomTop808 is reduced compared to the original phasor-based dehomogenisation procedure from Woldseth et al. [2024], but the process is executed more efficiently when run on the same machinery.This loss in solution quality is a part of the trade-off between an on-the-fly compact version for educational purposes and the more heuristically detailed and adapted version presented in Woldseth et al. [2024].For most problem cases, these changes instigate a moderate loss in structural performance at the benefit of simplicity and significant computational speed-up, but for extended applications it might be useful to consider some version of the extensions included in the original procedure. Discussion and concluding remarks This paper presents a Matlab code for multi-scale topology optimisation that maximises the stiffness of single-load case problems and allows for subsequent on-the-fly phasor-based dehomogenisation, including analysis options for verifying the obtained design.The code presents a highly efficient framework, capable of producing dehomogenised designs that, for realistic length-scales, performs within 10% of the stiffness-optimised design, as proven by the length-scale convergence results.These solution qualities are on par with those obtained by established state-of-the-art dehomogenisation method, and are orders of magnitude faster to obtain. Discussion and concluding remarks Different model examples are provided with the code, which shows the ease of extending the code to other applications.This is further emphasised with the extension of partially passive domains, allowing for complex and advanced examples.The dehomogenisation code also allows for the realisation of any lamellar-based multi-scale structure. Discussion and concluding remarks The on-the-fly dehomogenisation feature of the code demonstrates real-time convergence of the mapped design.From the results, it is clear that the structural integrity of the dehomogenised structure is heavily influenced by the convergence of the multi-scale indicator field.Nevertheless, this suggests a potential future extension for interactive ap-plications [Aage et al., 2013], opening up new possibilities for real-time design adjustments and optimisations. Discussion and concluding remarks The process of multi-scale topology optimisation and dehomogenisation is quite complex and heuristic in nature.However, by presenting this procedure as an educational Matlab code, the goal is to encourage researchers and engineers to consider multi-scale topology optimisation as an alternative to conventional large-scale approaches. Figure 1 : Figure 1: An overview of the example model and the multi-scale topology optimisation and dehomogenisation principles.The model of the baseline problem being optimised, as well as the element and node counting conventions are illustrated in (a).The relation between the FE-grid, FE-element and dehomogenisation grids is illustrated in (b).(c) illustrates the nature of the multi-scale structure being optimised, with element-wise Rank-2 material, and (d) how the multi-scale structure relates to the realised single-scale structure obtained by phasor-based dehomogenisation. Figure 1 : Itr: -Obj: -J: -S: -Vol: -(ph: -) ch: -Time: -(ph: -) indicating the iteration count Itr, current objective Obj, corresponding compliance value J, weighted indicator field volume fraction S, the design volume fraction Vol, maximal iterative change ch and computational time Time.(ph: -) indicates the corresponding phasor-based dehomogenisation result, and is only assigned positive values in iterations where dehomogenisation is executed, which is controlled by the deHomFreq value.During the optimisation iteration, the multi-scale and dehomogenised structures are plotted.From the post-dehomogenisation phase, the volume fraction, structural compliance and weighted compliance errors are evaluated with respect to the multi-scale result, and printed to the user. Figure 2 : Figure 2: Final multi-scale structure from running the deHomTop808 code the first time, with lines indicating the Rank-2 orientations and layer widths.The greyscale indicates relative density. Figure 2 : Multi-scale structure, intermediate design: J: 10.244 Vol: 0.300 Total time: 31.680Dehomogenisation to single-scale structure, with minimum length-scale: 0.200... Vol: 0.322 err: 7.34% Time: 0.840 (total: 32.555) Analysing dehomogenisation result... J: 10.449 err: 2.00% wt err: 9.49% Time: 9.857 (total: 42.413) Evalulated on 1200x600 grid (x20 scaled), results subjected to h-conv.effects Figure 3 : Figure 3: Final single-scale structure obtained by post dehomogenisation with dmin=0.2 of the multi-scale structure in Figure 2 (top).Plot of the local energy of the post-dehomogenised structure (bottom). Figure 4 : Figure 4: Result from the second featured call to the deHomTop808 code, with the optimised multi-scale structure from the first run as input.Dehomogenisation and analysis are performed for a halved minimal feature size, dmin=0.1,compared to Figure 2. The dehomogenised structure (top) as well as the local energy distribution (bottom) of this single-scale structure is plotted. Figure 5 : Figure 5: Illustrating the relation between the definition of a single phasor kernel and its correspoding spatial signal.(a)presents the anisotropic contour-lines of the Gaussian weights about the kernel centre x with normal n and degree of anisotrpy r = (1/2, 2) .The weighted complex signal emitted from this kernel, for some fixed frequency ω, is separated into its real and imaginary parts in (b) and (c) respectively.(d) presents the real-valued argument of this complex signal, where the weight-induced magnitude variations in the complex field are normalised to form a perfectly contrasting oriented periodic wave.The kernel phase shift ϕ controls the value at the kernel centre, and the wavelength L/ω is controlled by the input frequency ω and the span L of the domain sampled. Figure 5 : Figure 6: A sparse set of phasor kernels (a) are sampled to a phasor field with (G(x)) and φ(x) shown in (b) illustrating the variance in the spatial magnitude of the blended signals (left) and the corresponding isolated phase (right).Misaligned kernel phase shifts result in unnecessary local curvature in (b), which is corrected for by phase alignment to obtain the combined signal illustrated in (c). Figure 5 : (a) Disconnected branches (τ (x)) (b) Solidified branches (τ (x)) (c) Pinched branches (τ (x)) Figure 7 : Figure 7: Post-processing of the wave-field obtained from phasor sampling (a) is needed to ensure connectivity by solidication (b) and adhere to the desried relative thickness (c) Figure 7 : 184 function [passiveElms,edofMat,iK,jK,U,F,freeDofs,Kp] = prepFEA(nelX,nelY,sc) ... 192 [px,py] = deal(ceil(nelX/(15*sc))*sc,ceil(nelY/(30*sc))*sc); 193 forceElmsB1 = floor(nelY*nelX*0.5)-(0:(ceil(0.5*px)-1))*nelY;194 forceElmsB2 = nelX*nelY -forceElmsB1 + nelY; 195 forceElms = union(forceElmsB1,forceElmsB2); 196 iF = edofMat(forceElms,:); 197 sF = repmat(-1*[0 1 0 1 0 0 0 0],[numel(forceElms),1]); 198 F = sparse(iF(:),ones(size(iF(:))),sF(:),numDof,1); F = F/sum(abs(F(:))); Figure 7 : 169 strain = reshape(BMatrixMid*U(edofMat ),3,1,[]); 170 stress = pagemtimes(reshape(permute(C(:,:,[1,2,3,2,4,5,3,5,6]),...171[3,1,2]),3,3,[]),strain); 172 W0 = 0.5*squeeze(sum(stress.*strain,1)); Figure 7 : 379 inp1 = reshape(phasor_i(:,r),grid.isize(1:2));380 inp2 = reshape(non_solid(:,r)>=0.5,grid.isize(1:2));381 inp3 = reshape(phasor_if(:,r),grid.ifsize(1:2));382 inp4 = reshape(w_if(:,r),grid.ifsize(1:2));383 inp5 = reshape(ifNx(:,r),grid.ifsize(1:2));384 inp6 = reshape(ifNy(:,r),grid.ifsize(1:2));385 triangular_if(:,r) = closeBranches(grid,inp1,inp2,inp3,inp4,inp5,inp6); Figure 7 : 387 rho = reshape(max(w_f,[],2) >= 0.99,grid.fsize(1:2));388 for r = 1:nLayer 389 grid.intp_if.Values(:) = (triangular_if(:,r)+1)/2; 390 triangular_if_f = grid.intp_if({grid.y_f,grid.x_f}); 391 thresholded = triangular_if_f(:) >= 1-w_f(:,r); 392 rho(:) = rho(:)+thresholded; 393 end 394 rho = removeIslands2D(min(rho.*domain+boundary,1),0.1); Figure 7 : (step*ix2+(1-step)*ix)-min(xlims)+1; 489 iyy = round(step*iy2+(1-step)*iy)-min(ylims)+1; ... 494 Pi_pinch_k = exp(-0.5*sigma_inv*(wx*xdx3.^2+ydx3.^2));495 vx_k = sum(Pi_pinch_k(idofMat(:,[1:3,7:9])).*kx(:),2); 496 vy_k= sum( Figure 7 : 544 function [indicator_f,shellwave,align] = ... 545 addBoundary(grid,w, align,wmin,indicator,Nx,Ny) Figure 7 : 586 ddot = Nx.*bvec(:,1)+Ny.*bvec(:,2);adot = abs(ddot); nd = max(adot,[],2); ... 588 align.idbnd= align.idbnd& abs(nd-adot)==0 & adot>0.95*max(nd);589 for r = 1:size(w,2) 590 align.bdist(:,r)= min([(grid.X_c(:)-grid.X_c(align.idbnd(:,r))).^2+... 591 (grid.Y_c(:)-grid.Y_c(align.idbnd(:,r))).^2, 0*idbnd(:)+1],[],2); 592 end 604 Inter_i.Values(:) = bphasor(:); 605 bphasor_f = Inter_i({grid.y_f,grid.x_f});606 shellwave = 2/pi*asin(sin(atan2(imag(bphasor_f),real(bphasor_f)))); 607 wmaxs = max(w,[],2); shellth = 2*omg_rat*min(max(wmaxs(:),wmin),0.99);608 shellwave(:) = indicator_f(:).*max(shellwave(:),outline(:))>= 1-shellth; Figure 9 :Figure 10 : Figure 9: Convergence of volume fraction error ( f ) for different grid discretisations wrt.length-scale. Figure 11 : Figure 11: Bridge model with nelX = 180 and dmin = 0.2 Figure 12 : Figure 12: Multi-scale structure of the Michell cantilever obtained with deHomTop808. Figure 13 : Figure 13: Dehomogenisation structure of the Michell cantilever obtained with deHomTop808. Figure 14 : Figure 14: Evaluation of volume fraction error (f), volumeweighted compliance error (s) and measure of non-discreteness of the material indicator field (mnd) during optimisation.The shaded area indicates the β-continuation updates and the dotted line the threshold for a 10% error ( = 0.1). Figure 15 : Figure 15: Illustrating the 29th (a) and 200th (b) optimisation iteration in terms of the multi-scale designs and corresponding single-scale projections. Figure 15 : (a > 0)) = a(not(a > 0)) + pi; Figure 16 : Figure 16: Vector field of layer normals, yellow lines indicate orientation seamlines, blue lines indicate π/2-shifts in orientation.The inverted colours indicate negative angles.In the dehomogenisation routine, the filterVectorField() function further corrects local invariance artefacts as discussed in Section 4.4.The heuristic correction maximises the dot-product between neighbouring phasor kernels by selecting from a set of four candidate orientation cases, consisting of unmodified, π-flip, π/2-flip, or −π/2-flip. Figure 17 : Figure 17: Vector field of layer normals, yellow lines indicate orientation seamlines, blue lines indicate π/2-shifts in orientation.The inverted colours indicate negative angles. Figure 18 : Figure 18: Highlight of the analysed dehomogenised structure without angle invariance corrections of the optimisation starting guess. Figure 19 : Figure 19: Dehomogenised structure of the MBB beam model obtained by deHomTop808. Table 6 : Optimisation (TO) and dehomogenisation (Dehom) results for the MBB beam model obtained by deHomTop808. Figure 20 : Figure 20: Dehomogenised structure of the double-clamped beam model obtained by deHomTop808. Figure 21 : Figure 21: Bridge model with a partial passive domain in the centre, where w1, s and a are assigned pre-determined values. Figure 22 : Figure 22: Dehomogenised optimised bridge with a partial passive center domain according to the example case in Figure 21.The code has to be modified in six places in order to have multiple passive variables in an element.The modifications are here described in chronological order.First to set active elements and design variables, replace line 11 and 12 with, actE.w1= setdiff(1:ne, pasE.w1(:,1)) ; actE.w2= setdiff(1:ne, pasE.w2(:,1)) ; actE.s= setdiff(1:ne,[pasE.s(:,1);pasE.w1(:,1);pasE.w2(:,1)]) ; dv =union(setdiff(1:ne, pasE.a(:,1))+2*ne,[actE.w1;actE.w2+ne;actE.s+3*ne]);This replaces the actE array with a struct that holds information on active design elements for the later filtering operation.To assign the passive values, replace line 34 with, s([pasE.w1(:,1);pasE.w2(:,1);pasE.s(:,1)])= ... [[pasE.w1(:,2);pasE.w2(:,2)]>0;pasE.s(:,2)];[w(pasE.w1(:,1),1),w(pasE.w2(:,1),2)]= deal(pasE.w1(:,2),pasE.w2(:,2));a(pasE.a(:,1))= pasE.a(:,2);pasE.w1(:,2)= []; pasE.w2(:,2)= []; pasE.a(:,2)= []; pasE.s(:,2)= []; Figure 22 : pasBC = reshape([forceElms, pasBC1, pasBC2] -(0:(py-1)) ,[],1); sdfCircle =sqrt(((1:nelX)-nelX/2-1/2).^2+((1:nelY)-nelY/2-1/2) .^2)-nelY/4;pasCircle = find(sdfCircle<=0); passiveElms.w1=[[pasBC, 1.0*(pasBC>0)]; [pasCircle, 0.25*(pasCircle>0)]]; passiveElms.w2=[pasBC, 1.0*(pasBC>0)]; passiveElms.a= [pasCircle, pi/2+atand(sdfCircle(pasCircle)./(4*nelX))];passiveElms.s= zeros(0,2); Figure 23 : Figure 23: The multi-scale 2-load bridge example from Jensen et al. [2022], optimised using starting guess SGA, dehomogenised by deHomTop808. Table 1 : Input and output arguments of deHomTop808.The TO struct allows for direct dehomogenisation of the optimised structure at a different minimum feature size, e.g.dmin = dmin/2, by changing the function call to Table 1 : ArgumentType Domain Description nelX and nelY int N Define the physical dimensions and discretisation of the rectangular computational domain.k×lMulti-scalethickness field, ordered column-wise k-sized fields for l layers.The default number of layers is l = 2.TO.N double R k×2×lMulti-scale layer normal fields, ordered component-column-wise k-sized fields for l layers. Table 2 : Optimisation (TO) and dehomogenisation (Dehom) result from running the highlighted example cases of deHomTop808, in terms of compliance (J), volume fraction (f ), the relative volume fraction error wrt. the optimisation result ( f ) and the volume fraction weighted compliance relative error wrt. the optimisation result ( S ). Table 2 : on T c (line 367) and the phasor signal sampling (Eq.19) to T i (line 369), respectively.non_solid is computed as the layer-wise intermediate density fields on intermediate grid T i (line 368).The branch connection procedure is applied layer-wise by closeBranches() (line 385) given the set of inputs (line 379-384).inp1 is the sampled complex phasor field on T i and inp3 its counterpart on T if , obtained by cubic interpolation (line 372-376).The branch point localisation is performed on T i and inp2 gives the region of interest for this search, based on the indicator for intermediate layer densities.inp4, inp5 and inp6 provide the interpolated thicknesses and orientation unit vectors on T if , to be utilised for closing the branches. Table 3 : Optimisation benchmark results of the Michell cantilever.For deHomTop808 the time includes plotting. Table 4 : Dehomogenisation benchmark results of the Michell cantilever.For deHomTop808 the time includes plotting. Table 5 : Result from optimisation (TO) and dehomogenisation (Dehom) without angle invariance shift. Table 7 : Optimisation (TO) and dehomogenisation (Dehom) results for the double-clamped beam model obtained by deHomTop808. Table 8 : Optimisation (TO) and dehomogenisation (Dehom) results of bridge with a partial passive center domain.

섹션 본문 194문단 · 77,602자

(제목 없음)

1This work presents an 808-line Matlab educational code for combined multi-scale topology optimisation and phasor-based dehomogenisation titled deHomTop808.The multi-scale formulation utilises homogenisation of optimal microstructures to facilitate efficient coarse-scale optimisation.Dehomogenisation allows for a high-resolution single-scale reconstruction of the optimised multi-scale structure, achieving minor losses in structural performance, at a fraction of the computational cost, compared to its large-scale topology optimisation counterpart.The presented code utilises stiffness optimal Rank-2 microstructures to minimise the compliance of a single-load case problem, subject to a volume fraction constraint.By exploiting the inherent efficiency benefits of the phasor-based dehomogenisation procedure, on-the-fly dehomogenisation to a single-scale structure is obtained.The presented code includes procedures for structural verification of the final dehomogenised structure by comparison to the multi-scale solution.The code is introduced in terms of the underlying theory and its major components, including examples and potential extensions, and can be downloaded from Github.

Introduction

2Topology optimisation is an established and systematic tool in engineering design and research.The premise is to obtain optimised structural layouts within a given physical design domain, according to specific objectives and constraints.This methodology is particularly valuable in industry applications due to its limited requirement for prior knowledge of the design.Topology optimisation has been applied to numerous fields of study, varying from elastic problems to photonics.Educational dissemination of topology optimisation methods has been achieved through publications of complete interactive apps or software, originating with the top99 code by Sigmund [2001].Most of these publications focus on smaller-scale problems, whereas Aage et al. [2015] provides a large-scale topology optimisation framework using PETSc.An extensive review of educational and publicly available codes is presented in Wang et al. [2021].

3Giga-scale topology optimisation was shown by Aage et al. [2017] and Baandrup et al. [2020] to reveal important aspects of structural design, as novel high-performing structures with bridging length scales were found.These frameworks require a considerable amount of computational resources to achieve these results, due to the discretisation needed to realise the minimum length scale.An alternative approach is to relax the length scale discretisation using a periodic homogenised design representation.Homogenisation-based topology optimisation constitutes the foundation of the research field, first introduced in the seminal paper by Bendsøe and Kikuchi [1988].Due to the multi-scale nature of the optimised structures, obtaining a corresponding realisation on a single length-scale is not trivial, and has likely been a contributing factor as to why this original method stayed passive until recent years.

4The single-scale reconstruction of homogenised results involves approximating the conformality and constant periodicity of the multi-scale structure on a finite length scale, as first established in Pantz and Trabelsi [2008] with the introduction of the projection-based dehomogenisation approach, which was later improved by Groen and Sigmund [2018].Numerous other frameworks have been proposed, based on a variety of different concepts.Wu et al. [2021] presented an approach using meshing techniques and Stutz et al. [2022] developed a streamline tracing based procedure.A pattern-generating neural network was employed in Elingaard et al. [2022], whereas Garnier et al. [2022] utilised reaction-diffusion-driven pattern formation.Along similar lines, Woldseth et al. [2024] recently proposed a phasor-based dehomogenisation heuristic, based on noise functions from computer graphics.Senhora et al. [2022] utilised spinodal metamaterials, with inherent similarities in parameterisation, to the phasor noise approach.The dehomogenisation capabilities have also been extended to incorporate multiple loads [Jensen et al., 2022] and manage 3D domains [Geoffroy-Donders et al., 2020;Groen et al., 2020;Jensen et al., 2023].

5By considering a homogenised solution in a layer-wise manner, the oriented periodic multi-scale microtructures are projected to finite periodic laminates with smoothly varying orientations.To ensure structural integrity on a finite length-scale, the dehomogenised design must be separated from the underlying homogenisation assumptions, reflected by the orientation conformality objective of the projection.There is an inherent conflict between the microscale assumption of perfect bonding and the macroscale discontinuities arising from evaluating the microstructure parameters at the centre of each macroscale element [Kumar et al., 2020].Bonding on the macroscale is ensured by the smoothness of the conformal-like mapping, but requires distortion of the microstructure geometry [Allaire et al., 2019].The dehomogenised design should converge towards the correct microstructure shape for increasingly fine length-scales.To this end, the proportions of the microstructure should be preserved in the realisation, which facilitates requirements of spatially coherent layer-spacing.The concepts of best approximating conformality and obtain uniform layer-spacing causes conflict for any non-trivial orientation field, and the heuristic nature of different dehomogenisation approaches emerges from measures aiming to obtain a balanced tradeoff between these incompatible requirements.

6Nevertheless, dehomogenisation approaches have been proven to produce large-scale topology optimisation results from coarse parameterisations of multi-scale structures.The obtained structural performance is consistently within 10% of the conventional large-scale approaches, while the computational cost is reduced by several orders of magnitudes, even allowing for solving on conventional workstation PCs [Groen and Sigmund, 2018;Jensen et al., 2022Jensen et al., , 2023;;Woldseth et al., 2024].

7The phasor noise-based dehomogenisation procedure [Woldseth et al., 2024] has proven to provide a highly efficient and well-performing alternative to the more conventional approaches.By exploiting the compact representation and real-time rendering properties of procedural noise functions [Tricard et al., 2020a], many of the computational restrictions of existing methods are overcome, achieving advantageous scalability properties facilitating potential for on-the-fly dehomogenisation.The dehomogenisation implementation is, however, nontrivial and involves a number of computer graphics aspects and heuristic adaptions.Motivated by these observations, an integrated and accessible dehomogenisation and homogenisation-based topology optimisation framework is presented.

8The deHomTop808 code presents an integrated workflow combining minimum compliance multi-scale topology optimisation utilising a stiffness-optimal material parameterisation with dehomogenisation to a fine-scale physica structural design.The code constitutes a comprehensive design tool, aimed at giving everyday structural engineers an efficient and adaptable large-scale topology optimisation framework, that can run on simple computer hardware.The deHomTop808 code is capable of, 1. Maximising stiffness of a single-load case scenario subjected to a constraint on the maximum allowed material use.

92. Performing on-the-fly dehomogenisation of the stiffnessoptimised structure to a given minimum length scale.

103. Verify the dehomogenised fine-scale structure for stiffness and volume fraction performance.

11A multi-scale composite material, the orthogonal Rank-2 laminate, is used as the design material due to its stiffness optimal properties for single-load problem cases.The Rank-2 material is, however, parameterised on two different length scales, which makes the realisation of the microstructure challenging.Instead, a single-scale translation of this parameterisation is introduced, with a corresponding mapping to its multi-scale counterpart, to obtain the Rank-2 material properties.This single-scale parameterisation is subsequently utilised to dehomogenise the Rank-2 structure by the phasor-based approach.With the single-scale parameterisation, minimum length-scale control is introduced, increasing the relevancy for manufacturing-oriented design applications.For improved readability and compactness, the deHomTop808 code consists of a new formulation and implementation of the homogenisation-based optimisation procedure, as well as a simplified version of the original phasor-based dehomogenisation procedure [Woldseth et al., 2024].A visual overview of the code capabilities is seen in Figure 1.The code presented builds on the concept of the top88 code [Andreassen et al., 2011] and the top250 code [Ferrari et al., 2021] utilising the modified OC routine.The code was developed and tested using MATLAB, version R2023b, including MATLAB Image Processing Toolbox1 and is tested on Linux kernel 6.6 Pop!_OS 22.04 LTS, Mac OS Sonoma 14.4 and Windows 11 operative systems.

12To provide fundamentals for how deHomTop808 is operated, this paper starts with an introduction of the executable and its various inputs in Section 2. For understanding the mathematical models and methodologies utilised in this code, fundamental theory is presented for the multiscale topology optimisation problem in Section 3.1 and the phasor-based dehomogenisation in Section 3.2.Section 4 provides a more detailed description of the deHomTop808 code, in terms of how the code is organised, the different parameters, and how it relates to the theory in Section 3.1-3.2.Examples and performance considerations are presented in Section 5. Potential extensions to the code are presented in Section 6, and final remarks are given in Section 7. The deHomTop808 Matlab code including additional models can be downloaded from Github.

Getting Started with deHomTop808

13The Matlab code is executed with the following function call, The first nine arguments are required to run the code, while the tenth argument, TO, represents a previously obtained multi-scale result, facilitating direct dehomogenisation of the multi-scale structure encoded in TO.The input and output arguments are detailed in Table 1.

14The code executes in three phases; the first phase is the initialisation of the multi-scale optimisation problem and the phasor-based dehomogenisation problem; the second phase performs the multi-scale topology optimisation, from which the optimised solution is obtained.Depending on deHomFrq, on-the-fly dehomogenisation can also be performed in this phase.The final phase is constituted by the post dehomogenisation of the optimised result, and if eval is enabled, the dehomogenised structure is evaluated for structural compliance.If TO is provided as input, the second phase is skipped.

15In each optimisation iteration the following line is printed The default problem is a single-load bridge problem with two distributed simple supports (Figure 1a).The bridge is subjected to surface traction, where supports and reactions are applied to solid passive areas of the computational domain.Running the code with [rhoPhys0,TO] = deHomTop808 (60,30,0.3,2,0.1,1,0.2,10,true)will run all three phases of the code sequentially.The resulting multi-scale structure from the second phase is presented in Figure 2.After the dehomogenisation in the third phase, the obtained single-scale structure (Figure 3) is compared to the multi-scale target in terms of the volume fraction error, f = (f s − f o )/f o , with f o and f s denoting the optimised (Eq.15) and dehomogenised (Eq.43) volume fractions, respectively.If eval = true, the combined volume-weighted compliance error wt err is also evaluated, corresponding to S = (S s − S o )/S o with the volume-weighted compliance S p = J p f p , p ∈ {o, s} and J denoting the compliance (Eq.14).The dehomogenised and multi-scale structures are evaluated on different mesh sizes, meaning that, due to h-convergence effects, a negative bias towards the multi-scale compliance is to be expected.

16A summary of these results is printed in the following format resulting in Figure 4.This second step can be repeated for different length scales as desired.The results from the two example code executions are presented in Table 2, where the results have been obtained on an HP 840 Elitebook running Pop!_OS 22.04 LTS with 32 GiB of memory and an 11th-gen i7-1185G7 processor.

Setup and formulations

17A structural rectangular domain, Ω, with dimensions L ∈ L x × L y is considered.Ω is partitioned into a design domain, Ω A ⊆ Ω, and a solid passive domain, Ω P ⊆ Ω.The domain is subjected to surface traction f at Neumann boundaries, Γ N ∈ Ω P , and fixed displacements are applied to Dirichlet boundaries, Γ D ∈ Ω. Ω is discretised on four different grids, T c , T i , T if , and T f , with the element sizes, h c , h i , h if , and h f , respectively, such that 1b).The multi-scale optimisation problem is solved on T c while the final single-scale structure is projected to T f .T i and T if are intermediate grids, utilised in the dehomogenisation procedure, to limit the computational cost of smoothing and interpolating the structure.

18Preprint -An 808 Line Phasor-Based Dehomogenisation Matlab Code For Multi-Scale Topology Optimisation 6

Homogenisation-based topology optimisation

19A multi-scale optimisation problem, formulated on both a macro and a micro scale, is considered.On the macro scale Ω is discretised using N e equal-sized quadrilateral elements e ∈ T c .Let Ω e ⊆ Ω denote the domain spanned by the element e ∈ T c .On the microscale Ω e consists of a constant periodic laminate, the so-called Rank-2 microstructure.The Rank-2 microstructure consists of two periodic orthogonally oriented lamellar materials, parameterised on two different length scales, y i = x/ i , i → 0, for i ∈ {1, 2} (Figure 1c).On the smallest length scale, y 1 , the lamellar material has a stiff phase, (+), and a compliant phase, (−), with Youngs moduli E (+) and E (−) , respectively, and identical Poisson's ratio, ν = 1/3.On the second length scale, y 2 , the lamellar material is similarly structured, but the compliant phase is described by the effective stiffness of the y 1 lamellar.The stiff phases are parameterised by their relative widths µ i ∈ [0, 1], for i ∈ {1, 2}.

20Assuming that the compliant phase is void, E (−) = 0, will make the constitutive model singular, and thus nonpositive definite.To mitigate this, an isotropic background material, with the stiffness E min = 10 −9 , is introduced to approximate void and simplify the expression.The stiffness of the solid phase is set to unit stiffness, E (+) = 1.Following the description of a Rank-N microstructure from Jensen et al. [2022] with Cartesian aligned laminates, the constitutive matrix is defined in Eq. 1.

21The Rank-2 material is rotated with respect to x, using the standard planar rotation (Eq.2), where the basistransformation matrix is given in Eq. 3 with c = cos(a) and s = sin(a), and a ∈ [−4π, 4π] being the orientation angle.

22The relative widths, µ i , are defined on two different scales, making a single-scale interpretation challenging.Instead, the interpretation of relative widths from single-scale, wi , to multi-scale is significantly more straightforward to obtain [Jensen, 2024].To this end, µ i is obtained from wi by Eq. 4-Eq.6, where p i is the stiffness contribution from each layer and ρ N the relative density of a lamellar with N layers.

23wi is a physical relative width, which depends on two design variables; the relative width w i ∈ [w min , w max ], where 0 ≤ w min ≤ w max ≤ 1, and an indicator value

24The indicator determines if the material is active, s = 1, or void, s = 0 [Giele et al., 2021].w and s are filtered to obtain w and s (Eq.7), where k is a kernel based on the neighbourhood Ω k e ∈ Ω defined from the filter radii r min and α rsc r min , for w and s, respectively.α rsc ≥ 1 is a scaling parameter for the indicator filter radius.

25s is projected using the three-field robust approach [Wang et al., 2011] to sm , for m ∈ {e, i, d}, representing the eroded, intermediate and dilated fields, respectively (Eq. 8).η m ∈ [0, 1] are projection thresholds and β ∈ (0, ∞] is the projection sharpness.To ensure minimum length-scale on the physical relative widths, the indicator and widths are convoluted (Eq.9)

26.

27Let w i ∈ R Ne , s ∈ R Ne and a ∈ R Ne be vectors representing the design on Ω, with restrictions w i = 1 and s = 1 in Ω P , for solid passive material.Further, let κ denote the combined set of design variables, such that κ = {w 1 , w 2 , s, a}.The optimisation problem of the multiscale minimum compliance problem is stated in (Eq.10)-(Eq.13).

28The optimisation objective (Eq.10) is to minimise a weighted sum of the structural compliance (Eq.14), and a non-uniqueness penalty term [Giele et al., 2021;Jensen et al., 2022], with weight factors γ 0 and γ S respectively.γ 0 is the volume-weighted solid compliance of Ω, and γ S = 1/20 scales the penalty term.

29The objective is subjected to an upper bound constraint (Eq.12) on the overall volume (Eq.15), with V Ω denoting the volume of Ω.

30The displacements, u, are obtained from the linear elastic problem (Eq.11) considering the eroded multi-scale interpretation of w i (Eq.4).

31The design variables are subjected to box constraints based on their defined ranges (Eq.13).The optimisation problem is solved in a nested form, where in each iteration of the procedure, the design is updated using the OC-resembling update rule from Ferrari et al. [2021].Sensitivities with respect to the objective and volume fraction constraint are computed using the discrete adjoint method.

Phasor-based dehomogenisation

32To provide a rudimentary understanding of the subprocedures of the phasor-based dehomogenisation procedure, the fundamental mathematical definitions and heuristic details are introduced.For the purpose of dehomogenising Rank-2 material structures, the procedure assumes a set of frame fields F = {{n 1 (a)}, {n 2 (a)}} and a corresponding set of relative thicknesses W = {{ wi 1 }, { wi 2 }}, describing the homogenised solution to be realised, are given.

33Let K i denote a finite set of phasor kernels such that, for lamination layer i ∈ {1, 2}, E i = {e∈T c : wie ∈[w min , 1)} denotes the set of intermediate density kernels and ζ : E → K i is an injective mapping between each intermediate density element, and a phasor kernel ζ(e) ∈ K i .The phasor kernel ζ(e) ∈ K i inherits a spatial location xe ∈ T c , at the centre of element e, and a unit vector n ie = (n x ie , n y ie ) corresponding to the lamination orientation normal of element e.The corresponding signal emitted from kernel ζ(e), sampled at spatial location x ∈ T i , is denoted G e (x) (Eq. 16).

34This signal is the product of two exponential functions, where the first controls the spatial magnitude in terms of a Gaussian and the second defines the periodic oriented complex oscillator originating from the kernel centre.The span and shape of the Gaussian are determined by the signal bandwidth β ∈ R >0 and the distance transformation ∆ r e : R 2 → R ≥0 .The oscillator originating at the kernel centre is a complex wave field of a specified frequency, with magnitude ω ∈ R, orientation n ie and phase shift ϕ e ∈ [−π, π].The phase shift controls the position of the wave in relation to the kernel centre, such that G e (x e ) = exp(iϕ e ).

35In accordance with Woldseth et al. [2024], an anisotropic distance measure is considered (Eq.17).This defintion of the distance measure changes the shape of the Gaussian kernel from an isotropic circle, for r=(1, 1) , to an anisotropic ellipse with major axis oriented perpendicular to the kernel normal n ie , for

36Figure 5 illustrates the relation between the phasor kernel defining parameters and the resulting kernel signal.When sampling the combined signal from a set of multiple phasor kernels, additional mesures are needed to control the blended transitions in the low-magnitude regions of the complex phasor field, to ensure smooth transitions in the real-valued oriented wave field.

37Given the interpolated unit orientation vector n(x) of a sampling point x ∈ T i , a sampling filter is introduced, in the form of a kernel A e (x) with bandwidth α ∈ R >0 , to regularise the signal emitted from ζ(e) (Eq. 18).

38The term Λ e (x) = ω(n ie − n(x)) is a similarity weight between the orientation of the kernel ζ(e) being sampled and the interpolated orientation at the sampling point x, such that for Λ e (x) → 0 these orientations are identical and the magnitude of the kernel impact is maximised.The filter kernel is integrated directly in the sampling of the phasor field, which is obtained for sampling point x ∈ T i by computing the complex sum of all kernel signals at this spatial location (Eq. 19).

39The relation of the kernel phase shift and the location of the emitted wave signal at the kernel centre, may cause the signal from neighbouring kernels to be out-of-phase, causing destructive inference in the sampled phasor field (Tricard et al. [2020b]).To this end, phase alignment is performed to obtain a set ϕ e , ζ(e) ∈ K i of phase shifts ensuring spatial coherency between the separate kernel wavefronts.The phase alignment procedure is a fixed-iteration heuristic, where the phase shift of each kernel ζ(e) ∈ K i is updated sequentially in each iteration, based on a weighted contribution from the nearby kernels.Similarly to Woldseth et al. [2024], an anisotropic neighbourhood definition is utilised to define the subset N e ⊆ K i of nearby kernels for kernel ζ(e) ∈ K i (Eq.20)

40.

41Based on the definitions of the neighbouring kernels in the current iterate, the phase shift ϕ e of kernel ζ(e) ∈ K i is the real-valued argument of the combined signal from its neighbours (Eq.21-Eq.22).To account for the inherent πrotational invariance of the microstructure representation in this update, the corrected phase shift φfe and orientation ñfe contributions from kernel ζ(f ) ∈ N e , relative to the kernel ζ(e) ∈ K i being updated, are determined according to Eq. 23-Eq.24.

42After alignment, G(x) can be sampled from the kernels ζ(e) ∈ K i on a discretised grid x ∈ T i to obtain the complex phasor field (Figure 6).Cubic interpolation of G(x) from T i to T if ensures sufficient detail is obtained at the finer resolution.From this, φ(x) = Arg(G(x)) is the sawtooth wave-field obtained by isolating the phase of G(x) from its magnitude.ψ(x) = sin(φ(x)) denotes the phasor sine-wave, and τ (x) = arcsin(ψ(x))/π + 0.5 the normalised triangular wave-conversion corresponding to a level-set function of the dehomogenised design.

43To best adhere to the orientations n e , e ∈ T c and an imposed constant periodicity ω, for a non-trivial orientation field, the sampled phasor field G(x), x ∈ T if must contain point-singularities, which imposes branch-like bifurcations in the wave-field translations.Therefore, thresholding the triangular wave-field τ (x) may result in a solid-void design with disconnected structural members at these bifurcation locations (Figure 7(a)), which are subjected to a postprocessing procedure to improve structural integrity.

44The convenient relation between singularities in the complex phasor field and the branching disconnections in the corresponding real-valued conversions, allows for identifying a discrete set of points B ⊂ T if by identifying where the magnitude of the phasor field vanishes to zero (Eq.25).

45Depending on the global phase of the phasor sine-wave ψ(x), relative to a bifurcation location, the degree of disconnection of the branches may vary.Branches with a minimal degree of disconnection will require less invasive efforts to ensure connectivity, compared to those with maximal degree of disconnection.(γ) ∈ [0, 1] is introduced as a measure describing the degree of disconnection of a branching point γ ∈ B, and is computed based on the average normalised phasor sine-wave value within a circular neighbourhood M (Eq.27) with diameter equal to one wave-length λ at the current periodicity ω (Eq.26).

46(

47To determine the unit vector γ indicating the closure direction for the branch about the branching point γ ∈ B, the degrees of disconnection at the locations corresponding to moving ± 1 3 -wavelenghts along the layer-normal n(γ) at the branching point γ are compared to determine the best fit (Eq.28).Keeping the control-points within ± 1 3 λ of the identified bifurcation point limits potential interference of neighbouring waves on the closure direction selection.

48From the obtained closure direction and degree of disconnection of γ ∈ B a perturbed branch centre γ and a closure control-point γ are identified (Eq.29).

49The point γ is chosen as the centre location for ensuring connection by branch solidification.This is obtained by introducing a modified Gaussian Πγ (x) about this centre, and from the union Π(x) a density weighted localised phaseshift π(x) is introduced.A normalised triangular wave τ (x) with solidified branch-shaped connections (Figure 7(b)) can then be obtained by the union of the ±π(x) phase-shifted sine waves ψ(x) (Eq.31-Eq.35).

50This branch solidification ensures connection of τ (x), but also introduces excessive material in the branching region.

51To reduce the amount of material in the branches while maintaining appropriate branch-shapes, the localised pinchprocedure is applied (Woldseth et al. [2024]).This is an iterative procedure, where for each iterate k ∈ {1, ..., k max } the material of a branch is reduced and its shape corrected by utilising the control points γ k and γk to move the branch centre from γ towards γ, with step-magnitude determined by the degree of disconnection (Eq.36).

52The pinch operator is directed by the gradients of the union Πk (x) of anisotropic Gaussians constructed for each γ ∈ B, centred at the correponding current iterate location γ k (Eq.37).

53To localise the pinch impact and improve the resulting shape, a union Πk (x) of modified Gaussians, controlled by the interpolated orientation n(x) and relative thickness w(x) at the sampling point x ∈ T if , centred at the control points γk is introduced (Eq.38).

54Based on the introduced pinch control measures for an iterate k ∈ {1, ..., k max }, the corresponding transformation of the triangular wave-field from τk−1 (x) to τk (x) at iteration k is governed by the combined pinch perturbation P k (x) and a perturbation magnitude scaling factor δ(x) (Eq.39-Eq.40).

55) After completing k max iterations, the shape and material usage of the branch connections are effectively improved.Given the connected triangular wave-field τi for lamination layer i ∈ {1, 2}, the corresponding thickness-adhering solid-void projection ρ s i is obtained by Eq. 41 (Figure 7(c)).

56The combined dehomogenised structure, represented by the density-field ρ s , is then obtained by the union of the lamination layers within the specified structural domain I ⊆ Ω (Eq.42), and the corresponding dehomogenised volume fraction is computed according to Eq. 43.

574 General structure of the code

58The general structure of the code is given in the flowchart in Figure 8.The main code spans from line 1 to line 182 and is divided into three phases; initialisation, optimisaiton and dehomogenisation.

Initialisation phase

59The initialisation phase (lines 4-56) begins by specifying the material properties (line 6) and building the FE-model (lines 8-12).Given the provided mesh size and scale, the FE-model of the bridge problem in Figure 1a is obtained from the function prepFEA().This FE-model contains information on the FE-analysis and grid T c , based on 4noded bilinear Q4 elements, where nodes and elements are counted in y-major order (Figure 1a).The local node count is anti-clockwise, starting from the southwest corner of the elements (Figure 1b).A crucial part of correct FE-analysis and successful multi-scale modelling is applying forces as surface tractions, instead of point forces, on solid elements to avoid stress raisers.In prepFEA(), this is achieved by introducing a passive block count, relative to T c (lines [184][185][186][187][188][189][190][191][192][193][194][195][196][197][198].The surface traction is defined by first identifying elements subjected to a force (forceElms) and determining the triplet force values (sF) based on the defined node counting convention [192][193][194][195][196][197].The constructed sparse force vector is scaled to unit magnitude (line 198).As promoted in Sigmund [2022], and to ensure well-behaved FE-analysis, the bridge problem's simply supported boundary conditions are implemented as multipoint constraints using the Penalty method [Felippa, 2004] to achieve mesh independent point supports.

60Based on the degrees of freedom at u 1 (fixedDofsB1) and u 2 (fixedDofsB2), a sparse penalty block matrix (Kp) is constructed with a penalty weight of 10 4 (lines 199-208).

61The imposed penalty weight is relatively low to account for the stiffness of the void (E min = 10 −9 ), as a higher weight would result in an ill-conditioned system.Another approach is to implement the multipoint constraints with Lagrange multipliers, but this results in a non-positive definite system, which would increase the complexity of solving the system.The last boundary condition is a single constrained node in the y-direction, to prevent rigid body translation (line 201).The final part of prepFEA() locates the passive design elements passiveElms, outputted as pasE in the main code.Based on the passive design, the active design variables are found (lines 8-10).The combined set of design variables is accessed as κ = {w 1 , w 2 , s, a}, where κ is denoted x in the code.

62On lines 14-21 the filtering Eq. 7 and robust projection Eq. 8 are initialised.The filter is based on a convolution filter, with approximate Gaussian kernels, hS and hW, for the indicator and width fields, respectively.The kernel size of the indicator field filter radius is based on the scalar rsc and the input width filter radius rMin.

63On lines 23-28 the starting guess for orientation design variables are found from the principle stress directions of an isotropic solid domain.The isotropic constitutive elements of an upper-triangular matrix are obtained from the function getIsotropicElasticity(), which is passed to the FE-analysis, doFEA().The constitutive elements are mirrored to a square matrix for computing the stresses.Due to angle invariants, the orientation field is corrected to [0, 2π] for any negative angles.The scaling factor for compliance (cScale) is further obtained.

64On lines 30-33 the starting guess for the indicator and width fields are defined.All elements are initially considered active, while the width is found from (Eq. 6) and bounded by (Eq.13).Elements with passive design values are further enforced.

65The dehomogenisation routine is initialised on lines 35-39.From the function prepPhasor() the grids T i , T if , and T f , as well as distance parameters are computed.

66From this, the element-wise maximum neighborhood candidate sets are found in prepPhasorKernels().Another FE-model is created using prepFEA(), on T f , to obtain passive design information for the dehomogenisation.

67On lines 41-47 the figures for plotting during optimisation are created, using a tiled layout.Finally, on lines 49-56 the initialisation phase is completed with initialising the combined design vector x, the box constraints xmin0 and xmax0 (Eq.13), and the move limits xmove.The indicator penalty scale sWeight (Eq.10) is set.If an optimisation result is provided through the TO argument, the maximum number of design iterations is changed from 300 to 0, thus skipping the optimisation loop.

68∂P/∂s and ∂f /∂(w, s)

69• Get x 0 ← (w, a, s)

70• Call x 1 = OC(x 0 , ∂Φ, g, ∂g)

71• Update x 1 → (w, a, s)

72and loop > loopMax?

73• Post-analysis intermediate design.

74• Store design and result.

Optimisation phase

75The optimisation routine is defined from line 58 to line 149, where the first part is an optimisation loop and the final 10 lines constitute the post-evaluation step.

76The optimisation loop starts by checking stopping criteria and the iteration count, whereafter the time, loop and projections parameters are updated on lines 61 to 66. Hereafter, from lines 68 to 73 the single-scale design is obtained.First the active design variables of w and s are filtered (Eq.7).Subsequently, s is projected using the three-field approach (Eq.8), and finally multiplied with w, to get the single-scale eroded physical relative widths (Eq.9).

77The multi-scale design is obtained on lines 75-76, where the relative densities (Eq.6) are obtained.From the eroded single-scale physical relative widths, the multi-scale widths, µ, are obtained by the function getMuFromW() (line 210), with Eq. 4 is combined with Eq. 5. getMuFromW() further computed the sensitivities of Eq. 4 with respect to w.

78210 function [mu,dmudw] = getMuFromW(rho,w) ... 213 wSum = w(:,1)+w(:,2); 214 mu(:,1) = w(:,1)./wSum.*rho;215 mu(:,2) = w(:,2).*rho./(wSum.*(1-mu(:,1)));

79...

end

80From the multi-scale design, the FE-analysis is commenced starting on line 78 by obtaining the Rank-2 elastic properties and their sensitivities with respect to µ and a by the function getConstitutiveRank2() (line 226).

81The constitutive matrix (Eq. 1) is obtained followed by the rotation (Eq.2).To efficiently perform this construction by vectorisation, the element matrices are stored as an R 3×3×Ne -array, where the page-wise matrix operations (pagemtimes(), pagectranspose()) are utilised.However, due to symmetry, only the lower triangles of the constitutive matrices are considered, which is extracted utilising the two functions TRI() and T2D().

82The FE-analysis is completed (line 79) by the function call to doFEA(), where the stiffness matrix is assembled from the lower triangles of the constitutive matrices (lines 267-271).This is achieved by utilising the page-wise matrix operation for the triplet stiffness values.The penalty term, Kp, is scaled and added to the system.The displacement state field, U, is solved using Cholesky factorisation.

83267 function U = doFEA(F,U,C,iK,jK,freeDofs,KE0,Kp) 268 K = sparse(iK,jK,reshape(sum(pagemtimes(KE0,C),3),[],1)); 269 K = K + Kp*max(diag(K)); 270 U(freeDofs)=decomposition(K(freeDofs,freeDofs), chol , lower ) \F(freeDofs); 271 end On lines 81-88 the compliance objective function (Eq.10) and sensitivities are computed.The sensitivities wrt. the state field are precomputed on lines 82-83 to get the element-wise contributions.The stiffness matrix sensitivities are obtained similarly to how the stiffness matrix is assembled (line 74), which can be used to obtain the element-wise matrix-vector products for the adjoint sensitivities (lines 87-88).

8474 dKdMu1 = sum(pagemtimes(KE0,dCdmu1),3);

85The indicator field volume penalty function and sensitivities (Eq.10) are computed on lines 90-91.

86On lines 93-95, the volume fraction constraint function and sensitivities are computed by the mean of the relative densities (Eq.6).The dilated volume fraction is also updated for the three-field robust approach.

87As the final part of the sensitivity analysis the chain and product rule sensitivities are computed from design domain modifications, i.e., multi-scale transformation, indicator field, projection and filtering (lines 97-106).

88The design is updated on lines 108-118 with the modified OC routine from the top250 code [Ferrari et al., 2021].

89The on-the-fly dehomogenisation routine is called on lines 120-126, which will be discussed in detail in Section 4.4.

90Finally, the results are printed and plotted on lines 128-135.To plot efficiently during optimisation, only the iterative data is updated in the already initialised plots.

91Breaking from the optimisation loop, the optimised intermediate result is post-evaluated on lines 138-148 if the TO data is not already provided, otherwise the TO data will be stored as the final part of the post-evaluation section.

Dehomogenisation phase

92The final phase of the main code is divided into two sections; first, on lines 150-159, the multi-scale structure is dehomogenised by the phasorDehomogenise() procedure (Section 4.4), where the resulting single-scale volume fraction is evaluated wrt. the multi-scale structure.

93If the eval input is true, the dehomogenised structure is evaluated for structural performance on lines 161-181.As the dehomogenised structure is single-scale, isotropic elastic properties are assigned to each element, to compute the displacement field, from which the compliance is obtained and evaluated.To give a visual evaluation of the structure, the strain energy density is computed on lines 169-172.The stress and element stress fields are again found using the page-wise matrix operation.Finally, the strain energy density is plotted with log-10 scaling to enhance the visual energy contrast in the plot.

Dehomogenisation structure

94The main Matlab routine for the phasor-based dehomogenisation procedure, outlined in Figure 8, is implemented in the function phasorDehomogenise() (line 356).

95356 function rho = phasorDehomogenise(grid,wMin,w,N,alignItr,align)

96From the homogenised design this routine requires the minimum relative thickness wMin, layerwise relative thicknesses w and lamination normals N on T c as inputs.The dehomogenisation procedure specifications are provided by the number of phase alignment iterations alignItr, the grid structure, obtained by the prepPhasor() function (line 273), and the align structure, obtained by the prepPhasorKernels() function (line 340).These structures contain precomputed sizes, parameters and index-sets utilised throughout the dehomogenisation process, that can be reused when dehomogenising designs with shared minimum feature size and coarse mesh representation.

97To enable the sequential projections from T c to the intermediate and fine grids, T a , a ∈ {i , if, f }, the homogenised information on the coarse grid is interpolated to obtain smoothed design representations on the finer grids (line 361-364).getIndicator() interpolates layer-wise smoothed material indicator fields from T c to T i .filterVectorField() and interpolateVectorFields() corrects for localised artefacts in the orientation fields on T c and interpolates to T i and T if while accounting for spurious behaviour caused by interpolation of periodic data.The layer-wise relative thicknesses are interpolated in interpThickness().

98The procedure addBoundary() (line 365) generates a synthetic outer layer by constructing a set of phasor kernels along the structural boundary on T c and samples a single wave outlining the structural body on T i , which is utilised for indicator field smoothing and establishing a varying thickness boundary, according to local layer thicknesses, on T f .Additionally, the layer-wise active phasor kernels aligned with the boundary orientations are identified within this procedure.Some of the local orientation and phase-shift adaptions from Woldseth et al. [2024] have been removed to focus on the fundamental elements of this procedure.

99phaseAlignment() and phasorSampling() comprise the main components of the phasor noise methodology, by performing the phase alignment procedure (Eq.21-Eq.23) The final dehomogenised design is assembled by combining the thresholded individual lamination layers and the structural boundary (line 388-395).rho represents the finalised structure, which is initialised as the approximately solid regions within the smoothed domain, as these regions are not sampled from the phasor kernels defined by the intermediate density elements.Linear interpolation is applied to obtain the connected wave-field on T f (line 391), which is thresholded to solid-void based on the relative thicknesses (line 392).After combining the lamination layers, the smoothed structural indicator removes potential artefacts outside the structural domain, and the varying thickness boundary is added (line 395).Potential floating structural members are removed by the connected component operation removeIslands2D().These descriptions provide an overview of the functionalities in deHomTop808 and how they collectively contribute to obtaining a dehomogenised design.

Phase-alignment

100The implementation of the phase alignment routine is performed on T c , given the orientations and indexes of active kernels, for all lamination layers.

101The set B of branch points is determined from the sampled phasor field G(x) for x ∈ T i (Eq.19), and subsequently projected to T if by the locateBranchinPoints() procedure (line 401).

102401 [gamma_x,gamma_y,numBranch] = locateBranchingPoints(phasor_i,bregion,grid);

103The degree of connection condeg (Eq.26) is computed based on the circular neighbourhood extracted from the precomputed grid.discomp(lines 407-416).

104416 condeg = ( sum ( sif_pad ( idofMat ) .* circle (:) ,2) / sum ( circle (:) ) +1) /2;

105A simplified computation approximating the closure direction (Eq.28) based on single-point values is utilised to determine the closure control points (lines 418-433).

106The main procedure for performing branch solidification (Eq.31-Eq.35) is executed sequentially for each branching point (lines 450-458).For each branching point, the phasor sine-wave sine_if is locally updated based on the weighted phase shift pihat induced by the current branch point.

107Pihat =exp(-2*sigma_inv*(wx*xd.^2+yd.^2).*(1-0.5*triangular_if(idL)));

108After branch closure is ensured for all branching points on T if , the pinch procedure is locally applied to each branching region on the converted triangular wave-field, by performing k max = 3 pinching steps.The anisotropic Gaussian with gradients specifying the pinch direction Pi_pinch_k (Eq.37) is located about the centre specified by the current pinch step locations ixx and iyy corresponding to γ k .vx_k and vy_k are the directional gradients of this Gaussian determined by a derivative filter and scaled according to the largest gradient magnitudes.

109The modified Gaussian for localising the pinch magnitude Pi_local_k (Eq.38) is approximated by the oriented distances xdm and ydm to the iterated point γk .

110486 for k=1:3 Pi_pinch_k(idofMat(:,[1,3,4,6,7,9])).*ky(:) ,2); ... The combined pinch magnitudes and directions pw.*vx and pw.*vy (Eq.39) are then passed to the pinchPatch procedure performing the corresponding interpolation (Eq.40).After all branching point regions have been subjected to the iterative pinch procedure, the triangular wave-field with connected branches is obtained.

Structural boundary

111Due to the realisation of a single-scale structure at finite periodicity, the global phase shift of the lamination layers with respect to the boundary of the structural domain may cause non-load carrying members towards the outer periphery of the structure.Woldseth et al. [2024] exemplified why the addition of a varying thickness structural boundary is highly beneficial for the performance of the dehomogenised structure.A simplified version of the phasor-based boundary from this original work is implemented in deHomTop808 in the function addBoundary() (line 544), where the structural boundary is constructed and additionally utilised to smooth the upscaled structural indicator field to reduce staircase artefacts from the underlying coarse mesh.This structural boundary is constructed as an artificial lamination layer defined by kernels on T c which are sampled as phasor noise on T i and finally modified and projected to T f to obtain the desired results.A filtered structural indicator field is first obtained by combining the individual layer indicator-fields, thresholding and applying a Gaussian filter with zero padding (lines 547-552).This filtered field is subsequently subjected to a Gaussian derivative filter to obtain the derivative components vx and vy (lines 553-555).The angle of orientation vdir and derivative magnitude vmag are derived from these components (line 556) and the kernels within the structural boundary region potential are identified based on the derivative magnitude, as this measure tends to zero away from the boundary region (line 557).

112554 vx = reshape(sum(idsp(idofMat).*kx(:) ,2),grid.csize(1:2));555 vy = reshape(sum(idsp(idofMat).*ky(:) ,2),grid.csize(1:2));556 [vdir,vmag] = deal(atan2(vy,vx), vx.^2+vy.^2);557 [potential,bvec] = deal(vmag>1e-3, [cos(vdir(:)),sin(vdir(:))]);

113The boundary orientations bvec of the boundary region kernels are aligned in a similar manner to the phase alignment procedure (line 559-571).Instead of the phase shift, the angle of the orientation vectors are aligned, and minor modifications are imposed to reduce alignment between orientations with a relative angular difference approaching π/2, to better adapt the boundary to smaller holes within the structure.After alignment, the orientations are upscaled by complex interpolation to T i (lines 573-575), to be used for the phasor sampling filter.

114577 idbnd = potential & vmag >= 0.25*max(vmag(:)); 578 new_omg = min(1./(8*grid.h_c),grid.omega/2);omg_rat = new_omg/grid.omega;... 582 atmp = align; atmp.pshift= pi*((1-idsfr(:))*0.5+1/3);583 bphasor = phasorSampling(grid,bvec(:,1),bvec(:,2), ... 584 cos(vec_a(:)),sin(vec_a(:)),idbnd(:),bregion(:),atmp,1);

115The boundary phasor kernels idbnd are identified (line 577), prescribed a periodicity new_omg (line 578) and assigned individual kernel phase-shifts (line 582).The phaseshift is dependant upon the filtered indicator field value at the kernel grid point to control the location of the signal wave relative to the structural domain boundary.The complex phasor noise signal bphasor is sampled using phasorSampling() directly from these pre-defined phase shifts (line 583-584).

116The layer-wise identification of kernels that are aligned with the boundary kernels is based on the element-wise dotproducts between the sets (lines 586-588).These identified kernels are utilised in the initialisation of kernel phase shifts in phaseAlignment(), and the layer-wise minimal distance to these kernels (lines 589-592) determine the phase alignment order.From the sampled phasor boundary-wave the indicator cutfield cutfi is constructed in a similar manner to Woldseth et al. [2024] on T i and projected to T f before thresholding to obtain the smoothed structural domain indicator_f (lines 592-600).

117The boundary-wave is projected to T f and thresholded according to the localised maximal lamination layer thickness, scaled according to the periodicity ratio between the structural boundary and the structural infill (lines 604-608).The structural domain indicator field is subjected to a final clean-up removing potential isolated artefacts utilising removeIslands2D() (line 609).

Examples

118The following section presents a collection of tests and application examples for the deHomTop808 code, facilitating discussions of its performance and limitations.

Length-scale convergence

119The deHomTop808 base-case results in a single-scale structure with volume-weighted compliance narrowly within 10% of the multi-scale solution.This design is evaluated on a relatively large minimal length-scale, meaning there is expected solution quality loss due to the level of abstraction from the infinitely periodic homogenisation assumptions.Table 2 reveals the improvement in solution quality obtained when decreasing the minimum feature size.This is related to the crucial property of a well-defined dehomogenisation procedure, in that the performance convergence towards the homogenised solution as the minimal length scale approaches zero.The resolution of the mesh utilised for optimisation also has a significant effect on the solution quality, affecting the level of detail captured in the multi-scale solution.

120Therefore, this first set of numerical experiments is focused on testing the length-scale convergence behaviour of dehomogenised designs for the baseline bridge example, realised with decreasing dmin, for a select set of different optimisation grid resolutions.

121Figure 9 and Figure 10 illustrate how the relative error of the obtained single-scale designs, compared to the multiscale optimised solution, depends on the minimum lengthscale dmin, for the volume fraction and volume-weighted compliance, respectively.The grid resolution utilised for optimisation is indicated by nelX, and nelY=0.5*nelXfor each case; hence results are effected by h-convergence.dmin is relative to the grid resolution, such that for nelX=180 the dehomogenised result obtained for the length-scale given dmin=0.2corresponds to Figure 11, which has a significantly higher level of detail than the base case run in Both the volume fraction ( f ) and volume-weighted compliance ( S ) errors exhibit the desired convergence behaviour as dmin is reduced, across all grid resolutions.It is, however, evident that the coarsest grid-resolution suffers from loss of detail, causing the structural performance to be diminished.For the remaining grid resolutions the volumeweighted compliance error converges well within a 10% deviance from the multi-scale solution.

122The convergence behaviours of the different grid-resolutions additionally reveal a limitation of dehomogenisation to a relatively large minimum length scale.This leads to an excessive downsampling of the multi-scale details to obtain the single-scale projection, meaning that the level of detail in the optimised solution cannot be sufficiently captured.

Benchmark: Michell cantilever

123The performance of the deHomTop808 code is benchmarked to the first proposed dehomogenisation for manufacturable designs [Groen and Sigmund, 2018] by considering the Michell cantilever.The FE-model of the Michell cantilever can be included in the code by replacing prepFEA() with prepFEA_cant().The Poisson's ratio is set to ν = 0.3 (line 6) in accordance with Groen and Sigmund [2018].

1246 [E,EMin,nu] = deal(1,1e-9,0.3);

125The deHomTop808 code is executed with, deHomTop808(80,40,0.5,1.5,0.1,1,0.2,0,true);

126where d min = 0.2 and w min = 0.1 corresponds to a mapped cell size and feature size of 40h f and 2h f [Groen and Sigmund, 2018], respectively.To best replicate the numerical setup in Groen and Sigmund [2018], by ensuring consistent mapping grid resolutions, the minimum thickness for deHomTop808 is increased to w min = 0.1 compared to w min = 0.05 in Groen and Sigmund [2018].The comparative results of the optimisation are seen in Table 3, and for the multi-scale structure in Figure 12.

127A similar compliance is achieved by the two frameworks, closely corresponding to the result provided in Sigmund et al. [2016] of J = 56.73,even with a different design domain regularisation for deHomTop808 compared to Groen and Sigmund [2018]; Sigmund et al. [2016].The key observation is the computational time comparison, where deHomTop808 is an order of magnitude faster than Groen and Sigmund [2018].Due to the timings being recorded on different hardware, an exact comparison is discouraged, but the order of magnitude is expected to be representative as the linear systems are of the same size, and both codes are executed in Matlab.

128The dehomogenisation result is seen in Table 4, and the single-scale structure is seen in Figure 13.The deHomTop808 result is very close to the optimised solution.However, the dehomogenisation result of Groen and Sigmund [2018] is performing slightly better, which is to be expected for this test case, as discussed in Woldseth et al. [2024].Nevertheless, the computational time is almost two orders of magnitude faster than Groen and Sigmund [2018], which underlines both the efficiency of phasor-based dehomogenisation and the deHomTop808 implementation in general.

Optimisation convergence

129A crucial part in establishing the value of the on-the-fly dehomogenisation option, is to consider how well the intermediate multi-scale designs are captured by the generated single-scale interpretations during the optimisation iterations.

130To this end, the baseline deHomTop808 run with deHomFrq=1 is considered, including FE-analysis of the dehomogenised design in each iteration.The obtained iteration history is compared to the corresponding intermediate multi-scale iterate in Figure 14.It is evident that the performance of the single-scale design deviates significantly from the multi-scale iterates, with higher compliance and lower volume fractions, until β = 4 is reached, and the measure of non-discreteness (mnd) [Sigmund, 2007] stabilises below 10%.For the remainder of the iteration process, the single-scale projection captures the multi-scale iterate within a 10% error.The reason for the poor performance of the dehomogenised structures for large values of mnd, is that the multi-scale iterate has not converged sufficiently to adhere to the minimum relative thickness constraint.To facilitate a single-scale interpretation of a multi-scale design wMin>0 must be defined.

131Figure 15 reveals the effect of the material indicator field convergence before and after stabilisation.At the 29th iteration the multi-scale design contains a large degree of relative thicknesses below the lower bound wMin, imposed in the dehomogenisation, resulting in limited overlap between the single-scale projections of the lamination layers.When reaching 200 iterations, only the boundary region of the structure is affected by lower relative thicknesses, for which the lacking layer-overlap is corrected for by the threshold tolerances and location of the structural boundary.

Rotation invariance and orientation seamlines

132Rotation invariance is a common issue for dehomogenisation due to the non-uniqueness of the Rank microtructures [Jensen et al., 2022].For the Rank-2 microstructure, the rotation invariance is π/2, but occurrences of π-rotation discontinuities are most common.The orientation starting guess is one of the primary causes of these discontinuities in the multi-scale solution.In deHomTop808, the starting guess is obtained from the principle stress directions, which have a π-rotation invariance, often located about symmetry lines in the design.For the bridge model, this invariance is manifested as a discontinuity in the orientations as illustrated with the vector fields in Figure 16, where a "seamline" is visible at the centre of the bridge along the symmetry line.

133To mitigate this artefact, π is added to any negative angles in the starting guess (line 27).This will not resolve the issue but will shift the invariance artefacts and make them less prevalent.In Figure 17, the vector field with invariance shift is seen where the seamline occurrences are moved towards the domain boundary.This works well for localised discrepancies or small patches of orientation invariance, but enlarged patches may still cause issues in the dehomogenisation.To demonstrate the effect of the seamline-discontinuity, the code is executed with parameters from Section 2, removing the corrections to the starting guess (line 27).The results are presented in Table 5 and the post-analysed dehomogenised structure is illustrated in Figure 18.There is a minor improvement to both the optimised and dehomogenised results.However, the seamline causes artefacts in the post-analysed structure, and due to the heuristic nature of the phase alignment procedure, the extent of such artefacts may cause partly disconnected structural members.Therefore, to ensure a more stable performance, it is recommended to modify the starting guess or to perform post-optimisation combing as suggested in [Stutz et al., 2020].

MBB beam model

134In addition to the bridge model and the Michell cantilever, models for the MBB beam and the double-clamped beam are included in this paper as extensions with the code.

135The 3:1-aspect ratio MBB beam is slightly modified from the original model, with distributed simple supports and surface traction.To prevent undesirable mesh effects on the design, the distributed simple supports are moved away from the grid boundary, similarly to the two-load bridge from Jensen et al. [2022].The MBB beam model is included in the code by replacing prepFEA() with prepFEA_mbb(), and is for this demonstration executed with the following call to deHomTop808; deHomTop808(90,30,0.3,2,0.1,1.0,0.2,0,1);A summary of the structural performance is presented in Table 6, where the dehomogenised design (Figure 19) is well within 10% of the multi-scale performance.The dehomogenised structure is seen in Figure 19.The nature of the model requires many bifurcation branch points to maintain unit cell size control, which is one of the key strengths of phasor-based dehomogenisation.

Double-clamped beam model

136The 4:1-aspect ratio double-clamped beam was also featured in the original paper on phasor-based dehomogenisation [Woldseth et al., 2024], as a good benchmark case for orientation singularities, also exemplified in Stutz et al. [2020].Due to the localised nature of the phasor-based approach, it offers a more stable solution in such cases, compared to alternative approaches.The double-clamped beam model is included in the code by replacing prepFEA() with prepFEA_db(), and for exemplification executed in deHomTop808 with the function call deHomTop808(160,40,0.3,sqrt(2),0.1,1.0,0.2,0,1);The structural performance obtained is presented in Table 7 and the single-scale structure is illustrated in Figure 20.Even though the deHomTop808 code is a simplification of the proposed method of Woldseth et al. [2024], the code is robust in handling orientation singularities and achieves solutions approaching the same quality level.

Extensions

137One of the goals of deHomTop808 is to provide the user with a baseline code for further adaptions to application needs.This section will cover some examples of how to integrate different code extensions, showing how deHomTop808 allows for additional problem requirements or dehomogenisation complexity.

Passive design variables

138Extending the passive design beyond a solid domain, to allow for continuous design values, presents many use cases for a multi-scale design.One such use case is to predefine infill density or orientation, where the passive domain Ω P is extended for any passive design variable, w 1 , w 2 , a, or s.This control is achieved by replacing the array pasE with a struct containing member arrays w1, w2, a, and s, each of size R Np×2 , where N p are the individual number of passive variables.The first column of the arrays indicates the element index, while the second column indicates the passive value.The indicator variable is implicitly determined based on the values of w1 and w2.Note that this can cause conflicts due to the requirement that the two layers share material indicator field.This means that if the user specifies that w 1 is passive solid and w 2 is passive void in the same element, the optimisation problem is ill-defined for the deHomTop808 -implementation.The final line removes the passive values, as they are unnecessary beyond this point.For the dehomogenisation, only solid passive elements are updated, insert the following between lines 45 and 46, pasRhoPhys = union(pasRhoPhys.w1(pasRhoPhys.w1(:,2)== 1,1),... pasRhoPhys.w2(pasRhoPhys.w2(:,2)== 1,1));

139For the filling step, only active design variables should be updated, replace line 78 with, Finally, the struct with information on passive variables must be introduced for the FE-model.If a variable has no passive domain, then the member array must be initialised with zeros(0,2).For the example shown in Figure 21 with a semi-passive circle, replace line 218 with, Executing the code with deHomTop808(60,30,0.3,2,0.1,1.0,0.1,0,1); will result in the dehomogenised result seen in Figure 22 and Table 8.Due to the rapid orientation changes within the passive circle compared to the dehomogenised lengthscale, excess material is introduced in the branch closure procedure.This causes a larger volume fraction deviation between the homogenised and dehomogenised solutions, but the improvement in compliance ensures that the volumeweighted compliance error is within 10%.

Multiple loading cases for dehomgoenisation

140Homogenisation-based topology optimisation can also be applied to optimise multi-load problems, as described in Jensen et al. [2022].deHomTop808 is not designed to consider multiple loads for optimisation and analysis, but the phasor-based dehomogenisation procedure is directly applicable to Rank-N multi-scale structures.Given a multi-scale solution obtained through appropriate optimisation, deHomTop808 can be utilised to obtain a dehomogenised design at any desired finite minimum length-scale dmin, requiring only modifications of the passiveElms definition (line 207) within the prepFEA() sub-function to fit the desired problem formulation.To exemplify this independency of the phasor-based dehomogenisation procedure on the number of lamination layers in the provided solution, the multi-scale solution to one of the 2-load bridge examples from Jensen et al. [2022], twoLoadBridge_80_48_Rank3_data.mat, is included with the code extensions.To account for the change in passive regions, compared to the default single-load bridge model, the function getPas_2loadbridge() is included as an extension, and is incorporated as a replacement of the fine-scale passive elements definition pasRhoPhys (line 39).

14139 pasRhoPhys = getPas_2loadbridge(nelX,nelY,deHomGrid.fscale);

142The setup and function call to execute the dehomogenisation procedure, given the correct pasRhoPhys definition, is summarised as follows load( twoLoadBridge_80_48_Rank3_data.mat ) % load dataset [rmin, deHomFrq, eval] = deal(2, 0, false); % suggested default [nelX,nelY] = deal(nDim(1),nDim(2)); % domain dimensions of multi-scale solution TO.w = w; % (nelY*nelX)x(#layers) array of layerwise thicknesses TO.N = zeros(size(N,1),2,size(N,2)/2); % (nelY*nelX)x(2)x(#layers) array of orientation vectors TO.N(:,1,:)=N(:,1:2:end); TO.N(:,2,:)=N(:,2:2:end); % insert xand y-components [TO.f, volFrac] = deal(0.3);% volume fraction of multiscale solution TO.J = c; % multi-scale compliance if needed for comparison [wMin, wMax] = deal(eta(1),eta(2)); % minimal and maximal relative thicknesses dmin = 0.1; % desired physical minimum length scale rhoPhys = deHomTop808 (nelX,nelY,volFrac,rmin,wMin,wMax,dmin, deHomFrq,eval,TO);

143Note that the rmin and deHomFrq inputs must be appropriately defined for the program to not fail during the initialisation process, and that eval=false is necessary unless deHomTop808 ,prepFEA() and doFEA() have been modified to the considered multi-load example.

144An alternative approach of isolating the dehomogenisation procedure from deHomTop808 is available, where a Rank-N multiscale structure can be dehomogenised by the following function-call sequence deHomGrid = prepPhasor(nelX,nelY,dmin,wMin); align = prepPhasorKernels(deHomGrid); alignItr = 20; rhoPhys = phasorDehomogenise(deHomGrid,wMin,TO.w,TO.N,alignItr,align); pasRhoPhys = getPas_2loadbridge(size(rhoPhys,2),size(rhoPhys,1),1); rhoPhys(pasRhoPhys) = 1;

145In this latter case, the passive regions are imposed to rhoPhys after the function call to phasorDehomogenise().The resulting dehomogenised design for dmin=0.1 is illustrated in Figure 23.Table 9 and its solution quality, obtained outside of deHomTop808, compared to the phasorbased result obtained from Woldseth et al. [2024] in Table 9.

146Table 9: Rank-N dehomogenisation utilising deHomTop808 exemplified by the 2-load bridge example from Jensen et al. [2022] analysed by the FEA-setup from and compared to the dehomogenised solution from Woldseth et al. [2024].The solution quality obtained utilising deHomTop808 is reduced compared to the original phasor-based dehomogenisation procedure from Woldseth et al. [2024], but the process is executed more efficiently when run on the same machinery.This loss in solution quality is a part of the trade-off between an on-the-fly compact version for educational purposes and the more heuristically detailed and adapted version presented in Woldseth et al. [2024].For most problem cases, these changes instigate a moderate loss in structural performance at the benefit of simplicity and significant computational speed-up, but for extended applications it might be useful to consider some version of the extensions included in the original procedure.

Discussion and concluding remarks

147This paper presents a Matlab code for multi-scale topology optimisation that maximises the stiffness of single-load case problems and allows for subsequent on-the-fly phasor-based dehomogenisation, including analysis options for verifying the obtained design.The code presents a highly efficient framework, capable of producing dehomogenised designs that, for realistic length-scales, performs within 10% of the stiffness-optimised design, as proven by the length-scale convergence results.These solution qualities are on par with those obtained by established state-of-the-art dehomogenisation method, and are orders of magnitude faster to obtain.

148Different model examples are provided with the code, which shows the ease of extending the code to other applications.This is further emphasised with the extension of partially passive domains, allowing for complex and advanced examples.The dehomogenisation code also allows for the realisation of any lamellar-based multi-scale structure.

149The on-the-fly dehomogenisation feature of the code demonstrates real-time convergence of the mapped design.From the results, it is clear that the structural integrity of the dehomogenised structure is heavily influenced by the convergence of the multi-scale indicator field.Nevertheless, this suggests a potential future extension for interactive ap-plications [Aage et al., 2013], opening up new possibilities for real-time design adjustments and optimisations.

150The process of multi-scale topology optimisation and dehomogenisation is quite complex and heuristic in nature.However, by presenting this procedure as an educational Matlab code, the goal is to encourage researchers and engineers to consider multi-scale topology optimisation as an alternative to conventional large-scale approaches.

Figure 1 :

151Figure 1: An overview of the example model and the multi-scale topology optimisation and dehomogenisation principles.The model of the baseline problem being optimised, as well as the element and node counting conventions are illustrated in (a).The relation between the FE-grid, FE-element and dehomogenisation grids is illustrated in (b).(c) illustrates the nature of the multi-scale structure being optimised, with element-wise Rank-2 material, and (d) how the multi-scale structure relates to the realised single-scale structure obtained by phasor-based dehomogenisation.

152Itr: -Obj: -J: -S: -Vol: -(ph: -) ch: -Time: -(ph: -) indicating the iteration count Itr, current objective Obj, corresponding compliance value J, weighted indicator field volume fraction S, the design volume fraction Vol, maximal iterative change ch and computational time Time.(ph: -) indicates the corresponding phasor-based dehomogenisation result, and is only assigned positive values in iterations where dehomogenisation is executed, which is controlled by the deHomFreq value.During the optimisation iteration, the multi-scale and dehomogenised structures are plotted.From the post-dehomogenisation phase, the volume fraction, structural compliance and weighted compliance errors are evaluated with respect to the multi-scale result, and printed to the user.

Figure 2 :

153Figure 2: Final multi-scale structure from running the deHomTop808 code the first time, with lines indicating the Rank-2 orientations and layer widths.The greyscale indicates relative density.

154Multi-scale structure, intermediate design: J: 10.244 Vol: 0.300 Total time: 31.680Dehomogenisation to single-scale structure, with minimum length-scale: 0.200... Vol: 0.322 err: 7.34% Time: 0.840 (total: 32.555) Analysing dehomogenisation result... J: 10.449 err: 2.00% wt err: 9.49% Time: 9.857 (total: 42.413) Evalulated on 1200x600 grid (x20 scaled), results subjected to h-conv.effects

Figure 3 :

155Figure 3: Final single-scale structure obtained by post dehomogenisation with dmin=0.2 of the multi-scale structure in Figure 2 (top).Plot of the local energy of the post-dehomogenised structure (bottom).

Figure 4 :

156Figure 4: Result from the second featured call to the deHomTop808 code, with the optimised multi-scale structure from the first run as input.Dehomogenisation and analysis are performed for a halved minimal feature size, dmin=0.1,compared to Figure 2. The dehomogenised structure (top) as well as the local energy distribution (bottom) of this single-scale structure is plotted.

Figure 5 :

157Figure 5: Illustrating the relation between the definition of a single phasor kernel and its correspoding spatial signal.(a)presents the anisotropic contour-lines of the Gaussian weights about the kernel centre x with normal n and degree of anisotrpy r = (1/2, 2) .The weighted complex signal emitted from this kernel, for some fixed frequency ω, is separated into its real and imaginary parts in (b) and (c) respectively.(d) presents the real-valued argument of this complex signal, where the weight-induced magnitude variations in the complex field are normalised to form a perfectly contrasting oriented periodic wave.The kernel phase shift ϕ controls the value at the kernel centre, and the wavelength L/ω is controlled by the input frequency ω and the span L of the domain sampled.

158Figure 6: A sparse set of phasor kernels (a) are sampled to a phasor field with (G(x)) and φ(x) shown in (b) illustrating the variance in the spatial magnitude of the blended signals (left) and the corresponding isolated phase (right).Misaligned kernel phase shifts result in unnecessary local curvature in (b), which is corrected for by phase alignment to obtain the combined signal illustrated in (c).

159(a) Disconnected branches (τ (x)) (b) Solidified branches (τ (x)) (c) Pinched branches (τ (x))

Figure 7 :

160Figure 7: Post-processing of the wave-field obtained from phasor sampling (a) is needed to ensure connectivity by solidication (b) and adhere to the desried relative thickness (c)

161184 function [passiveElms,edofMat,iK,jK,U,F,freeDofs,Kp] = prepFEA(nelX,nelY,sc) ... 192 [px,py] = deal(ceil(nelX/(15*sc))*sc,ceil(nelY/(30*sc))*sc); 193 forceElmsB1 = floor(nelY*nelX*0.5)-(0:(ceil(0.5*px)-1))*nelY;194 forceElmsB2 = nelX*nelY -forceElmsB1 + nelY; 195 forceElms = union(forceElmsB1,forceElmsB2); 196 iF = edofMat(forceElms,:); 197 sF = repmat(-1*[0 1 0 1 0 0 0 0],[numel(forceElms),1]); 198 F = sparse(iF(:),ones(size(iF(:))),sF(:),numDof,1); F = F/sum(abs(F(:)));

162169 strain = reshape(BMatrixMid*U(edofMat ),3,1,[]); 170 stress = pagemtimes(reshape(permute(C(:,:,[1,2,3,2,4,5,3,5,6]),...171[3,1,2]),3,3,[]),strain); 172 W0 = 0.5*squeeze(sum(stress.*strain,1));

163379 inp1 = reshape(phasor_i(:,r),grid.isize(1:2));380 inp2 = reshape(non_solid(:,r)>=0.5,grid.isize(1:2));381 inp3 = reshape(phasor_if(:,r),grid.ifsize(1:2));382 inp4 = reshape(w_if(:,r),grid.ifsize(1:2));383 inp5 = reshape(ifNx(:,r),grid.ifsize(1:2));384 inp6 = reshape(ifNy(:,r),grid.ifsize(1:2));385 triangular_if(:,r) = closeBranches(grid,inp1,inp2,inp3,inp4,inp5,inp6);

164387 rho = reshape(max(w_f,[],2) >= 0.99,grid.fsize(1:2));388 for r = 1:nLayer 389 grid.intp_if.Values(:) = (triangular_if(:,r)+1)/2; 390 triangular_if_f = grid.intp_if({grid.y_f,grid.x_f}); 391 thresholded = triangular_if_f(:) >= 1-w_f(:,r); 392 rho(:) = rho(:)+thresholded; 393 end 394 rho = removeIslands2D(min(rho.*domain+boundary,1),0.1);

165(step*ix2+(1-step)*ix)-min(xlims)+1; 489 iyy = round(step*iy2+(1-step)*iy)-min(ylims)+1; ... 494 Pi_pinch_k = exp(-0.5*sigma_inv*(wx*xdx3.^2+ydx3.^2));495 vx_k = sum(Pi_pinch_k(idofMat(:,[1:3,7:9])).*kx(:),2); 496 vy_k= sum(

166544 function [indicator_f,shellwave,align] = ... 545 addBoundary(grid,w, align,wmin,indicator,Nx,Ny)

167586 ddot = Nx.*bvec(:,1)+Ny.*bvec(:,2);adot = abs(ddot); nd = max(adot,[],2); ... 588 align.idbnd= align.idbnd& abs(nd-adot)==0 & adot>0.95*max(nd);589 for r = 1:size(w,2) 590 align.bdist(:,r)= min([(grid.X_c(:)-grid.X_c(align.idbnd(:,r))).^2+... 591 (grid.Y_c(:)-grid.Y_c(align.idbnd(:,r))).^2, 0*idbnd(:)+1],[],2); 592 end

604

168Inter_i.Values(:) = bphasor(:); 605 bphasor_f = Inter_i({grid.y_f,grid.x_f});606 shellwave = 2/pi*asin(sin(atan2(imag(bphasor_f),real(bphasor_f)))); 607 wmaxs = max(w,[],2); shellth = 2*omg_rat*min(max(wmaxs(:),wmin),0.99);608 shellwave(:) = indicator_f(:).*max(shellwave(:),outline(:))>= 1-shellth;

Figure 9 :Figure 10 :

169Figure 9: Convergence of volume fraction error ( f ) for different grid discretisations wrt.length-scale.

Figure 11 :

170Figure 11: Bridge model with nelX = 180 and dmin = 0.2

Figure 12 :

171Figure 12: Multi-scale structure of the Michell cantilever obtained with deHomTop808.

Figure 13 :

172Figure 13: Dehomogenisation structure of the Michell cantilever obtained with deHomTop808.

Figure 14 :

173Figure 14: Evaluation of volume fraction error (f), volumeweighted compliance error (s) and measure of non-discreteness of the material indicator field (mnd) during optimisation.The shaded area indicates the β-continuation updates and the dotted line the threshold for a 10% error ( = 0.1).

Figure 15 :

174Figure 15: Illustrating the 29th (a) and 200th (b) optimisation iteration in terms of the multi-scale designs and corresponding single-scale projections.

175(a > 0)) = a(not(a > 0)) + pi;

Figure 16 :

176Figure 16: Vector field of layer normals, yellow lines indicate orientation seamlines, blue lines indicate π/2-shifts in orientation.The inverted colours indicate negative angles.In the dehomogenisation routine, the filterVectorField() function further corrects local invariance artefacts as discussed in Section 4.4.The heuristic correction maximises the dot-product between neighbouring phasor kernels by selecting from a set of four candidate orientation cases, consisting of unmodified, π-flip, π/2-flip, or −π/2-flip.

Figure 17 :

177Figure 17: Vector field of layer normals, yellow lines indicate orientation seamlines, blue lines indicate π/2-shifts in orientation.The inverted colours indicate negative angles.

Figure 18 :

178Figure 18: Highlight of the analysed dehomogenised structure without angle invariance corrections of the optimisation starting guess.

Figure 19 :

179Figure 19: Dehomogenised structure of the MBB beam model obtained by deHomTop808.

Table 6 :

180Optimisation (TO) and dehomogenisation (Dehom) results for the MBB beam model obtained by deHomTop808.

Figure 20 :

181Figure 20: Dehomogenised structure of the double-clamped beam model obtained by deHomTop808.

Figure 21 :

182Figure 21: Bridge model with a partial passive domain in the centre, where w1, s and a are assigned pre-determined values.

Figure 22 :

183Figure 22: Dehomogenised optimised bridge with a partial passive center domain according to the example case in Figure 21.The code has to be modified in six places in order to have multiple passive variables in an element.The modifications are here described in chronological order.First to set active elements and design variables, replace line 11 and 12 with, actE.w1= setdiff(1:ne, pasE.w1(:,1)) ; actE.w2= setdiff(1:ne, pasE.w2(:,1)) ; actE.s= setdiff(1:ne,[pasE.s(:,1);pasE.w1(:,1);pasE.w2(:,1)]) ; dv =union(setdiff(1:ne, pasE.a(:,1))+2*ne,[actE.w1;actE.w2+ne;actE.s+3*ne]);This replaces the actE array with a struct that holds information on active design elements for the later filtering operation.To assign the passive values, replace line 34 with, s([pasE.w1(:,1);pasE.w2(:,1);pasE.s(:,1)])= ... [[pasE.w1(:,2);pasE.w2(:,2)]>0;pasE.s(:,2)];[w(pasE.w1(:,1),1),w(pasE.w2(:,1),2)]= deal(pasE.w1(:,2),pasE.w2(:,2));a(pasE.a(:,1))= pasE.a(:,2);pasE.w1(:,2)= []; pasE.w2(:,2)= []; pasE.a(:,2)= []; pasE.s(:,2)= [];

184pasBC = reshape([forceElms, pasBC1, pasBC2] -(0:(py-1)) ,[],1); sdfCircle =sqrt(((1:nelX)-nelX/2-1/2).^2+((1:nelY)-nelY/2-1/2) .^2)-nelY/4;pasCircle = find(sdfCircle<=0); passiveElms.w1=[[pasBC, 1.0*(pasBC>0)]; [pasCircle, 0.25*(pasCircle>0)]]; passiveElms.w2=[pasBC, 1.0*(pasBC>0)]; passiveElms.a= [pasCircle, pi/2+atand(sdfCircle(pasCircle)./(4*nelX))];passiveElms.s= zeros(0,2);

Figure 23 :

185Figure 23: The multi-scale 2-load bridge example from Jensen et al. [2022], optimised using starting guess SGA, dehomogenised by deHomTop808.

Table 1 :

186Input and output arguments of deHomTop808.The TO struct allows for direct dehomogenisation of the optimised structure at a different minimum feature size, e.g.dmin = dmin/2, by changing the function call to

187ArgumentType Domain Description nelX and nelY int N Define the physical dimensions and discretisation of the rectangular computational domain.k×lMulti-scalethickness field, ordered column-wise k-sized fields for l layers.The default number of layers is l = 2.TO.N double R k×2×lMulti-scale layer normal fields, ordered component-column-wise k-sized fields for l layers.

Table 2 :

188Optimisation (TO) and dehomogenisation (Dehom) result from running the highlighted example cases of deHomTop808, in terms of compliance (J), volume fraction (f ), the relative volume fraction error wrt. the optimisation result ( f ) and the volume fraction weighted compliance relative error wrt. the optimisation result ( S ).

189on T c (line 367) and the phasor signal sampling (Eq.19) to T i (line 369), respectively.non_solid is computed as the layer-wise intermediate density fields on intermediate grid T i (line 368).The branch connection procedure is applied layer-wise by closeBranches() (line 385) given the set of inputs (line 379-384).inp1 is the sampled complex phasor field on T i and inp3 its counterpart on T if , obtained by cubic interpolation (line 372-376).The branch point localisation is performed on T i and inp2 gives the region of interest for this search, based on the indicator for intermediate layer densities.inp4, inp5 and inp6 provide the interpolated thicknesses and orientation unit vectors on T if , to be utilised for closing the branches.

Table 3 :

190Optimisation benchmark results of the Michell cantilever.For deHomTop808 the time includes plotting.

Table 4 :

191Dehomogenisation benchmark results of the Michell cantilever.For deHomTop808 the time includes plotting.

Table 5 :

192Result from optimisation (TO) and dehomogenisation (Dehom) without angle invariance shift.

Table 7 :

193Optimisation (TO) and dehomogenisation (Dehom) results for the double-clamped beam model obtained by deHomTop808.

Table 8 :

194Optimisation (TO) and dehomogenisation (Dehom) results of bridge with a partial passive center domain.

참고문헌 35건

  1. Introduction to Finite Element Methods Springer series in computational mathematics · Springer Nature · 2012 10.1007/978-3-642-33789-5_2
  2. 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
  3. 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
  4. 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
  5. Topology optimization using PETSc: An easy-to-use, fully parallel, open source topology optimization framework Structural and Multidisciplinary Optimization · Springer Science+Business Media · 2014 10.1007/s00158-014-1157-0
  6. Morphology-based black and white filters for topology optimization Structural and Multidisciplinary Optimization · Springer Science+Business Media · 2007 10.1007/s00158-006-0087-x
  7. A 99 line topology optimization code written in Matlab Structural and Multidisciplinary Optimization · Springer Science+Business Media · 2001 10.1007/s001580050176
  8. Efficient topology optimization in MATLAB using 88 lines of code Structural and Multidisciplinary Optimization · Springer Science+Business Media · 2010 10.1007/s00158-010-0594-7
  9. On the (non-)optimality of Michell structures Structural and Multidisciplinary Optimization · Springer Science+Business Media · 2016 10.1007/s00158-016-1420-7
  10. Homogenization‐based topology optimization for high‐resolution manufacturable microstructures International Journal for Numerical Methods in Engineering · Wiley · 2017 10.1002/nme.5575
  11. Giga-voxel computational morphogenesis for structural design Nature · Nature Portfolio · 2017 10.1038/nature23911
  12. 3-d topology optimization of modulated and oriented periodic microstructures by the homogenization method Journal of Computational Physics · Elsevier BV · 2019 10.1016/j.jcp.2019.108994
  13. Procedural phasor noise ACM Transactions on Graphics · Association for Computing Machinery · 2019 10.1145/3306346.3322990
  14. Topology optimization of modulated and oriented periodic microstructures by the homogenization method Computers & Mathematics with Applications · Elsevier BV · 2018 10.1016/j.camwa.2018.08.007
  15. 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
  16. De-homogenization of optimal multi-scale 3D topologies Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2020 10.1016/j.cma.2020.112979
  17. Freely orientable microstructures for designing deformable 3D prints ACM Transactions on Graphics · Association for Computing Machinery · 2020 10.1145/3414685.3417790
  18. Closing the gap towards super-long suspension bridges using computational morphogenesis Nature Communications · Nature Portfolio · 2020 10.1038/s41467-020-16599-6
  19. Inverse-designed spinodoid metamaterials npj Computational Materials · Nature Portfolio · 2020 10.1038/s41524-020-0341-6
  20. Singularity aware de-homogenization for high-resolution topology optimized structures Structural and Multidisciplinary Optimization · Springer Science+Business Media · 2020 10.1007/s00158-020-02681-6
  21. Topology optimization with linearized buckling criteria in 250 lines of Matlab Structural and Multidisciplinary Optimization · Springer Science+Business Media · 2021 10.1007/s00158-021-02854-x
  22. On approaches for avoiding low-stiffness regions in variable thickness sheet and homogenization-based topology optimization Structural and Multidisciplinary Optimization · Springer Science+Business Media · 2021 10.1007/s00158-021-02933-z
  23. A comprehensive review of educational articles on structural and multidisciplinary optimization Structural and Multidisciplinary Optimization · Springer Science+Business Media · 2021 10.1007/s00158-021-03050-7
  24. De-homogenization using convolutional neural networks Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2021 10.1016/j.cma.2021.114197
  25. Synthesis of Frame Field-Aligned Multi-Laminar Structures ACM Transactions on Graphics · Association for Computing Machinery · 2022 10.1145/3516522
  26. Optimally‐Tailored Spinodal Architected Materials for Multiscale Design and Manufacturing Advanced Materials · Wiley · 2022 10.1002/adma.202109304
  27. Interactive topology optimization on hand-held devices Structural and Multidisciplinary Optimization · Springer Science+Business Media · 2012 10.1007/s00158-012-0827-z
  28. De-homogenization of optimal 2D topologies for multiple loading cases Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2022 10.1016/j.cma.2022.115426
  29. On benchmarking and good scientific practise in topology optimization Structural and Multidisciplinary Optimization · Springer Science+Business Media · 2022 10.1007/s00158-022-03427-2
  30. Growth of oriented orthotropic structures with reaction/diffusion Structural and Multidisciplinary Optimization · Springer Science+Business Media · 2022 10.1007/s00158-022-03395-7
  31. Phasor noise for dehomogenisation in 2D multiscale topology optimisation Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2023 10.1016/j.cma.2023.116551
  32. Multiscale Topology Optimization of modulated fluid microchannels based on asymptotic homogenization Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2023 10.1016/j.cma.2023.116646
  33. Efficient inverse-designed structural infill for complex engineering structures Thin-Walled Structures · Elsevier BV · 2023 10.1016/j.tws.2023.111427
  34. Design and Optimization of Functionally-Graded Triangular Lattices for Multiple Loading Conditions 2024 10.2139/ssrn.4761765
  35. Multi-scale topology optimisation of microchannel cooling using a homogenisation-based method Structural and Multidisciplinary Optimization · Springer Science+Business Media · 2024 10.1007/s00158-024-03931-7