Skip to main content
Log in

PolyDyna: a Matlab implementation for topology optimization of structures subjected to dynamic loads

  • Educational Paper
  • Published:
Structural and Multidisciplinary Optimization Aims and scope Submit manuscript

Abstract

We present a Matlab implementation for topology optimization of structures subjected to dynamic loads. The code, which we name PolyDyna, is built on top of PolyTop—a Matlab code for static compliance minimization based on polygonal finite elements. To solve the structural dynamics problem, we use the HHT-α method, which is a generalization of the classical Newmark-β method. In order to handle multiple regional volume constraints efficiently, PolyDyna uses a variation of the ZPR design variable update scheme enhanced by a sensitivity separation technique, which enables it to solve non-self-adjoint topology optimization problems. We conduct the sensitivity analysis using the adjoint method with the “discretize-then-differentiate” approach, such that the sensitivity analysis is consistently evaluated on the discretized system (both in space and time). We present several numerical examples, which are explained in detail and summarized in a library of benchmark problems. PolyDyna is intended for educational purposes and the complete Matlab code is provided as electronic supplementary material.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11
Fig. 12
Fig. 13
Fig. 14
Fig. 15
Fig. 16
Fig. 17
Fig. 18

Notes

  1. This work uses a variation of this constraint, but imposed on sub-regions of the design domain. Details are provided in the next section.

  2. To be consistent with previous work, here we adopt the notation by Talischi et al. (2012b).

  3. The characteristic function, \(\chi _{{\varOmega }_{\ell }}(\mathbf {x})\), associated with element Ω, is equal to 1 if xΩ and 0 otherwise (Talischi et al. 2012b).

  4. Details related to the filter operation when considering symmetry are given by Giraldo-Londoño and Paulino (2020b).

  5. The form of (18) is valid when \(\bar {\textbf {u}}(\textbf {x},t)=\textbf {0}\) (see Fig. 1). When ground accelerations are considered, fi should be replaced by − ag(ti)1, in which ag(ti) is the ground acceleration at t = ti.

  6. Although we use the threshold projection function to solve the examples in the present manuscript, PolyDyna has other volume interpolation functions built in, e.g., the Heaviside projection function by Guest (2009), as implemented in PolyTop (Talischi et al. 2012b).

  7. For dynamic topology optimization problems, we recommend the RAMP function because SIMP may lead to instabilities when the element densities approach zero.

  8. Without loss of generality, here we have dropped the explicit dependence of f on \(\mathbf {u}_{0},\ldots ,\mathbf {u}_{N_{t}}\).

  9. Although this example assumes the load duration to be equal to the time integration duration used to evaluate the objective function, they need not be equal. For example, the load duration could be set as t = ts and the load defined as \(f(t)=f_{0}\sin \limits (\pi t/t_{s})(1-H(t-t_{s}))\), in which H(⋅) is the unit step function, while the duration of the dynamic event, tf, could be set as tf = 2ts and use the displacement field up to t = tf to evaluate the objective function.

