Are you ready to talk?

Practical Topology Optimization for 3DPrinting

Table of contents

Abstract 

In this article, we’ll follow the process of setting up and running a condition-based topology optimization process in Abaqus. This is the most robust and easy to use approach. Nuances for further development will be discussed as we go along. After reading this article, you should be able to elevate your Abaqus skills to produce organic load-driven designs. 

Introduction 

We’ve all seen them, these impressively organic and complex structures that nature makes. In recent times, engineers have been able to recreate this process. Traditionally, product development is a CAD driven design process where industrial designers perfect form and shape, while mechanical engineers realize them, addressing the structural requirements. 

 

Figure 1: Incredible leaf structure. Photo by: Maros Misove (Unsplashed) 

Topology optimization is a way of distributing mass inside an available area which encompasses all the space available for the component to occupy. By supplying information about material properties, component symmetry, manufacturing constraints and loads which the component is to be subjected to, design candidates that satisfy the design objectives are automatically generated by topology optimization algorithms. These design objectives are famously known to provide the highest stiffness to weight ratio, or to “minimize compliance”, as it is popularly called by engineers. It is worth noting that the design objectives can be stress values at a specific region, displacement in a node, eigenvalue, and much more. The same goes for manufacturing constraints, where you can easily use topology optimization for castable, machinable designs too.

Case study: Whiteboard Penholders 

Et bilde som inneholder skrivesaker, kontorforsyninger, Kontorredskap, tekst

Automatisk generert beskrivelse

Figure 2: Topology Optimised Penholder 

In our office we have a 3DPrinter. One of my first projects was to create a customized penholder for my whiteboard using topology optimization. It’s a great, yet simple case to get a few points across, so let’s use it as an example.  

In the following post we’ll investigate how to:  

  1. Create and modify the design domain  
  2. Develop a representable FEM analysis as a basis for topology optimization 
  3. Define and run a topology optimization study  
  4. Extract and smooth result
  5. Send it to the 3DPrinter

1. Defining the Design Domain 

Design domain in topology optimization encompasses all the space where material can be put to satisfy the objective function and constraints, which is classically maximizing stiffness for a given amount of material. More on this later. 

Functionally, our domain must satisfy these requirements: 

  1. Have room for the whiteboard pens
  2. Allow pens to be put straight in – as a katana sword on the rack, for lack of a better description.

A key observation is that the penholder is to be hung on the whiteboard, so we need to find the dimensions of this edge and include this in our design domain. 

Et bilde som inneholder tekst, skjermbilde, diagram, Rektangel

Automatisk generert beskrivelse

Figure 3: Whiteboard Dimensions 

From this, we can start to offset the pens to get an impression of how big the design domain should be. After looking at the results in figure X, it makes sense to add a magnet to help stabilize the bottom of the holder from shear forces caused during interaction – space for this magnet results in a third requirement for the design domain.  

image-png-Mar-11-2024-05-36-42-6073-PM

Figure 4: Maximal Allowable Design Domain 

The resulting design domain is of a quite simple geometrical shape and could easily be created entirely in Abaqus/CAE. A bonus benefit is the ease of modification of this domain at a later point. 

Et bilde som inneholder design, møbler

Automatisk generert beskrivelse med middels konfidens

Figure 5: 3D Modeled Design Domain 

This domain satisfies all three of our 3 requirements. 

The next step is to load this design domain, before performing the Topology Optimization study. 

2. Representable FEM Model  

This step presents an opportunity to review loads and make last minute changes. I personally prefer to create initial models that leverages accuracy and performance with an emphasis on the latter. In this case, we can utilize symmetry constraints and keep it linear.  

For material modelling, I’ll just use some approximate PLA linear elastic material. The boundary condition will be modelled as performing the expected functions. The lip on the back end of the whiteboard will be constrained for forward motion. The magnet slot will constrain shear movement. Pens will be modelled as pressure loads on the outer ends of the penholder. 

I’ll add two accelerations, gravity, and then one extra to account for the interaction of me hurriedly fetching and displacing a pen. This is how I chose to model the dynamic event of quite undefined interaction to force the topology optimization algorithms to see the need for cross-braces or other stabilizing structures for lateral motion. It won’t be created if there is an explicit need for it, which is a major consideration when setting up loads and BCs – do they accurately represent loading scenarios? 

image-png-Mar-11-2024-05-45-58-7782-PM

Figure 6: From initial design domain to results from a loaded symmetrical FEA model 

By keeping the model symmetrical, linear with effective loads and boundary conditions, we have an efficient FEA model that can be used for further analysis.  

3. Define and Run a Topology Optimization Study

 Figure 7 Defining a condition-based optimization task in Abaqus-CAE
Figure 7: Defining a condition-based optimization task in Abaqus/CAE 

In the Abaqus model-tree, we double-click “Optimization Tasks”. We are going to set up a condition- based optimization that uses strain-energy as objective function, and volume as a constraint. This task is the easiest to setup and run and is great for maximizing stiffness for a given volume.   

Condition-based optimization provides only two design responses (or design variables). They are representable for the whole design domain and are “Volume” and “Strain Energy”. All optimization processes need an objective and constraints for the design variables.  

Objective Function: Minimize Total Strain Energy (Maximize stiffness) 

Constraint: 5% of initial value 

In Abaqus, we need to create Design Responses, as well as to create an Objective function, and our constraint.  

