Quantcast
Channel: COMSOL Forums: Using MATLAB code as a COMSOL physics interface
Viewing all articles
Browse latest Browse all 6

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 6

Trending Articles