References

  • Bendsøe MP (1989) Optimal shape design as a material distribution problem. Struct Optim 1:193–202

    Article  Google Scholar 

  • Bendsøe MP, Sigmund O (2003) Topology optimization: Theory, methods and applications. Springer, Berlin Heidelberg

    MATH  Google Scholar 

  • Bertsekas DP (1999) Nonlinear programming, 2nd edn. Athena Scientific, Belmont

    MATH  Google Scholar 

  • Choi WS, Park GJ (2002) Structural optimization using equivalent static loads at all time intervals. Comput Methods Appl Mech Eng 191(19-20):2105–2122

    Article  MATH  Google Scholar 

  • Dahl J, Jensen JS, Sigmund O (2008) Topology optimization for transient wave propagation problems in one dimension. Struct Multidiscip Optim 36(6):585–595

    Article  MathSciNet  MATH  Google Scholar 

  • Dennis JE, Schnabel RB (1996) Numerical methods for unconstrained optimization and nonlinear equations, vol 16. SIAM, Philadelphia

    Book  MATH  Google Scholar 

  • Filipov ET, Chun J, Paulino GH, Song J (2016) Polygonal multiresolution topology optimization (PolyMTOP) for structural dynamics. Struct Multidiscip Optim 53(4):673–694

    Article  Google Scholar 

  • Giraldo-Londoño O, Mirabella L, Dalloro L, Paulino GH (2020) Multi-material thermomechanical topology optimization with applications to additive manufacturing: Design of main composite part and its support structure. Comput Methods Appl Mech Eng 363:112812

    Article  MathSciNet  MATH  Google Scholar 

  • Giraldo-Londoño O, Paulino GH (2020a) Fractional topology optimization of periodic multi-material viscoelastic microstructures with tailored energy dissipation. Comput Methods Appl Mech Eng 372:113307

    Article  MathSciNet  MATH  Google Scholar 

  • Giraldo-Londoño O, Paulino GH (2020b) PolyStress: a Matlab implementation for local stress-constrained topology optimization using the augmented Lagrangian method. Struct Multidiscip Optim 63 (4):2065–2097

    Article  MathSciNet  Google Scholar 

  • Giraldo-Londoño O, Paulino GH (2020c) A unified approach for topology optimization with local stress constraints considering various failure criteria: von Mises, Drucker–Prager, Tresca, Mohr–Coulomb, Bresler–Pister, and William–Warnke. Proc R Soc A 476(2238):20190861

    Article  Google Scholar 

  • Guest JK (2009) Imposing maximum length scale in topology optimization. Struct Multidiscip Optim 37(5):463–473

    Article  MathSciNet  MATH  Google Scholar 

  • Hilber HM, Hughes TJ, Taylor RL (1977) Improved numerical dissipation for time integration algorithms in structural dynamics. Earthq Eng Struct Dyn 5(3):283–292

    Article  Google Scholar 

  • Hooijkamp EC, van Keulen F (2018) Topology optimization for linear thermo-mechanical transient problems: Modal reduction and adjoint sensitivities. Int J Numer Methods Eng 113(8):1230–1257

    Article  MathSciNet  Google Scholar 

  • Jang HH, Lee HA, Lee JY, Park GJ (2012) Dynamic response topology optimization in the time domain using equivalent static loads. AIAA J 50(1):226–234

    Article  Google Scholar 

  • Jensen JS, Nakshatrala PB, Tortorelli DA (2014) On the consistency of adjoint sensitivity analysis for structural optimization of linear dynamic problems. Struct Multidiscip Optim 49:831–837

    Article  MathSciNet  Google Scholar 

  • Jiang Y, Ramos AS Jr, Paulino GH (2021) Topology optimization with design-dependent loading: An adaptive sensitivity-separation design variable update scheme. Struct Multidiscip Optim. Accepted

  • Jog CS (2002) Topology design of structures subjected to periodic loading. J Sound Vib 253 (3):687–709

    Article  Google Scholar 

  • Kang B-S, Park G-J, Arora JS (2005) Optimization of flexible multibody dynamic systems using the equivalent static load method. AIAA J 43(4):846–852

    Article  Google Scholar 

  • Lee HA, Park GJ (2015) Nonlinear dynamic response topology optimization using the equivalent static loads method. Comput Methods Appl Mech Eng 283:956–970

    Article  MathSciNet  MATH  Google Scholar 

  • Liu B, Huang X, Huang C, Sun G, Yan X, Li G (2017) Topological design of structures under dynamic periodic loads. Eng Struct 142:128–136

    Article  Google Scholar 

  • Liu H, Zhang W, Gao T (2015) A comparative study of dynamic analysis methods for structural topology optimization under harmonic force excitations. Struct Multidiscip Optim 51(6):1321–1333

    Article  MathSciNet  Google Scholar 

  • Ma ZD, Kikuchi N, Cheng HC (1995) Topological design for vibrating structures. Comput Methods Appl Mech Eng 121(1-4):259–280

    Article  MathSciNet  MATH  Google Scholar 

  • Ma ZD, Kikuchi N, Hagiwara I (1993) Structural topology and shape optimization for a frequency response problem. Comput Mech 13(3):157–174

    Article  MathSciNet  MATH  Google Scholar 

  • Marjugi SM, Leong WJ (2013) Diagonal Hessian approximation for limited memory quasi-Newton via variational principle. J Appl Math 2013:1–8

    Article  MathSciNet  MATH  Google Scholar 

  • Martin A, Deierlein GG (2020) Structural topology optimization of tall buildings for dynamic seismic excitation using modal decomposition. Eng Struct 216:110717

    Article  Google Scholar 

  • Min S, Kikuchi N, Park YC, Kim S, Chang S (1999) Optimal topology design of structures under dynamic loads. Struct Optim 17(2-3):208–218

    Article  Google Scholar 

  • Newmark NM (1959) A method of computation for structural dynamics. J Eng Mech Div 85 (3):67–94

    Article  Google Scholar 

  • Nocedal J, Wright SJ (2006) Numerical optimization, 2nd edn. Springer, New York

    MATH  Google Scholar 

  • Pereira A, Talischi C, Paulino GH, Menezes IF, Carvalho MS (2016) Fluid flow topology optimization in polytop: stability and computational implementation. Struct Multidiscip Optim 54(5):1345–1364

    Article  MathSciNet  Google Scholar 

  • Rong JH, Xie YM, Yang XY, Liang QQ (2000) Topology optimization of structures under dynamic response constraints. J Sound Vib 234(2):177–189

    Article  Google Scholar 

  • Rozvany GI, Zhou M, Birker T (1992) Generalized shape optimization without homogenization. Struct Optim 4(3-4):250–252

    Article  Google Scholar 

  • Sanders ED, Pereira A, Aguiló MA, Paulino GH (2018) PolyMat: an efficient matlab code for multi-material topology optimization. Struct Multidiscip Optim 58(6):2727–2759

    Article  MathSciNet  Google Scholar 

  • Senhora FV, Giraldo-Londoño O, Menezes IFM, Paulino GH (2020) Topology optimization with local stress constraints: A stress aggregation-free approach. Struct Multidiscip Optim 62:1639–1668

    Article  MathSciNet  Google Scholar 

  • Shobeiri V (2019) Bidirectional evolutionary structural optimization for nonlinear structures under dynamic loads. Int J Numer Methods Eng 121(5):888–903

    Article  MathSciNet  Google Scholar 

  • Shu L, Wang MY, Fang Z, Ma Z, Wei P (2011) Level set based structural topology optimization for minimizing frequency response. J Sound Vib 330(24):5820–5834

    Article  Google Scholar 

  • Stolpe M, Svanberg K (2001) An alternative interpolation scheme for minimum compliance topology optimization. Struct Multidiscip Optim 22(2):116–124

    Article  Google Scholar 

  • Talischi C, Paulino GH, Pereira A, Menezes IFM (2012a) PolyMesher: a general-purpose mesh generator for polygonal elements written in Matlab. Struct Multidiscip Optim 45(3):309–328

    Article  MathSciNet  MATH  Google Scholar 

  • Talischi C, Paulino GH, Pereira A, Menezes IFM (2012b) PolyTop: a Matlab implementation of a general topology optimization framework using unstructured polygonal finite element meshes. Struct Multidiscip Optim 45(3):329–357

    Article  MathSciNet  MATH  Google Scholar 

  • Turteltaub S (2005) Optimal non-homogeneous composites for dynamic loading. Struct Multidiscip Optim 30(2):101–112

    Article  MathSciNet  MATH  Google Scholar 

  • Verbart A, Stolpe M (2018) A working-set approach for sizing optimization of frame-structures subjected to time-dependent constraints. Struct Multidiscip Optim 58(4):1367–1382

    Article  MathSciNet  Google Scholar 

  • Wang F, Lazarov BS, Sigmund O (2011) On projection methods, convergence and robust formulations in topology optimization. Struct Multidiscip Optim 43(6):767–784

    Article  MATH  Google Scholar 

  • Yoon GH (2010) Structural topology optimization for frequency response problem using model reduction schemes. Comput Methods Appl Mech Eng 199(25-28):1744–1763

    Article  MathSciNet  MATH  Google Scholar 

  • Zhang X, Paulino GH, Ramos Jr AS (2018) Multi-material topology optimization with multiple volume constraints: A general approach applied to ground structures with material nonlinearity. Struct Multidiscip Optim 57(1):161–182

    Article  MathSciNet  Google Scholar 

  • Zhao J, Wang C (2016) Dynamic response topology optimization in the time domain using model reduction method. Struct Multidiscip Optim 53(1):101–114

    Article  MathSciNet  Google Scholar 

  • Zhao J, Wang C (2017) Topology optimization for minimizing the maximum dynamic response in the time domain using aggregation functional method. Comput Struct 190:41–60

    Article  Google Scholar 

  • Zhou M, Rozvany GIN (1991) The COC algorithm, Part II: Topological, geometrical and generalized shape optimization. Comput Methods Appl Mech Eng 89(1-3):309–336

    Article  Google Scholar 

