Hi, I am doing a topology optimization using Nlop. I have two question i really appreciate your helps.
after defining objective and gradients by using below line nlopt understand to minimize the objective function?
also when i am doing this it runs without any error but the results are not correct. it exactly delete material below load line which should be strengthen.
You will have to share a complete example to help people help you (Please read: make it easier to help you). You can also look at wrappers of NLopt which might be easier to use and better documented, e.g. Nonconvex.jl, Optimization.jl and JuMP.jl. Then there is TopOpt.jl which is more high level topopt.
Non-zero boundary conditions are supported but that depends on how you model your beam. If you model it as a continuum 2D/3D volume, then yes it’s possible. If you want discrete topopt with special beam elements which can be bend, then we only support trusses in discrete topopt now. (I am a maintainer of TopOpt.jl). In any case, it may be easier to implement support for what you want in TopOpt.jl instead of rolling your own package from scratch. If you are interested to contribute to TopOpt.jl, message me personally and let’s have a chat.