Skip to main content
Log in

An efficient 137-line MATLAB code for geometrically nonlinear topology optimization using bi-directional evolutionary structural optimization method

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

A Correction to this article was published on 17 November 2022

This article has been updated

Abstract

Topology optimization, as a powerful conceptual design method, has been widely adopted in both academic research and industrial applications. To further promote the development of topology optimization, many computer programs have been published for educational purposes over the past decades. However, most of the computer programs are constructed based on a linear assumption. On the basis of bi-directional evolutionary structural optimization (BESO) method, the paper presents a MATLAB implementation of the geometrically nonlinear topology optimization code for compliance minimization of statically loaded structures. Excluding 19 lines which are used for explanation, only 118 lines are needed for the initialization of the design parameters, nonlinear finite element analysis, sensitivity calculation, sensitivity filtration, and topological design variables update. Different design problems can be solved by modifying several lines in the proposed program. The complete 137-line code is included as an Appendix and is intended for educational purposes only.

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

Change history

References

Download references

Funding

This work was sponsored by the National Natural Science Foundation of China (11872311).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Bin Xu.

Ethics declarations

Conflict of interest

The authors declare that they have no conflict of interest.

Replication of results

All the necessary data to reproduce the results reported here are provided in the Appendix. Readers can also contact us to obtain the codes by email: hanys0407@mail.nwpu.edu.cn

Additional information

Responsible Editor: Emilio Carlos Nelli Silva

Publisher's note

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

Highlights

• A 137-line MATLAB code for topological optimization of geometrically nonlinear structure is constructed.

• The presented code is easier to implement and understand.

• The iterative curves converge to constant values stably, and the convergence rate is fast.

Appendices

Appendix 1: Topology optimization of geometrically nonlinear structure

figure mfigure mfigure m

Appendix 2: Topology optimization of linear structure

figure nfigure nfigure n

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Han, Y., Xu, B. & Liu, Y. An efficient 137-line MATLAB code for geometrically nonlinear topology optimization using bi-directional evolutionary structural optimization method. Struct Multidisc Optim 63, 2571–2588 (2021). https://doi.org/10.1007/s00158-020-02816-9

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00158-020-02816-9

Keywords

Navigation