Full text
UNIVERSITAT POLITÈCNICA DE CATALUNYA MASTER’STHESIS - REPORT Study of lightweighting structural design considering 3D printing constraints Author: Jose Antonio Torres Lerma Director: Dr. Àlex Ferrer Ferré A project developed as a compendium and fulfillment of the Master’s degree in Aerospace Engineering requirements - MUEA within Application of finite element methods for optimization problems Physics Department Escola Superior d’Enginyeries Industrial, Aeroespacial i Audiovisual de Terrassa - ESEIAAT June 22, 2022
ii “A wise man will make more opportunities than he finds.” Francis Bacon
iii Declaration of Honor I declare that, • The work and effort dedicated to this Master’s Thesis is completely my work. • All references from other people’s work have been clearly cited. Finally, I understand that a violation of this statement leaves me subject to disciplinary action, provided by the Universitat Politècnica de Catalunya - BarcelonaTECH. Jose Antonio Torres Lerma
iv Abstract One of the current challenges of the aerospace industry is the exploration of new lightweighting structures to reduce fuel consumption and limiting the environmental impact. The use of numerical methods concerning topology optimization techniques allows the obtaining of such weight reduction, also minimizing both design time and costs, and hence accelerating the design process. Nevertheless, current structural optimization leads to the apparition of complex shapes and volumes with unintuitive holes, thus needing the use of additive manufacturing constraints - minimum length scales and overhanging - to ensure manufacturability. Considering the background exposed above, the aim of this project is to study the feasibility of heuristic designs concerning lightweighting structures, materialized with additive manufacturing and considering 3D printing constraints. The design stage will be developed by means of topology optimization techniques, applied to anisotropic filtering. The methodology employed has considered all details concerning Computational Solid Mechanics (CSM) techniques used in structures optimization, as well as additive manufacturing techniques, different case studies definition and their feasibility study. More specifically, in the context of CSM, the use of Finite Element Methods (FEM) in the classical elastic problem is reviewed, as well as current topology optimization techniques, so as to implement FEM in optimization algorithms. Thus, theoretical basis in additive manufacturing techniques are reviewed, along with the mathematical formulation of length scale and overhang constraints. Lastly, the programming stage is performed by previously defining the working environment, consisting in the use of Object-Oriented Programming within the git Version Control System, and hence establishing the computational domain definition for all cases, the meshing process and the simulation setup. In the end, the present project has accomplished the main objectives, giving a positive answer to the creation of lightweighting structures and fulfillment of 3D printing constraints. Indeed, FEM combined with topology optimization techniques has led to the obtaining of optimized designs, fulfilling an objective function and a set of constraints, considering both design variables approaches, density and level set. Besides, an additional shape functional has been defined as a penalty contribution to the main cost function in order to fulfill 3D printing constraints - the anisotropic perimeter - being the evolution of the standard isotropic one, both applied to total and relative perimeters. This shape functional self-penalizes length scale constraints and keeps control in overhanging phenomena by orienting the topologies with the definition of a virtual anisotropic stiffness matrix. Results obtained show that the apparition of local features with small length scales has been avoided when including either isotropic or anisotropic perimeter as a penalty term. Furthermore, vertical tendency orientation of topologies has been generally obtained with the anisotropic cases, along with penalization of horizontal features. Overall, this project has become clearly relevant for the exploration of new lightweighting structures, achieving weight reduction with topology optimization techniques. Further exploration remains in the course of PhD professionalization, specially when considering phase-field models, high-performance computing and large-scale optimization inside the non-linear regime.
v Resumen Entre los retos actuales de la industria aeroespacial se halla la exploración de nuevas estructuras ultraligeras con la finalidad de reducir el consumo de combustible y limitar el impacto ambiental. El uso de métodos numéricos mediante técnicas de optimización topológica permite obtener dicha reducción de peso, minimizando el tiempo de desarrolo del diseño y sus costes. Sin embargo, los últimos avances en optimización estructural llevan a la aparición de formas complejas y volúmenes con agujeros poco intuitivos. Por lo tanto se requieren limitaciones por fabricación aditiva (mínimas longitudes de escala y overhaning) para asegurar fabricación. Con los antecedentes previamente expuestos, el propósito del presente proyecto es el estudio de la fiabilidad de diseños heurísiticos para estructuras ultraligeras, materializados mediante fabricación aditiva y considerando restricciones por impresión 3D. La fase de diseño se desarrollará mediante técnicas de optimización topológica, aplicados a filtración anisotrópica. La metodología empleada considera todos los detalles del uso de las técnicas de Computational Solid Mechanics (CSM) para optimización estructural, así como técnicas de fabricación aditiva, la definición de diferentes casos de estudio y su análisis de fiabilidad. Concretamente, en el contexto de CSM se revisa el uso de los Métodos de Elementos Finitos (FEM) en el problema elástico, junto a las técnicas de optimización topológica actuales, para lograr la implementación de FEM en algoritmos de optimización. Posteriormente se revisa la base teórica de técnicas de fabricación aditiva, junto a la formulación matemática de las restricciones por mínima escala y overhanging. Finalmente, se procede a la fase de programación, donde se define el dominio computacional para cada caso de estudio, el proceso de mallado y la configuración de la simulación. Finalmente, el presente proyecto ha cumplido con los objetivos principales, dando respuesta positiva a la creación de estructuras ultraligeras y cumplimiento de restricciones por impresión 3D. En efecto, la unión de FEM con las técnicas de optimización topológica ha llevado a la obtención de diseños optimizados, verificando una función objetivo y un conjunto de restricciones, y considerando dos variables de diseño: density ylevel set. Además, se ha definido una función adicional que contribuye como penalización a la función objetiva principal - el perímetro anisotrópico -, con la finalidad de cumplir las restricciones por impresión 3D, siendo una evolución del perímetro estándar y ambos aplicados para perímetros totales y relativos. Dicho funcional auto penaliza longitudes de escala y mantiene control en fenómenos de overhanging orientando las toplogías con la definición de una matriz de rigidez anisotrópica virtual. Los resultados obtenidos muestran cómo se evade la aparición de topologías de baja escala, empleando tanto el perímetro isotrópico como el anisotrópico. Además, las topologías adquieren una tendencia vertical en su orientación para los casos anisotrópicos, junto a la penalización de topologías horizontales. En conjunto, el proyecto ha resultado ser relevante para la exploración de nuevas estructuras ultraligeras, obteniendo reducción de peso mediante técnicas de optimización topológica. Se requiere más investigación en el curso de una tesis doctoral, especialmente considerando modelos de phase-field,high-performance computing y optimizaciones de larga escala dentro del régimen no lineal.
vi Acknowledgments I would like to express my special thanks of gratitude to my director Àlex Ferrer, who gave me the golden opportunity to perform this project on the topic Study of lightweighting structural design considering 3D printing constraints, where a lot of Research has been performed as the basis of my ulterior doctoral research degree. I would also like to thank my parents and friends for their moral support throughout the finalization of this project.
vii Contents Declaration of Honor iii Abstract iv Acknowledgments vi Nomenclature xiv 1 Objectives and scope of the project 2 1.1 Aim ....................................... 2 1.2 Scope ...................................... 2 1.2.1 Computational Solid Mechanics .................. 3 1.2.2 Additive manufacturing ....................... 3 1.2.3 Case studies definition ........................ 3 1.2.4 Programming stage .......................... 4 1.2.5 Feasibility study ........................... 4 1.2.6 Time and costs management .................... 4 1.3 Justification .................................. 5 1.4 Requirements ................................. 6 2 Lightweighting structures design with topology optimization techniques 7 2.1 Introduction to topology optimization ................... 7 2.1.1 Mathematical formulation ...................... 7 2.1.2 Density vs Level Set approach ................... 9 2.1.3 Shape functionals ........................... 10 Volume ................................. 10 Compliance .............................. 10 Perimeter ............................... 10 Orthotropic effective properties ................... 11 Stress norm .............................. 12
viii Eigenvalues .............................. 12 2.1.4 Filtering ................................ 12 The Kernel operator P0 ....................... 13 The Kernel operator P1 ....................... 13 The PDE Filter ............................ 13 2.1.5 Methods ................................ 14 Shape and topological derivatives definition ........... 14 Density interpolation schemes ................... 15 2.1.6 Optimizers ............................... 16 Unconstrained solvers ........................ 16 PDE constrained solver ....................... 17 General constrained solvers ..................... 19 2.2 Numerical methodology ........................... 21 2.2.1 Unfitted mesh method ........................ 21 2.2.2 The Diffusion-Reaction equation .................. 23 2.2.3 Incremental scheme ......................... 24 2.3 Additive manufacturing in topology optimization ............ 26 2.3.1 Additive manufacturing ....................... 26 Powder bed fusion .......................... 27 Directed energy deposition ..................... 27 Material extrusion .......................... 27 Vat polymerization .......................... 28 Binder jetting ............................. 28 Material jetting ............................ 29 Sheet lamination process ....................... 29 2.3.2 AM Length Scale constraints .................... 29 Perimeter as objective function penalty term ........... 30 Penalty functional with level set .................. 31 Constraint functional with density ................. 32 Constraint functional with a density based projection method . 32 2.3.3 AM Overhang constraints ...................... 35 3 Feasibility study 38 3.1 Case studies definition ............................ 38
ix 3.1.1 Cantilever beam ........................... 38 3.1.2 Bridge ................................. 39 3.1.3 Arch .................................. 40 3.1.4 Microstructures ............................ 41 3.2 Results ..................................... 43 3.2.1 Anisotropic perimeter validation .................. 43 3.2.2 Cantilever beam ........................... 45 3.2.3 Bridge ................................. 48 3.2.4 Arch .................................. 51 3.2.5 Microstructures ............................ 54 3.2.6 Numerical methodologies comparison ............... 58 SIMP vs SIMP-ALL .......................... 58 High ϵvs low ϵ............................ 59 4 Project impact 61 4.1 Environmental impact ............................ 61 4.2 Economic impact ............................... 61 4.3 Safety considerations ............................. 62 5 Budget and project schedule 63 5.1 Budget ..................................... 63 5.2 Schedule .................................... 64 6 Conclusions 66 6.1 Project conclusions .............................. 66 6.2 Future lines of research ............................ 67 A Programming Environment 68 A.1 Object-Oriented Programming ....................... 68 A.2 Test-driven development philosophy .................... 70 A.3 Unified Modeling Language ......................... 71 A.4 Git Environment ............................... 73 A.4.1 Version Control Systems ....................... 73 A.4.2 Branches ................................ 73 A.4.3 Commits ................................ 74 A.4.4 Pull requests .............................. 74
xvi CConstitutive or elasticity matrix Kel Element stiffness matrix KGlobal stiffness matrix NMatrix of shape functions cVirtual displacements vector dGlobal vector of displacements FGlobal external force vector RReaction forces a(u,v)Virtual energy bilinear form APrismatic bar cross section area A2DGlobal conductivity matrix cCompliance DSJShape derivative DTJTopological derivative dmin Minimum length scale EYoung Modulus F(x)Filter function fSubset of free nodes fiExternal volume forces Fij Internal force at node i due to displacement at node j fVM Von Mises stress function gsolid,gvoid Minimum length constraints giProblem constraints GKK Park and Kikuchi global stress function GKS Kreisselmeier-Steinhauser global stress function HHeavside function hOrthotropic effective property ICentroidal moment of inertia Isolid Minimum length requirement structural function for solid phases Ivector Minimum length requirement structural function for void phases JObjective or cost function
xvii Je(ξg)Jacobian matrix kaScale factor l(u)Load linear form L(x,λ)Lagrangian LPrismatic bar length Lell τPDE filter MGlobal mass matrix NiInterpolating shape function of DoF i njNormal vector to surface at node j PPerimeter pSIMP exponent P0hKernel Operator P0 P1hKernel Operator P1 RRotation matrix rSubset of restricted nodes RfFilter radius tSteepest descent parameter uiTrial functions v(x)Plane beam element lateral displacement VVolume viTest functions WDouble well potential wgg-Gauss point weight
2 Chapter 1 Objectives and scope of the project In this project all the knowledge acquired throughout the Master’s Degree in Aerospace Engineering is gathered in order to complement it in the study of lightweighting structural design considering 3D printing constraints, also including the programming stage and its feasibility study. Therefore, the level of detail in which the project will be defined shall be initially presented in this section. On one hand, the aim and scope definition will give an overall perspective regarding all work packages that will be developed in the project, along with the corresponding level of detail studied. On the other hand, the project justification will define the reason to carry out all the work by taking into account where the innovative factor is headed, ending with a brief definition of basic requirements that will define the most important specifications to fulfill during the development of the project. 1.1 Aim The aim of this project is to study the feasibility of heuristic designs concerning lightweighting structures, materialized with additive manufacturing and considering 3D printing constraints. The design stage will be developed by means of a finite element method based code, specifically applied to topology optimization techniques. The existing base algorithm will be initially reviewed, so that new code will be added in the field of topology optimization applied to anisotropic filtering. 1.2 Scope With the purpose of defining properly the scope all main elements in which the project is divided shall be identified. From this design and feasibility study, the following aspects are found: • The details concerning which Computational Solid Mechanics (CSM) techniques will be employed throughout structures optimization. • Additive manufacturing techniques. • Case studies definition. • Programming stage.
1.2. Scope 3 • Feasibility study. • Time and costs management. 1.2.1 Computational Solid Mechanics The techniques employed in the context of CSM will gather the following topics: • Use of Finite Element Method (FEM) algorithms in the field of the classical elastic problem. • Theoretical basis review of Topology Optimization techniques: density and level set, gradient formulation, filtering, optimizers, methods, shape functionals and interpolation schemes. • Isotropic and anisotropic perimeter constraints within topology optimization simulations. • Finite Element implementation in Topology Optimization techniques: unfitted mesh, incremental scheme and the Diffusion-Reaction equation. • Optimization algorithms. 1.2.2 Additive manufacturing Since the project is dealing with 3D printing constraints, a review of the state of art concerning additive manufacturing must be carried out in order to include its basis inside the code’s mathematical formulation, specifically in the aspects depicted below. • Theoretical basis review in additive manufacturing techniques. • Length scale constraints. • Overhang constraints. 1.2.3 Case studies definition Although topology optimization can be employed for any generic structure, subjected to a set of forces and displacements constraints, some case studies are defined such that the feasibility of the implemented code can be assessed through weight minimization criteria and fulfillment of additive manufacturing constraints, from all possible candidates. The case studies considered are the following: • Cantilever beam in 2D (benchmark case). • Bridge in 2D. • Arch in 2D. • Microstructure case in 2D.
4Chapter 1. Objectives and scope of the project 1.2.4 Programming stage The programming stage will represent the most durable part of the project, since it defines the code that will be developed from scratch regarding structural optimization within anisotropic filtering. The following aspects will be assessed, which in part includes some theoretical background (programming environment) and thus the programming stage itself. • Programming environment. Definition of Object-Oriented Programming, Unified Modeling Language utility, test-driven development philosophy, code language and git environment. A detailed description of the whole environment is exposed in Appendix A. • Computational domain definition for all cases. • Meshing process. • Simulation setup and code programming. 1.2.5 Feasibility study Once the code is finished, with the corresponding results of all simulations developed, the following points are assessed in order to decide whether the implemented code would have been able to virtually produce a lightweighting structure fulfilling 3D printing constraints. • Analysis of results: –Code verification with pure perimeter. –Objective functions minimization. –Fulfillment of additive manufacturing constraints. • Numerical study: a comparison between different numerical methodologies. 1.2.6 Time and costs management Finally, inside the field of the project management part, a detailed budget of all the work developed will be prepared, taking into consideration both human and additional (related with software license costs) resources. Besides, the project impact will be assessed.
1.3. Justification 5 1.3 Justification The exploration of new lightweighting structures is the current challenge in the aerospace industry, mainly due to the minimization of the aircraft’s total weight in order to reduce fuel consumption and, therefore, achieving a limitation of the environmental impact, when it comes to green aviation. Nowadays, the main goal consists in reducing fuel emissions up to 50% by 2050, which is directly related with weight reduction on the structure, leading to an increase of the energy efficiency, as long as it did not imply the initial mechanical behaviour and performance of the structure detriment. Thus, lightweighting designs are currently achieved by means of structures with low-density materials or structures with less material, hence justifying the importance of topology optimization techniques. [1] Moreover, the use of numerical methods concerning topology optimization techniques also allows the minimization of both design time and costs. In recent years, it has been an increase of industrial companies from a wide range of engineering areas that employs numerical methods to accelerate the preliminary design stage of a determined project. In fact, the use of commercial software inside the field of Computational Fluid Dynamics and Computational Solid Mechanics is useful to take decisions quickly regarding the evolution of the design rather than study such decisions experimentally, prior to the final prototype manufacturing. The addition of topology optimization techniques in these powerful numerical methods just upgrade this feature completely by allowing companies to obtain a final product that, apart from presenting the capabilities initially defined, these are obtained with a complete minimization of the material in the structure, hence implying a noticeable reduction of the manufacturing cost. Nonetheless, current structure optimization leads to the apparition of complex shapes and volumes with unintuitive holes. Here is when it comes the use of additive manufacturing techniques to test these new designs, since functional components are currently fabricated with these techniques in a quick way and efficiently, from a CAD model that is sliced into a set of layers. During the manufacturing process both the geometry creation and part functionality will be crucial, mainly due to the lack of flexibility during overhanging regions extrusion, thus introducing the use of 3D printing constraints for anisotropic materials. This shall complement the optimization algorithm to propose compatible solutions for 3D printing processes. Additive manufacturing also would allow the customer to cut down the manufacturing time cost by process planning reduction. [2] Topology optimization can also be complemented with the micro-structured materials philosophy. Microstructures present periodical material disposition such that high performance is achieved with minimum mass. Nevertheless, such properties are mainly defined through material cells topologies, and therefore current research is guided towards finding an effective method for microstructures optimization, using optimization methods such as homogenization, solid isotropic material with penalization (SIMP), evolutionary structural optimization or the level set method. [3] At this point, apart from the topology optimization techniques justification itself, the finite element method base algorithms employed within these techniques also have a clear motivation in current research developments. Indeed, the Finite Element Method is a powerful numerical tool to solve a mathematical formulation of a physical problem, subjected to a set of hypotheses, now applicable to the virtual creation
6Chapter 1. Objectives and scope of the project of heuristic structural designs, depending on manufacturing conditions and constraints. However, FEM algorithms is commonly found in physical problems where the unknowns and external excitations are linked through a coefficient matrix that only depends on independent properties as it occurs in structural cases, but unlike it happens it fluid flow problems, where the coefficient matrix of the fluid shall depend on the own unknowns of the problem, relatively hard to implement and hence showing the reason of using Finite Volume Methods instead, with a lower level of complexity. Finally, the last motivation of this project consists in the use of the Object-Oriented Programming technique to implement all the required code, since it represents an excellent way to get familiar with collaborative projects where programming tools are used, such as the Git Environment. With all exposed, gathering these programming techniques and topology optimization methods, the work exposed in this project would allow the further exploration of future lines of research in the course of PhD professionalization. 1.4 Requirements The main key requirements that the programmed code must satisfy are the following: 1. Able to obtain an optimized lightweighting structure, given a reference one, minimizing the corresponding cost function. 2. Able to satisfy all constraints imposed, such as additive manufacturing constraints. 3. Able to adapt to any type of initial structural shape. 4. Able to be used to 2D problems. 5. Able to compute the corresponding result with minimum computational cost. 6. Able to be combined with further improvements of the generic code repository.
7 Chapter 2 Lightweighting structures design with topology optimization techniques In this chapter all the numerical basis required to design lightweighting structures considering additive manufacturing constraints is presented. Indeed, the possibility to obtain a structure with less volume and within an optimized shape, given a reference one, and by means of a numerical simulation is the main challenge of this project. Nevertheless, it is also required that the final design ensures manufacturability. Therefore, both minimum length scales and overhang constraints will be included inside the numerical optimization algorithm. More specifically, the use of Finite Element Methods (FEM) in linear static elastic problems is reviewed, so as to couple this technique to the field of topology optimization. Hence, the mathematical formulation of these techniques is exposed, along with typical design variables employed and different shape functionals serving as an objective function or a constraint of the optimization problem. Later, the numerical methodology, as well as interpolation schemes, regularization of the design variable and the definition of shape and topological derivatives will be presented. Finally, all types of solvers available inside the field of topology optimization are exposed. 2.1 Introduction to topology optimization Prior to define all the theoretical basis regarding topology optimization techniques, in Appendix Bthe revision of the physical and mathematical formulation of the Finite Element Method is provided. 2.1.1 Mathematical formulation Topology optimization is a numerical approach based in Finite Element Method algorithms with the purpose to design new structures on any scale. Such techniques consider a reference or initial non-optimized structure from which new designs will be created, taking into consideration a set of constraints and the objective function governing the optimization case. Although these new designs would still keep similarity with the non-optimized structure, the weight will be reduced by the creation
8Chapter 2. Lightweighting structures design with topology optimization techniques of voids near to the less stressed areas of the structure, allowing the material to still be able to withstand the same distribution of external forces. Therefore, structures with less mass and accomplishing with the same capabilities would be computationally created. Besides that, the assessment of new materials, which would be useful candidates for the new design, may also be designed via Topology Optimization techniques. Topology optimization deals with an optimization problem, thus an objective function and a set of constraints are required to formulate the mathematical model. Nevertheless, as the system is always in equilibrium for any possible optimized candidate, the structural matrix equation will be fulfilled. The general mathematical formulation is shown PTO : min J(χ,u) s.t K(χ)·u=F(χ) gi(χ,u)≤0 J→Objective (or cost) function χ→Solid/void vector u→Displacement vector K→Global stiffness matrix F→Force vector gi→Problem constraint. (2.1) Although there is a large variety of objective functions to discuss (shape functionals), as well as constraints, the first problem usually defined inside the field of topology optimization is known as the minimum compliance problem (maximum global stiffness) under simple resource constraints [4]. Consider a mechanical continuum element defined inside a domain Ωmat, which is a subset of a larger reference domain Ωin R2or R3. The reference domain is defined to allow the original definition of applied loads and boundary conditions, and it will be enclosed by a boundary. Hence, referring to Ω, we can define the optimal design problem as finding the optimal choice of the characteristic function χthat parametrizes Cijkl(χ), variable over the domain. The bilinear form and the linear form of the equilibrium equation is introduced, a(u,v) = ZΩCijkl(x)ϵij(u)ϵkl(v)·dΩ(2.2) l(u) = ZΩdu ·dΩ+ZΓT tu ·dS. (2.3) Besides, we need a limit of resource. For instance, this can be expressed as RΩmat 1dΩ≤ V, thus indicating at which extent the volume shall be reduced during the heuristic optimization. Therefore, considering the finite element discretization of the domain, the minimum compliance problem (MC) takes the final form exposed in Equation (2.4). PMC : minxfT·u s.t K(x)·u=F(x) x∈[0,1] RΩmat 1dΩ≤V (2.4)
2.1. Introduction to topology optimization 15 DSJ=RΓgS Ωθ·n·ds where gS Ω=γΩ∇ΓuΩ·∇ΓuΩ−1 γΩγΩ∂uΩ ∂n2+l.(2.28) Topological derivative. The topological derivative of the cost function with respect to the characteristic function DTJ(χ)gives the information of how the cost function increases by inserting a new infinitesimal hole in some black region, without moving the boundaries (i.e changing the topology of the design). If one lets θto indicate the magnitude of the hole insertion, the same Taylor expansion than in Equation (2.27) can be used to define analogously how the cost function changes in function of θand DTJ. More precisely, considering some function f(ϵ)such that f(ϵ)→0 (for instance, f(ϵ) = πϵ2), one defines preliminarily the topological derivative as shown in Equation (2.29) [12]. DTJ=lim ϵ→0+ J1(χ)−J0(χ) f(ϵ)(2.29) For a given Young’s modulus and Poisson’s ratio of matrix Ωϵ\¯ Bϵand the inclusion Bϵ, represented as Em,νmand Ei,νi, respectively, hence a fourth-order polarization tensor is defined as P=p1I+p2I⊗I. (2.30) Therefore, the topological derivative at some point is defined as DTJ=σ:P: ∇su. Again, Amstutz, Dapogny and Ferrer proposed the precise definition of the topological derivative, DTJ=−(γ1−γ0)k(χ)∇uΩ(x)·∇uΩ(x) + l∀x∈Ω(χ). (2.31) Finally, both derivatives have some properties at the optimal point of the design, useful for developers to propose strategies for solvers definition. These properties are shown in Equation (2.32). DTJ≤0 if χ=1 DSJ=0 if x∈Γ DTJ≥0 if χ=0 (2.32) Density interpolation schemes Regarding the use of density as design variable approach, it was mentioned previously that intermediate values (grey region) must be penalized, focusing on low density values rather than larger ones. These strategies are known as interpolation schemes and in the literature we found mainly two approaches: the SIMP and SIMPALL schemes. [6] The so-called Solid Isotropic Material with Penalization (SIMP) method auto-penalizes the material properties as shown in Equation (2.33).
16 Chapter 2. Lightweighting structures design with topology optimization techniques Cijkl =ρ(x)pC0 ijkl p>1 (2.33) Typically, the most common heuristic sets p≃3 to give accurate results. Nevertheless, it is also common to compute the penalization factor according the Hashin- Shtrikman (HS) bounds for two-phase materials accomplishment, as shown in p(ν) = max 2 1−ν,4 1+ν. (2.34) Moreover, SIMP-ALL material interpolation (proposed by Ferrer) is based on the interpolation between the upper bound (matrix) and lower bound (void inclusion) of Hashin-Shtrikman bounds, depicted as (µ+,κ+) and (µ−,κ−), respectively. This approach employs the topological derivative to compute a rational function (see Equation (2.35)) which interpolates µand κin function of the density and some coefficients that shall be determined assessing a set of constraints. κ(ρ) = a2ρ2+a1ρ+a0 b1ρ+1 µ(ρ) = c2ρ2+c1ρ+c0 d1ρ+1 (2.35) κ(1) = κ+κ(0) = κ− µ(1) = µ+µ(0) = µ− κ′|ρ=1=DTJ+κ′|ρ=0=DTJ− µ′|ρ=1=DTJ+µ′|ρ=0=DTJ− (2.36) 2.1.6 Optimizers Unconstrained solvers Unconstrained solvers deal with a minimization problem with no additional constraints besides both box constraints and final volume fraction achievement. The most common algorithms employed to solve these problems is the steepest descent algorithm, so as to find a local optimum with exploitation of the neighborhood of solutions, rather than exploration. The steepest descent solver will try to improve a starting solution iteratively, since we will try to find the element of the neighborhood of the solution with best value for the cost function at each step. Once we arrive to some step where the cost function is not reduced by exploring the whole neighborhood, thus the last value of the design variable is selected as the local optima at this point of the topology optimization process. Consider the minimization problem PUS :minxf(x)x∈Rn(2.37) clearly, the optimality condition is achieved when ∇f(x∗) = 0, where the gradient also is defined inside Rn. Therefore, the steepest descent algorithm at step k+1 is
2.1. Introduction to topology optimization 17 depicted in Equation (2.38), after defining the use of a line search parameter tenough small to ensure the descent process. xk+1=xk−t·∇f(xk)(2.38) Inside the field of topology optimization, three unconstrained solvers are found. First of all, the known Projected Gradient is a steepest descent based heuristic employed during optimization processes with density as design variable. Specifically, this solver ensures compliance with box constraints by adding an infinite penalization when ρis larger than 1 or less than 0, minρf(ρ) + δ[0,1](ρ). (2.39) Furthermore, the steepest descent algorithm is slightly modified by imposing alternating direction heuristic, as depicted in Equation (2.40). ρk+1=ρk−t·∇f(ρk) ρk+1=max(0, min(1, ρk+1)) (2.40) Moreover, the SLERP is another unconstrained optimizer usually employed in topology optimization processes, but using now the level set as design variable. Here, the term topological derivative DTJ(x)is recovered, since this could be directly related with the level set due to the nature of its sign in function of the characteristic function values, at the optimality condition (i.e DTJ(x)∥ψ). For instance, by taking ||ψ|| =1, hence a fixed point algorithm is proposed, ψk+1=αkψk+βkDTJ(x(ψk)) where αk,βkare taken s.t ||ψ|| =1. (2.41) During the monitoring of convergence between the level set function and the topological derivative, a parameter θis defined as the angle between ψkand DTJ(x(ψk)), which must tend to zero. Finally, the Hamilton-Jacobi optimizer is the third unconstrained solver, which also uses the level set as design variable. Now the term shape derivative DSJ(x)is recovered in order to be used as the gradient which is multiplied by the line search factor, as exposed in Equation (2.42). ψk+1=ψk−t·DSJ(xk)(2.42) PDE constrained solver The PDE constrained optimizer is an extension to constrained optimization problems. It deals with the resolution of the monolithic problem governed by the density and the displacement vector as design variables, in the particular case where the minimization statement is a PDE Constraint Optimization Problem, meaning that given some field the density or the displacement vector, the other one can be computed. Let a(ρ,u,v)and l(v)represent the variational formulation for the internal
18 Chapter 2. Lightweighting structures design with topology optimization techniques and external forces of the equilibrium equation, respectively. Thus, the monolithic problem formulation reads as PMC : minρ,ul(v) s.t a(ρ,u,v) = l(v) 0≤ρ≤1 . (2.43) Nevertheless, a canonical formulation is obtained by transforming previous formulation into a reduced one, imposing a relationship u=u(ρ). Under this assumption, the adjoint problem formulation is employed in order to compute the gradient of the cost function and therefore to propose a gradient-based algorithm. Consider Equation (2.44), where the adjoint problem is defined as minx,yJ(x,y) s.t A(x)·y=b(x)→with A invertible →minxJ(x,A−1(x)·b(x)). (2.44) In order to solve the minimization problem, the gradient computation of Jis defined as ∇xJ=∂J ∂x+∂J ∂y ∂y ∂x. (2.45) By manipulating with elementary calculus the derivative ∂y ∂x, one gets the expression depicted in ∂y ∂x=A−1(x)·−∂A(x) ∂xA−1(x)b+∂b(x) ∂x. (2.46) Combining all expressions above, the gradient of Jis completely formulated in Equation (2.47) in function of a new parameter p. ∇xJ=∂J ∂x+p·−∂A(x) ∂xy+∂b(x) ∂xwith A(x)p=∂J ∂y(2.47) Finally, below is exposed the whole algorithm of the PDE constrained optimizer. 1. Compute the state,primal variable y- Equation (2.48). A(x)·y=b(2.48) 2. Solve the adjoint - Equation (2.49). A(x)·p=∂J ∂y(x,y)(2.49) 3. Compute the gradient of J- Equation (2.50).
2.1. Introduction to topology optimization 19 ∇xJ=∂J ∂x+p·−∂A(x) ∂xy+∂b(x) ∂x(2.50) 4. Update x- Equation (2.51). xk+1=xk−α·∇Jwith αs.t J(xk+1)<J(xk)(2.51) General constrained solvers Constrained solvers deal with a minimization problem with the inclusion of additional constraints that the design variable must fulfill, i.e c(x) = 0. This new set of equation justifies the use of Lagrange multipliers to solve the minimization problem. In fact, although the Lagrange factors are not the unkowns of interest for us, we will need to compute them in order to cover the whole solution of the system. This phenomenon is called the dual problem and it is presented in Equation (2.52). A parametrization of objective function fwith the constraints and Lagrange multipliers is presented. minxf(x) s.t c(x) = 0(λ)→D(λ) = min f(x) + λT·c(x) = min L(x,λ)(2.52) where L(x,λ)is usually known as the Lagrangian. We will want to minimize the Lagrangian in function of the design variable and later to maximize the resulting expression for λ, since this implicitly allows to fulfill the constraints, max(D(λ)) = maxλminxf(x) + λT·c(x) ∂L ∂λ ≡∂D ∂λ =c(x) = 0. (2.53) The optimum λ∗obtained will give the information of how important is the constraint. Finally, in Equation (2.54), it is depicted the optimality condition that must be fulfilled in the topology optimization process. Besides, the expressions for the evolution of design variables and Lagrange multipliers are exposed ∂L ∂x=∂f ∂x+λ∂L ∂x=0 Primal Opt.Cond. ∂L ∂y=c(x) = 0 Dual Opt. Cond. (2.54) xk+1=xk−t·∂L ∂x(xk,λ)s.t L(xk+1)<L(xk) λk+1=λk+c(xk)s.t |c(xk+1)|<|c(xk)|. (2.55) Inside the Swan’s git repository, four types of constrained solvers are found as shown in Table 2.1. The first one, Augmented Lagrangian, is simultaneously divided into two variants: Alternating Primal-Dual and Dual Nested In Primal. Both cases need the definition of an unconstrained solver using density or level set, complementary to the constrained optimizer. Nevertheless, the remaining solver typologies do not need the additional use of an unconstrained solver.
20 Chapter 2. Lightweighting structures design with topology optimization techniques Solver Definition Unconstr. solver Augmented Lagrangian Similar to the standard Lagrangian, with the inclusion of squared terms (quadratic penalty function). Two variants of this approach are considered: Alternating Primal-Dual and Dual Nested In Primal ρ/ψ MMA The MMA Optimizer is an algorithm available in MATLAB, usually employed as a black box. Not needed. IPOPT The Interior Point Optimizer is an algorithm available in MATLAB for non-linear large size problems. Not needed. Fmincon This optimizer includes several algorithms from other solvers, with the IPOPT one between them. It is also a MATLAB implementation of constrained multi-variable solver. Not needed. TABLE 2.1: General constrained solvers used in topology optimization techniques. Finally, below it is provided a summary of the numerical optimization of the only dependent optimizer Augmented Lagrangian. First of all, the Lagrangian function is now defined as indicated in Equation (2.56). [13] L(x,λ,ρ) = f(x) + λc(x) + ρ 2c(x)2(2.56) Therefore, the quadratic penalty term is included in the topology optimization problem definition, as shown in Equation (2.57). maxλminxf(x) + λc(x) + ρ 2c(x)2 s.t c(x) = 0(2.57) In this case, the optimality conditions read ∇f(x) + [λ+ρc(x)]∇c(x) = 0. Line search methods are used to find an optimizer iteratively, obtaining a better solution from an initial guess, and terminating the algorithm once the variable satisfies the optimality conditions and the constraints. The continuity of improvement on the current iterate is guaranteed if following expressions are satisfied. ∇c(xk)Tpk≃0 (2.58) ∇f(xk)Tpk<0 (2.59)
2.2. Numerical methodology 21 2.2 Numerical methodology 2.2.1 Unfitted mesh method Topology optimization of structures deals with a combination of several domains, which are enclosed by a larger reference domain Ωin R2or R3. Initially, the original structure may be defined inside all Ω, but as the algorithm process evolves, the characteristic function will assign void values to some control volumes. Besides, it might appear some boundary control volumes with a combination of black and white values. Here is where the term cut mesh appears. The known unfitted finite element method variant will be employed when dealing with cut meshes, so as to facilitate computations on complex geometries of the structure for boundaries and interfaces treatment, as well as the discretization of PDEs on surfaces. [14] In the unfitted mesh method, the boundary of the material domain will be represented on a background grid, related with the reference domain Ω, by means of the density or a level set function. The starting point consists in discretizing the different geometries. First of all, an arbitrary geometric description is immersed in the background grid, typically a structured mesh in order to facilitate data handling and communication. Hence, to describe stationary boundaries on this mesh, we will now focus on level set, for instance. The location of the boundary is defined by the zero level set of a function ψ:Rn→R, as depicted in Equation (2.60). ψ(x)<0 if x∈Ωmat ψ(x) = 0 if x∈Γ ψ(x)>0 if x∈Ωvoid (2.60) Now, the interface is approximated by sub-triangulation of cut elements. The values of the level-set function in element nodes are employed to classify elements into one of the following three categories: fully contained in Ωmat (all nodes with negative level set value), fully contained in Ωvoid (all nodes with positive level set value) and intersected by Γ(some nodes with positive or negative level set values). For the last category, a sub-triangulation of the element is performed in order to apply standard quadrature rules. In Figures 2.1 and 2.2 this procedure is exposed. FIGURE 2.1: Sub-triangulation of triangular elements. Cells fully contained in Ωmat are marked with 0, cells fully contained in Ωvoid are marked with 2, and cells that are intersected are marked with 1. [14]
22 Chapter 2. Lightweighting structures design with topology optimization techniques FIGURE 2.2: Example of resulting unfitted mesh for ψ(x) = x2+y2− 1 of circular Ωmat. [14] Only linear intersections of the zero level-set with elements is considered, obtaining one straight line segment per intersected elements by linear interpolation between the level set values in the nodes connected to the facet. Hence, a sub-triangulation is built for each cut cell part, as shown in Figure 2.3. Later, new sub-triangle elements are classified in inner or outer elements depending on the level set value, see Figure 2.4. FIGURE 2.3: Straight intersections in 2D, along with the corresponding cell flags and sub-triangulation. [14] FIGURE 2.4: Cell sub-triangulation for (a) Ωmat and (b) Ωvoid example. [14] Finally, integrals over sub-triangulation will be evaluated by using two mappings: the linear affine mapping (χp) and the mapping between reference element and the parent cell (χw). χptransforms a quadrature rule defined on the reference element in function of quadrature points and weights into a quadrature rule on the sub-triangle element, as seen in Figure 2.5. Besides, χwis employed to map the quadrature points
2.2. Numerical methodology 23 defined on the physical sub-triangle element to its location in the reference domain of the whole parent. FIGURE 2.5: Schematics of integration over the sub-triangulation. [14] In Figure 2.6 typical nomenclature referring to each typologies inside the overall mesh is exposed. Note that a classification into inner and cut elements is analogous between the 2D mesh and the 1D boundary cut mesh. FIGURE 2.6: Summary of the nomenclature used for different mesh typologies. 2.2.2 The Diffusion-Reaction equation When both the compliance and the perimeter appear in the objective function, a mathematical formulation for the methodology must be defined. In this case, the general diffusion-reaction equation will fit with the topology optimization model. [15] Consider the optimization problem min ui∈Ω;∑ui=1( f− l ∑ i=1 ciui +α 2c l ∑ i=1 F(ui)). (2.61) In previous expression, for numerical difficulties purposes it is desirable to replace Fwith an alternative model Fϵ, dependent on the perimeter minimum mesh size ϵ parameter, so as to allow the problem to be solved by approximating its minimizers.
24 Chapter 2. Lightweighting structures design with topology optimization techniques One way for choosing Fϵis the well-known Modica-Mortola method, as shown in Equation (2.62). Fϵ=ZΩ 1 ϵW(u(x)) + ϵ|∇u(x)|2dx (2.62) where the double well potential W:R→[0, +∞)satisfies continuity conditions, W(t) = 0 if and only if t∈ {0,1}and there exist L>0 and T>0 such that W(t)≥L|t| ∀ t∈Rwith |t| ≥ T. Another way for choosing this functionals is exposed in Equation (2.63). ¯ Fϵ(u) = in fv∈H1(Ω)ZΩϵ|∇v|2+1 ϵ(v2+u(1−2v))dΩ(2.63) The infimum in the definition of Fϵis attained in some virtual function v∈H1(Ω). This justifies the uniqueness of this function, as Fϵsolves the Euler-Lagrange PDE depicted in Equation (2.64), in the weak sense. −ϵ2∆v+v=uin Ω ∂nv=0 on ∂Ω(2.64) Thus, the known definition of the perimeter is obtained, in function of the minimum mesh size. At this point, there are two possibilities to define at which boundaries the perimeter will contribute as a penalty term to the cost function: total and relative perimeter. In the case of total perimeter, both the boundary of background mesh with black values and the transition regions between black and white values inside the domain will be taken into consideration, so as defining Robin boundary conditions at ∂Ω. Regarding relative perimeter, only the transition region between black and white values inside the domain is considered, thus defining Neumann boundary conditions at ∂Ω. 2.2.3 Incremental scheme During topology optimization some numerical issues will appear if the final optimization constraints are imposed directly in one step, thus defining the need to use several steps, where the objective function will be updated at the beginning of each one with sudden changes, and hence it will be optimized through the evolution of each step. Typically, each step can represent a determined reduction in the volume fraction, among others applications. For instance, considering an optimization problem where the volume is reduced an amount 50% in 10 steps, thus at each step the objective function will be minimized through sequential reductions of 5% related to the volume. Therefore, an incremental optimization scheme is implemented, which calculates the target values for the constraints at each step by using Equation (2.65). [6] xk=x0+t(x∗−x0)(2.65)
2.3. Additive manufacturing in topology optimization 31 A relationship between the length scale and parameter αis not possible to be obtained by means of an explicit expression, neither with a numerical algorithm. This is due to the strongly dependence of the perimeter regarding the mesh employed, the accuracy of the numerical simulation, the final fraction volume and the ϵparameter incremental scheme. Thus, given a simulation set-up, different designs are obtained by changing the value of α, iteratively. FIGURE 2.14: Minimum compliance problem example applied to a cantilever beam. FIGURE 2.15: Isotropic perimeter penalization applied to the cantilever beam example (left). Penalty functional with level set The previous procedure to control the length scale of the optimized structure was monitored by including a penalty term in the compliance function, without controlling directly the desired value of the length scale. Nevertheless, enforcing the minimum thickness as a single penalty functional approach is exposed below, using the level set as design variable and introducing a parameter to set the minimum length, dmin. Following the idea proposed in [18] by Feppon, the minimum thickness requirement is imposed with the minimization of the penalty functional PMinT(Ω), assuring minimum thickness under constraints on the volume and compliance of shapes, as depicted in Equation (2.71). PML : min PMinT(Ω) s.t C(Ω)≤gmax Vol(Ω)≤Vmax (2.71) Where the shape functional, compliance of shape constraints and volume constraints are defined in Equations (2.72), (2.73) and (2.74), respectively. PMinT(Ω) = −ZΩd2 Ωmax(dΩ+dmin/2,0)2dx (2.72) C(Ω) = ZΩ(2µϵ +λTr(ϵ)·I):ϵdx (2.73) Vol(Ω) = ZΩdx (2.74)
32 Chapter 2. Lightweighting structures design with topology optimization techniques FIGURE 2.16: Optimized shape without including minimum thickness constraint. [18] FIGURE 2.17: Optimized shape with minimum thickness constraint (dmin =0.1). [18]. Constraint functional with density Here it is proposed a procedure to guarantee minimum length requirements by imposing an additional constraint, rather than a contribution to the objective function. This new approach limits the design’s perimeter with the computation of the total variation of density field, |∂ΩS|, defining the perimeter as a measure of the boundary of the solid region. [19] Indeed, an upper bound constraint on the perimeter excludes the apparition of microscopic perforations in the solution. The total variation of density field deals with a SIMP continuous interpolation model for density as design variable, approaching the perimeter as the amount of transitional material is forced to zero. The total variation of the density function is depicted |∂ΩS|=ZΩ\ΓJ gh(∇ρ,ξ)dΩ+ZΓJ j(<ρ>,ξ)dΓ≤¯ P(2.75) where ξand <ρ>accounts for a smoothing parameter circumventing numerical problems and the jump in ρacross ΓJ, respectively. Besides, ghand jare functions defined in Equations (2.76) and (2.77), respectively, using parameter has the size of a finite element. gh(w,ξ) = (1+2ξ)wTw+ξ2 h21 2 −ξ h(2.76) j(r,ξ) = (1+2ξ)r2+ξ21 2−ξ(2.77) Constraint functional with a density based projection method Finally, here it is depicted another procedure to guarantee minimum length scales by means of an additional geometric constraint, using a robust formulation based in the projection method, guaranteeing well-convergence of results and without large gray scale areas. Therefore, this will represent the most recommended approach to impose a length scale requirement in a design, since this procedure shall guarantee
2.3. Additive manufacturing in topology optimization 33 such scales not only inside the black region, but also length scales inside the void domain. Besides, this approach would also solve local features convergence issues due to mesh refinement, so as to ensure manufacturing tolerant designs. The following projection method is based in the density as design variable and it follows a filtering-threshold topology optimization scheme, defining a 3-field scheme with the design variable ρ, a filtered version ρϵand a projected version ρP. Note that the design variable shall come from an adjoint sensitivity analysis, thus defining an optimization problem strongly dependent on the mesh size. Considering the neighborhood set Niwithin a filter domain of an element i, thus Zhou et. al. propose the expression to filter the design variable exposed in Equation (2.78). [20] ρϵ,i=∑j∈Niw(xj)Vjρj ∑j∈Niw(xj)Vj (2.78) Where w(xj) = Rf−|xi−xj|is a weighting function of a filter with radius Rf. Besides, Vjstands for the volume of neighbour element jand xi,xjfor the cell coordinates of considered element iand neighbour element j. Thus, a threshold projection into the 0/1 space is defined as a function of previous filtered density ρP=f(ρϵ), as shown in Equation (2.79), proposed by Wang et. al. [21] ρP,i=tanh(βη)+tanh(β(ρϵ,i−η)) tanh(βη)+tanh(β(1−η))(2.79) In previous expression, βrepresents a Heaviside steepness factor and ηthe projection threshold. The key idea is as follows: for a given threshold ηand sufficiently large value of βhence, • All ρϵ,i>ηverifies that ρP,i=1. • All ρϵ,i<ηverifies that ρP,i=0. Some special cases are deduced from these conditions. Indeed, for η=0 a dilation of the domain is produced, guaranteeing minimum length scales at the solid region, whereas for η=1 an erosion of the domain appears, guaranteeing minimum length at the void region. Therefore, an initial problem may be produced here, as it is not possible to control both solid and void length scales at a first instance. Hence, minimum length scales will be imposed separately for an inflection region at solid and void phase, defining a threshold interval (ηmin,ηint,ηmax). Specifically, • Given a value η=ηmax, hence all ρϵ,i>ηmax will define an inflection region where ρP,i=1 and ∇ρϵ,i=0. • Given a value η=ηmin, hence all ρϵ,i<ηmin will define an inflection region where ρP,i=0 and ∇ρϵ,i=0.
34 Chapter 2. Lightweighting structures design with topology optimization techniques FIGURE 2.18: Density filtering of solid and void phases and their Heaviside projections. [21] Typically, for a given value of η∗∈(0, 0.5), the threshold interval is defined as ηmin =η∗,ηint =0.5, ηmax =1−η∗(see Figure 2.18). In order to identify previous inflection regions, the structural indicator functions exposed in Equations (2.80) and (2.81) are employed, so as to impose the minimum length requirements in solid and void phases, respectively. Isolid =ρP·exp−c·|∇ρϵ|2(2.80) Ivoid = (1−ρP)·exp−c·|∇ρϵ|2(2.81) The workable range of steepest parameter chas been previously studied, and this shall be defined as c∈[0.4, 1.4]·R h4, where his the mesh element size. [20] For instance, c=r4would provide effective results to the optimization problem. Thus, the geometric constraints defined in Equations (2.82) and (2.83) will be included through the definition of the optimization problem, for solid and void phases respectively. In these expressions, nstands for the total number of elements. gsolid =1 n∑ i∈N Isolid i·[min((ρϵ,i−ηmax),0)]2≤ϵ(2.82) gvoid =1 n∑ i∈N Ivoid i·[min((ηmin −ρϵ,i),0)]2≤ϵ(2.83)
2.3. Additive manufacturing in topology optimization 35 Where ϵ>0 is a residual parameter. Lastly, the minimum length scales problem is defined in Equation (2.84). PMLS : minρfT·u(ρ) s.t K(ρ)·u(ρ) = F(ρ) Vf≤V∗ gsolid ≤ϵ gvoid ≤ϵ ρ∈[0,1] (2.84) 2.3.3 AM Overhang constraints The use of perimeters in 3D printing is also useful concerning one of the significant problems in AM technology, overhanging - see Figure 2.19. FIGURE 2.19: Overhanging phenomena. [15] If in some region of the part the angle between the vertical axis and tangent vectors to the object is larger than 45 degree, hence it may happen that new layers do not stick firmly together, leading to the apparition of small bulges. In this case, the tool known as anisotropic perimeter will play an important role to overcome this issue. The known anisotropic total variation of the characteristic function with respect to the elastic conductivity of the material is the main tool to define the functionals computing the anisotropic perimeter [15]. These functions are unique and solve the Euler- Lagrange PDE in the weak sense. −ϵ2∇(A·∇u) + u=gin Ω ∂Anu=0 on ∂Ω(2.85) where Acorresponds to the elastic conductivity matrix. In general, Ais a symmetrical matrix defined in 2D or 3D. The main purpose of this matrix will be to define virtually in which direction the material has the maximum stiffness intensity, so as to prioritize the direction where the bars emerging from the minimum compliance problem will be placed. Nevertheless, in practice Amay be defined as a diagonal matrix, where each term
36 Chapter 2. Lightweighting structures design with topology optimization techniques defines the stiffness intensity penalty in each main direction of the coordinate system. Therefore, the component with the maximum stiffness would define the direction tendency of the bars obtained from the optimization process. Thus, one may rotate such matrix later with the corresponding Euler angles in order to orientate these bars in a determined direction. In practice, when avoiding overhanging phenomena one wants to prioritize the orientation along the vertical axis, hence using a conductivity matrix similar to the one depicted in Equation (2.86) for a 2D problem. A=1 0 0 100(2.86) Regarding the topology optimization algorithm, the elastic conductivity matrix will be employed prior to compute the left hand side stiffness matrix, after selecting the type of filter to use during the resolution of the diffusion-reaction PDE. In this step, the known elementary anisotropic stiffness matrix will be defined as shown in Equation (2.87). Kel =ZZZΩBT·A·B·dΩ(2.87) In order to extend the anisotropic perimeter to any direction of the domain, below is exposed the required mathematical formulation. Let Ωto represent a 2-dimensional domain referenced with a global axis system XY. Let also αto represent the rotation of a local axis system X′Y′with respect to the global one, as depicted in Figure 2.20. Therefore, a local matrix A′is defined such that the topologic bars resulting from the optimization process are oriented along the local axis X′(see an instance in Equation (2.88)). FIGURE 2.20: Global and local axis system representation to orientate the resulting topology. A′=100 0 0 1(2.88) Nevertheless, as the algorithm work with the global axis system, we will need the matrix A2D(α)defined in the global system. As it is not trivial to rotate directly a matrix, let v′and n′to represent a local vector and a local normal vector, respectively, combined with A′as shown in Equation (2.89).
2.3. Additive manufacturing in topology optimization 37 v′=A′·n′=v′ x v′ y(2.89) Previous expression applies analogously to their corresponding global measures. Now, in Equation (2.90) the relationship between vand v′is represented in function of a rotation matrix. Note that, as the rotation matrix is orthonormal, hence the inverse of it is directly the same matrix transposed. v=vx vy=v′ x·cos α−v′ y·sin α v′ x·sin α+v′ y·cos α v=cos α−sin α sin αcos α·v′ x v′ y=R·v′ v′=RT·v (2.90) Analogously, one finds the relationship between nand n′, see Equation (2.91). n′=RT·n(2.91) Combining expressions (2.90) and (2.91) with (2.89), we have v=R·A′·RT·n. (2.92) Finally, the global elastic conductivity matrix is defined in Equation (2.93). A2D(α) = R(α)·A′·RT(α)(2.93)
38 Chapter 3 Feasibility study In this chapter the feasibility of Topology Optimization techniques regarding the creation of new structures with less volume and within an optimized shape is verified, along with the fulfillment of additive manufacturing constraints. Specifically, the considered case studies where the numerical approach is assessed are firstly exposed, as well as an independent anisotropic perimeter validation. Besides, for each case study all variants regarding isotropy, perimeter and design variable are simulated, thus obtaining eight simulations for each part, in general. Lastly, a comparison between the numerical methodology implemented with SIMP and SIMP-ALL is introduced, among other target parameters. 3.1 Case studies definition 3.1.1 Cantilever beam The classic cantilever beam in 2D is a benchmark case, consisting of a rectangular box initially filled with material (i.e χ=1 at all the reference domain), clamped at the left side and with a vertical point load applied at the middle of right side, as depicted in Figure 3.1. FIGURE 3.1: Cantilever beam computational domain. Initial case representation with density.
3.1. Case studies definition 39 The clamped nodes are constrained in all degrees of freedom. Furthermore, the horizontal and vertical length of the box have been chosen as 2 and 1 length units, respectively. Besides, 150 and 75 divisions have been implemented in the horizontal and vertical sides, respectively, in order to obtain quadrilateral elements and later applying triangulation to each one, thus obtaining a mesh with 22052 elements, shown in Figure 3.2. The aim of this case study is to find the optimal topology by minimizing the compliance with an isotropic/anisotropic perimeter penalty, using level set and density as design variables. FIGURE 3.2: Cantilever beam mesh (reference domain). 3.1.2 Bridge The bridge case in 2D consists of a rectangular box initially filled with material, clamped at two set of nodes: one located in the left end of the lower edge and another in the right end of the lower edge. Besides, a vertical point load is applied at the middle of upper edge, as seen in Figure 3.3. FIGURE 3.3: Bridge computational domain. Initial case representation with density.
40 Chapter 3. Feasibility study The clamped nodes are constrained in all degrees of freedom. Besides, the horizontal and vertical length of the box have been chosen as 6 and 1 length units, respectively. The mesh has been computed with GiD software, with a total number of elements of 137138 (see Figure 3.4). The aim of this case study is to find the optimal topology by minimizing the compliance with an isotropic/anisotropic perimeter penalty, using level set and density as design variables. FIGURE 3.4: Bridge mesh (reference domain). 3.1.3 Arch The arch case in 2D consists of a rectangular box initially filled with material, clamped at two set of nodes: one located near the left end of the lower edge and another near the right end of the lower edge. Besides, a vertical distributed load is applied at the middle of lower edge, as seen in Figure 3.5. FIGURE 3.5: Arch computational domain. Initial case representation with density.
3.2. Results 47 As the cantilever beam is mainly submitted to a bending load, it is relatively complex to obtain a converged solution directly with a single stage simulation using both compliance and a vertical anisotropic perimeter penalty inside the cost function. Therefore, a 2-stage simulation has been performed for each of the 8 variants (also including the isotropic cases, for convenience), as their settings are depicted in Tables 3.2 and 3.3. In stage 1, the cantilever beam is optimized with a minimum compliance problem algorithm, without keeping control in overhang and length scales. As the code deals with two design variables, hence just two different simulations for the pure compliance shall be carried out: density and level set. Thus, the final converged result from the minimum compliance problem is numerically stored and this serves as the initial case of stage 2, where the cantilever beam is postprocessed using now both the compliance and a perimeter penalty inside the cost function, so as to filter small length scales and horizontal topologies, keeping the volume constant throughout this process. Notice that the factor multiplying the perimeter penalty term might be different for each of the 8 variants in order to obtain a well-converged result. Lastly, all variants are solved with SIMP-ALL as the interpolation method. In Figures 3.11 and 3.12 the results related with isotropic total perimeter and anisotropic total perimeter are shown for the density as design variable, respectively. Regarding the isotropic case, no local features with small length scales are appearing in the solution. In fact, just one reinforcing bar is acting in the bottom side of the box mesh. Besides, the relationship between the degree of contribution of compliance and perimeter shape functionals is 1:1, which is relatively high. Therefore, regions near nodes with imposed displacement or force converge with curved boundaries, as it is the best way to optimize locally the perimeter. In relation with the anisotropic case, two bars with a vertical tendency orientation have appeared at the top side of the box mesh, reinforcing the beam with optimal resources since a virtual anisotropic stiffness matrix has been imposed with a priority in the global Y-axis. Furthermore, previous curved boundaries have converged into vertical ones, fitting again with the box mesh boundary. Finally, it is surprising how for the density case the converged results are not symmetric with respect the beam’s axis, probably due to the non-symmetry of the mesh. In Figures 3.13 and 3.14 the results related with isotropic relative perimeter and anisotropic relative perimeter are shown for the density as design variable, respectively. Results are very similar to their total perimeter complementary cases, with two main differences. Firstly, as now only the interior perimeter accounts to the penalization term of the cost function, the boundaries of the beam adjacent to the boundary of box mesh obtained from the pure compliance case always remain in such position, hence obtaining now abrupt variations at interfaces between the boundaries of the inner mesh and the inner cut mesh. Secondly, and as a consequence of the first difference, local reinforcing bars appearing in both variants have been penalized more severely, obtaining minor length scales. In Figures 3.15 and 3.16 the results related with isotropic total perimeter and anisotropic total perimeter are shown for the level set as design variable, respectively. These cases converge into a solution symmetric with respect to the beam’s axis. Regarding the isotropic case, again no local features with small length scales appear. Nevertheless, in relation with the anisotropic case, previous reinforcing bars have converged into ones slightly aligned vertically, and also with a higher thickness, thus satisfying the anisotropic perimeter penalty term. Finally, in Figures 3.17 and 3.18 the results related with isotropic relative perimeter
48 Chapter 3. Feasibility study and anisotropic relative perimeter are shown for the level set as design variable, respectively. Again, results are very similar to their total perimeter complementary case, but with abrupt variations at the inner mesh and inner cut mesh interfaces. Nevertheless, now the penalization of interior perimeter is so notorious that even an internal reinforcing bar has been removed for the isotropic case. 3.2.3 Bridge FIGURE 3.19: Isotropic total perimeter with density. FIGURE 3.20: Anisotropic total perimeter with density. FIGURE 3.21: Isotropic relative perimeter with density. FIGURE 3.22: Anisotropic relative perimeter with density. FIGURE 3.23: Isotropic total perimeter with level set. FIGURE 3.24: Anisotropic total perimeter with level set. FIGURE 3.25: Isotropic relative perimeter with level set. FIGURE 3.26: Anisotropic relative perimeter with level set.
3.2. Results 49 Case: Stage 1 Bridge optUnconstr optConstr filter nSteps maxIter Vi Vf Pure Compliance (density) Projected Gradient Dual Nested In Primal P1 1 2000 1 0.5 Pure Compliance (level set) SLERP Dual Nested In Primal P1 10 2000 1 0.5 TABLE 3.4: Settings of different bridge cases (stage 1). Case: Stage 2 Bridge Cost optUnconstr optConstr filter nSteps maxIter Vi Vf Isotropic total perimeter (density) c + 0.1P - MMA P1 10 100 0.5 0.5 Anisotropic total perimeter (density) c + 0.1P - MMA P1 10 100 0.5 0.5 Isotropic relative perimeter (density) c + 0.1P - MMA P1 10 100 0.5 0.5 Anisotropic relative perimeter (density) c + 0.1P - MMA P1 10 100 0.5 0.5 Isotropic total perimeter (level set) c + 0.3P SLERP Dual Nested In Primal P1 10 100 0.5 0.5 Anisotropic total perimeter (level set) c + 0.3P SLERP Dual Nested In Primal P1 10 100 0.5 0.5 Isotropic relative perimeter (level set) c + 0.3P SLERP Dual Nested In Primal P1 10 100 0.5 0.5 Anisotropic relative perimeter (level set) c + 0.3P SLERP Dual Nested In Primal P1 10 100 0.5 0.5 TABLE 3.5: Settings of different bridge cases (stage 2). The results of all variants regarding the bridge case study are shown above, along with the settings configuration defined for each case.
50 Chapter 3. Feasibility study Again, the same 2-stage simulation strategy as the cantilever beam case has been performed for each of the 8 variants, as their settings are depicted in Tables 3.4 and 3.5. In stage 1, the bridge is optimized with a minimum compliance problem algorithm. Similarly to the cantilever beam, just two different simulations for the pure compliance shall be carried out depending on the design variable: density and level set. Thus, the final converged result from the minimum compliance problem is numerically stored and this serves as the initial case of stage 2, where the bridge is postprocessed using now both the compliance and a perimeter penalty inside the cost function. Notice that the factor multiplying the perimeter penalty term might be different for each of the 8 variants in order to obtain a well-converged result. Lastly, all variants are solved with SIMP-ALL as the interpolation method. In Figures 3.19 and 3.20 the results related with isotropic total perimeter and anisotropic total perimeter are shown for the density as design variable, respectively. Regarding the isotropic case, just two reinforcing bars with high thickness are acting in the middle of the structure, avoiding the formation of small features. In relation with the anisotropic case, these cross bars have disappeared, inducing the formation of two vertical pillars, as it is the best material distribution due to the imposed virtual anisotropic stiffness matrix, with a priority in the global Y-axis. Furthermore, Dirichlet nodes have converged also into vertical topologies that are linked with the main pillars. Finally, note that both cases are symmetric with respect the boundary conditions set-up. In Figures 3.21 and 3.22 the results related with isotropic relative perimeter and anisotropic relative perimeter are shown for the density as design variable, respectively. Results are very similar to their total perimeter complementary cases. However, note again that as now only the interior perimeter accounts to the penalization term of the cost function, abrupt variations are obtained at interfaces between the boundaries of the inner mesh and the inner cut mesh. Also, penalization is acting more severely in the anisotropic case, where the bridge is even split in two structures symmetrically. In Figures 3.23 and 3.24 the results related with isotropic total perimeter and anisotropic total perimeter are shown for the level set as design variable, respectively. These cases converge into a solution symmetric with respect to the bridge’s vertical axis. Regarding the isotropic case, again no local features with small length scales appear, obtaining a very similar solution as with density, but including reinforcing bars with less thickness. Nevertheless, in relation with the anisotropic case, previous reinforcing bars have converged into ones slightly aligned vertically with higher thickness, instead of the formation of two pillars, thus satisfying the anisotropic perimeter penalty term. Note also that in the middle part of the bottom edge of the box mesh a penalization of a horizontal bar has been produced, splitting this region of the bridge’s base in two parts. Finally, in Figures 3.25 and 3.26 the results related with isotropic relative perimeter and anisotropic relative perimeter are shown for the level set as design variable, respectively. As usually, results are very similar to their total perimeter complementary case, but with abrupt variations at the inner mesh and inner cut mesh interfaces.
3.2. Results 51 3.2.4 Arch FIGURE 3.27: Isotropic total perimeter with density. FIGURE 3.28: Anisotropic total perimeter with density. FIGURE 3.29: Isotropic relative perimeter with density. FIGURE 3.30: Anisotropic relative perimeter with density. FIGURE 3.31: Isotropic total perimeter with level set. FIGURE 3.32: Anisotropic total perimeter with level set. FIGURE 3.33: Isotropic relative perimeter with level set. FIGURE 3.34: Anisotropic relative perimeter with level set.
52 Chapter 3. Feasibility study Case: Stage 1 Arch optUnconstr optConstr filter nSteps maxIter Vi Vf Pure Compliance (density) Projected Gradient Dual Nested In Primal P1 1 2000 1 0.15 Pure Compliance (level set) SLERP Dual Nested In Primal P1 4 2000 1 0.15 TABLE 3.6: Settings of different arch cases (stage 1). Case: Stage 2 Arch Cost optUnconstr optConstr filter nSteps maxIter Vi Vf Isotropic total perimeter (density) c + 0.01P - MMA P1 10 200 0.15 0.15 Anisotropic total perimeter (density) c + 0.01P - MMA P1 10 200 0.15 0.15 Isotropic relative perimeter (density) c + 0.01P - MMA P1 10 200 0.15 0.15 Anisotropic relative perimeter (density) c + 0.01P - MMA P1 10 200 0.15 0.15 Isotropic total perimeter (level set) c + P SLERP Dual Nested In Primal P1 10 100 0.15 0.15 Anisotropic total perimeter (level set) c + P SLERP Dual Nested In Primal P1 10 100 0.15 0.15 Isotropic relative perimeter (level set) c + P SLERP Dual Nested In Primal P1 10 100 0.15 0.15 Anisotropic relative perimeter (level set) c + P SLERP Dual Nested In Primal P1 10 100 0.15 0.15 TABLE 3.7: Settings of different arch cases (stage 2). The results of all variants regarding the arch case study are shown above, along with the settings configuration defined for each case.
3.2. Results 53 The same 2-stage simulation strategy as previous cases has been performed for each of the 8 variants, as their settings are depicted in Tables 3.6 and 3.7. In stage 1, the arch is optimized with a minimum compliance problem algorithm. Just two different simulations for the pure compliance shall be carried out depending on the design variable: density and level set. Thus, the final converged result from the minimum compliance problem is numerically stored and this serves as the initial case of stage 2, using now both the compliance and a perimeter penalty inside the cost function. Notice that the factor multiplying the perimeter penalty term might be different for each of the 8 variants in order to obtain a well-converged result. Lastly, all variants are solved with SIMP-ALL as the interpolation method. In Figures 3.27 and 3.28 the results related with isotropic total perimeter and anisotropic total perimeter are shown for the density as design variable, respectively. Regarding the isotropic case, one vertical reinforcing bar has appeared at the middle, along with two additional crossed bars at each side, symmetrically. In relation with the anisotropic case, the cross bars with highest horizontal orientation have disappeared, inducing the increase in thickness of the vertical bar, as it is the best material distribution due to the imposed virtual anisotropic stiffness matrix. Lastly, the anisotropic case is also symmetric with respect the vertical axis. In Figures 3.29 and 3.30 the results related with isotropic relative perimeter and anisotropic relative perimeter are shown for the density as design variable, respectively. Results are very similar to their total perimeter complementary cases. Nevertheless, abrupt variations are obtained at interfaces between the boundaries of the inner mesh and the inner cut mesh because only the interior perimeter accounts to the penalization term of the cost function, hence avoiding curve boundaries near Neumann nodes. In Figures 3.31 and 3.32 the results related with isotropic total perimeter and anisotropic total perimeter are shown for the level set as design variable, respectively. These cases also converge into a solution symmetric with respect to the arch’s vertical axis, except to the formation of a very small feature, possibly meaning that a higher penalization coefficient is needed. Regarding the isotropic case, no local features with small length scales are appearing, obtaining two crossed reinforcing bars with high thickness. However, in relation with the anisotropic case, previous reinforcing bars have converged into ones slightly aligned vertically in the lower side, but splitting the whole arch in two parts, thus satisfying the virtual stiffness in Y-axis. Indeed, the arch is a case study highly sensitive to a vertical anisotropic perimeter constraint. Finally, in Figures 3.33 and 3.34 the results related with isotropic relative perimeter and anisotropic relative perimeter are shown for the level set as design variable, respectively. Again, results are very similar to their total perimeter complementary case, but with abrupt variations at the inner mesh and inner cut mesh interfaces. Also, previous small hole now is fulfilled in the isotropic case, probably due to now only the interior perimeter accounts to the penalty term.
54 Chapter 3. Feasibility study 3.2.5 Microstructures FIGURE 3.35: Isotropic total perimeter with density (bulk I). FIGURE 3.36: Anisotropic total perimeter with density (bulk I). FIGURE 3.37: Isotropic total perimeter with level set (bulk II). FIGURE 3.38: Anisotropic total perimeter with level set (bulk II).
3.2. Results 55 FIGURE 3.39: Isotropic total perimeter with density (shear). FIGURE 3.40: Anisotropic total perimeter with density (shear). FIGURE 3.41: Isotropic total perimeter with level set (shearbulk). FIGURE 3.42: Anisotropic total perimeter with level set (shearbulk).
56 Chapter 3. Feasibility study Case: Single stage Micro Cost optUnconstr optConstr filter nSteps maxIter Vi Vf Isotropic total perimeter in Bulk I (density) h + 0.052P Projected Gradient Dual Nested In Primal P1 3 2000 1 0.6 Anisotropic total perimeter in Bulk I (density) h + 0.052P Projected Gradient Dual Nested In Primal P1 3 2000 1 0.6 Isotropic total perimeter in Shear (density) h + 0.052P Projected Gradient Dual Nested In Primal P1 3 2000 1 0.6 Anisotropic total perimeter in Shear (density) h + 0.052P Projected Gradient Dual Nested In Primal P1 3 2000 1 0.6 Isotropic total perimeter in Bulk II (level set) h + 0.1P SLERP Dual Nested In Primal P1 8 2000 1 0.6 Anisotropic total perimeter in Bulk II (level set)* h + 0.1P SLERP Dual Nested In Primal P1 8/ 10 2000/ 150 1/ 0.6 0.6/ 0.6 Isotropic total perimeter in Shear-Bulk (level set) h + 0.1P SLERP Dual Nested In Primal P1 8 2000 1 0.6 Anisotropic total perimeter in Shear-Bulk (level set)* h + 0.1P SLERP Dual Nested In Primal P1 8/ 10 2000/ 150 1/ 0.6 0.6/ 0.6 TABLE 3.8: Settings of different micro cases. Anisotropic cases labeled with * consist of two stages which values are separated by s1/s2. First stage is the same simulation as their complementary isotropic cases. Second stage is a postprocess of the result obtained from first stage, considering the anisotropic stiffness matrix. The results of all variants regarding the microstructures case study are shown above, along with the settings configuration defined for each case.
63 Chapter 5 Budget and project schedule 5.1 Budget The budget of this project, which gives dimension to its initial inversion, has included the following kind of costs: Human Resources, Software and other individual fixed costs. More specifically, in Tables 5.1,5.2 and 5.3, the Human Resources Plan, Software and fixed costs are depicted, respectively. Finally, in Table 5.4 the total budget of the project is computed. Human Resources Plan ID Components Hours Cost/u (e) Cost (e) 1.1 Project management. Costs relative to project development time. 300.0 20.00 6000.00 Total 6000.00 TABLE 5.1: Cost of project Human Resources. Own elaboration. Software ID Components Cost (e) 2.1 Permanent licenses. 3100.00 2.1.1 Matlab & Simulink. 2000.00 2.1.2 GiD Simulation. 1100.00 Total 3100.00 TABLE 5.2: Cost of Softwares. Own elaboration.
64 Chapter 5. Budget and project schedule Fixed costs ID Components Hours Cost/u (e) Cost (e) 3.1 Material. - - 2000.00 3.1.1 Computer - - 1500.00 3.1.2 Office material - - 500.00 3.2 Additional costs. - - 312.00 3.2.1 Light 300.0 0.17 51.00 3.2.2 Telephony 300.0 0.38 114.00 3.2.3 Commuting 300.0 0.49 147.00 Total 2312.00 TABLE 5.3: Individual fixed costs. Own elaboration. Total budget ID Components Cost (e) 1Human Resources Plan. 6000.00 2Software. 3100.00 3Fixed costs. 2312.00 Total 11412.00 TABLE 5.4: Total budget cost. Own elaboration. Thus, a total budget of 11412.00 eis obtained. 5.2 Schedule Moreover, in next page the Gantt Chart followed throughout this project is attached.
20 27 6 13 20 27 3 10 17 24 1 8 15 22 29 5 12 Feb '22 Mar '22 Apr '22 May '22 Jun '22 TFM 1.1. Design of lightweighting struc... 1.1.1. CSM 1.1.1.1. FEM 1.1.1.1.1. The elastic problem 1.1.1.1.2. Material properties & typol... 1.1.1.1.3. Theoretical basis of FEM 1.1.1.1.4. FEM in structural problems... 1.1.1.1.5. Boundary conditions 1.1.1.1.6. Classical resolution algorit... 1.1.1.2. Topology Optimization Techn... 1.1.1.2.1. Theoretical basis 1.1.1.2.1.1. Density vs LevelSet appr... 1.1.1.2.1.2. Mathematical formulatio... 1.1.1.2.1.3. Filtering 1.1.1.2.1.4. Optimizers 1.1.1.2.1.5. Methods 1.1.1.2.1.6. Shape functionals 1.1.1.2.1.7. Interpolation schemes 1.1.1.2.2. Isotropic vs anisotropic ap... 1.1.1.2.3. FE Implementation 1.1.1.2.3.1. Unfitted mesh in 2D 1.1.1.2.3.2. Incremental scheme 1.1.1.2.3.3. The Diffusion-Reaction e... 1.1.1.2.4. Optimization algorithms 1.1.2. Additive manufacturing constr... 1.1.2.1. Additive manufacturing 1.1.2.2. Length scale constraints 1.1.2.3. Overhang constraints 1.1.3. Case studies definition 1.1.3.1. Cantilever beam in 2D 1.1.3.2. Bridge in 2D 1.1.3.3.Arch in 2D 1.1.3.4. Micro in 2D 1.2. Feasibility study 1.2.1. Simulations 1.2.1.1. Programming Environment 1.2.1.1.1. OOP 1.2.1.1.2. UML 1.2.1.1.3. Driven development philos... 1.2.1.1.4. Matlab 1.2.1.1.5. Git environment 1.2.1.2. Computational domain defini... 1.2.1.3. Meshing process 1.2.1.4. Simulation setup programmi... 1.2.2. Numerical methodologies com... 1.2.3. Analysis of results 1.2.3.1. Objective functions minimiza... 1.2.3.2. Fulfillment of add.manuf. co... 1.2.3.3. Code verification with pure ... 1.3. Project Management 1.3.1. Documentation 1.3.1.1. Project Charter 1.3.1.2. Final report review 1.3.1.3. Minutes of Meeting 1.3.2. Time management 1.3.3. Costs management 1.3.4. Final presentation Powered by TCPDF (www.tcpdf.org)
66 Chapter 6 Conclusions 6.1 Project conclusions The present project has accomplished the main objectives planned in the beginning. The feasibility of designs under additive manufacturing constraints - and considering numerical topology optimization techniques - has been properly analyzed, so as to validate the anisotropic perimeter implementation and giving a positive answer to the creation of lightweighting structures and the related fulfillment of 3D printing constraints. More specifically, the methodology followed and the results obtained have led to the key points depicted hereunder. The programming environment defined for this project has been useful throughout all stages, using the test-driven development philosophy, along with Object- Oriented Programming techniques to obtain higher reusability dynamism of all implemented objects, unlike traditional successor functions, and thus overall optimizing code development time. Besides, Git Version Control System has been helpful to manage multiple versions of the Swan project, hence combining the code developed with further improvements of the generic code repository. Moreover, the use of Finite Element Methods in structural problems allows the creation of a robust numerical approach that gives a modelization of a mathematical model, under a set of loads and constraints. Therefore, such numerical methodology combined with topology optimization has led to the obtaining of a heuristic model that creates new designs which weight have been reduced by the creation of voids near the less stressed areas, fulfilling an objective function and a set of constraints, considering two main design variables: density and level set. Therefore, in order to fulfill additive manufacturing constraints - overhang and minimum length scales requirements - an additional shape functional has been defined as a penalty contribution to the main objective function (mainly the compliance and orthotropic effective properties): the anisotropic perimeter tool, being the evolution of the standard (isotropic) perimeter. Both perimeter approaches lead to the resolution of a Diffusion-Reaction equation. Hence, two possibilities to define at which boundaries the perimeter contributes appear, being total (Robin boundary conditions) and relative (Neumann boundary conditions) perimeter. The known anisotropic perimeter solves both length scale and overhang constraints, so as to allow manufacturability with additive manufacturing technology. On one hand, considering the perimeter as objective function penalty term self-penalizes the creation of boundaries (gray regions), thus avoiding the formation of small geometrical scales.
6.2. Future lines of research 67 On the other hand, defining an anisotropic stiffness matrix by including a conductivity matrix in the integration of Kel has defined virtually in which direction the material has the maximum stiffness intensity, hence keeping control in overhanging phenomena by orienting the topologies mainly in the vertical direction. Regarding the results obtained, first the anisotropic perimeter has been validated by means of a pure minimum perimeter problem, where a square shape has converged into an ellipse with higher eccentricity as the anisotropic scale factor increased, and which major axis orientation is related with the virtual anisotropic stiffness matrix eigenvectors. Lastly, in relation with the case studies, the apparition of local features with small length scales has been avoided when including either isotropic or anisotropic perimeter as penalty term. Furthermore, vertical tendency orientation of topologies has been generally obtained in relation with the anisotropic cases, along with the penalization of horizontal features. It is also worth mentioning the fact that interior perimeter cases severely penalizes the obtained topologies, when compared with their total perimeter complementary cases, even splitting the initial configuration in two parts, as it occurs in the bridge and arch case studies. It must be highlighted also the importance of selecting an accurate interpolation method for any case study, as well as the target parameters settings to allow the precise functioning of shape and topological derivatives, whereas the perimeter acts as a non-negligible penalty term. Overall, this project has become clearly relevant for the exploration of new lightweighting structures and the ulterior limitation of current environmental impact at all industrial sectors, as the aerospace industry. Indeed, the use of numerical methods concerning topology optimization techniques and additive manufacturing constraints shall allow the minimization of both design time and costs. Besides, as the code has been written to be compatible with collaborative projects, further exploration of future lines of research will be allowed in the course of PhD professionalization, specially when considering phase-field models, high-performance computing and large-scale optimization inside the non-linear regime. 6.2 Future lines of research Although the main objectives of this project have been successfully accomplished in order to obtain heuristic designs computationally, some aspects in which future work is needed must be taken into consideration. More specifically: • To expand the anisotropic perimeter code to optimize 3D structures. • To implement the minimum length scale constraint functional with a density based projection method, inside the Swan project. • To implement adaptive algorithms where white values does not account for the stiffness matrix of the structure (continuous refactoring of the stiffness matrix), along with selective geometry methods. • To test experimentally the resulting manufacturing of the optimized parts, under the same boundary conditions as the numerical experiment. • To move further and design optimal structures in the non-linear regime, specially when considering plasticity and damage models.
68 Appendix A Programming Environment Prior to gain knowledge inside the field of topology optimization methods, in this chapter a definition of the programming environment which will be used throughout the project evolution is provided. The importance of developing this code following the guidelines and techniques depicted in the following sections is crutial, above all taking into consideration that all the work carried out shall be able to be combined with future code. Therefore, the Object-Oriented Programming technique is employed, along with the test-driven development philosophy and the Unified Modeling Language representation method, which will schematize the code algorithm at user level. Finally, an introduction to the Git Environment will be exposed. A.1 Object-Oriented Programming Software technology has been used since the 1950s in order to solve a complex problem by means of an assembled machine language. Over the last five decades, the evolution of software technology has defined two different types of programming techniques, firstly a procedure-oriented and hence an object-oriented programming. [23] Procedure-Oriented Programming. Regarding the first improvement or phase, defined as Procedure-Oriented Programming (POP), the complex problem is solved by following a cartesian-based method, where the main program is divided into a sequence of secondary tasks that shall be done in order to obtain the last result. Besides, these new tasks may be also divided into smaller tasks, even related with several predecessors, and thus keeping this procedure working until atomic tasks are reached. At software technology level, these tasks are known as functions. Hence, atomic functions are activated separately in such a way that more complex functions can be accessed until the main program is completely solved. This hierarchical decomposition technique is the most common one to maintain a first contact with a determined programming language, as it is simple to implement. In Figure A.1 a common algorithm decomposition scheme is depicted. Although this programming technique is widely used at user level, POP presents a clear disadvantage in relation with its exploitation to external programmers. Therefore, a procedure-oriented code has a lack of dynamism when considering its reusability.
A.1. Object-Oriented Programming 69 FIGURE A.1: Typical hierarchical decomposition of procedural oriented algorithms. [23] Furthermore, in this multi-functional problem some data shall be placed locally inside each function as volatile variables, and also other data may be defined globally, such that all the functions can access it. Therefore, a clear drawback appears when considering the vulnerability of global data to an inadvertent change by a function. Thus, the motivating factor aiming to eliminate some of conventional programming disadvantages defined the second improvement, also with the purpose of incorporating the best POP features with other new powerful concepts. Object-Oriented Programming (OOP). Treats data as a critical element, since it does not allow it to be placed freely around the complex problem decomposition, hence locating data closely to the function that operate on it. In fact, OOP allows the decomposition into a number of entities called objects and thus stores properties and functions around these objects. In Figure A.2 the organization scheme of OOP is exposed. The public functions associated with a certain object can access its properties, as well as the functions of other objects. FIGURE A.2: Data and functions organization in Object-Oriented Programming. [23] This new programming technique implies a higher reusability dynamism, since some of the objects into which a program is divided may be also complement the composition of another program, unlike traditional successor functions. In fact, a determined
70 Appendix A. Programming Environment object does not serve a specific complex problem, and it shall be used for a large variety of complex problems, relatively similar between them. This feature helps to optimize code development time regarding reusability and tangibility by external programmers. Other features of OOP are the following: • Main focus on data rather than procedure. • Properties and functions structures characterize the object to which they belong. • Some part of data can be hidden. • It is possible to create multiple instances of an object without any interference. • OOP can be easily upgraded from small to large problems. In Object-Oriented Programming there are two concepts extensively used: Objects and Classes. Objects consists in the basic run time entities in an OOP system, and they shall be chosen so that real-world objects are matched. The complex problem is analyzed throughout objects and the communication rule between them, being able to interact without knowing details of each other’s code. Moreover, Classes are the basic reflection of a certain collection of brother objects. In fact, objects are variables of the type class. Once a class is defined, any number of objects belonging to that class can be created with different purposes and properties. Finally, OOP is not the right of any specific programming language and it can be implemented using languages such as C and Python. Nevertheless, in this project the language used is MATLAB, as it is a C-based one, hence offering an easier interface to implement all the code since C is a language specially designed to support OOP. A.2 Test-driven development philosophy During the development of any complex project by means of a coupled object-oriented code, it is important to obtain a composition of objects with a high degree of reusability, thus implying the creation of objects without any duplicated set of functions performing the same task in different classes. Therefore, the goal is to obtain clean code that works. [24] Clean code that works improves the lives of programmers, as it is a predictable way to develop. The method that allows users to get clean code without taking into consideration the addition of possible imperceptible sources of errors is called Test- Driven Development (TDD). This development style will be used throughout the evolution of this project. The two simple rules in TDD consists in writing new code for a failing automated test, and hence eliminating duplication. The development environment must provide rapid response to small changes by providing feedback between decisions. Finally, such two rules imply an order to the programming tasks, as listed below: • Red: creation of a test that does not work. • Green: making the test to work quickly. • Refactor: elimination of all the duplication created during the Green step.
A.3. Unified Modeling Language 71 A.3 Unified Modeling Language The last step to clearly define the Programming Environment, beyond the creation of a set of objects that together solve the initial complex problem, consists in exposing the way in which these objects are communicating between them, at user level. Unified Modeling Language (UML) is a graphical language officially defined by the Object Management Group with the purpose of providing visualization, specification, construction and documentation of objects inside a software system. UML offers a standard way to schematize all system functions, along with programming language statements, database schemes and reusable components. Hence, UML represents basically the projection into the complex problem system. Additionally, these diagrams might be developed in different abstraction levels depicting the most important ideas in each one of the level. [25] The development of an UML involves both structural and behavioral modeling. On the one hand, structure diagrams aim to schematize the static aspect of a system, defining for instance diagrams of each of the classes and objects. On the other hand, behavioral diagrams are used to represent the dynamics aspects of a system, such as interaction diagrams, which aim to define the sequence, communication and interaction between classes. By using interaction diagrams, it is easier to understand the control flow within components. In Figure A.3 a class representation scheme is depicted. This representation illustrates the structural or static viewpoint of a system. Furthermore, it also clearly defines the template for creating its corresponding objects. FIGURE A.3: Class representation example. [25] Moreover, the most important relationships between these elements, exposing either physical or logical relations, are association and dependency. Association shows the physical structure of things, whereas dependency states which entity is using the information and services of another entity. In Figure A.4 an example is shown considering these relationships, applied to an enterprise data synchronization system. Association relationships are depicted with a continuous arrow, whereas dependency is defined with a non-continuous arrow.
72 Appendix A. Programming Environment FIGURE A.4: Class diagram of enterprise data synchronization system. [25] Finally, other common instance-level relationships that may appear in a generic UML class diagram are defined below: • Inheritance: a super type class represents the specialized form of other subclasses that share the properties and functions from the predecessor class, but may define an additional function, depending on the specific purpose. Therefore, an instance of the subtype class is also an instance of the superclass. This is depicted with a hollow-triangle ended arrow (the arrow’s origin contains the subclass and the hollow triangle the superclass). • Aggregation: variant of the association relationship, being more specific. An aggregation occurs when a class is a collection of other classes in its input. This is represented as a hollow diamond shape on the containing class with a single line to the contained one. • Composition: a determined class calls at some function an instance of another class. This is represented with a filled diamond shape on the containing class, connected with a single line to the contained one. • Association: structural relationship specifying that objects of one class are connected to objects of another class if needed (data-driven view). This is represented with a dotted line with arrows on both sides, connecting two classes.
B.1. The Finite Element Method 79 Therefore, only the definition of matrix Bremains to be completed in order to obtain a general approximation for the element stiffness matrix of a solid element. In order to complete the definition, the strain-displacement relations with displacement components u,vand ware exposed in Equation (B.13). ϵ11 =∂u ∂xγ12 =∂u ∂y+∂v ∂x ϵ22 =∂v ∂yγ23 =∂v ∂z+∂w ∂y ϵ33 =∂w ∂zγ13 =∂w ∂x+∂u ∂z (B.13) Besides, displacements uwithin a solid element might be interpolated from nodal displacements d, once again considering shape functions: u=N·d. As it will be discussed later, the shape functions employed will differ depending on the type of element chosen for constructing all the structure. Nevertheless, in Equation (B.14) an interpolation between two nodes is provided. u v w = N10 0 N20 0 ... 0N10 0 N20 ... 0 0 N10 0 N2... · u1 v1 w1 u2 v2 w2 ... (B.14) Finally, substitution of u=N·dinto the strain-displacement relations shown in Equation (B.13) yields the strain-displacement matrix B, which in consequence completes the definition of the stiffness matrix for a 3D solid element, as depicted in Equations (B.15) and (B.16), respectively. ϵ=B·d(B.15) Kel =ZZZΩBT·C·B·dxdydz (B.16) The mathematical formulation for 2D solid elements in the XY plane is completely analogous to the procedure depicted for 3D ones, defining the required basis to implement plane stress in optimization problems. B.1.2 Theoretical basis of Finite Element Methods The Finite Element Method (FEM) is a numerical approach used to solve a large variety of physical problems regarding engineering analysis and designs. This is usually employed in structural problems, given a model with a determined set of loads and constraints. Therefore, considering the idealization of the problem within a set of hypothesis, a mathematical model is created leading to the formulation of differential equations, also referred as the strong form formulation of the problem. Thus, FEM techniques aim to compute the corresponding solution to this kind of equations throughout a numerical procedure, taking into consideration that the solution will only be representative of the mathematical model, the related hypothesis
80 Appendix B. The Finite Element Method and the boundary conditions considered. [29] The analysis process related to the Finite Element Method is defined through the steps depicted below. 1. Physical problem definition. FEM is applicable to a large variety of structural problems. For instance stress and strain analysis (mechanical properties assessment), or main modal shapes and natural frequencies determination (modal analysis). 2. Mathematical model definition. The governing differential equations of the problem must be determined (f(u,∇2u) = 0), stating hypothesis in relation with the following topics: • Geometry. • Kinematics. • Materials law. • External loads. • Boundary conditions. These conditions can define either a Dirichlet (imposition of the unknown u) or Neumann (imposition of the unknown gradient ∇u) constraint over a fragment of the domain’s boundary. 3. Finite Element Analysis. The structural domain is discretized into a number of finite mesh elements, selecting the element shape, the mesh density and the unknown parameter uto be solved. Besides, all these parameters shall be representative of external loads and boundary conditions. 4. Results convergence study. Once the results corresponding to the differential equation (i.e, the representative mathematical model) are obtained, probably the u-field and its gradient would not represent the expected behaviour, since the problem has been solved with a discretization into finite elements. Nevertheless, as the mesh density increases, the field obtained would fit better with the exact solution. Therefore, considering a convergence criteria, while the results obtained do not satisfy the model validation, the domain must be meshed again with a higher density of elements and then returning to step 3. Once the convergence criteria is satisfied, the study would continue to step 5. An indicative parameter of this kind of study is the error norm evolution between the computed variable and a reference value, thus studying its stability in order to optimize computational cost. 5. Interpretation of results. Once the differential equation is completely solved by means of this numerical procedure, the related conclusions can be extracted. Therefore, some future improvements might be proposed. Mainly, one can consider to propose a harder mathematical model (step 2) either with a higher degree of the differential equations or an extension of the considered space dimensions. Moreover, it is also recommended to return again to step 1 and redefine the physical problem, hence implying the reduction of some hypothesis in order to obtain better feasibility in the design behaviour if the previous mathematical model was completely optimized. Considering all aspects shown above, it can be concluded that, given a physical problem, the results obtained are effective and reliable when the following affirmations are fulfilled:
B.1. The Finite Element Method 81 • The most effective mathematical model applied to the structural analysis fits the hypothetical model that represents the true solution, with enough precision and minimum computational cost. • The mathematical model is reliable if the solution of the differential equation could be predicted with the most hardest version of such model. B.1.3 Finite Element Methods in structural problems Once the theoretical basis of finite element methods is defined, along with the linear static elastic problem, both concepts shall be coupled in order to extend the application of finite element methods to solve the general elastostatics problem with solid elements. Therefore, the strong form of this phenomenon must be considered again, which is depicted in Equation (B.9). These differential equations are applied to a continuous system, representative of a structural differential element equilibrium (variables of state), which is complemented with the related boundary conditions. The next step consists in finding a reformulation of the strong form since the direct resolution method can not always be applied. This will be performed considering the Galerkin formulation, the Virtual Works Principle and the numerical integration within the Gauss domain. [30] Inside the field known as variational formulation (weak formulation) the following functions must be identified: •Trial functions u verifying the same boundary conditions that state variables. I.e, ui=¯ uion Γi u. •Test functions v, which are the difference between two any trial functions, such that they value is equal to zero at the region where boundary conditions are set. I.e, vi=0 on Γi u. Moreover, the Galerkin formulation aims to approximate both functions with a similar procedure previously seen in Section B.1.1, using interpolating shape functions between nodal values, as depicted in Equation (B.17). u≃N·d v≃N·c∀c/ci=0 on Γi u (B.17) Considering again the strong form exposed in Equation (B.9), the Virtual Works Principle states that all virtual state variables field, which is compatible with the connections, will verify that external and internal virtual work are of the same magnitude. Therefore, the weak form formulation is obtained by integrating over the domain the product of the strong form equation with the test functions, as depicted in Equation (B.18). ZΩvi∂σij ∂xj +fi·dΩ=0→ZΩvi ∂σij ∂xj·dΩ+ZΩvifi·dΩ=0 (B.18)
82 Appendix B. The Finite Element Method As shown in [30], by applying integration by parts and considering the Divergence theorem, one transforms the left integral of previous equation into the expression exposed ZΩvi ∂σij ∂xj·dΩ=ZΓvi(σijnj)·dΓ−ZΩ ∂vi ∂xj σij ·dΩ. (B.19) Considering both Dirichlet and Neumann boundary conditions, previous expression is transformed into ZΩvi ∂σij ∂xj·dΩ= nsd ∑ i=1ZΓi σ vi¯ ti·dΓ−ZΩ ∂vi ∂xj σij ·dΩ(B.20) where nsd indicates the problem dimension and Γi σthe region on Neumann boundary conditions are set. Inserting the preceding expression into Equation (B.18), and considering the symmetry tensor condition ∂vi ∂xj= [∇sv]ij, thus Equation (B.21) is obtained. ZΩ[∇sv]ijσij ·dΩ= nsd ∑ i=1ZΓi σ vi¯ ti·dΓ+ZΩvifi·dΩ. (B.21) Finally, inserting the constitutive relationship σij =Cijkl[∇su]ij into previous expression, the complete weak formulation of the classic elastostatics problem is obtained, as shown ZΩ[∇sv]ijCijkl[∇su]ij ·dΩ= nsd ∑ i=1ZΓi σ vi¯ ti·dΓ+ZΩvifi·dΩ∀vi/vi=0 on Γi u. (B.22) The last step consists in applying the Galerkin formulation onto the weak form expression in order to obtain the well known matrix equation. This is: ZΩB·c·C·B·d·dΩ= nsd ∑ i=1ZΓi σ N·c·¯ ti·dΓ+ZΩN·c·f·dΩ. (B.23) With a simple matrix product transformation, one gets Equation (B.24). cTZΩBT·C·B·dΩ·d=cT nsd ∑ i=1ZΓi σ NT·¯ ti·dΓ+ZΩNT·f·dΩ!(B.24) Lastly, previous expression is analogous to the one depicted in Equation (B.25). cT(K·d) = cT(F)→K·d=F(B.25) Where Kis the stiffness matrix, dthe nodal displacements vector and Fthe external forces vectors. Once again, it is obtained the same definition of the stiffness matrix as in Equation (B.16). Besides, the definition of Fis depicted in Equation (B.26). The
B.1. The Finite Element Method 83 vector of nodal forces is related to external loads, taking into consideration punctual, surface and body forces. F= nsd ∑ i=1ZΓi σ NT·¯ ti·dΓ+ZΩNT·f·dΩ(B.26) Nevertheless, at this stage of the mathematical development Equation (B.25) is not completed at a global point of view. Indeed, the whole domain may be composed of several types of elements due to mesh refinement and the presence of several distributed loads. Besides, different shapes shall be employed depending on the geometry of the domain. Therefore, a re-definition of all parameters of the matrix equation is provided in Equations (B.27) and (B.28). K=Anel e=1Ke= nel ∑ e=1 LeT·Kele·Le(B.27) F=Anel e=1(Fe)= nel ∑ e=1 LeT·Fe(B.28) Where Leis a matrix consisting of integers 0 and 1 that establishes the relationship between elemental nodal variables with the global nodal vector d. Once this assembly process is performed, now the matrix equation can be represented in its non-coupled form. This is performed since the original matrix equation is singular, hence not providing a direct resolution of the system of equations at this stage. This is: Kf f Kf r Kr f Krr ·df dr=Ff Fr+0 R(B.29) where frepresents the subset of free nodes and rthe subset of restricted nodes. Equivalently, each subset corresponds to those nodes related to Neumann and Dirichlet boundary conditions, respectively. Therefore, each term of the type ϕij defines a secondary term, born from the selection of rows and columns exposed in subsets iand j, respectively. Besides, Rcorresponds to the vector of reaction forces on Dirichlet nodes. Thus, the unknowns of the matrix problem are dfand R. In order to solve the system of equations, each non-coupled matrix equation is considered, as follows. Kf f df+Kf rdr=Ff→df=K−1 f f ·(Ff−Kfrdr)(B.30) Kr f df+Krrdr=Fr+R→R=Kr f df+Krrdr−Fr(B.31) Now, matrix Kf f is invertible.
84 Appendix B. The Finite Element Method B.1.4 Evaluation of integrals via Gauss quadrature Lastly, we need a procedure to compute both the stiffness matrix and external force vector for each element, considering the integral definition (weak form). Since the dimensions of the elements of the mesh are completely arbitrary for different case studies, we will use an approach which allows to transform the elements into a reference domain, where Kand Fwill be finally computed. This is known as the Gauss quadrature approach. [30] In general terms, let f:¯ Ωe→Rto represent some function that shall be evaluated over the physical domain ¯ Ωe(see Equation (B.32)). I=ZΩef·dΩ(B.32) The above integral must be computed in the parent domain by considering the following change of variables: x=x(ξ). Considering elementary calculus, one transforms previous expression into Equation (B.33). I=ZΩξ Je(ξ)f(ξ)·dΩξ(B.33) where dΩξ=dξdηfor 2D problems, and dΩξ=dξdηdζfor 3D problems. Finally, let ξgand wg(g=1,2...m)to represent the position and corresponding weight of the g−th Gauss point. Therefore, the approximation of Equation (B.33) by Gauss quadrature reads the expression depicted in Equation (B.34). One-dimensional Gaussian rules are employed on each coordinate separately. In Appendix C, examples of finite elements in the parent domain are shown. ZΩξ Je(ξ)f(ξ)·dΩξ≃ m ∑ g=1 wgJe(ξg)f(ξg)(B.34)
85 Appendix C Finite elements in Gauss quadrature In this Appendix some examples of finite elements in the parent domain are shown in order to establish the procedure required to apply Gauss quadrature during the integration of the elementary stiffness matrix and external force vector. [30] C.1 Bilinear quadrilateral element FIGURE C.1: Bilinear quadrilateral element domain and local node ordering. [30] Matrix of shape functions: Equation (C.1). Ne=1 4(1−ξ)(1−η) (1+ξ)(1−η) (1+ξ)(1+η) (1−ξ)(1+η)(C.1) Element boundary tractions vector: Equation (C.2). Fe dis =||xe 2−xe 1|| 62 1 1 2·¯ q(xe 1) ¯ q(xe 2)(C.2)
86 Appendix C. Finite elements in Gauss quadrature 2×2 Gaussian rule to integrate the stiffness matrix (4 Gauss points): 1. ξ1=−1 √3,−1 √3, weight w1=1. 2. ξ2=1 √3,−1 √3, weight w2=1. 3. ξ3=1 √3,1 √3, weight w3=1. 4. ξ4=−1 √3,1 √3, weight w4=1. Gauss quadrature with m=2 for integral evaluation of tractions loads: 1. ξ1=−1 √3,w1=1. 2. ξ2=1 √3,w2=1. C.2 Linear triangular element FIGURE C.2: Linear triangular element domain and local node ordering. [30] Matrix of shape functions: Equation (C.3). Ne=1−ξ−η ξ η(C.3) As in the case of quadrilaterals, edges of linear triangles are straight lines defined by two nodes, thus obtaining the same expression for distributed loads, see Equation (C.2). 1×1 Gaussian rule to integrate the stiffness matrix (1 Gauss point): 1. ξ1=1 3,1 3, weight w1=1 2.
87 Bibliography [1] L Zhu, N Li, and PRN Childs. “Light-weighting in aerospace component and system design”. In: Propulsion and Power Research 7.2 (2018), pp. 103–119. [2] J Sharma and S Simhambhatla. “Additive manufacturing of complex shapes through weld-deposition and feature based slicing”. In: The ASME 2015 International Mechanical Engineering Congress & Exposition (ASME/IMECE-2015). The Gorge bush Convention Center, Houston. 2015. [3] Jie Gao et al. “Topology optimization of micro-structured materials featured with the specific mechanical properties”. In: International Journal of Computational Methods 17.03 (2020), p. 1850144. [4] Martin Philip Bendsoe and Ole Sigmund. Topology optimization: theory, methods, and applications. Springer Science & Business Media, 2003. [5] Àlex Ferrer Ferré. Multi-scale topological design of structural materials: an integrated approach. Universitat Politècnica de Catalunya, 2017. [6] Ferran De La Fuente Pi. “Study of 3D printing in optimal design of structures and materials”. MA thesis. Universitat Politècnica de Catalunya, 2017. [7] S Amstutz et al. “Topological derivative for multi-scale linear elasticity models applied to the synthesis of microstructures”. In: International Journal for Numerical Methods in Engineering 84.6 (2010), pp. 733–756. [8] RJ Yang and CJ Chen. “Stress-based topology optimization”. In: Structural optimization 12.2 (1996), pp. 98–105. [9] Wolfgang Achtziger and Michal Koˇcvara. “Structural topology optimization with eigenvalues”. In: SIAM Journal on Optimization 18.4 (2008), pp. 1129–1164. [10] Blaise Bourdin. “Filters in topology optimization”. In: International journal for numerical methods in engineering 50.9 (2001), pp. 2143–2158. [11] Samuel Amstutz, Charles Dapogny, and Àlex Ferrer. “A consistent relaxation of optimal design problems for coupling shape and topological derivatives”. In: Numerische mathematik 140.1 (2018), pp. 35–94. [12] Alex Ferrer. “SIMP-ALL: A generalized SIMP method based on the topological derivative concept”. In: International Journal for Numerical Methods in Engineering 120.3 (2019), pp. 361–381. [13] Jorge Nocedal and Stephen J. Wright. Numerical optimization. Springer, 1995. [14] Erik Burman et al. “CutFEM: discretizing geometry and partial differential equations”. In: International Journal for Numerical Methods in Engineering 104.7 (2015), pp. 472–501. [15] Seyed Arian and Samuel Amstutz. “Γ-convergence approximation of the anisotropic perimeter”. In: (2021). [16] K SRINIVASULU Reddy and Solomon Dufera. “Additive manufacturing technologies”. In: Int. J. of Man., Inf., Tech. and Eng 4.7 (2016), pp. 89–112.
88 Bibliography [17] Guo Liu et al. “Additive manufacturing of structural materials”. In: Materials Science and Engineering: R: Reports 145 (2021), p. 100596. [18] Florian Feppon. “Shape and topology optimization of multiphysics systems”. PhD thesis. Université Paris-Saclay (ComUE), 2019. [19] Robert B Haber, Chandrashekhar S Jog, and Martin P Bendsøe. “A new approach to variable-topology shape design using a constraint on perimeter”. In: Structural optimization 11.1 (1996), pp. 1–12. [20] Mingdong Zhou et al. “Minimum length scale in topology optimization by geometric constraints”. In: Computer Methods in Applied Mechanics and Engineering 293 (2015), pp. 266–282. [21] Fengwen Wang, Boyan Stefanov Lazarov, and Ole Sigmund. “On projection methods, convergence and robust formulations in topology optimization”. In: Structural and multidisciplinary optimization 43.6 (2011), pp. 767–784. [22] Karel Kellens et al. “Environmental impact of additive manufacturing processes: does AM contribute to a more sustainable way of part manufacturing?” In: Procedia Cirp 61 (2017), pp. 582–587. [23] Dharminder Kumar and Pooja Chawla. “Introduction of Object Oriented Programming”. In: OOP with C++ (2017). [24] Kent Beck. Test-driven development: by example. Addison-Wesley Professional, 2003. [25] J Osis and U Donins. “Chapter 1-Unified modeling language: A standard for designing a software”. In: Topological UML modeling (2017), pp. 3–51. [26] Mariot Tsitoara. Beginning Git and GitHub. Springer, 2020. [27] SwanLab/Swan server | GitHub.URL:https : / / github . com / SwanLab / Swan (visited on 05/09/2022). [28] Robert D Cook. Modeling for Stress Analysis. New York: Wiley, 1994. [29] Klaus-Jürgen Bathe. Finite Element Procedures. New Jersey: Prentice-Hall, Inc., 1996, pp. 3, 105, 225, 455, 485, 642. [30] Joaquín A. Hernández. Composite materials (part II: Structural Analysis) | Introduction and Finite Element Theory. UPC, 2020.