Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.
How to define synchronized parameter sweeps for multiple variable lists (with repeating values for one group)
Posted 23 lug 2025, 06:24 GMT-4 Interfacing, Modeling Tools & Definitions, Structural Mechanics Version 6.3 0 Replies
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!
Hello Aida Bouaziz
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.
