Defining an array parameter in COMSOL

Please login with a confirmed email address before reporting spam

The below post is related to an archived 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 Mar 13, 2024, 2:50 p.m. EDT
Edgar J. Kaiser Certified Consultant

Please login with a confirmed email address before reporting spam

Posted: 2 months ago Mar 13, 2024, 2:50 p.m. EDT

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 the discussion forum rules before posting.

Please log in to 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 the Support Center for a more comprehensive response from the Technical Support team.