TopOpt
topopt.mek.dtu.dk
- Free plan
- Open source
- Windows
- macOS
- Linux
- Web
- iPhone and iPad
- Android
- Self-hosted
What TopOpt is
TopOpt is a collection of topology optimization apps and code from a joint research effort between DTU Mechanical Engineering and DTU Compute. The group develops and applies density-based topology optimization methods. Its Apps/Software page lists interactive 2D and 3D apps for handheld devices and web, along with code for minimum compliance, buckling optimization, and photonics. The 2D app is listed for iOS, Android, Linux, Mac OS X, and Windows; the 3D app is listed for iOS, Windows, and Mac OS X. Windows downloads for both require VC++R2012 and VC++R2013. Available code includes a 99-line MATLAB version for engineering education and newcomers, a 200-line Python implementation for minimum compliance, and MATLAB and COMSOL materials for photonics. The PETSc-based framework targets very large workloads and includes a 3D linear elasticity solver, filters, parallel MMA, and input/output tools. ParaView version 4.0 or newer is recommended for visualization. The listed code is free; no price is stated for the interactive apps.
Who it suits
TopOpt suits engineering students and newcomers learning topology optimization, as well as researchers working on optimization problems. Its PETSc framework is aimed at very large-scale work on structured grids.
Good to know, and what to watch
- Interactive 2D and 3D apps are listed.
- Includes MATLAB and Python minimum-compliance code.
- 99-line MATLAB code targets education and newcomers.
- PETSc framework supports very large-scale optimization.
- Listed code is free.
- Windows app downloads require VC++R2012 and VC++R2013.
- No price is stated for interactive apps.
- ParaView 4.0 or newer is recommended for visualization.
Plans
Every plan and priceFree MATLAB and COMSOL photonics codes
Free MATLAB code for buckling optimization
Free MATLAB code for minimum-compliance problems
TopOpt apps and software
Free plan
Getting started
- Open the DTU Apps/Software page
- Choose the 2D or 3D app for a listed platform
- Install VC++R2012 and VC++R2013 before using Windows downloads
- Download the MATLAB or Python implementation you need
- Use ParaView 4.0 or newer for visualization
- Select PETSc, photonics or buckling resources for specialized work
Limits to check
The free listing covers MATLAB code for minimum compliance and buckling optimization, plus MATLAB and COMSOL code for photonics. Windows app downloads require VC++R2012 and VC++R2013, and ParaView 4.0 or newer is recommended for visualization.
The Club's review
TopOpt is a collection of topology-optimization apps, teaching code and research software from a joint DTU group. It suits engineering students, researchers and practitioners working on density-based design problems. Its range is a strength, but the right choice depends on the task: an introductory example and a very-large-scale parallel framework serve different needs.
Overview
Developed by a research effort spanning DTU Mechanical Engineering and DTU Compute in Kongens Lyngby, Denmark, TopOpt brings together several ways to explore or implement topology optimization. The collection covers interactive 2D and 3D apps, compact educational examples, specialist code and a PETSc-based framework. That makes it more useful as a set of task-specific resources than as one unified application.
Key features
Interactive apps and learning code
The 2D and 3D interactive apps are offered for handheld devices and the web, giving newcomers a way to engage with the subject without starting with a full-scale codebase. For engineering education, the 99-line MATLAB implementation provides a compact entry point aimed at students and people new to topology optimization. MATLAB code and a 200-line Python implementation also address minimum-compliance problems.
Specialist methods and large-scale work
TopBuck250 extends top99neo to 2D buckling optimization. It supports maximizing the buckling load factor and minimum-volume design with compliance and buckling constraints, making it the more focused option for those problem types.
The photonics materials include a 200-line MATLAB implementation for 2D cylindrical metalens design and five COMSOL Multiphysics models. For larger workloads, the PETSc-based framework is fully parallel and targets very-large-scale topology optimization on structured grids. Its components include mesh and optimization parameters, a 3D linear-elasticity solver, standard and PDE-based filters, parallel MMA, and IO and Python-script converters. It is built on PETSc, and ParaView 4.0 or newer is recommended for visualization. This breadth is valuable for substantial structured-grid problems, but it is a different proposition from the compact teaching codes.
The Apps/Software page also includes TopOpt for Grasshopper, with a separate Grasshopper project page.
Pricing
TopOpt is free. The “TopOpt apps and software” plan is free; free MATLAB code covers minimum-compliance and buckling optimization, while the photonics materials include free MATLAB and COMSOL code. The interactive apps have no stated price. There are no paid tiers or seat-based terms to weigh, though the collection’s different tools have different scopes rather than one common feature set.
Platforms
The collection spans Android, iOS, Linux, macOS, web and Windows. The 3D app is listed for iOS, Windows and Mac OSX; the 2D app for iOS, Android, Linux, Mac OSX and Windows. Windows downloads for both apps require VC++R2012 and VC++R2013, a practical prerequisite for users setting them up. The PETSc framework depends on PETSc, and ParaView 4.0 or newer is recommended for visualization. Native CAD integration and simulation integration are supported.
Who it's for
Students and newcomers have a compact MATLAB teaching example, while engineers and researchers can choose code for minimum compliance, buckling or photonics. The parallel framework is the relevant choice for very-large-scale structured-grid work. Readers looking for a single commercial design suite or a complete managed support offering should look elsewhere: TopOpt is a research-oriented collection, and no support plan or security or compliance statements are provided.
Pros and cons
- Pros: The collection serves several stages of work, from an educational 99-line MATLAB example to a fully parallel PETSc framework.
- Pros: Focused resources cover 2D buckling and photonics, including COMSOL models for metalens design.
- Pros: The offering is free, with interactive apps across mobile, desktop and web platforms.
- Cons: The collection is not one unified application; users need to select the code or app suited to their problem.
- Cons: Windows app downloads require two VC++ runtimes, and the large-scale framework relies on PETSc.
- Cons: No support plan or security and compliance statements are provided.
Alternatives
Generative Design Software is a category to browse if you want to compare a broader set of design tools.
- NETVIBES is a paid option with a free plan and trial, and an Enterprise Data Science plan listing 17 portfolio roles; consider it when those roles and its Android, iOS, self-hosted and web platforms suit your needs.
- Ansys optiSLang is a paid option with a free trial. Its Pro plan lists unlimited parameters, constraints and objectives with LS-OPT enabled; Enterprise is required to build apps. Consider it if those capabilities are a better match than TopOpt’s topology-focused code and framework.
- Avocado is a free early-development option for Android, Linux, macOS and Windows that requires a PlayStation BIOS; game compatibility varies. Choose it for that use case rather than topology optimization.
- Dakota is free, open-source software under the GNU LGPL for Linux, macOS and Windows; consider it if that license and platform coverage fit your requirements.
- OpenMDAO is a free Apache 2.0-licensed framework for Linux and self-hosted use; consider it when that framework and licensing are a better fit.
- Plato offers a free open-source version with a limited set of objectives and constraints, plus a licensed version; consider it if that trade-off suits your work.
- ARL Topologies is a free, self-hosted CC0-licensed project published as a work of the United States government; consider it if those terms and deployment model fit.
- CAESES is a paid option with a free trial and a Standard Edition covering geometry modeling, software connection, design studies and basic variation and optimization; consider it when that geometry and design-study focus is preferable.
Verdict
TopOpt is a strong fit for engineering learners and practitioners who need free, focused topology-optimization resources, especially the educational code, specialist examples or parallel structured-grid framework. Choose it for that range of research-oriented tools; look elsewhere if you need a unified commercial suite, a stated support plan or a different optimization workflow.
The verdict
TopOpt offers a mix of interactive apps, educational code, and a parallel framework for larger workloads. Check the listed platform requirements and note that the page gives no price for the apps.
Questions people ask
Is TopOpt free?
The listed TopOpt code is free at no cost. The page does not give a price for interactive apps.
Which platforms are supported?
TopOpt is listed for Android, iOS, Linux, macOS, the web and Windows. The 2D and 3D apps have different platform lists.
What code is available?
The page offers MATLAB and Python implementations for minimum compliance, buckling optimization resources, photonics code and a PETSc-based parallel framework.
Does TopOpt integrate with simulation tools?
Yes. The PETSc framework is built on PETSc, ParaView is recommended for visualization, and the photonics offering includes five COMSOL Multiphysics models.
What the maker publishes
- 3D constraints and controls
- The 3D app provides symmetry conditions, prescribed solid or void regions, load scaling and rotation, pause/resume, marching-cubes and voxel visualization, and mesh/domain presets. source
- 3D export
- The 3D app exports optimized structures for workflows such as 3D printing. source
- 3D optimization
- The interactive 3D app solves minimum-compliance topology optimization and lets users change loads, supports and volume fraction while optimization runs. source
- 3D system requirements
- The Windows 3D build requires the 64-bit Visual C++ 2012 and 2013 redistributables. source
- Android adoption
- The AppBrain listing estimates 22 thousand downloads and identifies version 2.8 as free with an Everyone content rating. source
- Android availability limitation
- AppBrain reports that the Android app was unpublished from Google Play on 6 December 2021 and last updated on 20 December 2014. source
- Apple compatibility
- The App Store listing requires iOS or iPadOS 11 or later and lists a 105 MB size. source
- Apple privacy limitation
- Apple says the developer has not provided privacy-practice details for the app. source
- Buckling extensibility
- TopBuck250 can be coupled with the MMA MATLAB routine or other mathematical-programming tools. source
- Buckling optimization
- TopBuck250 extends top99neo to 2D buckling problems and supports buckling load factor maximization and minimum volume design with compliance and buckling constraints. source
- Buckling optimization
- TopBuck250 supports fundamental buckling-load-factor maximization and minimum-volume designs with compliance and buckling constraints in two-dimensional domains. source
- Educational audience
- The 99-line MATLAB code is intended for engineering education and is offered to students and newcomers to topology optimization. source
- Founded
- 1829 source
- Framework components
- The PETSc framework includes mesh and optimization parameters, a 3D linear elasticity solver, standard and PDE based filters, parallel MMA, and IO and Python script converters. source
- Grasshopper
- The Apps/Software page lists TopOpt for Grasshopper and links to a Grasshopper project page. source
- Grasshopper integration
- TopOpt provides a plugin/project link for Rhino and Grasshopper workflows. source
- Group
- The group is a joint research effort between DTU Mechanical Engineering and DTU Compute. source
- Headquarters
- Kongens Lyngby, Denmark source
- Independent ecosystem
- MATLAB Central hosts a TopOpt GUI created to assist users of the DTU program; its page records zero reviews and six downloads. source
- Independent technical limit
- A 2026 Springer study says TopOpt does not present principal-stress, von-Mises-stress or displacement FEA results and is limited to two materials. source
- Integrations
- The PETSc framework is built upon PETSc, and the page recommends ParaView version 4.0 or newer for visualization. source
- Interactive apps
- The site lists 2D and 3D interactive TopOpt apps for handheld devices and web. source
- Large scale framework
- The PETSc-based code is a fully parallel framework for very large scale topology optimization on structured grids. source
- Level-set education
- The level-set MATLAB code is aimed at engineering education and explains transition from density designs to level-set designs. source
Checked against the maker's pages on 14 Oct 2026.