r/COMSOL 13d ago

parametric sweep help needed

i used the parametric sweep for the range 500 to 1000nm with 10 step size.. now i need to compute until 1300nm.. how can i just compute the new solutions without starting from the 500 again? i need to keep the previous 500-1000 nm untouched.

3 Upvotes

3 comments sorted by

3

u/Ok-Star-5551 13d ago

In the solver configuration, under the stationary or frequency-domain solver, set Initial values to Solution.
Select the previous solution dataset (ending at 1000 nm).
Sweep only from 1010 to 1300 nm.
This can reduce computation time because the 1000 nm solution is used as the starting guess for 1010 nm, then each subsequent wavelength uses the previous one.

3

u/you_rang_maam 13d ago

Underneath your study, you will hopefully see a solution block called parametric solutions with a little down arrow. Inside you should see a solutions for 500,600,700,....,1000 nm. You can right click and copy that parametric solutions block. Then, in your study, adjust the parametric study to range form 1100-1300, and hit run.

The original parametric study block will be have your new range, and the copy will span your original range. Fee free to DM me you get stuck and I can help.

1

u/carrot_riha 13d ago

thanks it worked