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.

Carry over depedent variable values over parametric sweep with multiple study steps

Please login with a confirmed email address before reporting spam

Hello,
in my model I have a parameter DC that I want to sweep over a range of values.
For each value I want to calculate two study steps, #1 is Time-dependent, #2 is Frequency-Domain Perturbation.
I want to start off with the initial values defined in the model, for P1/S1 (Parameter Value 1, Study Step 1),

P1/S2 should start with the dependent variables at the last time-point of P1/S1 as initial values, and carry over the values at each frequency step, P2/S1 should carry over the end values of P1/S2 and so on.

Basically, I just want to start with my initial values once and then always carry the values over.

When I just use a Parametric Sweep node in the Study, each Time-Dependent step starts with the initial values, and Study Step 2 uses the end result of Step 1 for each frequency anew.
When I select User controlled for the initial values in Step 1, Comsol complains that the solution is not calculated yet.
When I try Auxiliary Sweeps, Step 2 doesn't work at all, as Comsol explains about multiple parameters for a linerarization step not being supported.
I once did it by hand in two separate studies, and did every parameter step manually while always selecting the exact study step as initial parameters. But that is not reasonable, because i have quite a lot of parameters that I need to simulate.

Could someone give me any pointers on what I could do, please?

Thank you in advance!

0 Replies Last Post 30 giu 2016, 07:48 GMT-4
COMSOL Moderator

Hello Marco Balabajew

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.

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.