Docsity
Top Seller

Report Progetto Topology Optimisation, Guide, Progetti e Ricerche di Costruzione Di Macchine

Anteprima parziale del testo

Scarica Report Progetto Topology Optimisation e più Guide, Progetti e Ricerche in PDF di Costruzione Di Macchine solo su Docsity!

Report on Topology Optimisation Assignments

Course of Topology Optimisation

Marcato Leonardo

August 25, 2025

Contents

  • Introduction
  • 1 Assignment
    • 1.1 Problem Statement
    • 1.2 Method
    • 1.3 Answers to the Questions
  • 2 Assignment
    • 2.1 Problem Statement
    • 2.2 Method
    • 2.3 Answers to the Questions
  • 3 Assignment
    • 3.1 Problem Statement
    • 3.2 Method
    • 3.3 Answers to the Questions
  • 4 Assignment
    • 4.1 Problem Statement
    • 4.2 Method
    • 4.3 Answers to the Questions
  • Conclusions

Chapter 1

Assignment 1

1.1 Problem Statement

The first assignment focuses on the structural optimization of a truss resembling a can- tilever beam. The truss consists of 77 nodes and 200 bar elements, with a vertical load applied on node 49. Boundary conditions are imposed by fixing nodes 47, 44, 21, 25, and 57 to the ground, suppressing their two degrees of freedom. The objective of the exercise is to determine the optimal cross-sectional areas of the truss members so as to minimize the overall structural compliance, while satisfying a prescribed volume constraint. Compliance, defined as the elastic strain energy of the system, is expressed as C = FT^ u, where F is the load vector and u the displacement vector. The optimization is subject to lower and upper bounds on the cross-sectional areas. The tasks include: (i) performing topology optimization of the truss under four dif- ferent loading cases, (ii) plotting the compliance and volume fraction evolution across iterations, and (iii) analyzing the cross-sectional areas and stresses in selected elements (64, 77, and 82) to highlight differences in their structural role.

Figure 1.1: Original truss structure used in Assignment 1.

1.2 Method

The optimization problem was implemented in MATLAB using the provided nodal co- ordinates and connectivity files. The truss was modeled with 200 bar elements and 77 nodes, with constraints imposed on all nodes lying on the left boundary and a vertical load of 6000 N applied at node 49 in the negative y direction. The solution strategy followed an iterative scheme: at each iteration a finite element analysis was carried out to compute nodal displacements and compliance, defined as C = FT^ u. The sensitivity of the compliance with respect to the cross-sectional areas was then calculated, and the dual problem was solved using a Newton-based root-finding method (fsolve) to update the Lagrange multiplier. New cross-sectional areas were obtained by enforcing box constraints and the global volume constraint. This cycle was repeated for 100 iterations until convergence of compliance and volume fraction was achieved. Finally, the optimized truss structure was plotted with line thickness proportional to the cross-sectional areas, and the evolution of compliance and volume fraction was monitored over iterations. The stresses and final cross-sectional areas of selected elements (64, 77, and 82) were also extracted for further analysis.

1.3 Answers to the Questions

(ii) Compliance and Volume Fraction Evolution

The following figures report the convergence plots of compliance and volume fraction over the iterations, together with the final optimized truss structures, for different values of the volume fraction α.

Figure 1.2: Convergence plots and optimized structure for α = 0. 05.

  • For α = 0. 10 and α = 0. 15 , additional bars appear, reinforcing the main diagonal path and the upper chord of the truss. These designs achieve lower compliance while still respecting tighter material limits.
  • For α = 0. 20 , the structure is significantly denser, with redundant load paths and secondary members activated. The compliance decreases further, but at the cost of higher material usage.

Overall, the results highlight the trade-off between stiffness and material consumption: higher volume fractions yield more robust and redundant structures, while lower fractions enforce minimalistic designs concentrated along the most effective load-carrying paths.

(iii) Cross-sectional areas and stresses in selected elements

Tables 1.1–1.4 report the optimized cross-sectional areas and corresponding stresses for elements 64, 77, and 82 under different volume fractions α.

Table 1.1: Results for α = 0. 05 Element Section [mm^2 ] Stress [MPa] 64 406.06 29. 77 203.09 -29. 82 285.86 -29.

Table 1.2: Results for α = 0. 10 Element Section [mm^2 ] Stress [MPa] 64 800.00 14. 77 408.02 -14. 82 574.33 -14.

Table 1.3: Results for α = 0. 15 Element Section [mm^2 ] Stress [MPa] 64 800.00 14. 77 652.80 -9. 82 800.00 -9.

Table 1.4: Results for α = 0. 20 Element Section [mm^2 ] Stress [MPa] 64 800.00 13. 77 800.00 -7. 82 800.00 -7.

