Using MATLAB to control Topology Optimization module in COMSOL

Please login with a confirmed email address before reporting spam

**Help needed in implementing MATLAB script to maintain control over COMSOL Topology Optimization iterations **

Hello everyone,

As the title suggests, I want to use MATLAB Livelink with COMSOL to implement Topology Optimization. The concept is simple. For beta parameter between 1 and 1024, I want to control the number of iterations with three methods: 1 - Max iterations depending on beta value (this works) 2 - Ending iterations early based on some arbitary convergence criteria (this also works) 3- Reusing solution from previous beta as the initial solution for the next beta ( This does not work).

I was wondering if anyone has any idea on how this can be implemented without using the parametric sweep feature of COMSOL as that would disable controls 1 and 2 mentioned above.


Reply

Please read the discussion forum rules before posting.

Please log in to post a reply.

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.