Quantcast
Channel: Latest Discussions - COMSOL Forums
Viewing all articles
Browse latest Browse all 5773

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

$
0
0

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!


Viewing all articles
Browse latest Browse all 5773

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>