Batch Sweep with nested Parametric Sweep - Change set of parameters dependent on batch sweep parameter.

Please login with a confirmed email address before reporting spam

Hello!

I'm currently trying to set up a parametric sweep nested within a batch sweep.

I'm facing the problem, that dependent of the parameter of the batch sweep, the list of parameters in the parametric sweep changes dependent on the current parameter of the batch sweep.

My idea was to do something like this: Let's say I have n as the parameter of the batch sweep, so I was thinking to implement an if-clause in the parameters for the parametric sweep like:

if( n == 100, 500 200 100, 200 100 0)

Sadly I don't get the syntax to work. I hope to find any help here!

Thanks in advance.


0 Replies Last Post Feb 6, 2025, 4:57 a.m. EST
COMSOL Moderator

Hello Lukas Böcker

Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.

If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.

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.