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

Using MATLAB code as a COMSOL physics interface

$
0
0
Hi all,

I was wondering if it was possible to use a MATLAB script as a COMSOL physics interface.

I have a working two-phase flow CFD model (phase field method). Coupling additional physics has been very difficult since I need to work around the diffuse interface. I have a MATLAB code that does exactly what I need for mass transfer. Is it possible to incorporate this code into the model as a COMSOL physics interface? Basically, the goal is that the imported code does what Transport of Diluted or Concentrated Species usually does.

I couldn't find any help in the MATLAB-COMSOL LiveLink User Guide for this specific type of situation. I'm just wondering if it's even possible.

I greatly appreciate any input.

-Alex

Viewing all articles
Browse latest Browse all 2194

Trending Articles



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