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

Implementation of constitutive relations from MATLAB

$
0
0
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.

Viewing all articles
Browse latest Browse all 428

Trending Articles