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.

Defining and perform matrix/array calculations in COMSOL

Please login with a confirmed email address before reporting spam

Dear all,

Does anyone know if it is possible to define matrices/arrays as input parameters and perform simple evaluations such as obtaining the Trace of the matrix, conjugate transpose or matrix multiplications in COMSOL? Right now the way I see it is that I can only do it via Matlab and feed the results back into COMSOl via livelink, which i am still learning. I have created a Physics model via the PDE module which require input from the results of matrix calculations. I am still relatively new to COMSOL so any help would be appreciated!

Thanks!
Matt

1 Reply Last Post 2015年1月30日 GMT-5 05:38

Please login with a confirmed email address before reporting spam

Posted: 10 years ago 2015年1月30日 GMT-5 05:38
Hello Matt,

Yes, you can define matrices in Comsol by PDE. Check an example.

Best regards

Tero Hietanen
Hello Matt, Yes, you can define matrices in Comsol by PDE. Check an example. Best regards Tero Hietanen

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.