Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.
Controlling custom design variables for topology optimization with LiveLink
Posted 5 lug 2023, 05:24 GMT-4 LiveLink for MATLAB, Optimization, Structural Mechanics Version 6.1 4 Replies
Please login with a confirmed email address before reporting spam
The goal of our project is to do topology optimization (TO), letting COMSOL carry out the FEA and computing objective/design density updates with MATLAB, using LiveLink.
For density-based TO, is it possible to iteratively define the vector of design densities ?
The process should look something like this :
while not converged { 1 MATLAB sets new design densities : theta_c = ( theta_c1 , theta_c2, ... ) 2 COMSOL takes these densitites and computes the performance of the structure 3 MATLAB computes the objective function, constraint (and their derivatives) based on the extracted solution vector and system matrices. 4 MMA (running in MATLAB) computes an update to the design density vector }
The reason for the usage of LiveLink is the implementation of a custom objective function.
Would anyone be able to help me clarify the way in which the MATLAB can prescribe the vector of design densities , to use in a single computation for COMSOL ? Currently, my COMSOL takes the "initial value" of theta_c in the density model each time.
PS. The paper by J. Kook (2021) describes a similar problem that is implemented. However, in their case they defined their own PDEs to solve, and my problem is purely structural (thoroughly implemented in COMSOL).