Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.
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.
Using MATLAB code as a COMSOL physics interface
Posted 1 apr 2014, 21:31 GMT-4 Interfacing, Computational Fluid Dynamics (CFD), Chemical Reaction Engineering, LiveLink for MATLAB Version 4.3b 1 Reply
Please login with a confirmed email address before reporting spam
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
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
1 Reply Last Post 4 apr 2014, 11:05 GMT-4