Skip to main content
Log in

A C# code for solving 3D topology optimization problems using SAP2000

  • Educational Article
  • Published:
Optimization and Engineering Aims and scope Submit manuscript

Abstract

SAP2000 is well-known commercial software for analysis and design of structural systems that is equipped with an open application programming interface (OAPI). In this work, a code written in C# able to solve three-dimensional topology optimization problems is presented, where a topology optimization framework was integrated into SAP2000 taking advantage of its OAPI feature. The code is partially based on the 99 and 88 line codes written by Sigmund (Struct Multidiscip Optim 21(2):120–127, 2001) and Andreassen et al. (Struct Multidiscip Optim 43(1):1–16, 2011). The code solves the problem of minimum compliance while through OAPI it takes advantage of all modelling capabilities of SAP2000. The paper covers the theoretical aspects of topology optimization incorporated in the code and provides detailed description of their numerical implementations. Special effort was made to the latter one, describing in detail all numerical aspects of the code, in order to facilitate the reader to understand the code, and therefore being able to further enhance its capabilities. The complete code can be downloaded from GitHub (https://github.com/nikoslagaros/TOCP).

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

Similar content being viewed by others

References

Download references

Acknowledgements

This research has been supported by the OptArch project: “Optimization Driven Architectural Design of Structures” (No: 689983) belonging to the Marie Skłodowska-Curie Actions (MSCA) Research and Innovation Staff Exchange (RISE) H2020-MSCA-RISE-2015.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Nikos D. Lagaros.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Lagaros, N.D., Vasileiou, N. & Kazakis, G. A C# code for solving 3D topology optimization problems using SAP2000. Optim Eng 20, 1–35 (2019). https://doi.org/10.1007/s11081-018-9384-7

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11081-018-9384-7

Keywords

Navigation