How to Use Lattice Optimization in ANSYS Mechanical and ANSYS SpaceClaim 19.2

Categories:

One of the great new features in ANSYS Mechanical 19.2 is the ability to perform a lattice optimization.  Accomplished as an option within Topology Optimization, lattice optimization allows us to generate a lattice structure within our region of interest.  It includes varying thickness of the lattice members as part of the optimization.

Lattice structures can be very beneficial because weight can be substantially reduced compared to solid parts made using traditional manufacturing methods.  Further, recent advances in additive manufacturing enable the creation of lattice structures in ways that weren’t possible with traditional manufacturing.

Here I’ll explain how to perform a lattice optimization in ANSYS 19.2 step by step.

The procedure starts the same as a normal topology optimization in ANSYS Mechanical, with an initial static structural analysis on our original part or assembly.  If you’re not familiar with the process, this earlier PADT Focus blog should be helpful:  https://www.padtinc.com/blog/the-focus/topological-optimization-in-ansys-18-1-motorcycle-component-example

For the lattice optimization, I’m starting with a part I created that acts as a corner brace:

01 brace geom 1

At this early point in the simulation, the Project Schematic looks like this:

02 project schematic 1

I used the Multizone mesh method to get a hex mesh on the part:

03 mesh 1

Simple loads and constraints are recommended especially if you’ll be doing a downstream validation study.  That is because the downstream simulation on the resulting lattice geometry will most likely need to operate on the FE entities rather than geometric entities for load and constraint application. The boundary conditions in this simple model consisted of a fixed support on one side of the brace and a force load on the other side:

04 loading on orig 1

After solving, I reviewed the displacement as well as the stress results:

05 displacements on orig 1

Satisfied with the results, the next step is to add a Topology Optimization block in the Project Schematic. The easiest way to do this is to right click on the Solution cell, then select Transfer Data to New > Topology Optimization:

06 add topology optimization 1

You may need to re-solve the static structural simulation at this point.  You’ll know if you have yellow thunderbolts in the Project Schematic instead of green checkmarks for the Static Structural analysis. 

At this point, the Project Schematic now looks like this:

07 project schematic topology optimization 1

The Mechanical window now has the Topology Optimization branch added:

08 topology optimization branch 1

The change to make to enable a lattice optimization is accomplished in the details view of the Optimization Region branch:

09 specify lattice optimization 1

We then need to specify some settings for the lattice.  The first of these is the Lattice Type.  The various types are documented in the ANSYS 19.2 Help.  In my example I selected the Crossed option.

10 lattice type 1

The other properties to define are:

  • Minimum Density (to avoid lattice structures that are toothin.  Allowed bounds are 0 and 1)
  • Maximum Density (elements are considered full/solid fordensities higher than this value, allowed bounds are 0 and 1)
  • Lattice Cell Size (used in downstream geometry steps andadditive manufacturing)

Values I used in my example are shown here:

11 lattice options 1

Assuming no other options need to be set, we solve the lattice optimization and review the results.  The results are displayed as a contour plot with values between zero and one, with values corresponding to the density settings as specified above.

12 lattice optimization contour results 1

Note that at this stage we don’t actually visualize the lattice structure – just a contour plot of where the lattice can be in the structure.  Where density values are higher than the maximum density specified, the geometry will end up being solid.  The lattice structure can exist where the results are between the minimum and maximum density values specified, with a varying thickness of lattice members corresponding to higher and lower densities.

The next step is to bring the lattice density information into SpaceClaim and generate actual lattice geometry.  This is done by adding a free standing Geometry block in the Workbench Project Schematic.

13 project schematic free standing geometry 1

The next step is to drag and drop the Results cell from the Topology Optimization block onto the Geometry cell of the new free standing Geometry block:

14 drag and drop 1

The Project Schematic will now look like this:

15 project schematic needing update 1

Notice the Results cell in the Topology Optimization branch now has a yellow lightning bolt.  The next step is to right click on that Results cell and Update.  The Project Schematic will now look like this:

16 project schematic results updated 1

Before we can open SpaceClaim, we next need to right click on the Geometry cell in the downstream Geometry block and Update that as well:

