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
Posted 27 gen 2015, 17:29 GMT-5 Interfacing, Parameters, Variables, & Functions Version 4.4 1 Reply
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
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 30 gen 2015, 05:38 GMT-5