Discussion The results show a clear trend: as the allowed volume fraction α increases, the optimized cross-sectional areas of the selected elements grow towards their upper bound (800 mm^2 ). This is accompanied by a significant reduction in the absolute stress values. At low volume fractions (α = 0. 05 ), the stresses reach values close to ± 30 MPa, indicating that the elements are heavily loaded due to the limited availability of material. For higher values of α, the stresses decrease below 15 MPa, as the increased cross-sectional areas distribute the loads more evenly. Overall, the analysis confirms that larger material budgets allow the truss to achieve lower stress levels and a more uniform load distribution, at the expense of higher material use.

Figure 2.1: Nodes and ground structure of the motorcycle frame model used in Assignment

2.2 Method

The optimization was implemented in MATLAB by modeling the motorcycle frame as a two-dimensional truss with 17 nodes and bar elements forming the ground structure. Boundary conditions were imposed by fixing both degrees of freedom at node 17 and the vertical displacement at node 9. Two loading scenarios were considered: an acceleration case, with forces applied at nodes 1 and 9, and a braking case, with forces applied at nodes 8 and 9. The objective function was defined as a weighted sum of the compliances of the two load cases, with equal weights w 1 = w 2 = 0. 5 for the baseline case. At each iteration, two finite element analyses were performed to compute the displacements and compliance under the two load cases. The sensitivity of the weighted compliance with respect to the cross-sectional areas was then evaluated, and the dual problem was solved through a root- finding algorithm (fsolve) to update the Lagrange multiplier. The cross-sectional areas were subsequently updated while enforcing the box constraints and the global volume constraint V ≤ αVmax with α = 0. 1. This procedure was repeated over 500 iterations until convergence of the compliance was observed. The optimized topology of the frame, the compliance and volume conver- gence plots, and the displacements of selected nodes (1, 8, and 9) under both load cases were then evaluated and recorded for analysis.

2.3 Answers to the Questions

(i) Optimal structure, convergence and loaded-node displacements

for α = 0. 1 , w 1 = w 2 = 0. 5

Figure 2.2: Optimized structure for α = 0. 1 with equal weights w 1 = w 2 = 0. 5. Solid thick members denote active load paths; light dashed members are near the lower bound.

Table 2.2: Displacements of the loaded nodes under acceleration (acc) and braking (bra). Units: mm. Node U (^) xacc U (^) yacc U (^) xbra U (^) ybra 1 -0.1499 -0.1861 -0.0027 -0. 8 -0.1723 0.0183 -0.0456 -0. 9 -0.2511 0.0000 0.0638 0.

Discussion The weighted-compliance curve exhibits a sharp drop within the first few iterations and then levels off, indicating rapid convergence of the iterative sizing scheme; the volume trace remains at the prescribed constraint (α = 0. 1 ), confirming feasibility throughout. The optimized layout forms clear triangulated load paths along the rising upper chord and the rear bay, with several secondary members driven close to the lower bound (dashed), which is consistent with a minimal-volume design. The displacement table reflects the different loading patterns: under acceleration the largest horizontal motion occurs at node 9 (U (^) xacc ≈ − 0. 25 mm), while node 1 shows the largest downward vertical motion (U (^) yacc ≈ − 0. 19 mm), consistent with the applied forces.

Chapter 3

Assignment 3

3.1 Problem Statement

The third assignment focuses on applying the 99-line topology optimization code to dif- ferent two-dimensional structures, each characterized by distinct boundary and loading conditions. The study is based on the SIMP method and investigates how volume fraction, penalization, and filtering parameters affect the final layouts. Four tasks are proposed:

  • First request: Optimize a rectangular cantilever beam subject to a vertical load at the free end (Fig. 3.1). The goal is to predict and analyze the optimal topology for different filter radius and penalization factors.
  • Second request: Modify the boundary and loading conditions to simulate a can- tilever beam with a single downward point load at the free end (Fig. 3.2). The task requires running the code with adjusted force vectors and supports.
  • Third request: Study the effect of multiple load cases on a square domain (Fig. 3.3). Two scenarios are compared: a single combined load case, and two separate load cases treated simultaneously with equal weights, highlighting the impact on the resulting topology.
  • Fourth request: Optimize a rectangular domain with a circular hole (Fig. 3.4). The hole must be preserved during iterations by constraining the densities of ele- ments inside it to remain void throughout the optimization process.

Figure 3.1: First request: cantilever beam with a load at the free end.

Figure 3.2: Second request: vertical load applied at the free end of a cantilever.

Figure 3.3: Third request: square domain with two different load-case scenarios.

Figure 3.4: Fourth request: rectangular domain with a circular hole to be preserved.

3.2 Method

