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.
Implementation of constitutive relations from MATLAB
Posted 12 gen 2016, 08:05 GMT-5 Interfacing, Materials, Structural Mechanics Version 5.2 2 Replies
Please login with a confirmed email address before reporting spam
Hey all
I have a material model that links the material stresses to the material strains coded in a MATLAB function that I would like to link to a COMSOL model. As I see it there are two ways - but I am not sure and would like to have your opinion on the best procedure:
1) use the external material node in COMSOL, which requires me to first wrap the MATLAB code in a C file and subsequently create a dll.
2) through live link - though I have never used it before and I'm not sure if there is a way to link a material model that way easily.
Is there any other way to do this? Maybe someone could point me in the right direction. Any help is greatly appreciated.
I have a material model that links the material stresses to the material strains coded in a MATLAB function that I would like to link to a COMSOL model. As I see it there are two ways - but I am not sure and would like to have your opinion on the best procedure:
1) use the external material node in COMSOL, which requires me to first wrap the MATLAB code in a C file and subsequently create a dll.
2) through live link - though I have never used it before and I'm not sure if there is a way to link a material model that way easily.
Is there any other way to do this? Maybe someone could point me in the right direction. Any help is greatly appreciated.
2 Replies Last Post 5 feb 2016, 08:40 GMT-5