Defining an array parameter in COMSOL

Please login with a confirmed email address before reporting spam

The below post is related to anarchived discussion


I am using LiveLink for MATLAB in my analysis. I want to define a parameter as an array of values and give it to COMSOL. then be able to call the value from that array by using its index. is that possible??


1 Reply Last Post 2024年3月13日 GMT+1 19:50
Edgar J. Kaiser Certified Consultant

Please login with a confirmed email address before reporting spam

Posted: 6 months ago 2024年3月13日 GMT+1 19:50

COMSOL doesn't support arrays in the model builder. A workaround might be an interpolation function with the nearest neighbor interpolation setting. Using an index as argument should behave like an array.

-------------------
Edgar J. Kaiser
emPhys Physical Technology
www.emphys.com
COMSOL doesn't support arrays in the model builder. A workaround might be an interpolation function with the nearest neighbor interpolation setting. Using an index as argument should behave like an array.

Reply

Please read thediscussion forum rulesbefore posting.

Pleaselog into post a reply.

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

Baidu
map