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.

How to couple my MATLAB solver to the COMSOL's Segreated-step solver

Please login with a confirmed email address before reporting spam

Suppose I have a multiphysics coupling model, heat transfer and electrical field. It is a time-dependent problem. At each time step, I suppose to use the segreated scheme to deal with the coupling between Heat transfer and Electric field. I build the heat transfer model in comsol with comsol's heat transfer (HT) interface. But, at each time step, I want to solve the electric field using my own MATLAB code. Under the node "Time-Dependent Solver-->Segreated", I add a "segreated step" to solve HT problem. The question is: how to couple my MATLAB code for the electric field to the "segreated step" for solving HT problem?

Thanks in advance!


0 Replies Last Post 2018年10月18日 GMT-4 23:38
COMSOL Moderator

Hello Jun

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.