JuliaTopOpt / TopOpt.jl

A package for binary and continuous, single and multi-material, truss and continuum, 2D and 3D topology optimization on unstructured meshes using automatic differentiation in Julia.
https://juliatopopt.github.io/TopOpt.jl/
Other
181 stars 30 forks source link

Multi-material topology optimization #133

Closed mohamed82008 closed 1 year ago

mohamed82008 commented 1 year ago

This PR implements multi-material topology optimisation. I use a Simplex transformation to ensure that the weighted sum of the rhos is 1 before applying the penalty and interpolation. Void is modelled as another material here with low Young's modulus and 0 density. I test an example with compliance minimisation and a mass constraint.

mohamed82008 commented 1 year ago

This PR closes https://github.com/JuliaTopOpt/TopOpt.jl/issues/45.