17 right click update geometry 1

After both Updates, the Project Schematic will now look like this:

18 Project Schematic updated 1

The next step is to double click or right click on the now-updated Geometry cell to open SpaceClaim.  Note that both the original geometry and a faceted version of the geometry will exist in SpaceClaim:

19 SpaceClaim Both Geom 1

It may seem counter intuitive, but we actually suppress the faceted geometry and only work with the original, solid geometry for the faceted process.  The faceted geometry should be automatically suppressed, as shown by the null symbol, ø, in the SpaceClaim tree.  At this point it will be helpful to hide the faceted geometry by unchecking its box in the tree:

20 SpaceClaim hide faceted 1

Next we’ll utilize some capability in the Facets menu in SpaceClaim to create the lattice geometry, using the lattice distribution calculated by the lattice optimization.  Click on the Facets tab, then click on the Shell button:

21 SpaceClaim Facets Shell 1

Set the Infill option to be Basic:

22 SpaceClaim Infill Basic 1

At this point there should be a check box for “Use Density Attributes” below the word Shape.  This check box doesn’t always appear.  If it’s not there, first try clicking on the actual geometry object in the tree:

23 SpaceClaim Use Density Attributes 1

In one instance I had to go to %appdata%\Ansys and rename the v192 folder to v192.old to reset Workbench preferences and launch Workbench again.  That may have been ‘pilot error’ on my part as I was learning the process.

The next step is to check the Use density attributes box.  The Shape dropdown should be set to Lattices.  Once the Use density attributes box is checked, we can then one of the predefined lattice shapes, which will be used for downstream simulation and 3D printing.  The shape picked needs to match the lattice shape previously picked in the topology optimization.

24 SpaceClaim Lattice Shapes 1

In my case I selected the Cube Lattice with Side Diagonal Supports, which corresponds to the Crossed selection I made in the upsteam lattice optimization.  Note that a planar preview of this is displayed inside the geometry:

25 SpaceClaim lattice choice 2D preview 1

The next step is to click the green checkmark to have SpaceClaim create the lattice geometry based on the lattice distribution calculated by the lattice optimization:

26 SpaceClaim green checkmark 1

When SpaceClaim is done with the lattice geometry generation, you should be able to see a ghosted image showing the lattice structure in the part’s interior:

27 SpaceClaim Lattice Visible 1

Note that if you change views, etc., in SpaceClaim, you may then see the exterior surfaces of the part, but rest assured the lattice structure remains in the interior.

Your next step may need to be a validation.  To do this, we create a standalone Static Structural analysis block on the Project Schematic:

28 Project Schematic standalone static structural 1

Next we drag and drop the Geometry cell from the faceted geometry block we just created onto the Geometry cell of the newly created Static Structural block:

29 Project Schematic standalone static structural drag and drop 1

We can now open Mechanical for the new Static Structural analysis.  Note that the geometry that comes into Mechanical in this manner will have a single face for the exterior, and a single face for the exterior. To verify that the lattice structure is actually in the geometry, I recommend creating a section plane so we can view the interior of the geometry:

30 Mechanical section plot interior lattice 1

To mesh the lattice structure, I’ve found that inserting a Mesh Method and setting it to the Tetrahedrons/Patch Independent option has worked for getting a reasonable mesh.  Care must be taken with element sizes or a very large mesh will be created.  My example mesh has about 500,000 nodes.  This is a section view, showing the mesh of the interior lattice structure (relatively coarse for the example).

31 LatticeMesh 1

For boundary condition application, I used Direct FE loads.  I used a lasso pick after aligned the view properly to select the nodes needed for the displacement and then the force loads, and created Named Selections for each of those nodal selections for easy load application.

Here are a couple of results plots showing a section view with the lattice in the interior (deflection followed by max principal stress):

32 lattice disp result 1
33 lattice stress result 1

Here is a variant on the lattice specifications, in which the variance in the thickness of the lattice members (a result of the optimization) is more evident:

34 lattice thickness gradient 1

