How to define synchronized parameter sweeps for multiple variable lists (with repeating values for one group)

Please login with a confirmed email address before reporting spam

Hello,

I am trying to perform a parametric sweep in COMSOL with four synchronized lists: n, lc, la, and G. Each list is divided into 6 ranges, with the following sizes:

n: [1–183], [184–367], [368–454], [455–543], [544–622], [623–692]

Each range has sizes: 183, 184, 87, 89, 79, 70

The variables lc and la are defined using range(start, step, stop) with specific values, and la includes a shift using lambda (lambda1, lambda2, etc.). For each block, I want to assign a constant value of parameter G (G1, G2, ..., G6) that repeats across the size of the block. So:

G1 should apply to the first 183 values,

G2 to the next 184 values,

… up to G6 applied to the last 70 values.

How can I define this synchronized parametric sweep so that n, lc, la, and G are swept together, with G repeated properly per block?

Thank you!


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.