Download references

Acknowledgements

We acknowledge Sandia National Laboratories, a multimission laboratory managed and operated by National Technology and Engineering Solutions of Sandia, LLC, a wholly owned subsidiary of Honeywell International, Inc., for the U.S. Department of Energy’s National Nuclear Security Administration under contract DE-NA0003525. We also thank the support provided by the National Science Foundation (NSF) under grant number 1663244. We are grateful to the insightful comments by Emily D. Sanders and Americo Cunha, which contributed to substantial improvements to the paper. The interpretation of the results of this work is solely that by the authors, and it does not necessarily reflect the views of the sponsors or sponsoring agencies.

Funding

The authors received support provided by the National Science Foundation (NSF) under grant number 1663244.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Glaucio H. Paulino.

Ethics declarations

Conflict of interest

The authors declare that they have no conflict of interest.

Additional information

Responsible Editor: Gengdong Cheng

Replication of results

All results presented in this manuscript can be replicated using the codes provided as electronic supplementary material.

Publisher’s note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Supplementary Information

Below is the link to the electronic supplementary material.

(ZIP 29.5 KB)

Appendices

Appendix A: Library of examples

Table 10 summarizes of all examples discussed in this manuscript. The first column depicts the domain geometries for all examples, while the second column shows the name of the domain files needed by PolyMesher to generate the finite element meshes. The last column provides a description for each of the problems, including dimensions of the domains, magnitude of the dynamic loads, material properties, and filter radius. These problems can be verified with the electronic supplementary material (ESM) provided with this paper. Moreover, the user can easily modify these examples or create new ones using PolyDyna.

Table 10 Examples provided with PolyDyna

Appendix B: PolyScript

figure j
figure k

Appendix C: PolyDyna

figure l
figure m

Appendix D: FEM_Dyna

figure n

Appendix E: AdjointProblem

figure o

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Giraldo-Londoño, O., Paulino, G.H. PolyDyna: a Matlab implementation for topology optimization of structures subjected to dynamic loads. Struct Multidisc Optim 64, 957–990 (2021). https://doi.org/10.1007/s00158-021-02859-6

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00158-021-02859-6

Keywords

Navigation