topology optimization for computational fabricationcwang/courses/tudelftshapemodeling/...topology...
TRANSCRIPT
Topology Optimization for Computational Fabrication
Jun Wu Depart. of Design Engineering
Schedule
โข Basics of Topology Optimization (45โ)
โข Break (15โ)
โข Topology Optimization for Additive Manufacturing (45โ)
โข Break (15โ)
โข Exercises and Assignment (45โ)
6
Topology Optimization Examples
Airbus & EOS, 2014
Qatar national convention
Reconstructive surgery
Glaucio H. Paulino @ UIUC
Airbus APWorks, 2016 Frustum Inc.
7
Classes of Structural optimization: Sizing, Shape, Topology
Initial
Optimized
Sizing Shape Topology
9
โข Design the stiffest shape, by placing ๐๐ Lego blocks into a grid of ๐๐ ร ๐๐
A Toy Problem
20
10
10
A Toy Problem: Possible Solutions
โข Number of possible designs
โ ๐ถ 200,60 =200!
60! 200โ60 != 7.04 ร 1051
โข Which one is the stiffest?
Design A Design B
Design C
11
Topology Optimization
Minimize: ๐ =1
2๐๐๐พ๐
Subject to: ๐พ๐ = ๐น
๐
๐๐ข = ๐
๐
๐ข
๐ =1
2๐๐ข =
1
2๐๐ข2 Elastic energy
Static equation
15
Topology Optimization
Minimize: ๐ =1
2๐๐๐พ๐
Subject to: ๐พ๐ = ๐น
๐๐ = 1 (solid)0 (void)
, โ๐
g = ๐๐๐ โ ๐0 โค 0
1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1
1 1 1 1
Design variables
Volume constraint
Elastic energy
Static equation
16
Topology Optimization
1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1
1 1 1 1
Compute
displacement
(KU=F)
Sensitivity
analysis
Update ๐๐
Converged? No
Yes
Minimize: ๐ =1
2๐๐๐พ๐
Subject to: ๐พ๐ = ๐น
๐๐ = 1 (solid)0 (void)
, โ๐
g = ๐๐๐ โ ๐0 โค 0
17
Relaxation: Discrete to Continuous
Minimize: ๐ =1
2๐๐๐พ๐
Subject to: ๐พ๐ = ๐น
๐๐ = 1 (solid)0 (void)
, โ๐
g = ๐๐๐ โ ๐0 โค 0
๐๐ โ [0 , 1]
โข Motivation: (Difficult) binary problem โ (easier) continuous problem
19
Material Interpolation
โข Material properties: Youngโs modulus ๐ธ, and Poisson's ratio ๐
โข SIMP interpolation (Solid Isotropic Material with Penalization)
โ ๐ธ๐ = ๐๐๐๐ธ
โ ๐ โฅ 1, typically ๐ = 3
20
Sensitivity Analysis
โข Sensitivity: The derivative of a function with respect to design variables
โข๐๐
๐๐๐= โ
๐
2๐๐
๐โ1๐ข๐
๐๐พ ๐ข๐
โ Smaller than zero
โข๐๐
๐๐๐= 1
Minimize: ๐ =1
2๐๐๐พ๐
Subject to: ๐พ๐ = ๐น
๐๐ โ [0 , 1]
g = ๐๐๐ โ ๐0 โค 0
22
Design Update
โข Mathematical programming
โ Interior point method (IPOPT package)
โ The method of moving asymptotes (MMA)
โข Optimality criterion
โ If โโ๐๐
๐๐๐โ is large, increase ๐๐
โ Otherwise, decrease ๐๐
โ How to determine large or small?
โ Bisection search for a threshold
Compute
displacement
(KU=F)
Sensitivity
analysis
Update ๐๐
Converged? No
Yes
23
Sensitivity Filtering by a Convolution Operation
Compute
displacement
(KU=F)
Sensitivity
analysis
Update ๐๐
Converged? No
Yes
Convolution
25
Topology Optimization
1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1
1 1 1 1
Compute
displacement
(KU=F)
Sensitivity
analysis
Update ๐๐
Converged? No
Yes
Minimize: ๐ =1
2๐๐๐พ๐
Subject to: ๐พ๐ = ๐น
๐๐ โ [0,1], โ๐
g = ๐๐๐ โ ๐0 โค 0
90%
28
Geometric Multigrid: Solving ๐พ๐ข = ๐
โข Successively compute approximations ๐ข๐ to the solution u = lim๐โโ
๐ข๐
โข Consider the problem on a hierarchy of successively coarser grids to
accelerate convergence
Relax ๐พโ๐ข โ โ ๐โ
Residual ๐โ = ๐โ โ ๐พโ๐ข โ
Interpolate
๐ โ = ๐ผ2โโ ๐2โ
Relax ๐พโ๐ข โ โ ๐โ Correct ๐ข โ โ ๐ข โ + ๐ โ
Restrict
๐2โ = ๐ โ2โ๐โ
Solve ๐พ4โ๐4โ = ๐4โ W. Briggs, A multigrid tutorial, 2000
ฮฉโ
ฮฉ2โ
ฮฉ4โ
โฎ 29
Memory-Efficient Implementation on GPU
โข On-the-fly assembly
โ Avoid storing matrices on the finest level
โข Non-dyadic coarsening (i.e., 4:1 as opposed to 2:1)
โ Avoid storing matrices on the second finest level
ฮฉโ
ฮฉ2โ
ฮฉ4โ
โฎ
Wu et al., TVCGโ2016
Dick et al., SMPTโ2011 30
Larsen et al. 1997 Negative Poisson's ratio
Sigmund &Torquato 1996 Negative thermal expansion
Sigmund 2000
Alexandersen et al. 2016 Maute & Pingen
Electric actuator
Natural convection Fluid flow 34
A General Formulation
1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1
1 1 1 1
Solve state
equation
Sensitivity
analysis
Update ๐๐
Converged? No
Yes
Minimize: ๐(๐)
Subject to: ๐๐ โ [0,1], โ๐
๐๐(๐) โค 0
35
Complexity is free? โฆ Not really!
โข Printer resolution: Minimum geometric feature size
โข Layer-upon-layer: Supports for overhang region
โข Shell-infill composite
Supports Infill Tiny details
Ralph Mรผller
Paul Crompton
Concept Laser GmhH mpi.fs.tum.de
38
Outline
โข Basics of Topology Optimization
โข Topology Optimization for Additive Manufacturing
โ Geometric feature control by density filters
โ Geometric feature control by alternative parameterizations
39
Geometric feature control by density filters
(An incomplete list)
Minimum feature size, Guestโ04 Coating structure, Clausenโ15
Self-supporting design, Langelaarโ16 Porous infill, Wuโ16
Reference
42
Topology Optimization Applied to Design Infill
Infill in the bone Topology optimization
No similarity in structure
46
Topology Optimization Applied to Design Infill
โข Materials accumulate to โimportantโ regions
โข The total volume ๐๐๐ฃ๐๐ โค ๐0 does not restrict local material
distribution
Infill in the bone Infill by standard
topology optimization 47
Approaching Bone-like Structures: The Idea
โข Impose local constraints to avoid fully solid regions
Min: c =1
2๐๐๐พ๐
s.t. : ๐พ๐ = ๐น
๐๐ โ [0,1], โ๐
๐๐๐ โค ๐0
๐๐ โค ๐ผ, โ๐
๐๐ = ๐โ๐บ๐
๐๐
๐โ๐บ๐1
Local-volume measure
๐บ๐
๐๐ = 0.0
๐๐ = 0.6
๐๐ = 1.0
49
Constraints Aggregation (Reduce the Number of Constraints)
๐๐ โค ๐ผ, โ๐ max๐=1,โฆ,๐
๐๐ โค ๐ผ lim๐โโ
๐ ๐ = ๐๐ ๐
๐
1
๐ โค ๐ผ
Too many constraints! A single constraint But non-differentiable
A single constraint and differentiable Approximated with ๐ =16
50
Optimization Process: The same as in the standard topopt
โข Impose local constraints to avoid fully solid regions
Min: c =1
2๐๐๐พ๐
s.t. : ๐พ๐ = ๐น
๐๐ โ [0,1], โ๐
๐๐๐ โค ๐0
๐๐ โค ๐ผ, โ๐
๐๐ = ๐โ๐บ๐
๐๐
๐โ๐บ๐1
Local-volume measure
๐บ๐ 51
Compute
displacement
(KU=F)
Sensitivity
analysis
Update ๐๐
Converged? No
Yes
Effects of Filter Radius and Local Volume Upper Bound
๐ผ, ๐ = (0.6, 76.9) (0.5, 96.0) 0.4, 130.0
(0.6, 73.9) (0.5, 91.2) 0.4, 119.8
R=6
R=12
53
Local + Global Volume Constraints
๐ผ, ๐ผ๐ก๐๐ก๐๐ , ๐ = (0.6, 0.56, 76.9) (0.6, 0.50, 79.1) 0.6, 0.40, 94.0
R=6
54
โข Porous structures are significantly stiffer (126%) in case of force variations
Robustness wrt. Force Variations
c = 30.54 c = 36.72 cโ= 45.83 cโ =36.23
Local volume constraints Total volume constraint
57
โข Porous structures are significantly stiffer (180%) in case of material deficiency
Robustness wrt. Material Deficiency
Local volume constraints
c = 93.48 c = 76.83
Total volume constraint
cโ= 134.84 cโ =242.77
58
Geometric feature control by density filters
(An incomplete list)
Minimum feature size, Guestโ04 Coating structure, Clausenโ15
Self-supporting design, Langelaarโ16 Porous infill, Wuโ16
Reference
64
Outline
โข Basics of Topology Optimization
โข Topology Optimization for Additive Manufacturing
โ Geometric feature control by density filters
โ Geometric feature control by alternative parameterizations
66
Geometric feature control by alternative parameterizations
(An incomplete list)
Offset surfaces, Musialskiโ15
1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1
1 1 1 1
Reference: Voxel discretization
Ray representation, Wuโ16
Skin-frame, Wangโ13
Voxel, Prรฉvostโ13
Adaptive rhombic, Wuโ16
Voronoi cells, Luโ14
67
Overhang in Additive Manufacturing
โข Support structures are needed beneath overhang surfaces
http://www.sd3d.com/portfolio/o-orientation-of-print/
https://www.protolabs.com/blog/tag/direct-metal-laser-sintering/ 69
Support Structures in Cavities
โข Post-processing of inner supports is problematic
direction
Inner supports
Outer supports
70
Infill & Optimization Shall Integrate
Solid,
Unbalanced
Optimized,
Balanced
With infill,
Unbalanced 71
The Idea
โข Rhombic cell: to ensure self-supporting
โข Adaptive subdivision: as design variable in optimization
direction
Adaptive subdivision Rhombic cell 72
Self-Supporting Rhombic Infill: Workflow
0.4X
Initialization
Optimization
73
Compute
displacement
(KU=F)
Sensitivity
analysis
Update
subdivision
Converged? No
Yes
Self-Supporting Rhombic Infill: Results
โข Optimized mechanical properties, compared to regular infill
โข No additional inner supports needed
Optimization process Reference Print
Wu et al., CADโ2016 74
Mechanical Tests
Under same force (62 N) Under same displacement (3.0 mm)
Dis.
2.11 mm
Dis.
4.08 mm
Force
90 N
Force
58 N
75
Bone-inspired infill Self-supporting infill
Outline
โข Basics of Topology Optimization
โข Topology Optimization for Additive Manufacturing
โ Geometric feature control by density filters
โ Geometric feature control by alternative parameterizations
76
Topology Optimization
โข Lightweight
โข Free-form shape
โข Customization
โข Mechanically optimized
Additive Manufacturing
โข Customization
โข Geometric complexity
77
Thank you for your attention!
Jun Wu Depart. of Design Engineering, TU Delft
www.jun-wu.net