Conditional parametric sweep

Please login with a confirmed email address before reporting spam

Hi

I'd like to run a parametric sweep with a couple of conditions. Here is an example of what I'm trying to do.

a = range(1:1:10) b = range(1:1:10)

The condition I want to add is a+b<15

Can I do this directly in COMSOL?

Alternatively I generated the combination on MATLAB but when I am having the file read by COMSOL through a saved text file. It is saying Failure reading file. '1' is not a valid variable name.

Could you please help me troubleshoot either of my methods. I'm wondering if the way the data is output from MATLAB is not compatible with COMSOL.

Thanks and regards VK


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.