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.

Coupling Comsol and MAtlab (?)

Please login with a confirmed email address before reporting spam

Dear all,
I have been modeling chemical processes with Comsol 3.4 and exporting it to Matlab workspace (saving it as a M file). In some situations using the 'femtime' function from Comsol, to numerically integrate the system, leads to an expensive computation time even with reduced mesh size.
COMSOL Multiphysics is equipped with powerful backward difference time integration methods (of order up to 5) with adaptive time step, while its interface with MATLAB permits also the application of explicit time integrators, such as of Runge–Kutta type, whose basic advantage is the low requirements of computational memory, an issue of uttermost critical.
I have hardly tried to implement a Matlab 'odesuite'. But I haven't succeeded. I would like to known
how to perform integration with Matlab 'odesuite' of a Comsol generated problem.
moreover, it is possible to export the right hand side and the Jacobian of a system generate in comsol to a Matlab file?

Thanks
Marcus

0 Replies Last Post 2010年5月27日 GMT-4 13:42
COMSOL Moderator

Hello Erasmio Mancusi

Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.

If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.

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.