Clearly, a lot more could be done with the geometry in SpaceClaim before a validation step or 3D printing.  However, hopefully this step by step guide is helpful with the basic process for performing a lattice optimization in ANSYS Mechanical and SpaceClaim 19.2.

Categories

Get Your Ansys Products & Support from the Engineers who Contribute to this Blog.

Technical Expertise to Enable your Addictive Manufacturing Success.

PADT Pulse Newsletter Screen Grab from March 2023

PADT’s Pulse Newsletter

Keep up to date on what is going on at PADT by subscribing to our newsletter.


By submitting this form, you are consenting to receive marketing emails from: . You can revoke your consent to receive emails at any time by using the SafeUnsubscribe® link, found at the bottom of every email. Emails are serviced by Constant Contact

Share this post:

Upcoming Events

05/31/2023

Driving Automotive Innovation with Additive - Webinar

05/24/2023

Hill Air Force Base Tech Expo

05/24/2023

Structural Updates in Ansys 2023 R1 (3) – Structural Optimization & Ex

05/23/2023

CROSSTALK 2023: Emerging Opportunities for Advanced Manufacturing Smal

05/10/2023

Signal & Power Integrity Updates in Ansys 2023 R1 - Webinar

04/26/2023

Additive Manufacturing Updates in Ansys 2023 R1 - Webinar

04/20/2023

38th Space Symposium Arizona Space Industry

More Info

04/19/2023

38th Space Symposium
Arizona Space Industry

04/19/2023

Additive Aids for Manufacturing - Webinar

04/18/2023

38th Space Symposium
Arizona Space Industry

04/17/2023

38th Space Symposium

04/13/2023

Venture Madness 2023

04/12/2023

Fluid Meshing & GPU-Solver Updates in Ansys 2023 R1 - Webinar

03/29/2023

8th Thermal and Fluids Engineering Conference

03/29/2023

Structural Updates in Ansys 2023 R1 - Composites, Fracture & MAPDL

03/28/2023

8th Thermal and Fluids Engineering Conference

03/27/2023

8th Thermal and Fluids Engineering Conference

03/26/2023

8TH Thermal and Fluids Engineering Conference

03/24/2023

Arizona BioPreneur Conference | Spring 2023

03/22/2023

2023 Arizona MedTech Conference

03/22/2023

Optimize Jigs & Fixtures with Additive - Webinar

03/15/2023

3D Design Updates in Ansys 2023 R1 - Webinar

03/08/2023

Competitive Advantages of 1D/3D Coupled Simulation - Webinar

03/01/2023

High Frequency Updates in Ansys 2023 R1 - Webinar

02/22/2023

Additive Advantages in Aerospace - Webinar

02/15/2023

Structural Updates in Ansys 2023 R1 (1) - Webinar

02/09/2023

IME 2023: MD&M | WestPack | ATX | D&M | Plastek

02/08/2023

IME 2023 MD&M | WestPack | ATX | D&M | Plastek

02/07/2023

IME 2023 MD&M | WestPack | ATX | D&M | Plastek

01/27/2023

Arizona Photonics Days, 2023

01/26/2023

Arizona Photonics Days, 2023

01/26/2023

TIPE 3D Printing | 2023

01/26/2023

Venture Cafe Phoenix Talent Night - Job Fari

01/26/2023

VFS 2023 Autonomous/Electric VTOL Symposium

01/25/2023

Arizona Photonics Days, 2023

01/25/2023

Building A.M.- Utah: Kickoff!

01/25/2023

TIPE 3D Printing | 2023

01/25/2023

VFS 2023 Autonomous/Electric VTOL Symposium

01/24/2023

VFS 2023 Autonomous/Electric VTOL Symposium

01/24/2023

TIPE 3D Printing | 2023

01/18/2023

2023 AZ Tech Council Golf Tournament

12/21/2022

Simulation Best Practices for 5G Technology - Webinar

12/14/2022

Digital Twins Updates in Ansys 2022 R2 - Webinar

12/08/2022

Tech the Halls - AZ Tech Council Holiday Mixer

12/07/2022

Electric Vehicle and Other Infrastructure Update Panel

11/30/2022

SPEOS Updates in Ansys 2022 R2 - Webinar

