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.

Matlab function to output matrix with 21 components!!

Please login with a confirmed email address before reporting spam

Dear all:

I am planing to use Matlab to do matrix manipulation, and then transfer the resulted matrix components to COMSOL to do calculation. However, I found the Matlab function can only generate a scalar value. Now the matrix I want to get has 21 components (elasticity matrix). How can I extract the components from Matlab to COMSOL. Do you have any ideas about that?

Thank you so much for your time and help.

Yu

-------------------
Yu Zhang

1 Reply Last Post 2018年7月23日 GMT-4 11:17
Henrik Sönnerlind COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 6 years ago 2018年7月23日 GMT-4 11:17
Updated: 6 years ago 2018年7月23日 GMT-4 11:17

Hi,

Maybe you can use an external material instead?

https://www.comsol.com/blogs/accessing-external-material-models-for-structural-mechanics

Regards,
Henrik

-------------------
Henrik Sönnerlind
COMSOL
Hi, Maybe you can use an external material instead? Regards, Henrik

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.