Structural Optimization in Mechanical
Structural Optimization in Mechanical
ANSYS, Ansys Workbench, AUTODYN, CFX, FLUENT and any and all ANSYS, Inc. brand, product, service and feature
names, logos and slogans are registered trademarks or trademarks of ANSYS, Inc. or its subsidiaries located in the
United States or other countries. ICEM CFD is a trademark used by ANSYS, Inc. under license. CFX is a trademark
of Sony Corporation in Japan. All other brand, product, service and feature names or trademarks are the property
of their respective owners. FLEXlm and FLEXnet are trademarks of Flexera Software LLC.
Disclaimer Notice
THIS ANSYS SOFTWARE PRODUCT AND PROGRAM DOCUMENTATION INCLUDE TRADE SECRETS AND ARE CONFID-
ENTIAL AND PROPRIETARY PRODUCTS OF ANSYS, INC., ITS SUBSIDIARIES, OR LICENSORS. The software products
and documentation are furnished by ANSYS, Inc., its subsidiaries, or affiliates under a software license agreement
that contains provisions concerning non-disclosure, copying, length and nature of use, compliance with exporting
laws, warranties, disclaimers, limitations of liability, and remedies, and other provisions. The software products
and documentation may be used, disclosed, transferred, or copied only in accordance with the terms and conditions
of that software license agreement.
ANSYS, Inc. and ANSYS Europe, Ltd. are UL registered ISO 9001: 2015 companies.
For U.S. Government users, except as specifically granted by the ANSYS, Inc. software license agreement, the use,
duplication, or disclosure by the United States Government is subject to restrictions stated in the ANSYS, Inc.
software license agreement and FAR 12.212 (for non-DOD licenses).
Third-Party Software
See the legal information in the product help files for the complete Legal Notice for ANSYS proprietary software
and third-party software. If you are unable to access the Legal Notice, contact ANSYS, Inc.
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. iii
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
iv of ANSYS, Inc. and its subsidiaries and affiliates.
Chapter 1: Structural Optimization Overview
The Ansys Structural Optimization analysis is a form-finding analysis driven by mechanical and geomet-
rical criteria. The application obtains mechanical criteria from upstream linear structural analyses (static,
modal, harmonic, or thermal). The application also supports criteria from non-linear structural analyses.
Optimization Methods
Ansys provides the following optimization methods:
• Topology Optimization
– Density Based : This method performs optimization based on the density of each element of
your model. It employs Solid Isotropic Material with Penalization (SIMP) wherein density is
forced to approach 0 or 1 rather than varying continuously.
– Level Set: This method directly deals with the boundary of the shape. This enables Mechanical
to deliver an unambiguous solution.
– Mixable Density: This optimization type is using the same mathematical background as
density-based method but it has been enriched thanks to cross-fertilization with the Level-Set
based technology.
• Lattice: This method enables you to compute an optimal variable density lattice distribution in
your geometry.
• Shape: This method enables you to optimize the shape of your model by morphing the mesh.
As opposed to topology optimization, no topological change is allowed. This method supports
solid models only.
• Topography: This method enables you to perform shape optimization using mesh node reloca-
tions. This method supports shell models only.
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 1
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
2 of ANSYS, Inc. and its subsidiaries and affiliates.
Chapter 2: Optimization Analysis Workflow
The topics listed below describe the steps to create and perform an optimization analysis.
2.1. Create Upstream Analysis Systems
2.2. Attach Geometry and Launch Mechanical
2.3. Specify Analysis Settings
2.4. Define Optimization Method and Regions
2.5. Determine Objective and Constraints Capabilities
2.6. Define Design Objectives
2.7. Define Response Constraints
2.8. Define Manufacturing Constraints
2.9. Define Design Constraints
2.10. Specify Results and Solve
2.11. Post Processing
2.12. Recreating CAD Geometry
2.13. Performing Design Validation
• Harmonic Response
• Modal
• Steady-State Thermal
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 3
Optimization Analysis Workflow
• Any combination of Harmonic Response, Modal, Static Structural, and/or Steady-State Thermal.
Note:
The Structural Optimization analysis supports Condensed Parts from upstream Harmonic
Response, Modal, and Static Structural (linear only) analyses.
Procedure
1. Specify your upstream system or systems. Drag the system from the Toolbox to the Project
Schematic or double-click the system in the Toolbox. The cells between the systems should be
linked as illustrated below.
2. Link your systems as illustrated in the examples shown below. The new Structural Optimization
system shares the Engineering Data, Geometry, and Model cells with the same cells as the up-
stream systems and the Solution cell links to the Setup cell of the Structural Optimization system.
If necessary, link the Solution cell of the Static Structural or Modal analysis to the Setup cell of
the Structural Optimization system.
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
4 of ANSYS, Inc. and its subsidiaries and affiliates.
Attach Geometry and Launch Mechanical
Note:
• If your upstream system is a single Static Structural analysis, Ansys recommends that
you use step-based loading to improve scalability. In order to do so, you need to
define your loading conditions using the Tabular Data window and you need to set
the Independent Variable property to the Step option. This does not include the
use of the Thermal Condition load.
• When you specify a Structural Optimization system from Mechanical, you need to
make sure that you connect the systems properly. Connect the systems using the
Transfer Data From context (right-click) menu option from the Structural Optimiz-
ation environment. Once linked, you can disconnect the systems using the Unlink
Data From option of the context menu.
Once you link the analyses, automatic property specifications are made in Mechanical to define the re-
lationship between the systems.
Procedure
1. Right-click the Geometry cell of the (furthest) upstream system, select Import > Browse and select
the desired file for import. Note that double-clicking on the Geometry cell opens SpaceClaim.
Important:
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 5
Optimization Analysis Workflow
2. Once you have your geometry specified, double-click the Model cell (or right-click, and select Edit)
of any of the systems to launch the Mechanical application.
3. Once your geometry is loaded in Mechanical, review how it is presented in the project tree. Note
that the Future Analysis property of the Analysis Data Management Category in the Analysis
Settings object of the upstream system is specified as Structural Optimization. And, the Environ-
ment Selection List property of the Solution object of the optimization system shows the cell
identifiers of the environments linked to the current optimization environment, as illustrated below
Note:
Also illustrated above, the application automatically inserts and assigns default values
to the Optimization Region, Objective, and Response Constraint objects in the op-
timization analysis.
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
6 of ANSYS, Inc. and its subsidiaries and affiliates.
Specify Analysis Settings
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 7
Optimization Analysis Workflow
For the Topology Optimization - Density Based method, you can modify the properties as de-
scribed below.
The Reload Volume Analysis category of the Analysis Settings is only available when per-
forming a Structural Optimization analysis and it only displays following the solution process.
This category includes the Reload Volume Fraction property. The options for this property
include Off and Manual. When you set the property to Manual, the Current Reload Point
property also displays and provides the following options:
• Initial: Using this setting, your next solution begins from Iteration 0 (a new solution).
• Iteration Number ##: This setting is based on the last Iteration completed for the
previous solution. Using this setting, your next solution begins by reloading the volume
fractions at the specified iteration number.
Note:
When you pick a reload point that is different from the Initial reload point,
you may receive an optimized shape that is different than the optimized shape
obtained when you perform the optimization from the beginning of the ana-
lysis.
Important:
If you modify any of the following, the Reload Volume Analysis category disappears
from the Analysis Settings:
• Manufacturing Constraints (You can use the Pull Out Direction Manufactur-
ing Constraint for Reload Volume Analysis if you set the Region of Manu-
facturing Constraint property to Exclude Exclusion)
• Optimization Region
• Size property
Definition Category
The Definition category of the Analysis Settings is only available when performing a Struc-
tural Optimization analysis. The properties of the Definition category include:
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
8 of ANSYS, Inc. and its subsidiaries and affiliates.
Specify Analysis Settings
• Maximum Number of Iterations: This property specifies the maximum number of iter-
ations performed for the Structural Optimization analysis. The solution process continues
until the application achieves convergence accuracy or reaches the maximum number
of iterations. The default value is 500.
• Minimum Normalized Density: This property requires a value greater than 0 and less
than 1. The Structural Optimization analysis uses this value to extract the permissible
range of retained threshold values. The default value is 0.001.
• Convergence Accuracy: This property specifies the convergence criteria of the Struc-
tural Optimization analysis. The solution process continues until the application achieves
convergence accuracy or reaches the maximum number of iterations. This value must
be less than or equal to 2. The default value is 0.1%.
Note:
• Initial Volume Fraction: This property requires a value greater than 0 and less than
or equal to 1. The optimization analysis uses this value as an initial estimate for the
volume fraction. All optimized elements begin with this value. By default, the application
uses your specified Objectives and Constraints to determine the initial estimate. A value
of 1 indicates full material, whereas all other values indicate a fraction of the original
material.
• Penalty Factor (Stiffness): During the solution process, this property applies a penalty
factor to the structural stiffness matrix in order to prevent the stiffness matrix from
scaling linearly with the pseudo density. Therefore, the stiffness at each iteration, as
needed, is modified using the expression: . The
default value is 3.
• Region of Manufacturing Constraint: The options for this property are Include Exclu-
sions (default) and Exclude Exclusions. When you specify Include Exclusions, the
application also incorporates the Exclusion Region (p. 24) to satisfy the Pull Out Dir-
ection, Extrusion, Cyclic Repetition, and Symmetry manufacturing constraints.
• Region of Min Member Size: The options for this property are Include Exclusions
and Exclude Exclusions (default). When you specify Include Exclusions, the application
also incorporates the Exclusion Region (p. 24) to meet the minimum member size
specified through the Member Size manufacturing constraint.
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 9
Optimization Analysis Workflow
• Filter (Density Based method only): This property specifies the method used to calculate
the pseudo density of each element. Options include:
– Linear: A faster processing option than Non-Linear, this option may prefer placing
material on the boundary of your design domain as well as cause the Minimum
value of the Member Size property to infringe upon the boundary of the design
domain.
– Non-Linear (Program Controlled default): This option uses more advanced al-
gorithms to calculate the pseudo densities that resolve the drawbacks of linear
filtering.
Note:
Ansys recommends that you exclude all areas where loads are applied.
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
10 of ANSYS, Inc. and its subsidiaries and affiliates.
Specify Analysis Settings
Output Controls
• Export Design Properties. This property is only available for a Structural Optimization
analysis when you have an upstream Static Structural or Modal analysis system. You
use the options of this property to specify when the application creates solution data.
You can then create Deformation, Stress, Strain, etc., results in your Structural Optimiz-
ation analysis that correspond to your upstream analysis. These results enable you to
examine the mechanical behavior of your optimal design (corresponding to the last
accepted iteration) as well as the mechanical behavior of intermediate designs. Property
options include:
– On Final Design: Solution data is created at the end of the optimization process.
This corresponds to the last accepted iteration (optimal design).
– All Accepted Iterations: Solution data is generated after each accepted iteration
of the optimization process. That is, the solution data includes all accepted iter-
ations.
Export Design Properties File Format: This property displays when you specify
the Export Design Properties property. Options include HDF5 File (default) and
VTK File (requires external reader).
Important:
Note:
• Store Results At: Based on the analysis type, specify this time to be All Time Points
or All Iterations (default setting), Last Time Point or Last Iteration, Equally Spaced
Points or Specified Recurrence Rate.
Value. Displayed only if Store Results At is set to Equally Spaced Points or Spe-
cified Recurrence Rate.
See Output Controls section for additional information about the properties of this category.
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 11
Optimization Analysis Workflow
The Solver Type property is the only property for this category. The property's options include:
• Program Controlled (default): The application selects the Sequential Convex Program-
ming solver as the default option.
See the Optimization Solver Methods (p. 124) section for additional technical detail
about this solver type.
• Optimality Criteria: The Optimality Criteria method can be used to solve Structural
Optimization problems with a simple compliance objective that uses a volume or mass
constraint.
Note:
See the Optimization Solver Methods (p. 124) section for additional technical details
about this solver type.
See the Analysis Data Management Category section of the Help for additional information
about the properties of this category.
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
12 of ANSYS, Inc. and its subsidiaries and affiliates.
Specify Analysis Settings
For the Topology Optimization - Level Set Based method, you can modify the properties as
described below.
Definition Category
The Definition category of the Analysis Settings is only available when performing a Struc-
tural Optimization analysis. The properties of the Definition category include:
• Maximum Number of Iterations: This property specifies the maximum number of iter-
ations performed for the Structural Optimization analysis. The solution process continues
until the application achieves convergence accuracy or reaches the maximum number
of iterations. The default value is 500.
• Convergence Accuracy: This property specifies the convergence criteria of the Struc-
tural Optimization analysis. The solution process continues until the application achieves
convergence accuracy or reaches the maximum number of iterations. The default value
is 0.1%.
Output Controls
• Export Design Properties. This property is only available for a Structural Optimization
analysis when you have an upstream Static Structural or Modal analysis system. You
use the options of this property to specify when the application creates solution data.
You can then create Deformation, Stress, Strain, etc., results in your Structural Optimiz-
ation analysis that correspond to your upstream analysis. These results enable you to
examine the mechanical behavior of your optimal design (corresponding to the last
accepted iteration) as well as the mechanical behavior of intermediate designs. Property
options include:
– On Final Design: Solution data is created at the end of the optimization process.
This corresponds to the last accepted iteration (optimal design).
– All Accepted Iterations: Solution data is generated after each accepted iteration
of the optimization process. That is, the solution data includes all accepted iter-
ations.
Export Design Properties File Format: This property displays when you specify
the Export Design Properties property. Options include HDF5 File (default) and
VTK File (requires external reader).
Note:
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 13
Optimization Analysis Workflow
• Store Results At: Based on the analysis type, specify this time to be All Time Points
or All Iterations (default setting), Last Time Point or Last Iteration, Equally Spaced
Points or Specified Recurrence Rate.
Value. Displayed only if Store Results At is set to Equally Spaced Points or Spe-
cified Recurrence Rate.
See Output Controls section for additional information about the properties of this category.
See the Analysis Data Management Category section of the Help for additional information
about the properties of this category.
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
14 of ANSYS, Inc. and its subsidiaries and affiliates.
Specify Analysis Settings
Lattice Optimization
For the Lattice Optimization method, you can modify the properties as described below.
The Reload Volume Analysis category of the Analysis Settings is only available when per-
forming a Structural Optimization analysis and it only displays following the solution process.
This category includes the Reload Volume Fraction property. The options for this property
include Off and Manual. When you set the property to Manual, the Current Reload Point
property also displays and provides the following options:
• Initial: Using this setting, your next solution begins from Iteration 0 (a new solution).
• Iteration Number ##: This setting is based on the last Iteration completed for the
previous solution. Using this setting, your next solution begins by reloading the volume
fractions at the specified iteration number.
Note:
When you pick a reload point that is different from the Initial reload point,
you may receive an optimized shape that is different than the optimized shape
obtained when you perform the optimization from the beginning of the ana-
lysis.
Important:
If you modify any of the following, the Reload Volume Analysis category disappears
from the Analysis Settings:
• Manufacturing Constraints (You can use the Pull Out Direction Manufactur-
ing Constraint for Reload Volume Analysis if you set the Region of Manu-
facturing Constraint property to Exclude Exclusion)
• Optimization Region
• Size property
Definition Category
The Definition category of the Analysis Settings is only available when performing a Struc-
tural Optimization analysis. The properties of the Definition category include:
• Maximum Number of Iterations: This property specifies the maximum number of iter-
ations performed for the Structural Optimization analysis. The solution process continues
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 15
Optimization Analysis Workflow
until the application achieves convergence accuracy or reaches the maximum number
of iterations. The default value is 500.
• Minimum Normalized Density: This property requires a value greater than 0 and less
than 1. The Structural Optimization analysis uses this value to extract the permissible
range of retained threshold values. The default value is 0.001.
• Convergence Accuracy: This property specifies the convergence criteria of the Struc-
tural Optimization analysis. The solution process continues until the application achieves
convergence accuracy or reaches the maximum number of iterations. This value must
be less than or equal to 2. The default value is 0.1%.
Note:
• Initial Volume Fraction: This property requires a value greater than 0 and less than
or equal to 1. The optimization analysis uses this value as an initial estimate for the
volume fraction. All optimized elements begin with this value. By default, the application
uses your specified Objectives and Constraints to determine the initial estimate. A value
of 1 indicates full material, whereas all other values indicate a fraction of the original
material.
• Region of Manufacturing Constraint: The options for this property are Include Exclu-
sions (default) and Exclude Exclusions. When you specify Include Exclusions, the
application also incorporates the Exclusion Region (p. 24) to satisfy the Pull Out Dir-
ection, Extrusion, Cyclic Repetition, and Symmetry manufacturing constraints.
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
16 of ANSYS, Inc. and its subsidiaries and affiliates.
Specify Analysis Settings
Output Controls
• Export Design Properties. This property is only available for a Structural Optimization
analysis when you have an upstream Static Structural or Modal analysis system. You
use the options of this property to specify when the application creates solution data.
You can then create Deformation, Stress, Strain, etc., results in your Structural Optimiz-
ation analysis that correspond to your upstream analysis. These results enable you to
examine the mechanical behavior of your optimal design (corresponding to the last
accepted iteration) as well as the mechanical behavior of intermediate designs. Property
options include:
– On Final Design: Solution data is created at the end of the optimization process.
This corresponds to the last accepted iteration (optimal design).
– All Accepted Iterations: Solution data is generated after each accepted iteration
of the optimization process. That is, the solution data includes all accepted iter-
ations.
Export Design Properties File Format: This property displays when you specify
the Export Design Properties property. Options include HDF5 File (default) and
VTK File (requires external reader).
Note:
• Store Results At: Based on the analysis type, specify this time to be All Time Points
or All Iterations (default setting), Last Time Point or Last Iteration, Equally Spaced
Points or Specified Recurrence Rate.
Value. Displayed only if Store Results At is set to Equally Spaced Points or Spe-
cified Recurrence Rate.
See Output Controls section for additional information about the properties of this category.
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 17
Optimization Analysis Workflow
The Solver Type property is the only property for this category. The property options include:
• Program Controlled (default): The application selects the Sequential Convex Program-
ming solver as the default option.
See the Optimization Solver Methods (p. 124) section for additional technical detail
about this solver type.
• Optimality Criteria: The Optimality Criteria method can be used to solve Structural
Optimization problems with a simple compliance objective that uses a volume or mass
constraint.
Note:
See the Optimization Solver Methods (p. 124) section for additional technical details
about this solver type.
See the Analysis Data Management Category section of the Help for additional information
about the properties of this category.
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
18 of ANSYS, Inc. and its subsidiaries and affiliates.
Specify Analysis Settings
Shape Optimization
For the Shape Optimization method, you can modify the properties as described below.
Definition Category
The Definition category of the Analysis Settings is only available when performing a Struc-
tural Optimization analysis. The properties of the Definition category include:
• Maximum Number of Iterations: This property specifies the maximum number of iter-
ations performed for the Structural Optimization analysis. The solution process continues
until the application achieves convergence accuracy or reaches the maximum number
of iterations. The default value is 500.
• Convergence Accuracy: This property specifies the convergence criteria of the Struc-
tural Optimization analysis. The solution process continues until the application achieves
convergence accuracy or reaches the maximum number of iterations. The default value
is 0.1%.
Output Controls
• Export Design Properties. This property is only available for a Structural Optimization
analysis when you have an upstream Static Structural or Modal analysis system. You
use the options of this property to specify when the application creates solution data.
You can then create Deformation, Stress, Strain, etc., results in your Structural Optimiz-
ation analysis that correspond to your upstream analysis. These results enable you to
examine the mechanical behavior of your optimal design (corresponding to the last
accepted iteration) as well as the mechanical behavior of intermediate designs. Property
options include:
– On Final Design: Solution data is created at the end of the optimization process.
This corresponds to the last accepted iteration (optimal design).
– All Accepted Iterations: Solution data is generated after each accepted iteration
of the optimization process. That is, the solution data includes all accepted iter-
ations.
Export Design Properties File Format: This property displays when you specify
the Export Design Properties property. Options include HDF5 File (default) and
VTK File (requires external reader).
Note:
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 19
Optimization Analysis Workflow
• Store Results At: Based on the analysis type, specify this time to be All Time Points
or All Iterations (default setting), Last Time Point or Last Iteration, Equally Spaced
Points or Specified Recurrence Rate.
Value. Displayed only if Store Results At is set to Equally Spaced Points or Spe-
cified Recurrence Rate.
See Output Controls section for additional information about the properties of this category.
See the Analysis Data Management Category section of the Help for additional information
about the properties of this category.
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
20 of ANSYS, Inc. and its subsidiaries and affiliates.
Specify Analysis Settings
For the Topology Optimization - Mixable Density method, you can modify the properties as
described below.
Definition Category
The Definition category of the Analysis Settings is only available when performing a Struc-
tural Optimization analysis. The properties of the Definition category include:
• Maximum Number of Iterations: This property specifies the maximum number of iter-
ations performed for the Structural Optimization analysis. The solution process continues
until the application achieves convergence accuracy or reaches the maximum number
of iterations. The default value is 500.
• Convergence Accuracy: This property specifies the convergence criteria of the Struc-
tural Optimization analysis. The solution process continues until the application achieves
convergence accuracy or reaches the maximum number of iterations. The default value
is 0.1%.
Output Controls
• Export Design Properties. This property is only available for a Structural Optimization
analysis when you have an upstream Static Structural or Modal analysis system. You
use the options of this property to specify when the application creates solution data.
You can then create Deformation, Stress, Strain, etc., results in your Structural Optimiz-
ation analysis that correspond to your upstream analysis. These results enable you to
examine the mechanical behavior of your optimal design (corresponding to the last
accepted iteration) as well as the mechanical behavior of intermediate designs. Property
options include:
– On Final Design: Solution data is created at the end of the optimization process.
This corresponds to the last accepted iteration (optimal design).
– All Accepted Iterations: Solution data is generated after each accepted iteration
of the optimization process. That is, the solution data includes all accepted iter-
ations.
Export Design Properties File Format: This property displays when you specify
the Export Design Properties property. Options include HDF5 File (default) and
VTK File (requires external reader).
Note:
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 21
Optimization Analysis Workflow
• Store Results At: Based on the analysis type, specify this time to be All Time Points
or All Iterations (default setting), Last Time Point or Last Iteration, Equally Spaced
Points or Specified Recurrence Rate.
Value. Displayed only if Store Results At is set to Equally Spaced Points or Spe-
cified Recurrence Rate.
See Output Controls section for additional information about the properties of this category.
See the Analysis Data Management Category section of the Help for additional information
about the properties of this category.
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
22 of ANSYS, Inc. and its subsidiaries and affiliates.
Specify Analysis Settings
Topography Optimization
For the Topography Optimization method, you can modify the properties as described below.
Definition Category
The Definition category of the Analysis Settings is only available when performing a Struc-
tural Optimization analysis. The properties of the Definition category include:
• Maximum Number of Iterations: This property specifies the maximum number of iter-
ations performed for the Structural Optimization analysis. The solution process continues
until the application achieves convergence accuracy or reaches the maximum number
of iterations. The default value is 500.
• Convergence Accuracy: This property specifies the convergence criteria of the Struc-
tural Optimization analysis. The solution process continues until the application achieves
convergence accuracy or reaches the maximum number of iterations. The default value
is 0.1%.
Output Controls
• Export Design Properties. This property is only available for a Structural Optimization
analysis when you have an upstream Static Structural or Modal analysis system. You
use the options of this property to specify when the application creates solution data.
You can then create Deformation, Stress, Strain, etc., results in your Structural Optimiz-
ation analysis that correspond to your upstream analysis. These results enable you to
examine the mechanical behavior of your optimal design (corresponding to the last
accepted iteration) as well as the mechanical behavior of intermediate designs. Property
options include:
– On Final Design: Solution data is created at the end of the optimization process.
This corresponds to the last accepted iteration (optimal design).
– All Accepted Iterations: Solution data is generated after each accepted iteration
of the optimization process. That is, the solution data includes all accepted iter-
ations.
Export Design Properties File Format: This property displays when you specify
the Export Design Properties property. Options include HDF5 File (default) and
VTK File (requires external reader).
Note:
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 23
Optimization Analysis Workflow
• Store Results At: Based on the analysis type, specify this time to be All Time Points
or All Iterations (default setting), Last Time Point or Last Iteration, Equally Spaced
Points or Specified Recurrence Rate.
Value. Displayed only if Store Results At is set to Equally Spaced Points or Spe-
cified Recurrence Rate.
See Output Controls section for additional information about the properties of this category.
See the Analysis Data Management Category section of the Help for additional information
about the properties of this category.
Overview
You use the Optimization Region object to specify the optimization method you want to use and then
select the regions of your geometry on which to perform optimization. Using the properties of the object,
you define the Design Region and the Exclusion Region for the analysis. Refer to the Optimization
Region object reference page for additional information about this object.
Go to a section topic:
• Lattice Optimization
• Shape Optimization
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
24 of ANSYS, Inc. and its subsidiaries and affiliates.
Define Optimization Method and Regions
• Topography Optimization
See the Design Method Definitions (p. 107) section for more information about the requirements
and limitations of each method.
The properties of the Design Region category enable you to define the geometry as a Geometry
Selection or a Named Selection. This is the region that you wish to optimize.
The properties of the Exclusion Region category enable you to specify a region (geometric entities
or elements) to be excluded from optimization. You specify excluded regions using defined
Boundary Conditions, Geometry Selection, or a Named Selection.
Density Based optimization regions cannot be mixed with other types of optimization regions. When
you are using the density-based optimization method you have two options: you can use multiple
Optimization Region objects or you can use Geometry Selection or Named Selections to define the
scope of the Manufacturing Constraints.
Important:
• Each optimization region must be uniquely scoped. The scoping of the regions cannot
overlap. The application will include all the geometries of the optimization regions in the
optimization process. You can use the individual optimization regions for the scoping of
geometric response constraints and of manufacturing constraints.
• The Topology Optimization - Level Set and Shape Optimization options/method support
3D solid elements only and the Topography Optimization method supports shell elements
only.
The following table outlines the methods that you can combine within an optimization problem.
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 25
Optimization Analysis Workflow
The Structural Optimization solution does not optimize the exclusion region defined using this Local
Design Restriction object. The recommended use of the Local Design Restriction object includes
scenarios wherein certain regions of interest, that may be disconnected, need to be retained even
though no loads or boundary conditions exist on the region.
Category Properties/Options/Description
Design Scoping Method. The options for this property include:
Re-
gion • Geometry Selection (default): This option indicates that the design region is applied
to a geometry or geometries, which are chosen using graphical selection tools.
When you specify Geometry Selection for the Scoping Method, the Geometry
property will appear.
In this case, use selection filters on the Graphics Toolbar to pick your geometric
entities (only body and element selection), and then click Apply. Once complete,
the property displays the type of geometry (Body, Element, etc.) and the number
of selected geometric entities (for example: 1 Body, 12 Elements).
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
26 of ANSYS, Inc. and its subsidiaries and affiliates.
Define Optimization Method and Regions
Category Properties/Options/Description
Re- When you specify Boundary Condition for the Defined By property, a Boundary
gion Condition property will appear. This property includes the following options:
– All Loads: Applies the locations of all loading conditions from the upstream
static/modal system.
– All Supports: Applies the locations of all supports from the upstream
static/modal system.
Note:
• Geometry Selection: This option indicates that the design region is applied to a
geometry or geometries, which are chosen using graphical selection tools. When
you specify Geometry Selection for the Scoping Method, the Geometry property
will appear. Exclusion Region geometry selections can be scoped to bodies, faces,
edges, vertices, elements, and nodes.
Exclusion Thickness: This property displays when you set the Optimization Type property
to Topology Optimization - Level Set Based, Topology Optimization - Mixable Density,
or Shape Optimization. The default setting for this property is Program Controlled or
you can enter a value manually. This option enables you to specify a thickness for the
Exclusion Region. The default value is two times the average element size. The unit must
be a length.
Exclusion Extension: This property displays when you set the Optimization Type property
to either Topology Optimization - Level Set Based or toTopology Optimization - Mixable
Density. This option enables you to specify the extension type for the Exclusion Region.
Options include is Isotropic (default) and Orthotropic. Use the Isotropic option to perform
expansion uniformly in the three directions. Use the Orthotropic option to perform the
expansion along the surface normal. The Orthotropic option is only available for surface
bodies.
Op- Optimization Type: You use this property to specify the type of optimization you wish
tim- to perform. Options include:
iz-
a- • Topology Optimization - Density Based
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 27
Optimization Analysis Workflow
Category Properties/Options/Description
tion • Topology Optimization - Level Set Based
Op-
tion • Lattice Optimization (see below)
Lattice Optimization
The following additional properties are available when you select Lattice Optimization
as the Optimization Type:
• Lattice Type: This property specifies the structure of the unit cell.
• Lattice Cell Size: The value of this property specifies the lattice cell size to be
used when rebuilding the lattice geometry for printing.
The following additional properties are available when you select Shape Optimization
or Topography Optimization as the Optimization Type:
• Move Limit Per Iteration: This property enables you to define how far each
node can move at each iteration. It must be defined in length units, for example
one element size. By default, this property is set to Program Controlled. Select
the Manual option to change the value.
• Total Move Limit: This property enables you to define how far each node can
move in total. It must be defined in length units, for example three times the
element size. By default, this property is set to Program Controlled. Select the
Manual option to change the value.
• Mesh Deformation Control: This property enables you to define how much
the mesh can be stretched. It is an additional control to avoid element distortion.
This unit-less value is a sort of penalty factor that ranges from 0 (no control)
to 1.0. By default, this property is set to Program Controlled. Select the Manual
option to change the value.
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
28 of ANSYS, Inc. and its subsidiaries and affiliates.
Determine Objective and Constraints Capabilities
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 29
Optimization Analysis Workflow
Go to a section topic:
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
30 of ANSYS, Inc. and its subsidiaries and affiliates.
Define Design Objectives
Application
To apply an Objective object: On the Environment Context tab: select Objective, or right-click the
Environment tree object or in the Geometry window and select Insert > Objective.
Whenever you link a Harmonic Response, Modal, Static Structural, or Steady-State Thermal analysis
to a Structural Optimization analysis in the Project Schematic, a new row is added to the Worksheet.
The default Response Type setting for a Static Structural analysis is Compliance, for a Modal analysis
it is Frequency, and for a Steady-State Thermal analysis it is Thermal Compliance. There is not default
setting for a Harmonic Response analysis.
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 31
Optimization Analysis Workflow
You can insert additional rows into the Worksheet to specify multiple response types for multiple systems
and Weight values for a single step or multiple steps (by disabling or enabling the Multiple Sets option).
Note:
For the Topology Optimization - Density Based method, Objective objects of different
types are always normalized. Here, the option only applies for Objective objects of same
type.
For the Topology Optimization - Level Set method, when you have multiple Objective
objects specified, you can choose to normalize them with their initial response to give
equal weightage for all objectives. To do so, set the Normalized Sum property to Yes.
Multiple Systems
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
32 of ANSYS, Inc. and its subsidiaries and affiliates.
Define Design Objectives
Worksheet Properties
You set the values for properties in the Worksheet columns to define the Objective object as follows:
Enabled
This option is checked by default. When checked the application includes the specifications of the
row in the solution. Unchecking the row excludes it from the solution.
Response Type
The options for this column depend upon the analysis you are optimizing. Supported options include:
• Mass/Volume
• Stress
• Compliance
• Criterion
• Frequency
• Thermal Compliance
Review the Objective and Response Constraint Capability Map (p. 29) for a complete listing of the
supported analysis types, response constraint you want to specify, and the optimization method
you are using.
Note:
When you select a criterion that is scoped to Remote Point or remote boundary condition
(Remote Force or Remote Displacement), the Base Result property options Reaction
Force and Reaction Moment are not supported for the Density Based and Lattice Op-
timization methods.
Goal
The options for this property depend upon the selection made in the Response Type column.
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 33
Optimization Analysis Workflow
Stress
Accumulated Plastic
Strain
Frequency Maximize.
Criterion Minimize or Maximize.
Compliance
Thermal Compliance Minimize or Maximize.
Note:
Generally, you set static and thermal compliance constraints to Minimize, however, the
application also supports the Maximize setting.
Formulation
This column is applicable only when the Response Type is set to Compliance (Static Structural
analysis), Stress (Static Structural analysis), or Thermal Compliance (Steady-State Thermal Analysis).
Compliance
For the Density Based optimization method, when you select Compliance (Static Structural
analysis), this column is used to specify the formulation method by which maximum stiffness
can be attained to minimize the compliance.
• Program Controlled: This default setting selects either the Force or Displacement for-
mulation based on whether a force load or a displacement load exists in the Static
Structural analysis.
• Force: If you have not applied a displacement load and a force load is applied, then the
displacement, with respect to this force load, is minimized during the optimization.
• Displacement: If you have a non-zero displacement load and no force load is applied,
then the force that leads to the given displacement is maximized during the optimization.
Note:
For the Topology Optimization - Level Set Based and Shape Optimization
methods, the Compliance option uses a unique formula regardless of the
context. That is, it executes in the presence of surface loads, acceleration,
prescribed displacement, and/or thermal expansion.
Stress
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
34 of ANSYS, Inc. and its subsidiaries and affiliates.
Define Design Objectives
• Equivalent von-Mises Stress (default). This option is supported for density based, level set,
and shape optimization methods.
• Local Equivalent von-Mises Stress. This option is only supported for shape optimization
methods.
• Maximum Principal Stress. This option is supported for density based, level set, and shape
optimization methods.
• Local Strain Energy. This option is supported for level set and shape optimization methods.
The strain energy computed only over the optimization region of interest.
Important:
The Local Strain Energy calculation is exactly twice the Compliance if, and only
if:
As a result, Ansys recommends that you keep this in mind when specifying this
stress option. For example, if you apply a prescribed-displacement and minimize
the Local Strain Energy, you could experience an unwanted (but expected) dis-
connection.
While the Local Strain Energy is by nature, a scalar value, the Equivalent von-
Mises Stress and Maximum Principal Stress options are elemental scalar-fields.
Before being consumed by the optimizer, those two stress-norm are scalarized in
a way to mimic the maximum and to stay derivable.
As summarized below, the application monitors all elements of the optimization region, however,
based on the method and criterion, some elements may be ignored. This table describes the
supported methods only.
Methods[a]
Criterion Density Based Level Set Based Shape Optimization
Equivalent Scoping elements: All Scoping elements: All Scoping elements: All.
von-Mises Stress elements except those elements except those
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 35
Optimization Analysis Workflow
Thermal Compliance
For Thermal Compliance, this column is used to specify the formulation method by which heat
transfer is maximized. Options include Program Controlled (default), Thermal Load, and
Temperature. The Thermal Load option includes all thermal loads (Convection, Heat Flux, etc.)
exceptTemperature. For this Worksheet property, note the following behaviors:
• Program Controlled: This default setting selects either the Temperature or Thermal
Load formulation based on whether a temperature load or a thermal load exists in the
Steady-State Thermal analysis.
• Thermal Load: If you have not applied a Temperature load and a Thermal Load is applied,
then the average temperature, with respect to this thermal load, is minimized during the
optimization.
• Temperature: If you have Temperature load and no Thermal Load is applied, then the
thermal load that leads to the given temperature is maximized during the optimization.
Note:
For the Topology Optimization - Level Set Based and Shape Optimization
methods, the Thermal Compliance option uses a unique formula regardless
of the context. That is, it executes in the presence of Heat Flux, Heat Flow,
prescribed Displacement, Convection conditions, and/or Internal Heat Gener-
ation.
Environment Name
From the drop-down list, select the environment associated with the entries of the Response Type
and Goal properties. Note that geometric criteria (mass, volume, etc) does not need to be associated
to an environment.
Criterion
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
36 of ANSYS, Inc. and its subsidiaries and affiliates.
Define Design Objectives
Weight
The default value for this option is 1. The Weight can be any real number.
If you define multiple responses, they are aggregated into a weighted sum, using:
Where:
When the Normalized Sum option is set to No, then , where is the entered weight.
When the Normalized Sum option is set to Yes, then . This indicates that it is scaled
Multiple Sets
• If Enabled, you can specify Start Step and End Step values within the boundaries of the maximum
number of steps defined in the upstream Static Structural analysis.
• If Disabled, only the Step column is available to define the Weight for a single step.
Start Step
This option is available when the Environment Name column is set to either Static Structural or
Steady-State Thermal. This option requires the Multiple Sets option to be set to Enabled in order
to define the Start Step from the upstream solution.
End Step
This option is available when the Environment Name column is set to either Static Structural or
Steady-State Thermal. This option requires the Multiple Sets option to be set to Enabled in order
to define the End Step from the upstream solution.
Step
This option is supported when the Environment Name column is set to either Static Structural
or Steady-State Thermal. This option specifies the step number used from the upstream solution.
This field is read-only when the Multiple Sets option is set to Enabled, and the entry for this option
can also be Multiple or All, if the Start and End Step values cover more than one step or the entire
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 37
Optimization Analysis Workflow
analysis from the upstream solution. Otherwise, you can specify the weight for single steps using
this option.
Start Mode
Only supported when Modal system is selected in the Environment Name column. This field requires
the Multiple Sets option to be set to Enabled in order to define the Start Mode for the selected
Modal analysis solution.
End Mode
Only supported when Modal system is selected in the Environment Name column. This field requires
the Multiple Sets option to be set to Enabled in order to define the Start Mode for the selected
Modal analysis solution.
Mode
Only supported when Modal system is selected in the Environment Name column. This option
specifies the mode number used from the upstream solution. This field is read-only when the Multiple
Sets option is set to Enabled and the entry for this option can also be Multiple or All, if the Start
Mode and End Mode values cover more than one mode or all of the modes from the upstream
solution. Otherwise, you can specify the weight for single modes using this option.
• Volume Constraint
• Moment of Inertia
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
38 of ANSYS, Inc. and its subsidiaries and affiliates.
Define Response Constraints
Note:
When you apply a Global Stress Constraint or a Local von-Mises Stress Constraint
to a shell body, the application optimizes the body using the elemental mean of the
top and bottom surfaces.
Note:
Review the Objective and Response Constraint Capability Map (p. 29) for a complete listing
of the supported analysis types, response constraint you want to specify, and the optimization
method you are using.
Application
To apply a Response Constraint:
1. On the Environment Context tab, open the Response Constraint drop-down menu and select
the desired response constraint, or, right-click the Environment (Structural Optimization)
object or in the Geometry window and select Insert>[desired Response Constraint menu
option].
2. The application inserts the appropriate object matching the selected response option.
Additional properties display based on the setting of the Response property setting, and include:
Geometric-Based Analyses
• Center of Gravity Constraint: Specify the upper and/or the lower limit (Max-
imum Value/Minimum Value) and desired Axis.
• Criterion Constraint: Specify the Criterion, Lower Bound, and Upper Bound
properties.
Criterion Constraint: Specify the Criterion, Lower Bound, and Upper Bound properties.
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 39
Optimization Analysis Workflow
Modal Analyses
• Natural Frequency Constraint: Specify the values for the Mode Number, Minimum
Frequency, and Maximum Frequency properties. Modify the Environment Selection
property as needed.
• Criterion Constraint: Specify the Criterion, Lower Bound, and Upper Bound
properties.
• Global Stress Constraint: Specify a Stress Type, either Equivalent von-Mises Stress
(default), Local Equivalent von-Mises Stress, Maximum Principal Stress, or Local
Strain Energy, and the Maximum stress value. Modify the Environment Selection
property as needed.
• Local von-Mises Stress Constraint: Define the Scoping Method as either Geometry
Selection or Named Selection and then specify the geometry. Also specify the
Maximum stress value. Modify the Environment Selection property as needed.
• Reaction Force Constraint: Specify the Axis Selection, Criteria, Bound Type, and
X/Y/Z Component properties. Modify the Environment Selection property as
needed.
• Criterion Constraint: Specify the Criterion, Lower Bound, and Upper Bound
properties.
Thermal Analyses
• Temperature Constraint: Specify the Temperature (Abs Max) property. Modify the
Environment Selection property as needed.
• Thermal Compliance: Specify the maximum value. Modify the Environment Selec-
tion property as needed.
Note:
The Response Constraint object provides the context menu (right-click) option Rename Based on
Definition. This option automatically renames the object based on your Response property selection.
That is, it renames the object "Mass Constraint,""Volume Constraint,""Global Stress Constraint," or
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
40 of ANSYS, Inc. and its subsidiaries and affiliates.
Define Response Constraints
"Natural Frequency Constraint" accordingly. This feature supports all of the options of the Response
property.
Category Properties/Options/Description
Scope Scoping Method: The option for this property is based upon the type of Response
Constraint you specify.
For the Mass Constraint, Volume Constraint, Center of Gravity, and Moment
of Inertia response types, the available Scoping Method options include:
• Geometry Selection: This option indicates that the design region is applied
to a geometry or geometries (body selection only), which are chosen using
the graphical selection tools. When you specify Geometry Selection for
the Scoping Method, the Geometry property displays.
In this case, use selection filters on the Graphics Toolbar to pick your
geometric entities, and then click Apply. Once complete, the property
displays the type of geometry and the number of selected geometric entities
(for example: 1 Body).
• Named Selection: This option indicates that the design region is applied
to a body-based (only) Named Selection. When you specify Named Selection
for the Scoping Method, the Named Selection property displays. This
property provides a drop-down list of available user-defined Named
Selections.
• Optimization Region (default): This option indicates that the design region
is applied to the specified Optimization Region. When Optimization
Region is specified for the Scoping Method, the Optimization Region
Selection property also displays. This property contains a default value:
Optimization Region.
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 41
Optimization Analysis Workflow
Category Properties/Options/Description
For the Global Stress Constraint (Static Structural only) response type, the only
available option is Optimization Region and All Optimization Regions.
Note:
Definition Type
Response
Note:
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
42 of ANSYS, Inc. and its subsidiaries and affiliates.
Define Response Constraints
Category Properties/Options/Description
the units-based upper bound of the Mass/Volume constraint.
The default value is Free.
Note:
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 43
Optimization Analysis Workflow
Category Properties/Options/Description
– Mode Number: This property defines the mode number
used to create the optimized body.
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
44 of ANSYS, Inc. and its subsidiaries and affiliates.
Define Response Constraints
Category Properties/Options/Description
Data entries (via fly-out menu). The application supports multiple
Displacement constraints.
Important:
Note:
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 45
Optimization Analysis Workflow
Category Properties/Options/Description
Positive values are treated as upper (maximum)
bounds. Therefore, the constraint is satisfied if the
constraint value is less than the value you specify.
Negative values are considered as lower (minimum)
bounds. Therefore, the constraint is satisfied if the
constraint value is greater than the value you
specify.
Important:
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
46 of ANSYS, Inc. and its subsidiaries and affiliates.
Define Response Constraints
Category Properties/Options/Description
– Upper Bound: Specify this value or set to Free (default).
Note:
Suppressed
Environment Selection
The application displays this property when you select the Global Stress,
Local von-Mises Stress, Natural Frequency, Displacement, Reaction
Force, or Temperature options for the Response property. The entry
depends upon your upstream analysis type. Per the upstream system, the
default entry is All Structural, All Modal, or All Steady-State Thermal.
Also included in the drop-down list are the specific upstream systems.
You can select from one of these systems to specify individual values for
stress, frequency, etc.
Note:
Location When you specify the Response property as Center of Gravity or Moment of
and Ori- Inertia, the Axis property displays in order to specify a desired axis to constrain.
entation Options include X-Axis, Y-Axis, and Z-Axis.
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 47
Optimization Analysis Workflow
Category Properties/Options/Description
In addition, for the Moment of Inertia option, a Coordinate System property
displays so that you can specify the appropriate Cartesian coordinate system for
the constraint.
[a] Ansys recommends that you use User Defined Criterion to define your criterion of interest
and then specify the criterion in the Objective (p. 30) or Response Constraint object of
your optimization analysis.
Refer to the Response Constraint object reference page for additional information.
Constraint Types
The application supports manufacturing constraints, per method, as shown here.
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
48 of ANSYS, Inc. and its subsidiaries and affiliates.
Define Manufacturing Constraints
Note the following requirements and restrictions when you are using the Topology Optimization
- Density Based optimization method. The restrictions only apply when one of the manufacturing
constraint types is scoped to an Optimization Region or if it has an overlapping region.
– Cyclic Repetition, the Build Direction must be parallel to the Axis specified for the
Cyclic Repetition.
– Pattern Repetition, the Build Direction must be perpendicular to the Axis specified
for the Pattern Repetition.
• If you specify an Extrusion and a Cyclic Repetition Design Constraint, the axis of rotation
of cyclic constraint must be in the same as the extrusion direction.
• If you specify an Extrusion and a Symmetry design constraint, the extrusion direction must
be in the symmetry plane.
• If you specify a Pull Out Direction and a Symmetry design constraint, the pull out direction
must be in the symmetry plane.
– Pull Out Direction, the pull-out direction must be perpendicular to the pattern direc-
tion.
Note the following requirements and restrictions when you are using the Topology Optimization
- Level Set Based optimization method. The restrictions only apply when one of the manufacturing
constraint types is scoped to an Optimization Region or if it has an overlapping region.
• When you specify a Member Size manufacturing constraint and set the Minimum property
to Manual, the application performs two optimizations. The first one does not consider the
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 49
Optimization Analysis Workflow
– Cyclic Repetition, the Build Direction must be parallel to the Axis specified for the
Cyclic Repetition.
– Pattern Repetition, the Build Direction must be perpendicular to the Axis specified
for the Pattern Repetition.
• If you specify a Pull Out Direction and a Symmetry design constraint, the pull out direction
must be in the symmetry plane.
• If you specify the Pattern Repetition design constraint, in combination with Pull Out Direc-
tion, the pull-out direction must be perpendicular to the pattern direction.
Application
The analysis can include only one Manufacturing Constraint object.
1. To add the object, either look on the Environment Context tab and select Manufacturing Constraint
> [manufacturing constraint type] or right-click the Environment object or within the Geometry
window and select Insert > [manufacturing constraint type].
Details Properties
The Details pane for this object includes the following properties.
Category Fields/Options/Description
Scope Scoping Method: Based upon the type of Manufacturing Constraint you have
inserted into the tree, one or more of the following options is available for this
property:
• Geometry Selection: This option indicates that the design region is applied
to a geometry or geometries, which are chosen using the graphical selection
tools. When you specify Geometry Selection for the Scoping Method, the
Geometry property displays.
In this case, use selection filters on the Graphics Toolbar to pick your
geometric entities (body and element selection only), and then click Apply.
Once complete, the property displays the type of geometry (Body, Element,
etc.) and the number of selected geometric entities (for example: 1 Body,
12 Elements).
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
50 of ANSYS, Inc. and its subsidiaries and affiliates.
Define Manufacturing Constraints
Category Fields/Options/Description
• Named Selection: This option indicates that the design region is applied
to a Named Selection. When you specify Named Selection for the Scoping
Method, the Named Selection property displays. This property provides a
drop-down list of available user-defined Named Selections (only body-based
and element-based Named Selections are supported).
• Optimization Region: This option indicates that the design region is applied
to the specified Optimization Region. When you select Optimization
Region for the Scoping Method, the Optimization Region Selection
property displays and is automatically set to Optimization Region (the only
option).
Definition Type: This is a read-only property that indicates the object as a Manufacturing
Constraint.
When selected, the Pull Out Option property displays. This property has
the following options:
– None (default): The pull out direction is specified using location and
orientation only.
– No-Hole: Selecting this option makes sure that the design will not
have any perforations. It typically aims to ease the filling stage during
the casting process.
Note:
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 51
Optimization Analysis Workflow
Category Fields/Options/Description
• Extrusion: Using this manufacturing constraint type, you can make sure
that the resulting cross section of your final design is kept constant along
the selected plane. For each element of the Optimization Region, the
application requires at least two corner nodes to lie on the Axis specified
for the Extrusion.
Note:
Important:
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
52 of ANSYS, Inc. and its subsidiaries and affiliates.
Define Manufacturing Constraints
Category Fields/Options/Description
When the Member Size constraint type is selected for the Topology
Optimization - Density Based method, the following associated properties
display in the Member Size category of the Details pane.
Min Size property: You display the property by setting the Minimum
property to Manual. The application computes the default value using
the mesh size of the generated mesh. This value can simplify the
Structural Optimization solution run. The Program Controlled setting
is applicable even when no Member Size is added to the Structural
Optimization analysis.
Max Size property: You display the property by setting the Maximum
property to Manual. The application does not specify a default value
for this property. This is a required entry when you wish to specify a
manufacturing process constraint such as casting, extrusion of parts,
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 53
Optimization Analysis Workflow
Category Fields/Options/Description
etc. and when you wish to specify the maximum member size of
connected parts in the final design.
When the Member Size constraint type is selected for the Topology Op-
timization - Level Set Based or the Topology Optimization - Mixable
Density methods, the following associated properties display in the
Member Size category of the Details pane.
Min Size property: You display this property by setting the Minimum
property to Manual. You use this property to manually enter a desired
minimum member size length.
Max Size property: You display this property by setting the Maximum
property to Manual. You use this property to manually enter a desired
maximum member size length.
Note:
• Gap Size (not supported for mixable density method): The purpose of
the Gap property is to keep a minimum distance between members.
The formulation of this constraint is based on an approximation that
aims to limit the amount of material within multiple test regions (one
per mesh node). Options include Free (default) and Manual.
Value property: You display this property by setting the Gap Size
property to Manual. You use this property to manually enter a desired
member size gap length.
Note:
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
54 of ANSYS, Inc. and its subsidiaries and affiliates.
Define Manufacturing Constraints
Category Fields/Options/Description
2. Specify a limit that is smaller than two times the limit for
the Maximum Member Size (minGap 2*MaxThick).
Location When one of the following subtypes is selected, their associated properties display
and Ori- in the Location and Orientation category of the Details view.
entation
Pull Out Direction
The Pull Out Direction constraint satisfies the criteria that there
is no concave shape inside of the die so that the part cannot be
trapped. This makes sure that the die can be successfully separated
from a part after forming.
For the options Along Axis and Opposite to Axis only the
direction of the coordinate system is relevant.
For Density Based optimization, for the option Both Directions
both the origin and axis selection of the coordinate system is
important. The Pullout Constraint is applied from the normal
plane (normal to the coordinate system axis selection) at the origin
and along and opposite to the direction specified by the
coordinate system axis. For Level Set Based optimization, also for
Both Directions, only the direction is relevant.
Extrusion
AM Overhang Constraint
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 55
Optimization Analysis Workflow
Category Fields/Options/Description
• Coordinate System: You use this property to specify the
appropriate Cartesian coordinate system for the overhang angle.
By default, this property is set to the Global Coordinate System.
You can specify a user-defined Coordinate System as desired.
• Build Direction: You use this property to specify the direction that
you would like the overhang constraint to be applied. Options
include +X Axis, +Y Axis, +Z Axis (default), -X Axis, -Y Axis, and
-Z Axis.
Note:
Housing
• Scoping Method: Specify how you want to select the region, either
using Geometry Selection or using a Named Selection.
Refer to the Manufacturing Constraint object reference page for additional information.
However, manufacturing constraints also include limitations related to the numerical framework
(Optimization Method, Optimization Region, Mesh, etc.). The following documentation discusses the
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
56 of ANSYS, Inc. and its subsidiaries and affiliates.
Define Manufacturing Constraints
basic details of their formulation and numerical implementation together with limitations and best-
practices for efficient usage.
Note:
The description "average element size," denoted dxAVG, appears frequently in the numerical
implementation of manufacturing constraints. For 3D solid domains, the average element
size is defined as the average of the cubic root of the volume over all elements.
Member Size
The properties of the Member Size category, of the Manufacturing Constraint object, enable you
to control the size of the structural features of your model as well as the distance between these
features. See the following sections for descriptions of these properties and their use:
2.8.1.1. Member Size Minimum
2.8.1.2. Member Size Maximum
2.8.1.3. Gap Size
Industry Motivation
This specification is motivated by several industrial manufacturing processes. Examples include:
• During a casting process, you can actively avoid thin areas in the mold that can lead to
failure as a result of premature solidification.
• During an additive manufacturing process, you can avoid thin members that can result in
imperfections in the printing process.
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 57
Optimization Analysis Workflow
1. The application computes the cross-sectional thickness for every point on the boundary,
that is, the distance until crossing the opposite boundary along the direction opposite to
the exterior normal vector.
2. The minimum value of the distance field is defined as the minimum member size of the
structure.
• Length (X-direction)
• Width (Y-direction)
• Height (Z-direction)
• It is not derivable due to the minimum operator, and therefore not suitable for gradient-
based optimization algorithms.
• It is not applicable for all methods, namely it requires geometric information that is not
available for density-based methods.
The Minimum Member Size constraint is available for density-based optimization, mixable density,
and level-set based optimization. The formulation depends on the structural optimization framework.
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
58 of ANSYS, Inc. and its subsidiaries and affiliates.
Define Manufacturing Constraints
Note: Note:
is is
automatically automatically
rounded-up rounded-up
to . to .
The The
default default
value is value is
equal to equal
. to 4
.
Exclusion You specify whether Exclusion regions are inherently considered in the
Region to Include or Exclude member size evaluation.
Exclusions from the
Analysis Settings.
Infeasible Naturally ignored Detected and eliminated from
[a] the constraint evaluation.
Regions
Special None The optimization runs first
treatment without the MinMS constraint.
If the solution does not meet
the requirement, then the
optimization continues adding
the MinMS as a constraint.
Mesh The finer the mesh, the more accurate the computations related to Minimum
Size member size.
[a] Regions where the Minimum Member Size cannot be respected - closely spaced boundaries.
Recommendations
Note the following:
• The computational time for the Minimum Member Size constraint increases together with
and the mesh size refinement.
• As any constraint, the Minimum Member Size affects the objective performance. Namely, by
increasing , the feasible domain shrinks and probably leads to smaller objective gain.
Especially when an objective function with antagonistic behavior is used, that is, the volume,
this tendency becomes more significant.
Example
For the following example, the Optimization Type property is set to the Topology Optimization
– Level Set Based option. The optimization problem consists of:
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 59
Optimization Analysis Workflow
The upstream Static Structural system is specified with two displacements, a force, and a moment,
as illustrated.
As shown from the Topology Density as well as a User Defined Result, the optimized result without
considering an minimum member size constraint, shown here, produces slender "ribs.". Note that
the User Defined Result shown below is a cutout of the result using the Section Plane feature.
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
60 of ANSYS, Inc. and its subsidiaries and affiliates.
Define Manufacturing Constraints
When you add a minimum member size constraint with dmin = 8.0e-03, it leads to the optimized
shape where slender ribs disappear.
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 61
Optimization Analysis Workflow
[13] G. Allaire, F. Jouve, G. Michailidis, Thickness control in structural optimization via a level set
method, Structural and Multidisciplinary Optimization, 2016.
Industry Motivation
This specification is motivated by several industrial manufacturing processes. Examples include:
• During casting processes, a maximum member size is directly related to the cooling process
of the parts where the distance to shape boundaries determines solidification times. Larger
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
62 of ANSYS, Inc. and its subsidiaries and affiliates.
Define Manufacturing Constraints
members require a more elaborate solidification system to remove the shrinkage porosity
outside of the cast part and therefore increase manufacturing costs.
• During additive manufacturing processes, you can avoid large members that result from the
distortion created during the solidification of each layer by thermal residual stress.
1. The application computes the pointwise distance by selecting a point inside of the shape
that it then extends to the boundary. [13 (p. 151)], [14 (p. 151)].
2. The maximum value of the distance field is defined as the maximum thickness of the
structure.
It is important to note that the formulation of member size is not directional. The constraint is
satisfied when you preserve the distance in any direction. For example, for the following plate,
the maximum thickness corresponds to its height.
• It is not derivable due to the Maximum operator and therefore is not suitable for gradient-
based optimization algorithms.
• As illustrated below, it is not permissive because it tracks violation regions that should be
ignored [13 (p. 151)].
However, the devised formulation is appropriately adjusted to overcome these two problems. As
a result, the limit value might be violated in some limited regions of the optimized shape.
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 63
Optimization Analysis Workflow
Distortions close to joints of structural members to respect the maximum member size limit (dmax) in a pointwise
(left): dmax is not respected close to joints; (right): dmax is respected everywhere.
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
64 of ANSYS, Inc. and its subsidiaries and affiliates.
Define Manufacturing Constraints
Recommendations
Note the following:
• The Maximum Member Size constraint tends to deliver more complex designs.
• Ansys recommends that you use a fine mesh if you expect additional details in the geometry.
• As with any constraint, the Maximum Member Size affects the objective performance. Spe-
cifically, if you reduce , the feasible domain shrinks and likely leads to a smaller objective
gain.
Examples
Pillar Structure
For the following example, the Optimization Type property is set to the Topology Optimization
– Level Set Based option. This analysis uses a pillar structure clamped on the bottom with a
vertical load applied to the top, as illustrated below. The optimization problem is to minimize
the structural compliance under a volume fraction constraint of 0.4.
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 65
Optimization Analysis Workflow
The following Topology Density result and User Defined Result, show the optimized result
without considering any maximum member size constraints. As expected, the optimized shape
is a cylinder. Note that the User Defined Result shown below is a cutout of the result using
the Section Plane feature.
Adding an maximum member size constraint of 0.02 leads to the optimized shape shown below.
One can observe the indentations that are created to satisfy the maximum member size con-
straint. The expected impact of the maximum member size constraint is clearly seen, reducing
the maximum distance from the points inside the shape to the structural boundary.
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
66 of ANSYS, Inc. and its subsidiaries and affiliates.
Define Manufacturing Constraints
Engine Bracket
For the following example, the Optimization Type property is set to the Topology Optimization
– Level Set Based option. The optimization problem consists of:
Mechanical Setup
The upstream Static Structural system is specified with two displacements, a force, and a moment,
as illustrated.
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 67
Optimization Analysis Workflow
The following Topology Density result shows the optimized result without considering an
maximum member size constraint.
And here you can see the optimized shape and cross-sectional density for dmax of 0.01.
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
68 of ANSYS, Inc. and its subsidiaries and affiliates.
Define Manufacturing Constraints
[14] Fernandez, E., Yang, K.K., Koppen, S., Alarcon, P., Bauduin, S., Duysinx, P., Imposing minimum
and maximum member size, minimum cavity size, and minimum separation distance between solid
members in topology optimization. Computer Methods in Applied Mechanics and Engineering,
2020.
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 69
Optimization Analysis Workflow
Industry Motivation
This specification is motivated by several industrial manufacturing processes:
1. During casting process, it is linked to the capability of constructing molds with thin features
as well as with their life cycle.
2. During milling process, as well as other tooling processes, it is related to the characteristics
of the tooling machine (head and bit radius, etc.).
1. The pointwise distance between structural members is computed for every point on the
boundary along the exterior normal vector.
2. The minimum value of the distance field is defined as the gap size of the structure.
• It is not derivable, due to the minimum operator and the computational procedure, therefore,
it is not suitable for gradient-based optimization algorithms.
• It is quite restrictive for topology optimization since it hinders structural members from ap-
proaching each other and finally merging.
A specific formulation has been devised to overcome these problems. As a consequence of adopting
a rather qualitative formulation [14 (p. 151)], closely spaced features may still appear in the optimized
shape.
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
70 of ANSYS, Inc. and its subsidiaries and affiliates.
Define Manufacturing Constraints
Recommendations
As any constraint, the Gap Size affects the objective performance. Namely, by increasing ,
the feasible domain shrinks and probably leads to smaller objective gain.
Example
For the following example, the Optimization Type property is set to the Topology Optimization
– Level Set Based option. This analysis uses a pillar structure clamped on the bottom with a vertical
load applied to the top, as illustrated below. The optimization problem is to minimize the structural
compliance under a volume fraction constraint of 0.4.
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 71
Optimization Analysis Workflow
As shown from the Topology Density result as well as a User Defined Result, the optimized result
without considering manufacturing constraints. As expected, the optimized shape is a cylinder.
Note that the User Defined Result shown below is a cutout of the result using the Section Plane
feature.
Adding an maximum member size constraint of 0.012 leads to the optimized shape shown below.
One can observe the indentations that are created to satisfy the maximum member size constraint.
The structural compliance is equal to 1.85953 e-04 (+1.5%).
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
72 of ANSYS, Inc. and its subsidiaries and affiliates.
Define Design Constraints
Adding a Gap Size constraint with limit dGapSize = 0.012 results in the optimized shape shown below,
wherein the distance between structural members increases. The structural compliance equals to
1.92452 e-04, namely 5% less stiff due to the maximum member size and gap size constraints.
• Cyclic Repetition: This option enables you to control how the sectors are repeated, at the required
times, along the specified axis and yields a design that is symmetric with respect to an axis of rotation.
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 73
Optimization Analysis Workflow
• Symmetry: This option enables you to enforce a design that is symmetric with respect to a user-
defined plane.
• Uniform: This option enforces a design that has a constant Topology Density on all planes parallel
to a user-defined plane.
• Pattern Repetition: This option enforces a design that has a repetitive pattern. The pattern is repeated
along the specified axial plane with a user-defined offset value.
• If you specify two Symmetry constraints, the symmetry planes must be perpendicular to one
another.
• If you specify a Symmetry and a Cyclic Repetition, the given symmetry plane must be perpen-
dicular to the axis of rotation.
• If you specify a Symmetry and a Uniform, the symmetry plane must be parallel to the plane of
the uniform constraint.
• If you specify two Pattern Repetition constraints, the axis planes must be perpendicular to one
another.
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
74 of ANSYS, Inc. and its subsidiaries and affiliates.
Define Design Constraints
• Note the following restrictions when you specify a Manufacturing Constraint and a Design
Constraint with the Subtype combinations:
– For Symmetry and Extrusion, the extrusion direction must be in the symmetry plane.
– For Symmetry and Pull Out Direction, the pull out direction must be in the symmetry
plane.
– For Cyclic Repetition and Extrusion, the axis of rotation of cyclic constraint must be in
the same as the extrusion direction.
– For Cyclic Repetition and Pull Out Direction, the pull out direction and the cyclic axis
of rotation must be the same.
– Cyclic Repetition, the pattern direction must be the same as the rotation axis.
– Pull Out Direction, the pull-out direction must be perpendicular to the pattern direction.
– Uniform, the plane of the uniform constraint must be perpendicular to the pattern direction.
Application
The analysis can include only one Design Constraint object.
1. To add the object, either look on the Environment Context tab and select Design Constraint >
[Subtype] or right-click the Environment object or within the Geometry window and select Insert
> [Subtype].
Details Properties
The Details pane for this object includes the following properties.
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 75
Optimization Analysis Workflow
Category Properties/Options/Description
Scope Scoping Method: Based upon the type of Design Constraint you have inserted
into the tree, one or more of the following options is available for this property:
• Geometry Selection: This option indicates that the design region is applied
to a geometry or geometries, which are chosen using the graphical selection
tools. When you specify Geometry Selection for the Scoping Method, the
Geometry property displays.
In this case, use selection filters on the Graphics Toolbar to pick your
geometric entities (body and element selection only), and then click Apply.
Once complete, the property displays the type of geometry (Body, Element,
etc.) and the number of selected geometric entities (for example: 1 Body,
12 Elements).
• Named Selection: This option indicates that the design region is applied
to a Named Selection. When you specify Named Selection for the Scoping
Method, the Named Selection property displays. This property provides a
drop-down list of available user-defined Named Selections (only body-based
and element-based Named Selections are supported).
• Optimization Region: This option indicates that the design region applied
to the specified Optimization Region. When you select Optimization
Region for the Scoping Method, the Optimization Region Selection
property displays.
Definition Type: This is a read-only property that indicates the object as a Design Constraint.
Subtype: This property is a read-only field and it displays the type of Design
Constraint you selected from the Design Constraint drop-down menu.
• Cyclic Repetition
• Symmetry
• Uniform
• Pattern Repetition
Location When a subtype is selected, their associated properties display in the Location
and Ori- and Orientation category of the Details:
entation
Cyclic Repetition
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
76 of ANSYS, Inc. and its subsidiaries and affiliates.
Specify Results and Solve
Category Properties/Options/Description
• Coordinate System: Specify an appropriate Cartesian or Cylindrical
coordinate system for the cyclic model.
Symmetry
• Axis: Specify the plane for the symmetry model. Options include:
YZ Plane, XZ Plane, and XY Plane.
Uniform
Pattern Repetition
• Axis: Specify the appropriate axis. Options include: X-Axis, Y-Axis, and
Z-Axis.
• Offset: Specify the appropriate offset after which the pattern is repeated.
• Supported Structural Results (p. 84) (Deformation/Stress, and Strain): When you create solution data
using the options of the Export Design Properties property (required), you can create deforma-
tion/stress/strain results using the context (right-click) menu options of the Solution object. See the
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 77
Optimization Analysis Workflow
Specify Analysis Settings (p. 6) section for more information about the settings of the Export Design
Properties property.
• User Defined Results: User Defined Results are available using the context (right-click) option on the
Worksheet for the Available Solution Quantities.
Note:
The Mechanical APDL solver supports the use of the Commands (APDL) object for optimization
analyses. This support includes all iterations of the optimization analysis and for all load
steps.
Important:
If you are using the Remote Solve Manager (RSM) for your solution, the density trackers do
not update during the solution process. In order to see an optimization update for your
model, you need to select the tracker object, right-click, and select the option Evaluate All
Results. This action tells the remote machine to read the appropriate local file and display
the current results.
Application
One Topology Density object is added automatically to the optimization analysis system. You can
add additional objects by selecting Topology Density from the Results group on the Solution
Context tab or by right-clicking the Solution folder (or in the Geometry window) and selecting In-
sert>Topology Density.
Note:
You can further analyze your optimized model, through continued simulation or by per-
forming a design validation by exporting your results and making them available to a new
downstream system.
The Solution object property Export Topology (STL file) enables you to automatically
export your results in Standard Tessellation Language (STL) and in Part Manager Database
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
78 of ANSYS, Inc. and its subsidiaries and affiliates.
Specify Results and Solve
(PMDB) file format, archive the files in zip file format, and then place the zipped file in the
Solver Files Directory. This option is set to Yes by default.
In order to make the optimized results available to a downstream system, you need to
create the new system on the Workbench Project Schematic and link the Results cell of
your Structural Optimization analysis to the Geometry cell of a new downstream system,
either a Geometry component system or the Geometry cell of another analysis system.
Refer to the Design Validation (p. 95) section for additional details about this process.
Display Limitation
This result type does not support the display options available from the Geometry drop-down menu
on the Result Context tab and that include the following views: Exterior, IsoSurfaces, Capped
IsoSurfaces, and Section Planes.
Result Smoothing
The Topology Density result offers the Results group option Smoothing from the Solution Context
Tab. You can also insert a Smoothing object using the context (right-click) menu options Insert >
Smoothing. This result generates an STL (Stereolithography) file based on the Topology Density
result that you can need modify to move nodes of the geometry to refine your part and as desired,
save for use in downstream validation systems. Multiple Smoothing objects can be added for each
Topology Density result.
Note:
Specify Properties
Using the properties of the Details pane, define results.
Category Properties/Options/Description
Scope Scoping Method. The options for this property include:
• Geometry Selection: This option indicates that the design region is applied
to a geometry or geometries, which are chosen using the graphical
selection tools. When you specify Geometry Selection for the Scoping
Method, the Geometry property displays.
In this case, use selection filters on the Graphics Toolbar to pick your
geometric entities (body and element selection only), and then click Apply.
Once complete, the property displays the type of geometry (Body, Element,
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 79
Optimization Analysis Workflow
Category Properties/Options/Description
etc.) and the number of selected geometric entities (for example: 1 Body,
12 Elements).
• Named Selection: This option indicates that the design region is applied
to a Named Selection. When you specify Named Selection for the Scoping
Method, the Named Selection property displays. This property provides
a drop-down list of available user-defined Named Selections (only
body-based and element-based Named Selections are supported).
Defini- Type: Read-only field that describes the object - Topology Density.
tion
By: Read-only field that displays "Iteration".
Iteration: The default setting is Last. You can specify an iteration number to
obtain results for the specified iteration (displayed in the Result category).
Note:
Once you evaluate the result, use the slider to view the optimized topology in
the graphics view. The application computes and displays the values for the
Original Volume, Final Volume, Percent Volume of Original, Original Mass, Final
Mass, and Percent Mass of Original properties.
Exclusions Participation: Yes (default) or No. When set to Yes, the application
uses the excluded elements to compute the Original Volume, Final Volume,
Percent Volume of Original, Original Mass, Final Mass, and Percent Mass of Original
properties. When set to No, excluded elements are not considered.
Maximum: Read-only field that displays maximum density value of the result.
Original Volume: Read-only field that displays, per scoping, the computed original
volume.
Final Volume: Read-only field that displays, per scoping and the Retained
Threshold setting, the optimized volume.
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
80 of ANSYS, Inc. and its subsidiaries and affiliates.
Specify Results and Solve
Category Properties/Options/Description
Percent Volume of Original: Read-only field that displays the value of the Final
Volume divided by the Original Volume.
Original Mass: Read-only field that displays, per scoping, the computed original
mass.
Final Mass: Read-only field that displays, per scoping and the Retained Threshold
setting, the optimized mass.
Percent Mass of Original: Read-only field that displays the value of the Final
Mass divided by the Original Mass.
Note:
Visibility Show Optimized Region: This property is used to control graphical view changes
only. The options for this property include:
• All Regions: This option displays all of the regions selected by the Scoping
Method. Three color bands are shown: Remove (Red), Marginal (Yellow),
and Keep (Gray). Remove indicates a Retained Threshold value of 0 to
0.4, Marginal indicates a value of 0.4 to 0.6, and Keep indicates a value
greater than 0.6.
Informa- Iteration Number: Read-only field that displays the converged iteration step
tion number.
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 81
Optimization Analysis Workflow
Application
You can add the object (or objects) by selecting Topology Elemental Density from the Results group
on the Solution Context tab or by right-clicking the Solution folder (or in the Geometry window)
and selecting Insert > Topology Elemental Density.
Note:
You can further analyze your optimized model, through continued simulation or by per-
forming a design validation by exporting your results and making them available to a new
downstream system.
The Solution object property Export Topology (STL file) enables you to automatically
export your results in Standard Tessellation Language (STL) and in Part Manager Database
(PMDB) file format, archive the files in zip file format, and then place the zipped file in the
Solver Files Directory. This option is set to Yes by default.
In order to make the optimized results available to a downstream system, you need to
create the new system on the Workbench Project Schematic and link the Results cell of
your Structural Optimization analysis to the Geometry cell of a new downstream system,
either a Geometry component system or the Geometry cell of another analysis system.
Refer to the Design Validation (p. 95) section for additional details about this process.
Display Limitation
This result type does not support the following display options available from the Geometry drop-
down menu on the Result Context tab: Exterior, IsoSurfaces, Capped IsoSurfaces, and Section Planes.
Specify Properties
Using the properties of the Details pane, define results.
Category Properties/Options/Description
Scope Scoping Method. The options for this property include:
• Geometry Selection: This option indicates that the design region is applied
to a geometry or geometries, which are chosen using the graphical
selection tools. When you specify Geometry Selection for the Scoping
Method, the Geometry property displays.
In this case, use selection filters on the Graphics Toolbar to pick your
geometric entities (body and element selection only), and then click Apply.
Once complete, the property displays the type of geometry (Body, Element,
etc.) and the number of selected geometric entities (for example: 1 Body,
12 Elements).
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
82 of ANSYS, Inc. and its subsidiaries and affiliates.
Specify Results and Solve
Category Properties/Options/Description
• Named Selection: This option indicates that the design region is applied
to a Named Selection. When you specify Named Selection for the Scoping
Method, the Named Selection property displays. This property provides
a drop-down list of available user-defined Named Selections (only
body-based and element-based Named Selections are supported).
Defini- Type: Read-only field that describes the object - Topology Elemental Density.
tion
By: Read-only field that displays "Iteration."
Iteration: The default setting is Last. You can specify an iteration number to
obtain results for the specified iteration (displayed in the Result category).
Note:
Exclusions Participation: Yes (default) or No. When set to Yes, the application
uses the excluded elements to compute the Original Volume, Final Volume,
Percent Volume of Original, Original Mass, Final Mass, and Percent Mass of Original
properties. When set to No, excluded elements are not considered.
Original Volume: Read-only field that displays, per scoping, the computed original
volume.
Final Volume: Read-only field that displays, per scoping and the Retained
Threshold setting, the optimized volume.
Percent Volume of Original: Read-only field that displays the value of the Final
Volume divided by the Original Volume.
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 83
Optimization Analysis Workflow
Category Properties/Options/Description
Original Mass: Read-only field that displays, per scoping, the computed original
mass.
Final Mass: Read-only field that displays, per scoping and the Retained Threshold
setting, the optimized mass.
Percent Mass of Original: Read-only field that displays the value of the Final
Mass divided by the Original Mass.
Visibility Show Optimized Region: This property is only used to control graphical view
changes. The options for this property include:
• All Regions: This option displays all of the regions selected by the Scoping
Method. Three color bands display: Remove (Red), Marginal (Yellow), and
Keep (Gray). Remove indicates a Retained Threshold value of 0 to 0.4,
Marginal value indicates a value of 0.4 to 0.6, and Keep value indicates a
value greater than 0.6.
Informa- Iteration Number: Read-only field that displays the converged iteration step
tion number.
Important:
Stress- and strain-based results are not supported for the Topology Optimization -
Density Based method.
Application
In order to make these structural results available, you need to create solution data using the options
of the Export Design Properties property (shown below) of the Analysis Settings object. See the
Specify Analysis Settings (p. 6) section for more information about the settings of the Export Design
Properties property. This property is available for all optimization methods.
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
84 of ANSYS, Inc. and its subsidiaries and affiliates.
Specify Results and Solve
Once specified, you can create deformation/stress/strain results using the context (right-click) menu
options of the Solution object.
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 85
Optimization Analysis Workflow
Once you have specified a result, you specify the properties as you normally would (see results object
reference), except there are the following properties with specific requirements for Structural Optim-
ization:
• Environment Selection: You use this property to select the upstream system from which the
result obtain data.
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
86 of ANSYS, Inc. and its subsidiaries and affiliates.
Post Processing
• Set Number: This option displays the contour result for a given Result Set contained in the
result file. By default, this value is the last set. If only one set is available, then that is the spe-
cified Result Set. For a solution that includes load steps and modes, you specify the desired
set using the Set Number property (see Result Set Listing).
• Iteration: This property displays the result set from which the result was obtained. Contours
for the result are based on the data of the iterations. By default, this value is the last iteration.
If only one iteration is available, then that is the specified Iteration. To obtain other iterations,
set the Export Design Properties property to All Accepted Iterations.
Note:
Important:
• If your upstream system is a single Static Structural analysis, it is recommended that you
use step-based loading to improve scalability. In order to do so, you need to define your
loading conditions using the Tabular Data window and you need to set the Independent
Variable property to the Step option. This does not include the use of the Thermal Con-
dition load.
• If you are using the Remote Solve Manager (RSM) for your solution, the density trackers
do not automatically update during the solution process. In order to see an optimization
update for your model, you need to select the tracker object, right-click, and select the
option Evaluate All Results. This action tells the remote machine to read the appropriate
local file and display the current results.
• For a Modal analysis: your Structural Optimization analysis will terminate prior to completion
if every iteration of the optimization run is not able to extract the maximum number of
modes specified from the modal solver.
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 87
Optimization Analysis Workflow
• The solver unit system specified in the analysis settings of the Static Structural or Modal
analysis needs to match the unit system specified in the Structural Optimization analysis.
If not, the optimization run presents a unit system mismatch error.
For a general overview of the solution process, see the Solve section of the Help.
"The solution ran for iterations and aborted as you requested. Examine the convergence plots
to determine if this is an acceptable solution."
Reviewing Results
For the Density Based optimization type, you can increase and decrease the boundary of the shape
displayed by the tracker using the Retained Threshold property. This property provides a scalable
slider feature to increase and decrease the displayed threshold of the removed/retained elements on
the model.
For the Level Set Based optimization type, the use of the Retained Threshold property is not relevant.
The shape is clearly and unambiguously defined, removing the need for any interpretation.
See the Topology Density (p. 78) and the Topology Elemental Density (p. 81) sections for descriptions
of the purpose and use of the results specific to a the analysis.
Note:
You can further analyze your optimized model, through continued simulation or by performing
a design validation by exporting your results and making them available to a new downstream
system.
The Solution object property Export Topology (STL file) enables you to automatically export
your results in Standard Tessellation Language (STL) and in Part Manager Database (PMDB)
file format, archive the files in zip file format, and then place the zipped file in the Solver
Files Directory. This option is set to Yes by default.
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
88 of ANSYS, Inc. and its subsidiaries and affiliates.
Post Processing
In order to make the optimized results available to a downstream system, you need to create
the new system on the Workbench Project Schematic and link the Results cell of your
Structural Optimization analysis to the Geometry cell of a new downstream system, either
a Geometry component system or the Geometry cell of another analysis system. Refer to the
Design Validation (p. 95) section for additional details about this process.
You can select this object to view the optimization of the model during the solution. The content of
the display is determined by the setting of the Show Optimized Region property. For the density-based
optimization method, the options include: Retained Region (default), Removed Region, and All Regions.
Note that the All Regions option displays only color changes on the model.
• The display is only available when the Topology Density Tracker object is selected during the
solution.
• If the Topology Density Tracker object is not selected during the solution process, by default,
the application displays the result of the final iteration.
• The Iteration Number property of the Topology Density Tracker object indicates the iteration
number of the result currently displayed in the Geometry window based on the setting of the
Update Interval property of the Solution Information object.
An example solution for a Topology Density Tracker is shown in the following animation.
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 89
Optimization Analysis Workflow
You can also insert and select a Topology Elemental Density Tracker (p. 81) object under the Solution
Information object to view elemental optimization of the model during the solution.
Important:
The capability to recreate a downstream geometry is not supported for 2D plane, shell, and
multi-body geometries.
Application
This workflow assumes that you have a working knowledge of Workbench and its component systems.
To create a new geometry from your optimized analysis:
1. Place a new Geometry system on the Project Schematic as illustrated and link the Results cell of
the Structural Optimization system to the Geometry cell of your new system.
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
90 of ANSYS, Inc. and its subsidiaries and affiliates.
Recreating CAD Geometry
2. Select the Results cell of the Structural Optimization system. In the properties pane, set the Geo-
metry Format property to Grouped Obj (default).
3. Right-click the Results cell of the Structural Optimization system and select Update. Once complete,
refresh the Geometry cell of the new system.
4. Open the geometry in SpaceClaim. Use the reverse engineering feature to specify your geometry.
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 91
Optimization Analysis Workflow
Note:
For a Topology Result (p. 78), you can create and export an STL file by 1) using the Export
Topology (STL file) property on the solution object, or 2) using a Smoothing object. An STL
file generated from a Smoothing object is specifically designed for the reverse engineering
capability.
Example
The following sequence shows an example of the original geometry, the optimized geometry, and the
recreated geometry.
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
92 of ANSYS, Inc. and its subsidiaries and affiliates.
Recreating CAD Geometry
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 93
Optimization Analysis Workflow
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
94 of ANSYS, Inc. and its subsidiaries and affiliates.
Performing Design Validation
• Transfer to Design Validation System (Geometry) (p. 96): This option enables you to first revise
your geometry in a CAD application. No environmental conditions are transferred to the down-
stream system.
• Transfer to Design Validation System (Model) (p. 100): This option enables you to transfer
scoping downstream.
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 95
Optimization Analysis Workflow
Note:
As desired, you can use Non-Ansys tools to validate your design. You will need to retrieve
the STL file of the optimized design in order to import it into the geometry modeling
software of your choice.
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
96 of ANSYS, Inc. and its subsidiaries and affiliates.
Performing Design Validation
The optimized geometry file - in Standard Tessellation Language (STL) - is created from the selected
Topology Density result picked using the --Topology Result property of the Solution object of the
optimization system in Mechanical. The --Topology Result property only appears when the property
Export Optimal Shape is set to Only Geometry.
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 97
Optimization Analysis Workflow
By having both geometries available in the Geometry cell (in Workbench), you can perform actions
such as overlaying or preserving sections of the geometry or sweep surfaces in order to create addi-
tional material around selected regions such as bolt holes.
Note:
If you decide to use SpaceClaim to adjust the optimized geometry, check the Additive
Manufacturing section (as well as the Designing, Repairing problems, and Preparing
designs for analysis sections) in the SpaceClaim Help for the tools you can use to simplify
and prepare the optimized geometry in the new system.
Once you have specified the desired result to export and solved the analysis, return to Workbench.
As shown below, the highlighted context menu option Transfer to Design Validation System
(Geometry) becomes available to transfer the Results cell of your completed analysis to either the
Geometry cell or the Model cell of a newly created system. To begin this process, right-click the
Structural Optimization's Results cell and select the Transfer to Design Validation System (Geometry)
option from the menu.
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
98 of ANSYS, Inc. and its subsidiaries and affiliates.
Performing Design Validation
Note:
Once you select the option, Workbench creates a new Mechanical system of the same type that is
upstream of the optimization system and send the original geometry and the optimized geometry
to the Geometry cell of the new system. Next, Update the Geometry cell of the new system to update
the Results cell of the optimization system (which changed to out of date after the new system is
created and linked) and the Geometry cell of the new system. The Geometry cell of the new system
becomes up-to-date after the action is complete.
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 99
Optimization Analysis Workflow
If you are working with two upstream systems, you simply need to Update the first newly created
system. All other downstream systems share Engineering Data, Geometry, and Model cell data.
Once updated, you can validate all of the systems in one Mechanical session.
Note:
Even though the Geometry cell of the new system is up-to-date, first simplify the optimized
geometry using SpaceClaim before attempting to open up the geometry in Mechanical.
Attempting to open the unsimplified optimized design from the STL file in Mechanical will
take a long time and will lead to issues due to the use of facets.
Note:
As desired, you can use non-Ansys tools to validate your design. You will need to retrieve
the STL file of the optimized design in order to import it into the geometry modeling
software of your choice.
Important:
• For projects saved prior to release 2024 R2 that are using non-associative CAD import,
the automatic propagation of scoping for the downstream validation system will not
occur. A debug option enables you to correct this situation.
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
100 of ANSYS, Inc. and its subsidiaries and affiliates.
Performing Design Validation
The design validation process requires that you specify a Smoothing object for your desired Topology
Density (p. 78) result in Mechanical. Once you insert the Smoothing object, you need to set the
Export Model property to Yes to make the result available for validation. Evaluate this result object
once complete.
The application creates a .pmdb file for export. An example is shown in the File Name property
above. This file is placed in the working project directory and will be used in the creation of the new
design validation system in Workbench.
Note:
• The Linux platform. However, you can create a design validation system on Windows
and then solve it on Linux.
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 101
Optimization Analysis Workflow
Once you have specified the desired result to export and solved the analysis, return to Workbench.
As shown below, the highlighted context menu option Transfer to Design Validation System
(Model) becomes available to transfer the Results cell of your completed analysis to either the
Geometry cell or the Model cell of a newly created system. To begin this process, right-click the
Structural Optimization's Results cell and select the Transfer to Design Validation System (Model)
option from the menu.
Note:
Workbench creates and links a new Mechanical system of the same type that is upstream of the
Structural Optimization system.
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
102 of ANSYS, Inc. and its subsidiaries and affiliates.
Performing Design Validation
As pointed out above, by default, the application creates an .pmdb file for export. In Workbench,
this application generated file becomes available in the drop-down list of the Smoothed Model
property of the Model cell properties on the Workbench Project Schematic. The Smoothed Model
drop-down menu can contain multiple .pmdb files based on the number of Smoothing objects you
specify for export in Mechanical. Multiple files are often created for Topology Density results that
have different Retained Threshold settings.
Next, update the Model cell of the new system: right-click and select Update. This updates the Results
cell of the Structural Optimization system (which changed to out-of-date after the new system is
created and linked) and the Model cell of the new system.
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 103
Optimization Analysis Workflow
Important:
It is possible that you will receive an error during the update. This is a result of a mesh
limitation. Return to Mechanical and specify a Patch Independent Mesh Method and update
the new system again.
If you are working with two upstream systems, you simply need to Update the first newly created
system. All other downstream systems share Engineering Data and Model cell data. Once updated,
you can validate all of the systems in one Mechanical session.
Once the Model cell of your new system is up-to-date, you can open it in Mechanical and analyze
the newly optimized topology.
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
104 of ANSYS, Inc. and its subsidiaries and affiliates.
Performing Design Validation
If you decide to use SpaceClaim to adjust the optimized geometry, check the Additive Manufacturing
section (as well as the Designing, Repairing problems, and Preparing designs for analysis sections)
in the SpaceClaim Help for the tools you can use to simplify and prepare the optimized geometry in
the new system.
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 105
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
106 of ANSYS, Inc. and its subsidiaries and affiliates.
Chapter 3: Design Methods
This chapter examines how each method processes the shapes, the rules you must follow for each
method, as well as other additional general process descriptions.
3.1. Shape Processing Workflows
3.2. Recommendations - Optimization in Practice
3.3. Mixing Multiple Methods within an Analysis
3.4.Topology Optimization versus Shape Optimization
Despite the qualitative differences between the optimization methods, each method follows the same
analytical workflow when performing an analysis, including:
1. Shape Description: For the Shape Optimization and Topography Optimization methods the
shape is explicitly defined using the finite element mesh. The Topology Optimization and Lattice
Optimization methods use implicit descriptions through either density fields (Lattice and Solid
Isotropic Material with Penalization method (SIMP) topology optimization) or level-set functions
(Level Set-based topology optimization).
2. Shape Evaluation: Methods using implicit shape description require dedicated treatment for
finite element analysis.
3. Shape Derivative Computation: Based on the shape description, the application selects how
to best compute the shape derivative, that is, the desired sensitivity for each specified criterion
with respect to the corresponding degrees of freedom of the optimization problem.
4. Shape Update: The application performs final geometry modifications based on the selected
shape description.
See the following sections for the shape processing workflows of each method:
3.1.1. Density Based Topology Optimization Shape Processing
3.1.2. Level Set Based Topology Optimization Shape Processing
3.1.3. Lattice Optimization Shape Processing
3.1.4. Shape Optimization Shape Processing
3.1.5.Topography Optimization Shape Processing
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 107
Design Methods
Shape Description
You can characterize the density-based approach as a large-scale parametric optimization where the
DOF is the “density.” That is, a unit-less variable ranging from 0 to 1, where:
As a result, this method does not deliver a shape but an optimized density-field. To create an unam-
biguous design, the application forces the density to approach 0 or 1 and then removes any interme-
diate densities. Here is an example of a part defined with a density-threshold of 0.5 (default).
Where:
(b) is the resulting shape (while drawing the iso-surface corresponding to 0.5 – density)
Shape Evaluation
For shape evaluation using the density-field, , it is critical to properly update the material
properties. Specifically, the application updates:
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
108 of ANSYS, Inc. and its subsidiaries and affiliates.
Shape Processing Workflows
• Young modulus and mass for static structural and modal analyses.
To force solutions to approach either zero (0) or one (1), Ansys uses the following widely documented
interpolation schemes:
Note:
For the above calculations, Mvoid << Msolid and Kvoid << Ksolid correspond to the material
properties of a weak material representing the void.
Shape Derivative
The shape derivative used in gradient-based optimizers for the density-based method is calculated
from the derivative with respect to the density. Furthermore, for:
Shape Update
By adding the descent direction , derived from the gradient-based optimizer, to the current
density field , the application computes a new density field . The calculation is represented
as:
Summary
Degrees of freedom for this method are based on the density of the elements or the density at the
nodes.
Strengths
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 109
Design Methods
Limitations
Can sometimes deliver an ambiguous solution, including intermediate densities that do not
provide the most ideal optimized part.
Produces a less accurate evaluation than the body-fitted approach.
Tips
Use a uniform mesh to equally capture geometric details for the entire domain.
[2] MP Bendsoe, O. Sigmund, Topology optimization: theory, methods, and applications, Springer
Science & Business Media, 2003.
[3] F. Murat, L. Tartar, Calcul des Variations et Homogeneisation, In Les Methodes de l Homogeneisation
Theorie et Applications en Physique, Coll. Dir. Etudes et Recherches EDF, 57, Eyrolles, Paris, pp.319-
369, 1985.
Shape Description
This method manages shape description through pure geometric information and defines a shape
without ambiguity. That is, for the shape, defined over the working domain, using an auxiliary function,
denoted as the level-set function, specifies positive, zero, or negative values, such that:
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
110 of ANSYS, Inc. and its subsidiaries and affiliates.
Shape Processing Workflows
Note:
• This implicit representation of the shape enables you to make topological changes
without needing to detect topological modifications and reconstruct shape parametriz-
ations.
• For the level-set functions that provide the same shape description, Ansys uses the
signed-distance function (SDF) [DF2012], defined as:
• The level-set function is discretized at vertices of the mesh and interpolated inside the
elements.
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 111
Design Methods
Shape Evaluation
The application evaluates the criteria on a fixed mesh. However, the definition of the mechanical
properties is simple and generic, that is:
• As to the one layer of elements cut by the zero level-set, they receive an intermediate density
in accordance with the solid fraction.
Using the ersatz-material approach [5 (p. 151)], each material property is interpolated as
, where Evoid << Esolid corresponds to the material properties of a weak ma-
terial representing the void.
Shape Derivative
The application computes the shape derivative using the continuous formalism defined by Hadamard
(see [5 (p. 151)]). That is, given a shape perturbation , the asymptotic expansion reads:
Where:
is current shape.
is the shape perturbation.
is the new shape.
For the form, the integrand, , depends on the criterion, , through both the solution state
of the mechanical problem and some corresponding adjoint-state.
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
112 of ANSYS, Inc. and its subsidiaries and affiliates.
Shape Processing Workflows
Shape Update
Given a shape perturbation , the application updates the shape by solving a transport equation for
the level-set function [BDF2012]:
Summary
The degrees of freedom for this method are based on the boundary of the shape.
Strengths
Limitations
Tips
Use a uniform mesh to equally capture geometric details for the entire domain.
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 113
Design Methods
[5] G. Allaire, F. Jouve, AM Toader, Structural optimization using sensitivity analysis and a level-set
method, Journal of computational physics, 2004.
[6] C. Bui, C. Dapogny, P. Frey. An accurate anisotropic adaptation method for solving the level set
advection equation, International Journal for Numerical Methods in Fluids, 2012.
[7] S. Osher, JA Sethian, Fronts propagating with curvature-dependent speed: Algorithms based on
Hamilton-Jacobi formulations, Journal of computational physics, 1988.
Shape Description
For the lattice method, the working domain is occupied by a lattice structure of varying density .
You need to define the cell-size as well as the minimum and maximum density value
. Based on the values of as well as other options, the product is able to
reconstruct a lattice structure inside of the working domain.
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
114 of ANSYS, Inc. and its subsidiaries and affiliates.
Shape Processing Workflows
Lattice Reconstruction
Shape Evaluation
Depending on the lattice pattern and the density value at each element, the mechanical properties
described by the elasticity tensor are modified via analytical formulas [11 (p. 151)], based
on results extracted using the homogenization theory [12 (p. 151)].
Shape Derivative
The shape derivative used in gradient-based optimizers for the lattice method is calculated from the
derivative with respect to the density. Furthermore, for:
The derivatives, , of the elasticity tensor with respect to the density are obtained via analytical
formulas [11 (p. 151)].
Shape Update
By adding the descent direction , derived from the gradient-based optimizer, to the current
density field , the application computes a new density field . The calculation is represented
as:
Summary
Degrees of freedom for this method are the density at nodes (that will be then mapped at elements).
Strengths
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 115
Design Methods
Limitations
Some results, such as stress, may not be accurate enough, especially close to the shape boundary,
due to using the homogenized properties in the finite element analysis.
Tips
The smaller you make the lattice cell size, the more accurate the finite element modelling.
[12] G. Allaire, Homogenization and two-scale convergence, SIAM Journal on Mathematical Analysis,
1992.
Shape Description
For the Shape Optimization method, the shape is represented by a simplicial mesh
composed of tetrahedral elements .
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
116 of ANSYS, Inc. and its subsidiaries and affiliates.
Shape Processing Workflows
Shape Evaluation
For this method, no special treatment is required to perform shape evaluation.
Note:
Shape Derivative
The application computes the shape derivative using the continuous formalism defined by Hadamard
(see [5 (p. 151)]). That is, given a shape perturbation , the asymptotic expansion reads:
where:
is current shape.
is the shape perturbation.
is the new shape.
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 117
Design Methods
For the form, the integrand, , depends on the criterion, , through both the solution state
of the mechanical problem and some corresponding adjoint-state.
Note:
To perform larger shape modifications and to avoid distortions that may lead to poor mesh
quality, the shape gradient is extended inside the whole domain by solving an auxiliary
problem [8 (p. 151)].
Shape Update
The application creates the new shape by updating the position of the mesh vertices using the shape
perturbation , as:
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
118 of ANSYS, Inc. and its subsidiaries and affiliates.
Shape Processing Workflows
where:
Summary
Degrees of freedom for this method are based on node location.
Strengths
This method accurately computes any state variable given proper mesh quality.
Compared to the topology optimization methods, no numerical trickery occurs to evaluate the
shape.
This method is rather dedicated for local and decent modification, but the implementation has
proved to conveniently manage large shape changes without remeshing.
Used in the final stage of design process when local and decent shape adjustments are expected.
Limitations
Finite element approximation errors could occur due to poor-quality mesh regions or if large
modifications are made.
Because shape optimization does not manages topology changes, additional programming is in
place to preserve mesh-quality. This factor can sometimes lead to additional computational re-
quirements.
Tips
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 119
Design Methods
Shape Description
For the Topography Optimization method, the shape, , is represented by a mesh, , and
composed of shell elements . This method is essentially equivalent to the Shape Optimization
method for surface bodies.
Shape Evaluation
For this method, no special treatment is required to perform shape evaluation.
Note:
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
120 of ANSYS, Inc. and its subsidiaries and affiliates.
Shape Processing Workflows
Shape Derivative
The application computes the shape derivative using the continuous formalism defined by Hadamard
(see [AJT2004]). That is, given a shape perturbation , the asymptotic expansion reads:
Where:
is current shape.
is the shape perturbation.
is the new shape.
For the form, the integrand, , depends on the criterion, , through both the solution state
of the mechanical problem and some corresponding adjoint-state.
Shape Update
The application creates the new shape by updating the position of the mesh vertices using the shape
perturbation , as:
Where:
Summary
Degrees of freedom for this method are based on node location.
Strengths
This method accurately computes any state variable given proper mesh quality.
Compared to the topology optimization methods, no numerical trickery occurs to evaluate the
shape.
This method is specific to local modifications of the shape but also manages large shape changes
without remeshing.
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 121
Design Methods
Used in the final stage of the design process for local shape adjustments.
Limitations
Finite element approximation errors could occur due to poor-quality mesh regions or if large
modifications are made.
Because shape optimization does not manage topology changes, additional programming is in
place to preserve mesh-quality. This factor can sometimes lead to additional computational re-
quirements.
Tips
[10] M. Shimoda, Y. Liu, A non-parametric free-form optimization method for shell structures, Struc-
tural and Multidisciplinary Optimization, 2014.
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
122 of ANSYS, Inc. and its subsidiaries and affiliates.
Recommendations - Optimization in Practice
Recommendations
For a density-based optimization analysis, Ansys recommends that you:
• Use the mixable density method when you specify a Thermal Condition in an upstream
Static Structural analysis to enable a more versatile and robust problem formulation.
General Limitations
The density-based optimization analysis method does not support:
• If you specify the Solver Type as Optimality Criteria, the application only supports Response
constraints types of Mass and Volume and Manufacturing Constraints where only the Minimum
Member Size can be specified.
• Use of Section Planes with Topology Density and Topology Elemental Density results. Note that
the User Defined Result does support this feature.
• Axisymmetric model when you wish to define a Global Stress Constraint (p. 38) and Local von-
Mises Stress Constraint. (p. 38)
• A solution run on high performance computing (HPC) using Distributed Ansys across multiple ma-
chines, when:
– You have Thermal Condition included in a Static Structural analysis linked to a Structural
Optimization analysis.
– You want to optimize a Static Structural analysis that is linked to an upstream Steady-State
Thermal analysis.
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 123
Design Methods
• Damping when the Damped property set to Yes (and therefore also the Campbell Diagram
chart).
• Joint Load.
• EM Transducer.
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
124 of ANSYS, Inc. and its subsidiaries and affiliates.
Recommendations - Optimization in Practice
The Sequential Convex Programming method (SCP), see Zillober[1][2][3], is an extension of the
method of moving asymptotes (MMA), see Svanberg[4]. The Sequential Convex Programming
method requires the derivatives of all functions present in the Topology Optimization problem.
MMA is a nonlinear programming algorithm that approximates a solution for a Topology Optimiz-
ation problem by solving a sequence of convex and separable subproblems. These subproblems
can be solved efficiently due to their special structure.
The Sequential Convex Programming method extends MMA to ensure convergence by rejecting
steps that do not lead to an optimal solution of the underlying problem. The test for acceptance
is done by a merit function and a corresponding line search procedure, see Zillober[5]. The goal of
the merit function is to measure the progress and enable the objective function and the constraints
to be combined in a suitable way.
Optimality Criteria
The Optimality Criteria method can be used to solve density-based optimization problems with a
simple compliance objective that uses a volume or mass constraint. The Optimality Criteria method
is an iterative solver, see Bensoe and Sigmund[6]. The Optimality Criteria method should not be
used for a Modal Analysis.
Note:
The following limitations apply when using the Optimality Criteria Solver Type:
• Only supports the Compliance (Structural) setting for the Response Type column
of the Objective object worksheet.
[1] Zillober, Ch., A globally convergent version of the method of moving asymptotes, Structural
Optimization, 6(3):166-174, 1993.
[2] Zillober, Ch., A combined convex approximation — interior point approach for large scale
nonlinear programming, Optimization and Engineering, 2(1):51-73, 2001.
[3] Zillober, Ch., SCPIP - an efficient software tool for the solution of structural optimization
problems, Structural and Multidisciplinary Optimization, 24(5), 2002.
[4] Svanberg, K., The Method of Moving Asymptotes — a new method for structural optimiza-
tion, International Journal for Numerical Methods in Engineering, 24:359-373, 1987.
[5] Zillober, Ch., Global convergence of a nonlinear programming method using convex approx-
imations, Numerical Algorithms, 27(3):256-289, 2001.
[6] Bendsoe, M.P. and Sigmund O., Topology Optimization: Theory, Methods and Applications,
Springer, Berlin, 2003.
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 125
Design Methods
The aim of the optimization is to maximize these frequencies according to their weights (as defined
in the Worksheet).
In addition, you can add a single natural frequency as a constraint and define a lower and an upper
bound on the frequency. The solver will guarantee, if possible, that this frequency lies within the
specified range.
If the design objective is to optimize a frequency, then all of the repeating frequencies are optimized
simultaneously.
It is important to note that the mode shapes will change during the iterative solution procedure
and that there is no tracking with respect to the initial mode shape. Only the actual value of the
specified natural frequency is considered. This means at the final iteration the mode shape may
change dramatically in comparison to the initial shape of the optimized mode.
Because the underlying solver is sensitivity based, problems with natural frequencies have to be
handled with care. The problem is not differentiable in the common sense, such as a case of multiple
eigenvalues. Instead, derivatives for multiple eigenvalues have to be calculated in a special way.
Since the mode shapes are not unique for multiple eigenvalues, additional effort is necessary to
get sensitivities that are independent of the mode shapes. In order to obtain unique sensitivities
for these eigenvalues, an additional eigenvalue problem has to be solved for each optimized element,
see Seyranian[7].
Where is the elemental mean value of the equivalent (von-Mises) stress of element e in set S.
Since the maximum leads to a non-differentiable problem formulation, the p-norm is used to ap-
proximate the actual maximum instead. Applying the differentiable p-norm leads to:
Where denotes the vector of all stress values of the elements in set S. Note that the p-norm
overestimates the actual maximum. To stabilize the solver different regularization techniques are
used in the literature. In Holmberg[8], a fixed scaling parameter is introduced. With factor:
that leads to:
[7] Seyranian, A.P., Lund E., and Olhoff N., Multiple eigenvalues in structural optimization
problems, Structural Optimization, 8:207-227, 1994.
[8] Holmberg E., Torstenfelt B., and Klarbring A., Stress constrained topology optimization,
Structural and Multidisciplinary Optimization, 48(1):33-47,2013.
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
126 of ANSYS, Inc. and its subsidiaries and affiliates.
Recommendations - Optimization in Practice
where nS is the number of elements in the considered set. In previous releases this approach was
used. Since at the final iteration, the maximum stress of some optimized elements might be
greater than the user-defined upper bound of the global/local stress constraint, the validation
might fail.
Where denotes the iteration. This approach improves accuracy as well as the estimate of the stress
value.
To simplify the notation, assume that only one constraint exists. The optimality conditions of the
Topology Optimization problem can be stated with the following equation:
Where denotes the Lagrange function. The Lagrange function is defined by:
Where is the Lagrange multiplier corresponding to the constraint , and is the objective function
to be either maximized or minimized. The solver will stop as soon as the desired tolerance is
achieved, where: , as defined here:
Because approaching this stationary point can require a large number of iterations, a relaxed con-
vergence criterion is used. The optimization stops as soon as the following equation has three
successive iterations. In this equation, denotes the vector of pseudo densities of the iteration.
Note that three successive iterations are considered as the underlying solver is stabilized by a line
search procedure. This line search procedure might lead to small changes with respect to the pseudo
[9] Le C., Norato J., Bruns T., Ha C., Tortorelli D. Stress-based Topology Optimization for continua,
Structural and Multidisciplinary Optimization, 41(4):605{620, 2010.
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 127
Design Methods
densities as well as small changes to the objective function. It is possible that the convergence
tolerance is satisfied for one iteration but the next iteration leads to a significant improvement of
the objective function. Due to the relaxed stopping criterion, the optimization might terminate too
early. In this case, the optimization should be rerun with a smaller tolerance.
The optimization is influence by the thermal condition according to the following equation[10]:
Linear static equilibrium in finite element system including both mechanical and thermal loading
is given by:
,
Where:
= stiffness matrix
= displacement vector
= externally applied mechanical loading
= thermal load vector.
The nodal load vector due to temperature effects for the element may be written as:
Here is the element strain-displacement matrix, is the element elasticity matrix, and is
the thermal strain vector for the element given by:
With is the thermal expansion coefficient of the material, is the temperature change on
the element, and is [1,1,1,0,0,0] for three-dimensions and [1,1,0] for two-dimension.
References
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
128 of ANSYS, Inc. and its subsidiaries and affiliates.
Recommendations - Optimization in Practice
The Level Set optimization workflow has some specific considerations as compared to the other
methods, as described below. Use these topics in combination with the general workflow to ensure
the proper completion of your analysis.
Geometric Analysis
For the Objective and the Response Constraint objects, the Level Set method supports the fol-
lowing settings for the Response Type and Response properties:
• Mass
• Volume
• Center of Gravity
• Moment of Inertia
Extend Compliance
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 129
Design Methods
For the Level Set method when you set the Response Type/Response for the Objective Worksheet
or a Response Constraint object to Compliance, Static Structural analyses supports the combin-
ation of force-based and displacement-based loading as well as thermal loading. This context for
Compliance is described by:
Where:
These formulas are equivalent and are based on the potential energy. The compliance is a self-
adjoint response meaning that no adjoint problem must be solved. The compliance is always
computed over the whole model.
Displacement-based Criterion (will be deprecated and fully replaced by the User Defined Criterion)
• For a singular node selection, the response = ( -th node, -axis). You can define
an upper limit for each direction.
• For multiple node selection, the response = (the average of the absolute
Note:
When you specify this type of Response Constraint, the Coordinate System
property for the object is read-only and automatically set to Nodal Coordinate
System. The application uses the Global Coordinate System for this setting.
Reaction Force Criterion (will be deprecated and fully replaced by the User Defined Criterion)
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
130 of ANSYS, Inc. and its subsidiaries and affiliates.
Recommendations - Optimization in Practice
For a singular node selection, the response = ( -th node, -axis). You can define an
upper limit for each direction.
For multiple node selection, the response = (the RF along the k-axis).
Note:
When you specify this type of Response Constraint, the Coordinate System property
for the object is read-only and automatically set to Nodal Coordinate System. The
application uses the Global Coordinate System for this setting.
Review the Best Practices and Recommendations (p. 132) topic below for additional information
for configuring your upstream analysis.
For the Level Set method when you set the Response Type/Response for the Objective Worksheet
or a Response Constraint object to Thermal Compliance, Steady-State Thermal analyses supports
the combination of Heat Flux, Heat Flow, and Temperature, Convection, and Internal Heat Gener-
ation. This context for Thermall Compliance is described by:
Where:
the film coefficient and the ambient temperature of the convection condition.
the internal heat generation.
the heat flux.
This is based on the potential energy. The thermal compliance is a self-adjoint response meaning
that no adjoint problem must be solved. The thermal compliance is always computed over the
whole model.
The Level Set method supports Frequency (Eigenfrequency) as the Response/Response Type
setting. Review the Best Practices and Recommendations (p. 132) topic below for additional inform-
ation for configuring your upstream analysis.
The Level Set method supports the following Manufacturing Constraint Subtypes (p. 48):
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 131
Design Methods
• Member Size (Minimum or Maximum): To properly represent the optimal shape, you
should mesh your model such that Maximum Size of the Member Size is greater than four
times the element average size.
• Pull Out Direction: You can further define the Direction for this constraint: Along Axis
(default), Opposite to Axis, or Both Directions.
Note:
The moldability of the part could be lost during the optimization process.
• AM Overhang Constraint (p. 52): This constraint enables you to further define the Build
Direction and Overhang Angle.
Mesh Specifications
When specifying the mesh on your model, it is strongly recommended that you:
• Always use a uniform mesh (homogeneous element size). This enables you to capture the
design with the same precision everywhere on the model. However, in the presence of thin
regions, it may be necessary to refine the mesh locally in order to get at least three or four
layers of elements.
• Make sure that you have a sufficiently fine mesh. If the final design shows geometric features
as thick as an element size, it means that the mesh was not fine enough, as illustrated here.
This illustration displays 238,000 tetrahedrons on the left and 950,000 on the right. The feature on
the left is very thin (one element size) and reaches the limit of the Level Set capability to properly
capture the design. The finer mesh on the right provides an improved design.
When specifying your upstream Static Structural analysis, note the following:
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
132 of ANSYS, Inc. and its subsidiaries and affiliates.
Recommendations - Optimization in Practice
• A minimum stress problem can be realized by a void design (no material) if there is no stiffness
constraint - if there is no mass, there is no stress. Therefore, Ansys recommends that you use
stress criterion in combination with a stiffness criterion (nodal displacement, compliance, etc.).
• It is strongly encouraged that you specify an "exclusion zone" around the loading conditions
(surface or node-based).
• If your solution experiences disconnected clamped parts, it may be a result of the optimization
aiming to optimally distribute an amount of material. The algorithm sometimes chooses to
save material by disconnecting clamped parts and/or to reinforce others. This characteristic
of optimization is useful in order to identify useful and/or otherwise impractical fixed parts.
You can control an eigenmode whose frequency always has the same ranking during the optimization
process. If its ranking changes, the algorithm may face some difficulty.
• Unify and to mutualize some components between all the optimization methods.
• Better align and streamline the density-method within the overall structural optimization
framework.
• Incorporates the benefits of other methods and conversely (cross fertilization process).
• Can be combined with other methods in an optimization problem enabling you to manage
complex systems with dedicated requirements.
Review the following requirements and limitations associated with performing a mixable density-
based optimization analysis. These limitations apply only to the optimization analysis and are not
applicable to any downstream design validation systems. Go to a section topic:
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 133
Design Methods
General Limitations
The mixable density-based optimization analysis method does not support:
• If you specify the Solver Type as Optimality Criteria, the application only supports Response
constraints types of Mass and Volume and Manufacturing Constraints where only the Minimum
Member Size can be specified.
• Use of Section Planes with Topology Density and Topology Elemental Density results. Note that
the User Defined Result does support this feature.
• Axisymmetric model when you wish to define a Global Stress Constraint (p. 38) and Local von-
Mises Stress Constraint. (p. 38)
• A solution run on high performance computing (HPC) using Distributed Ansys across multiple ma-
chines, when:
– You have Thermal Condition included in a Static Structural analysis linked to a Structural
Optimization analysis.
– You want to optimize a Static Structural analysis that is linked to an upstream Steady-State
Thermal analysis.
• Damping when the Damped property set to Yes (and therefore also the Campbell Diagram
chart).
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
134 of ANSYS, Inc. and its subsidiaries and affiliates.
Recommendations - Optimization in Practice
• EM Transducer.
• Nonlinear Contact
• Thermal Loads
• Criterion
• Extrusion
• AM Overhang Constraint
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 135
Design Methods
• For the Octahedral 1 and Octahedral 2 lattice structures, note the following material property lim-
itations:
– A Poisson ‘s Ratio value greater than 0.32 can cause the interpolated material properties to
become inaccurate.
– A low Density value (< 0.05) can generate a negative Young's Modulus value.
Category Properties/Options/Description
Lat- Specify the Lattice Type as one of the following:
tice
Type Cubic Crossed
(default)
Midpoint Octahedral
1
Octet Octahedral
2
Diagonal
Min- This property specifies a minimum density in order to avoid lattice structures that are
im- too thin.
um
Dens-
ity
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
136 of ANSYS, Inc. and its subsidiaries and affiliates.
Recommendations - Optimization in Practice
Category Properties/Options/Description
Max- This property specifies a maximum density. The element will be considered as full for
im- densities higher than the Maximum Density.
um
Dens-
ity
Lat- The value of this property specifies the lattice cell size to be used when rebuilding the
tice lattice geometry for printing.
Cell
Size
Specifying Constraints
For this analysis, the:
• Response Constraint (p. 38) object supports Mass Constraint (default) or Volume Constraint,
Global Stress Constraint, Displacement Constraint, and Natural Frequency Constraint.
• Design Constraint (p. 73) object supports the Symmetry and Cyclic Repetition constraints.
Defining Results
Similar to the optimization results (Topology Density (p. 78) and Topology Elemental Density (p. 81)),
lattice optimization supports Lattice Density and Lattice Elemental Density results. These results
produce nodal averaged results and element-based result values. A Lattice Density result object is
inserted automatically. You can add additional objects by selecting Lattice Density or Lattice Ele-
mental Density from the Result group on the Solution context tab or by right-clicking the Solution
folder (or in the Geometry window) and selecting Insert > Lattice Density/Lattice Elemental
Density.
A lattice analysis automatically inserts a Lattice Density Tracker as a child object of the Solution
Information object that enables you to view the optimization of the model during the solution.
These result types do not support some of the display options available from the Geometry drop-
down menu on the Result Context tab, including Exterior, IsoSurfaces, and Capped IsoSurfaces.
The lattice type, cell size, and density information are automatically transferred when linking a lattice
optimization analysis to a Geometry system. Opening your new lattice geometry in the Ansys
SpaceClaim application enables you to further modify aspects of your geometry.
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 137
Design Methods
Procedure
1. From the Workbench Project Schematic, create a new downstream Geometry system, as illus-
trated below.
2. Link the Results cell of your lattice optimization analysis to the Geometry cell of the downstream
system.
3. Right-click the Results cell of your lattice optimization analysis and select Update.
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
138 of ANSYS, Inc. and its subsidiaries and affiliates.
Recommendations - Optimization in Practice
4. Right-click the Geometry cell of the downstream system and select Refresh.
5. Right-click the Geometry cell of the downstream system and select Update.
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 139
Design Methods
8. From the Shell Options tool, 1) choose Basic as the Infill type, and then 2) select the Solid body
in the structure tree, and then 3) select Use Density Attributes. The Lattice Shape from the drop-
down menu is automatically chosen. This includes the lattice type you specified in the optimization
analysis in Mechanical.
Note:
Using the Select Faces or Facets tool ( ) from the design window, you can choose
to selectively exclude faces from the original body from this outer shell. This enables
the lattice infill to extend all the way to the boundary of the part on that face.
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
140 of ANSYS, Inc. and its subsidiaries and affiliates.
Recommendations - Optimization in Practice
9. A green check mark in the design window verifies the operation. The density distribution from
the lattice optimization is now mapped onto the body and a faceted body is generated.
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 141
Design Methods
Note:
For the upstream system, the Output Controls property Export Knockdown Factor must
be set to Yes. This is the default setting.
Duplication
When you use the Duplicate option on the Solution cell, you include all (loading, results, etc.)
objects defined in the upstream system.
1. Right-click the Solution cell of the upstream system and select Duplicate. A new system
is placed into the schematic. This new system includes all environmental conditions
defined in the upstream system, such as loading conditions or results.
2. Drag and drop the Solution cell of the Structural Optimization analysis onto the Setup
cell of the new system. The application properly links the systems together.
3. Right-click the Setup cell of the new system and select Update. Your new system is ready
for a validation analysis.
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
142 of ANSYS, Inc. and its subsidiaries and affiliates.
Recommendations - Optimization in Practice
Transferring Data
You can also use the system option Transfer Data To New. When used, none of the environmental
conditions defined in the upstream system, such as loading conditions or results are included in
the new system. The steps to use this method are described below.
1. Right-click the Solution cell of the Structural Optimization analysis and select Transfer
Data to New > Analysis System type.
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 143
Design Methods
2. Right-click the Setup cell of the new system and select Update. Your new system is ready
for a validation analysis.
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
144 of ANSYS, Inc. and its subsidiaries and affiliates.
Recommendations - Optimization in Practice
Introduction
The Shape Optimization option of the Optimization Type property enables shape optimization
using mesh node relocations. As with the other optimization methods, this is a physics driven optim-
ization based on a set of loads and boundary conditions provided by either a single preceding ana-
lysis or multiple preceding analyses.
Using this method, the application computes an optimal shape in the design domain that you can
apply to a selected region of your model and that also includes specific design Objectives and Con-
straints.
Geometric Analysis
Review the Geometric Analysis (p. 129) topic in the Prerequisites and Requirements content in the
Topology Optimization - Level-Set Based section for the supported Response Type and Response
properties when performing a geometric analysis.
Review the Configuring Static Structural Analysis (p. 129) topic in the Prerequisites and Requirements
content in the Topology Optimization - Level-Set Based section for the supported Response
Type/Response for the Objective Worksheet or a Response Constraint object to Compliance.
Static Structural analyses supports the combination of force-based and displacement-based
loading as well as thermal loading.
In addition, when specifying your upstream Static Structural analysis, note that any surface of the
optimizable body that is scoped to boundary conditions (fixed displacements, loads, bonded
contacts, etc.) must be defined in the Exclusion Region.
Modal Analysis
In addition, when specifying your upstream Modal analysis, note that you can control an eigenmode
whose frequency always has the same ranking during the optimization process. If its ranking
changes, the algorithm will face some difficulty.
Manufacturing Constraint
For this analysis method, only the Member Size (Maximum) property is available. To properly
represent the optimal shape, you should mesh your model such that Maximum Size of the
Member Size is greater than four times the element average size.
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 145
Design Methods
Application Differences
Note the following when using the Shape Optimization method.
This analysis method supports 3D tetrahedron solid elements only in the Optimization Region -
all other element types are excluded.
Important:
When specifying the mesh on your model, it is strongly recommended that you:
• Always use a uniform mesh (homogeneous element size). This enables you to
capture the design with the same precision everywhere on the model.
You use the Optimization Region object to select a region of your geometry on which to perform
optimization as well as the optimization method to be used.
1. In order to scope the optimization regions using the Shape Optimization method, you need
to first generate the mesh.
2. Specify the Design Region. The properties of the Design Region category enable you to
define the geometry as a Geometry Selection or a Named Selection. This is the region that
you wish to optimize.
3. Specify the Exclusion Region. The properties of the Exclusion Region category enable you
to specify a region (geometric entities or elements) to be excluded from optimization. You
specify excluded regions using defined Boundary Conditions, Geometry Selection, or a Named
Selection.
The surfaces scoped to boundary conditions (such as Fixed Support, Force, Bonded Contact,
etc.) must be included in the scoping of the Exclusion Region.
Note:
Bordering the scoping of your defined Exclusion Region is a "buffer zone." The
area is a transition region where the deformation is less permissive. This enables a
smoother result.
4. Set the Optimization Type property to Structural Optimization. Specify the following addi-
tional properties as needed:
• Move Limit Per Iteration: This property enables you to define how far each node can
move at each iteration. It must be defined in length units, such as one element size.
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
146 of ANSYS, Inc. and its subsidiaries and affiliates.
Recommendations - Optimization in Practice
By default, this property is set to Program Controlled. Select the Manual option to
change the value.
Note:
Ansys recommends that you use a value smaller than the average ele-
ment size and smaller than the Total Move Limit property setting.
• Total Move Limit: This property enables you to define how far each node can move
in total. It must be defined in length units, such as three element sizes. By default, this
property is set to Program Controlled. Select the Manual option to change the value.
• Mesh Deformation Control: This property enables you to define how much the mesh
can be stretched. It is an additional control to avoid element distortion. This unit-less
value is a sort of penalty factor that ranges from 0 (no control) to 1.0. By default, this
property is set to Program Controlled. Select the Manual option to change the value.
Note:
When you use the Program Controlled setting, a new value is computed that is
based on the number of layers of elements in the mesh. As a result, the more layers
you have, the more permissive the tuning. This means that the Total Move Limit
will be higher, and the Mesh Deformation Control will be smaller.
Specifying Results
This method supports Topology Density results. The Topology Density object (p. 78) is added
automatically to the analysis system. You can add additional objects by selecting Topology
Density from the Results group on the Solution Context tab or by right-clicking the Solution
folder (or in the Geometry window) and selecting Insert>Topology Density.
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 147
Design Methods
Compared to Shape Optimization, Topography Optimization is used for shell-based models only.
Using this method, the application computes an optimal shape in the design domain that you can
apply to a selected region of your model and that also includes specific design Objectives and Con-
straints.
Geometric Analysis
Review the Geometric Analysis topic in the Prerequisites and Requirements content in the
Topology Optimization - Level-Set Based (p. 128) section for the supported Response Type and
Response properties when performing a geometric analysis.
Review the Configuring Static Structural Analysis topic in the Prerequisites and Requirements
content in the Topology Optimization - Level-Set Based (p. 128) section for the supported Response
Type/Response for the Objective Worksheet or a Response Constraint object.
In addition, when specifying your upstream Static Structural analysis, note that any surface of the
optimizable body that is scoped to boundary conditions (fixed displacements, loads, bonded
contacts, etc.) must be defined in the Exclusion Region.
Modal Analysis
This method only supports User Defined Criterion that you define in the upstream Modal analysis.
This result data can then be used in the Structural Optimization analysis by the Objective object
or as a Response Constraint .
In addition, when specifying your upstream Modal analysis, note that you can control an eigenmode
whose frequency always has the same ranking during the optimization process. If its ranking
changes, the algorithm will face some difficulty.
Manufacturing Constraint
Application Differences
Note the following when using the Topography Optimization method.
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
148 of ANSYS, Inc. and its subsidiaries and affiliates.
Recommendations - Optimization in Practice
Important:
When specifying the mesh on your model, it is strongly recommended that you:
• Always use a uniform mesh (homogeneous element size). This enables you to
capture the design with the same precision everywhere on the model.
You use the Optimization Region object to select a region of your geometry on which to perform
optimization as well as the optimization method to be used.
1. In order to scope the optimization regions using the Topography Optimization method, you
need to first generate the mesh.
2. Specify the Design Region. The properties of the Design Region category enable you to
define the geometry as a Geometry Selection or a Named Selection. This is the region that
you wish to optimize.
3. Specify the Exclusion Region. The properties of the Exclusion Region category enable you
to specify a region (geometric entities or elements) to be excluded from optimization. You
specify excluded regions using defined Boundary Conditions, Geometry Selection, or a Named
Selection.
The surfaces scoped to boundary conditions (such as Fixed Support, Force, Bonded Contact,
etc.) must be included in the scoping of the Exclusion Region.
4. Set the Optimization Type property to Topography Optimization. Specify the following
additional properties as needed:
• Move Limit Per Iteration: This property enables you to define how far each node can
move at each iteration. It must be defined in length units, such as one element size.
By default, this property is set to Program Controlled. Select the Manual option to
change the value.
• Total Move Limit: This property enables you to define how far each node can move
in total. It must be defined in length units, such as three element sizes. By default, this
property is set to Program Controlled (equal to the size of one element or slightly
larger depending the fineness of the mesh). Select the Manual option to change the
value.
• Mesh Deformation Control: This property enables you to define how much the mesh
can be stretched. It is an additional control to avoid element distortion. This unit-less
value is a sort of penalty factor that ranges from 0 (no control) to 1.0. By default, this
property is set to Program Controlled. Select the Manual option to change the value.
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 149
Design Methods
Specifying Results
This method supports Topology Density (p. 78) results. The Topology Density object is added
automatically to the analysis system. You can add additional objects by selecting Topology
Density from the Results group on the Solution Context tab or by right-clicking the Solution
folder (or in the Geometry window) and selecting Insert > Topology Density.
Shape Optimization methods relate to a body-fitted method in that the shape is explicitly defined by
the mesh. Using this method, the application optimizes the design by moving the mesh nodes. Shape
Optimization is a sort of morphing without the need to define any parameter. By contrast to Topology
Optimization, the calculation of certain quantities, such as stress, is more accurate. Shape Optimization
is convenient when you expect moderate modifications while keeping the same topology (no hole, no
merge).
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
150 of ANSYS, Inc. and its subsidiaries and affiliates.
Chapter 4: Bibliography
[1] Bendsøe, M. P., & Kikuchi, N. (1988). Generating optimal topologies in structural design using a ho-
mogenization method. Computer Methods in Applied Mechanics and Engineering. 71(2), 197–224.
[2] Bendsøe, M. P., & Sigmund, O. (2003). Topology Optimization: Theory, Methods, and Applications.
Berlin, DE: Springer.
[3] Murat, F., & Tartar, L. (1985). Calcul des Variations et Homogénéisation. D. Bergman & al. (Eds.), Les
Méthodes de l’Homogénéisation: Théorie et Applications en Physique (pp. 319-369). Coll. Dir. Etudes et
Recherches EDF. 57. Paris, FR: Eyrolles.
[4] Dapogny, C., & Frey, P. (2012). Computation of the signed distance function to a discrete contour
on adapted triangulation. Calcolo. 49, 193–219
[5] Allaire, G., Jouve, F., & Toader. A.-M. (2004). Structural optimization using sensitivity analysis and a
level-set method. Journal of Computational Physics. 194, 363–393
[6] Bui, C., Dapogny, C., & Frey, P. (2012). An accurate anisotropic adaptation method for solving the
level set advection equation. International Journal for Numerical Methods in Fluids.
[7] Osher, S., & Sethian, J. A. (1988). Fronts propagating with curvature-dependent speed: Algorithms
based on Hamilton-Jacobi formulations. Journal of Computational Physics. 79(1), 12–49.
[8] Allaire, G., Dapogny, C., & Jouve, F. (2021). Shape and Topology Optimization. A. Bonito & R. Nochetto
(Eds.), Geometric Partial Differential Equations, Part II (pp. 1–132). Handbook of Numerical Analysis. 22.
Elsevier.
[9] Allaire, G., & Schoenauer, M. (2007). Conception optimale de structures. Berlin, DE: Springer.
[10] Shimoda, M., & Liu, Y. (2014). A non-parametric free-form optimization method for shell structures.
Structural and Multidisciplinary Optimization. 50, 409–423.
[11] Cheng, L., Zhang, P., Biyikli, E., Bai, J., Robbins, J., & To, A. (2017). Efficient design optimization of
variable-density cellular structures for additive manufacturing: theory and experimental validation.
Rapid Prototyping Journal. 23(4), 660–677.
[12] Allaire, G. (1992). Homogenization and two-scale convergence. SIAM Journal on Mathematical
Analysis. 23(6), 1482–1518.
[13] Allaire, G., Jouve, F., & Michailidis, G. (2016). Thickness control in structural optimization via a level
set method. Structural and Multidisciplinary Optimization. 53, 1349–1382.
[14] [Fernández, E., Yang, K. K., Koppen, S., Alarcón, P., Bauduin, S., & Duysinx, P. (2020). Imposing min-
imum and maximum member size, minimum cavity size, and minimum separation distance between
solid members in topology optimization. Computer Methods in Applied Mechanics and Engineering.
368, Article 113157.
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
of ANSYS, Inc. and its subsidiaries and affiliates. 151
Release 2024 R2 - © ANSYS, Inc. All rights reserved. - Contains proprietary and confidential information
152 of ANSYS, Inc. and its subsidiaries and affiliates.