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.

Optimizating COMSOL model by using a solver implemented in MATLAB

Please login with a confirmed email address before reporting spam

Dear all:

I want to ask for your help regarding the problem I am dealing with right now.

I implemented a COMSOL PDE model with moving boundary and now I want to connect it with an optimization solver implemented in MATLAB in order to perform optimal control of the process, i.e. to pass a vector of control variables discretized in time from the MATLAB solver to COMSOL, to run it and to obtain certain output variables that will allow to calculate a given objective function which has to be minimised. Which is the best way to do it? Via exporting the COMSOL model as a Simulink block? Some experience using LiveLink? Other ideas?

I hope someone of you had the same problem in the past and could help me.

Thank you very much in advance!

Best regards

Luis T. Antelo

1 Reply Last Post 11 janv. 2011, 11:52 UTC−5
Ivar KJELBERG COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 11 janv. 2011, 11:52 UTC−5
Hi

you ave also the optimising toolbox in COMSOL, and i its a single variable, what COMSOL is doing is least square minimising. The book of Zimmermann gives several examples

--
Good luck
Ivar
Hi you ave also the optimising toolbox in COMSOL, and i its a single variable, what COMSOL is doing is least square minimising. The book of Zimmermann gives several examples -- Good luck Ivar

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.