The implementation of Assignment 3 was based on the educational 99-line topology opti- mization code developed by Sigmund (2001). The algorithm relies on the SIMP method (Solid Isotropic Material with Penalization), where the design variables are the element densities and the stiffness is penalized as Eˆ = xpE with p = 3. At each iteration, a finite element analysis computes the nodal displacements, followed by a sensitivity analysis of the compliance. The sensitivities are filtered through a mesh-independency filter to avoid checkerboard patterns, and the design variables are updated using the Optimality Criteria method while satisfying the global volume constraint. For the four requests, the original code was adapted by modifying the input param- eters, loads, and supports: (i) a cantilever beam was optimized for different filter and penalization values; (ii) the load and support conditions were changed to simulate a dif- ferent cantilever configuration; (iii) the code was extended to handle multiple load cases, with the compliance computed either as a single combined case or as a weighted sum of separate cases; (iv) a passive element array was introduced to preserve a circular hole during the optimization, ensuring its void region remained unchanged across iterations.

Figure 3.7: Request 3: square domain optimized with (a) single combined load case and (b) two separate load cases with equal weights.

Figure 3.8: Request 4: rectangular domain with a circular hole preserved during opti- mization.

Discussion The optimized layouts highlight the influence of boundary conditions, load cases, and geometric constraints on the resulting topologies. For Request 1, the cantilever beam develops a truss-like structure with a diagonal load path connecting the loaded end to the fixed support, consistent with classical Michell truss theory. A sensitivity study was performed on the influence of the filter radius rmin and the penalization factor penal in the SIMP method. When rmin is small, the optimized layouts tend to exhibit fine structural members and sometimes checkerboard patterns, which are numerical artefacts of the discretization. Increasing rmin smooths the density distribution, removes numerical instabilities, and leads to thicker members, at the cost of some reduction in design resolution. This demonstrates that the filter radius directly controls the minimum length scale of the structure. The penalization factor strongly influences the contrast between solid and void regions. With penal close to 1, the resulting structure remains gray, with many intermediate densities and a physically unrealistic material distribution. As penal increases, the design converges towards a clear 0–1 solution with distinct load paths. For penal values around 3, the layouts exhibit stiff truss-like structures consistent with Michell theory. However,

excessively large values of penal can slow down convergence or lead to premature loss of intermediate design possibilities. For Request 2, modifying the supports and load location alters the stress distribution: the optimized design reinforces the top chord while keeping the triangular patterns typical of minimum compliance solutions. For Request 3, the difference between a single combined load case and two separate cases is evident. The combined load case produces a symmetric “X-shaped” solution, while treating the loads separately yields a more robust layout with additional members, capable of sustaining both scenarios independently. In this case, since no reactions are applied to the ground, the resulting structure is floating (only the sections vertically-aligned with the forces are dense). Finally, for Request 4, the presence of a circular hole forces the optimizer to redirect the main load paths around the void. The resulting topology places reinforcement along the hole boundary and redistributes material to preserve stiffness, showing how passive regions can strongly condition the optimal design. This was achieved by nullifying the densities of the elements in the circular area at each iteration. Overall, the results confirm the flexibility of the 99-line code in handling different boundary conditions, load scenarios, and geometric restrictions, while illustrating funda- mental trade-offs between stiffness, material distribution, and imposed design constraints.

4.2 Method

The optimization of the hub carrier was carried out using Altair OptiStruct following the standard workflow: preprocessing, finite element analysis, and topology optimiza- tion. First, the provided geometry was imported in HyperMesh and divided into three components: design, non-design, and rigid regions. A linear elastic material model (Alu- minum 6061-T6) was assigned, and rigid elements (RBE2) were created to connect the preserved holes representing functional attachments. The design and non-design domains were meshed with 3 mm tetrahedral elements, and the corresponding properties were associated. The load and boundary conditions were implemented according to the six prescribed load cases (pure rolling, braking, internal and external turn, internal and external obsta- cle). For each case, a separate load step was defined and verified through finite element analysis. The topology optimization setup included the definition of the design variables as the solid elements of the design region, with manufacturing constraints such as draw and extrusion directions applied along the Y axis to ensure producibility. Responses were defined to monitor the compliance, mass fraction, and stiffness (camber and toe), with the constraints set to camber stiffness > 160 , 000 Nm/rad, toe stiffness > 84 , 000 Nm/rad, and a maximum mass fraction below 0.4. The objective function was the minimization of the weighted compliance across all load cases. Finally, the optimization was executed with OptiStruct, and the post-processing phase included the evaluation of the final mass, stiffness, stress fields, and displacement maps of the optimized hub carrier.

4.3 Answers to the Questions

Final optimized structure and performance

Figure 4.2: Final optimized hub carrier obtained with OptiStruct.

Table 4.1: Mass and stiffness values of the optimized hub carrier. Property Value Mass 0.778 kg Camber stiffness 531,000 Nm/rad Toe stiffness 172,413 Nm/rad

Discussion The optimized hub carrier achieves a mass of only 0.778 kg. The camber stiffness of 531,000 Nm/rad and toe stiffness of 172,413 Nm/rad both exceed the minimum required limits (160,000 Nm/rad and 84,000 Nm/rad, respectively). This confirms that the design successfully balances lightweight requirements with the structural stiffness needed for suspension performance.