Figure 8.1 Topology Optimization Setup

Figure 8.2 Topology Optimization Setup

Figure 8: Topology Optimization Setup 

If symmetry, or any other geometrical considerations, need to be addressed, such as manufacturing requirements (symmetry, demolding directions, tool access for machining, thickness for members), it is implemented with Geometrical Restriction. This ultimately means that this approach can be used for traditional manufacturing.  

image-png-Mar-11-2024-05-58-41-0071-PM

Figure 9: Geometrical Restrictions 

A geometrical restriction is needed for the symmetry, and then one to freeze the material concerning the magnetic holder. While the constraints could just as easily be added to the edges, this was the way I opted for. 

Without further ado, let’s run the topology optimization! In the model tree we click “Optimization Process” under the analysis branch. Note that models can have several optimization tasks, where you can experiment with different setups and algorithms. 

Figure 10 Create Topology Optimization JobFigure 10: Create Topology Optimization Job 

 

4. Extract and Smooth Results 

 

As constraints are applied over several cycles – element density changes and reveals critical load paths. 

As elements can have several densities – visualization is created by using ISO surfaces in the density field. 

Elements with a relative density arelow the cut value are discarded, revealing the optimized elements with a high enough density. 

Figure 12 Optimized Iso-surfaces

Figure 12: Optimized Iso-surfaces 

The viewed result is based on element results, providing only a preview. Global smoothing is performed by extracting mesh where smoothing parameters are provided.  

Note that it is possible to select both cycle and iso-value to start mesh extraction (right-click optimization process in the model tree). It is highly recommended to look into the documentation (Search “Extracting a smoothed mesh”) for an explanation of the advanced parameters, as they are vital to create good looking meshes for further processing.  

 Figure 13 Smoothed Result

Figure 13: Smoothed Result 

Resulted smoothed geometry is shown below and is exported as an STL file for further processing before it is sent to the 3DPrinter.  

 Et bilde som inneholder kunst

Automatisk generert beskrivelse

Figure 14: Smoothed Topology Optimization Result 

It is worth noting that at this point, the workflow has a natural breakpoint. Usually, the prototype is printed, and small adjustments to the design domain or study will invoke a more suitable optimization, adding more load cases for robustness or functional changes, such as making more room for the pens.  

If not, it is often recreated as a CAD model – which often is a complex and time-consuming job (check out Functional Generative Design on the 3DExperience platform!). Drawing creation for manufacturing gets to be quite laboursome. However, the quality of a few iterations of topology optimized driven design can be miles ahead of the traditional process, but this is where you pay the price.  

For direct prototyping, we can luckily send it straight to the printer.  


5. Send to 3DPrinter

As a relative rookie in the 3DPrinting world, we have an easy-to-use FDM printer which has an integrated slicer and monitoring tool. I can drag and drop the STL file, and then slice its based settings for support, and so forth.  

 

Figure 15: Sliced STL file 

 Et bilde som inneholder grunn

Automatisk generert beskrivelse

Figure 16: Printed Component with Supports 

 

 

Figure 17: Tidy whiteboard at last! 

Closing Remarks  

Working with topology optimization requires a solid understanding of all possible loads that are, and can be, subjected to the component at hand. The more aggressive the optimization is, the more fragile the part is, if subjected to loads outside the defined behaviour. This is mentioned to show that results of topology optimization should be subjected to best-practice rigours engineering and not be taken at face value, while this technique allows a short-cut to design high performance components it.  

There are other forms of application of topological optimization, where instead of element relative density, thickness and sizes are the variables. Minor adjustments to specific geometrical changes can also be applied to increase fatigue life.  

Need to speak to an expert?

Our simulation team are on-hand to provide tailored guidance and support with a deep knowledge of the full SIMULIA portfolio. Reach out to talk to an expert today.

Case Studies

In fiercely competitive industries, efficiency, transparency, and responsibility are more in demand than ever. That’s why we help clients deploy solutions that simplify processes, drive product innovation, and shorten time to market.
Advanced Simulation Icon Advanced Simulation Icon Advanced Simulation

Best Practices for Dynamic Analysis of Bridges

BRIGADE/Plus provides comprehensive tools for static and dynamic analysis of bridges under various load conditions, ensuring structural resilience.
Advanced Simulation Icon Advanced Simulation Icon Advanced Simulation

New Year, New Fortran Compiler

Learn how to resolve compatibility issues between Abaqus and the Intel Fortran compiler after the discontinuation of ifort in 2025. This guide covers installation and setup for both Windows and Linux, helping you smoothly switch to the ifx compiler for user subroutine integration. Follow detailed instructions to modify environment files and install necessary toolkits, ensuring uninterrupted analysis performance.
Advanced Simulation Icon Advanced Simulation Icon Advanced Simulation

Extended free body cut

Discover the trade-offs bridge engineers face in balancing simplicity and accuracy in structural analysis. Learn how BRIGADE/Plus revolutionizes bridge design with the Extended Free-Body Cut (FBC) method, enabling precise calculations for complex geometries, moving loads, and detailed 3D effects. Explore how this advanced feature bridges the gap between traditional models and modern engineering demands. Stay ahead in bridge engineering with TECHNIA’s cutting-edge solutions

Want to receive more content like this?

Sign up to receive a weekly roundup of Expert insights as they are published...

  • Related news & articles straight to your inbox
  • Hints, tips & how-tos
  • Thought leadership articles