11/23/2022

Simulation Best Practices for Electronics Reliability - Webinar

11/16/2022

Discovery Updates in Ansys 2022 R2

11/10/2022

VentureCafe Phoenix Panel: Venture Capital in AZ

11/08/2022

2022 GOVERNOR’S CELEBRATION OF INNOVATION AWARDS + TECH SHOWCASE

11/03/2022

VentureCafe Phoenix Panel: Angel Investment in AZ

11/02/2022

High & Low Frequency Electromagnetics Updates in Ansys 2022 R2

10/26/2022

Simulation Best Practices For Chip-Package-System Design & Development

10/20/2022

Nerdtoberfest 2022

10/19/2022

2022 Southern Arizona Tech + Business Expo

10/19/2022

LS-DYNA Updates in Ansys 2022 R2 - Webinar

10/17/2022

Experience Stratasys Truck Tour - Clearfield Utah

10/14/2022

ASU School of Manufacturing Systems and Networks - Formal Opening Cele

10/14/2022

Experience Stratasys Truck Tour - Midvale Utah

10/12/2022

Experience Stratasys Truck Tour - Littleton Colorado

10/06/2022

Fluids Updates in Ansys 2022 R2 - Webinar

10/05/2022

Experience Stratasys Truck Tour - Colorado Springs

09/29/2022

White Hat Life Science Investor Conference - 2022

09/28/2022

2022 AZBio Awards

09/28/2022

Simulation Best Practices for Rotating Machinery Design & Development

09/21/2022

ExperienceIT NM 2022

09/21/2022

Additive Updates in Ansys 2022 R2 - Webinar

09/14/2022

Rocky Mountain Life Sciences Investor & Partnering Conference

09/08/2022

Ansys Optics Simulation User Group Meeting - Virtual

09/08/2022

Ansys Optics Simulation User Group Meeting

09/07/2022

SI & PI Updates in Ansys 2022 R2 - Webinar

08/31/2022

Simulation Best Practices for Developing Medical Devices - Webinar

08/24/2022

Mechanical Updates in Ansys 2022 R2 - Webinar

08/10/2022

Tucson after5 Tech Mixer: Ruda-Cardinal

08/05/2022

Flagstaff Tech Tour, 2022

08/02/2022

2022 CEO Leadership Retreat

08/01/2022

2022 CEO Leadership Retreat

07/27/2022

Thermal Integrity Updates in Ansys 2022 R1 - Webinar

07/20/2022

Simulation Best Practices for the Pharmaceutical Industry - Webinar

07/14/2022

NCMS Technology Showcase: Corpus Christi Army Depot

07/13/2022

NCMS Technology Showcase: Corpus Christi Army Depot

07/13/2022

Additive & Structural Optimization Updates in Ansys 2022 R1 - Webinar

07/07/2022

Arizona AADM Conference, 2022

06/29/2022

LS-DYNA Updates & Advancements in Ansys 2022 R1 - Webinar

06/23/2022

Simulation Best Practices for Wind Turbine Design - Webinar

06/15/2022

MAPDL Updates & Advancements in Ansys 2022 R1 - Webinar

06/01/2022

Mechanical Updates in Ansys 2022 R1 - pt. 2 Webinar

05/26/2022

Modelling liquid cryogenic rocket engines in Flownex - Webinar

05/25/2022

SMR & Advanced Reactor 2022

05/25/2022

05/24/2022

SMR & Advanced Reactor 2022

05/19/2022

RAPID + tct 2022

05/19/2022

Venture Cafe Roundtable: AI & Healthcare

05/18/2022

Tucson after5 Tech Mixer: World View

05/18/2022

RAPID + tct 2022

More Info

05/18/2022

Signal & Power Integrity Updates in Ansys 2022 R1 - Webinar

05/18/2022

Simulation World 2022

05/17/2022

RAPID + tct 2022

05/11/2022

Experience Stratasys Manufacturing Virtual Event

Search in PADT site

Contact Us

Most of our customers receive their support over the phone or via email. Customers who are close by can also set up a face-to-face appointment with one of our engineers.

For most locations, simply contact us: