Optimize or Generate?

Industry insiders explain the difference between the two approaches.

Industry insiders explain the difference between the two approaches.

Topology optimization of a drone showing the displacement magnitude for one of the load cases. Image courtesy of COMSOL.


Currently, as a term of commercial appeal, generative design takes precedence over topology optimization. But before generative design’s emergence, companies put the spotlight on topology optimization. 

In certain stages, the geometry that results from generative design and topology optimization looks quite similar, for good reasons. Both approaches, as encapsulated in the design software packages with these labels, rely heavily on algorithms and known principles of finite element analysis (FEA). 

Therefore, if the stress concentrations on a solid part are the same, the topological solution proposed by the software, whether generative design or topology optimization, will likely be the same. But most experts point out, increasingly, one approach is getting better at reconciling the mathematically ideal topology with the manufacturing requirements.

Chronological Order

The underlying principles for generative design and topology optimization have been around for some time, but as commercial design software programs go, topology optimization made its debut first, partly enabled by the faster processors that made it possible to run FEA in the background. 

Altair OptiStruct entered the market with a commercial version of topology optimization in 1992. solidThinking, then a division of Altair, added what is now called topology optimization in solidThinking Inspire as an automated lightweighting solution over a decade ago.

In its press announcement for 2012’s Inspire 9.0, Altair wrote, “Inspire 9.0 provides design engineers and architects with an intuitive environment that enables the exploration of structurally efficient concepts in the earliest phases of the design process.” 

“Users can rapidly generate design spaces and arrive at efficient design concepts while improving both static and dynamic stiffness and reducing weight” Andrew Bartels, program manager for Inspire, explains. (For more, read “SolidThinking Inspire 9.0: Weight Loss Made Easy,” September 2012.)

The rapid rise of generative design software has a lot to do with Autodesk, which began exploring the technology’s potential with Project Dreamcatcher. 

In the company blog, Between the Lines, Autodesk blogger Shaan Hurley wrote, “The Dreamcatcher system allows designers to input specific design objectives, including functional requirements, material type, manufacturing method, performance criteria and cost restrictions. Loaded with design requirements, the system then searches a procedurally synthesized design space to evaluate a vast number of generated designs for satisfying the design requirements.” (The blog excerpt was taken from the following: “Olympic Recurve Bow Created with Generative Design,” January 2016.) 

Eventually, Autodesk would package Dreamcatcher’s components as generative design, and then in products such as Autodesk Fusion 360 and Netfabb.

A Hierarchy of Processes

In general, most industry experts think of generative design as the larger umbrella term, and topology optimization as one of the methods within. 

“I think [of] topology optimization as one form of generative design,” says Uwe Schramm, chief technical officer at Altair

Similarly, Mickey Wakefield, Autodesk Fusion evangelist, says, “Generative design is a step beyond topology optimization. Topology optimization is part of generative design. Generative design uses topology optimization as the starting point.” 

And Justin Hendrickson, director of product management at Ansys, says, “Topology optimization is a key building block to deliver generative design.”

Colin Swearingen, solution consultant at Dassault Systèmes, says, “Topology optimization is one method of generative design, a subset of generative design. So if I’m using generative design to design a part, it might incorporate some topology optimization.” But he also pointed out topology optimization is usually aimed at removing materials to create lightweight parts.

“The fundamental difference between topology optimization and generative design is that topology optimization is driven by the physics of the problem, while generative design is more directly controlled by the designer’s own choices and requirements,” says Kristian Ejlebjærg Jensen, product manager for optimization module, COMSOL.

Generative design for a gyroid geometry with decreasing wall thickness in the z-direction. Image courtesy of COMSOL.

For many, generative design is the next phase in the evolution of topology optimization, a refinement of the technology with more automation. This matches Autodesk’s implementation of the technology. 

“We give you the option to get Unrestricted topology in Autodesk Fusion when you do generative design,” says Wakefield. “That’s essentially topology optimization without manufacturing constraints.”

With the Unrestricted option in Autodesk Fusion, the topology you get is theoretically optimal based on algorithms and FEA results, but it may be impractical or impossible to manufacture. In contrast, the software will propose topology ideal for specific manufacturing methods if you choose it as a requirement.

“With topology optimization, normally you get a design approach, a proposal of where to add materials and where to remove them, but you may still need to work on it to finalize it,” notes Thomas Reiher, director of generative design, Hexagon. “With generative design, the goal is to get something that’s ready to use.”

Swearingen urges users to think of generative design as a design exploration tool. 

“With generative design, you may ask the software for a design variant perfect for AM, another variant for casting and another for milling,” he explains. “You might be able to do that with some topology optimization software, but topology optimization is traditionally an analyst’s or expert’s tool.”

Topology optimization’s FEA-driven approach “comes at the cost of explicit control for the designer, making it difficult to prohibit things like the formation of internal voids, floating parts or structures that are too slender and thereby prone to buckling. It may also influence aesthetics,” says Jensen. “Alternatively, generative design is a bit less focused on performance and more on aesthetics and manufacturability, which are controlled through the generative design methods or algorithms.”

Schramm points out that in Altair’s implementation of topology optimization, it’s also possible to add manufacturing constraints as part of the optimization strategy. 

“If you want to optimize a part for 3D printing, you care about AM constraints, so you want to look at overhangs and print direction, for example,” he explains. “These can all be formulated as topology optimization problems. You can even optimize for different manufacturing considerations: one for casting, another [for] 3D printing.” 

Different Approaches

Most, if not all, generative design and topology optimization software packages run on top of time-tested FEA solvers. Altair Inspire, for example, runs on the company’s high-end OptiStruct solver, developed to handle static and dynamic vibrations, acoustics, fatigue, heat transfer and multiphysics scenarios. MSC Software, part of Hexagon, uses MSC Apex as the basis for its MSC Apex Generative design software combined with a specialized FE solver.

This is why topology optimization and generative design’s basic setups are instantly familiar to FEA software users. From selecting surfaces to applying stress loads, the generative design and topology optimization software user interfaces closely mimic simulation software setups. 

The difference is in the degree of automation involved, which reduces the complexity for the users. The more automation it offers, the less the user needs to do to formulate the simulated event in numerical terms (as stress loads, pressure directions, joint types and mesh types). This has implications on the learning curve.

“Tosca from Dassault SIMULIA is for experts and analysts, but our generative design package makes the same workflow easier and it is intended for the designers,” says Swearingen. 

Dassault offers topology optimization and generative design software based on its Tosca solver, part of Dassault SIMULIA. Images courtesy of Dassault Systèmes.

 

Similarly, for Hexagon customers, “it’s easier to learn generative design because you can ignore the mathematical formulas. Hiding the complexity is an accomplishment in itself,” says Reiher. “We do optimization quite differently. We do it based on stress, so you can use a certain stress level as the threshold not to exceed. MSC Apex generative design offers ease of use for people who don’t want to know the mathematics involved.”

“Emerging trends involve the combination of topology optimization with generative design as well as the use of the tools for applications outside the field of structural mechanics, such as heat transfer, CFD [computational fluid dynamics] and acoustics,” says Jensen. “Thus, there is a demand for flexible tools as well as prepackaged functionality for entry-level users.”

In the largely FEA-driven topology optimization packages from different developers, the software proposed topology, usually a mass reduction strategy, is bound to be similar because it’s determined by stress distribution and material characteristics. 

But generative design packages function differently. Though almost all allow stress and mass reduction targets as inputs, the additional allowable parameters are not identical. Some products offer cost, carbon emission or manufacturing methods as parameters; others may not.

To Cut or Grow

The basic optimization strategy—especially in lightweighting projects—is to remove as much materials as possible without compromising the part’s strength. That means cutting away materials in the regions unaffected by stress loads, as the FEA results indicate. But there’s a weakness to this approach, according to Wakefield.

“Most software only removes geometry,” says Wakefield. “But with Autodesk Fusion, we are able to add geometry as well as remove it.” This makes a difference if you want to know, for example, the most economical way (in terms of material usage) to connect two disparate mechanical components.

Hendrickson says users can set up multiple optimization sessions using the high-end Ansys Mechanical software, powered by on-demand cloud resources from Ansys Cloud. “Users might think of it as generative design but we don’t market it as such,” he says.

The Genius bottle cage for cyclists, optimized in Ansys Discovery. Image courtesy of Ansys.

Similarly, Autodesk allows Fusion 360 users to use cloud credits (purchased separately from the software license) to speed up generative design sessions. Hexagon’s MSC Apex Generative design and Altair’s OptiStruct are parallelized, and therefore can be accelerated with distributed computing.

An appeal of generative design is that the software can offer scores—even hundreds—of design options. This is especially true of cloud-powered generative design software. But the more, the merrier doesn’t necessarily apply here, cautions Reiher.

“If you get too many results, it makes it harder for the engineers to determine which is the best one. They will be overwhelmed,” he says. “Most likely they will throw away most of the answers. It’s a waste of computing power.”

Accidental Lattice

Engineers have lately turned to lattice structures for lightweighting parts. The complex nodes and beams support one another, offering strength. Yet, it remains porous, weighing much less than the solid part it replaces. 

But such designs are nearly impossible to model manually in typical 3D CAD software. The best approach is to use a program or algorithm to automatically generate them. Generative design offers tantalizing possibilities to explore efficient ways to model lattice fills.

“Today’s generative design solutions may sometimes give you lattice-like answers, but they are not true lattice structures,” says Wakefield. “Pure lattice structures are not generative design or topology optimization, but structures generated based on constraints.”

“Some software uses precook lattice forms to fill a volume, but that’s not optimal design,” warns Schramm. “If your lattice structures are in the wrong orientation, you don’t get optimal resistance for your stress loads.”

Unquantifiable Parameters

For the most part, generative design packages have evolved to include manufacturing constraints, allowing engineers to limit the design options to only those suitable for their desired manufacturing method. In some, you also may use cost and carbon emission as input, which gives you a way to stay within your budget and explore greener products. However, certain design criteria may never be automated.

“The aesthetic element of design is not quantifiable or constant over time, so it is somewhat incompatible with topology optimization, yet aesthetics is the primary consideration for many design problems,” observes Jensen.

“The aesthetic appeal of the shape, for example, is not something we can quantify as a set of parameters,” Hendrickson adds. 

Often, the judgment is based on the engineer’s own personal views and his or her understanding of the marketplace. This led Hendrickson to propose engineer-in-the-loop generative design. 

“This is where the engineer is changing the inputs, learning from the output topologies, and reiterating. Think of it as the software working hand-in-hand with the engineer,” he says.

Generative design and topology optimization have become well-established industry terms; therefore, users should be able to expect certain things from software marketed under these labels. But rather than relying on the term, it’s best to test out the software to see if it’s a good fit for the project.

“We used to call topology optimization morphogenesis in our old website,” says Schramm. “It didn’t stick.”

More Altair Coverage

Altair Company Profile

More Ansys Coverage

More Autodesk Coverage

Making and Breaking Things for Fun
Makers and YouTubers blend engineering, entertainment and creativity.
AU 2024: Project Bernini Exemplifies AI-Powered Design
At its annual user event, Autodesk highlights AI's growing role in products for all sectors, and celebrates being selected as partner for LA28 Olympic Games
Digital Transformation at IMTS 2024
Engineering, manufacturing solutions embrace AI and automation.
Autodesk/Makersite Partnership Brings Sustainability to Product Design
Autodesk expands partnership with Makersite across Inventor and Fusion.
GRAITEC Group Enhances Productivity Solutions for Autodesk Revit
Compatible with Revit 2025-2022, these tools are designed for enabling AEC firms to maximize their ROI, GRAITEC says.
Autodesk Company Profile

More COMSOL Coverage

COMSOL Company Profile

More Dassault Systemes Coverage

Unified Modeling And Simulation (MODSIM) For Sustainable Product Development
Companies in all sectors must address the need for greater sustainability to meet customer demands. The development of new products necessitates rigorous testing and evaluation, while efforts must be made to decrease emissions and operate in a more economical fashion.
TECHNIA Poised to Expand BIOVIA Customer Base After Acquiring Business from Workflow Informatics Corp
Virtual twin-focused company buys BIOVIA reseller business from Workflow Informatics Corp.
Online FEA and CFD Classes Becoming the Norm
Virtual classrooms make specialist skills more accessible.
Making and Breaking Things for Fun
Makers and YouTubers blend engineering, entertainment and creativity.
Dassault Systèmes 3DEXPERIENCE Platform Recognized as PACT Conformant
Virtualization is now enabling companies to redefine a decarbonized value chain, Dassault reports.
Dassault Systèmes Signs AI Pact for Europe
Dassault Systèmes aims to play a proactive role in how AI is used for driving innovation in industry, benefiting citizens, patients and consumers.
Dassault Systemes Company Profile

Share This Article

Subscribe to our FREE magazine, FREE email newsletters or both!

Join over 90,000 engineering professionals who get fresh engineering news as soon as it is published.


About the Author

Kenneth Wong's avatar
Kenneth Wong

Kenneth Wong is Digital Engineering’s resident blogger and senior editor. Email him at [email protected] or share your thoughts on this article at digitaleng.news/facebook.

      Follow DE
#25221