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.

Parametic sweep, only one parameter result

Please login with a confirmed email address before reporting spam

Hi,

I'm trying to run a parametric sweep in a study with multiple steps, but the results for all parameters are identical to the first parameter of the sweep.

I've tried the following: - Adding a parametric sweep node before the study steps - Using the auxilary sweep in each step - Using the auxiliry step and the parametric sweep node. - Cleared all solver configurations

The log does show multiple parameters solved for and it does show the parametric values in the list box in the 3D plots and it does make a table with multiple line in derived values. But all are identical for all parameters. Changing the parameter value and running it does provide other values. So it's not the result of a "administrative" fault.

I've also note that the solver does not make a parametric sweep solutions node and provides a fault "Varying parameters in functions are not supported. Use parametric sweep"

I've added the same step1 in a 2nd study while adding the parametric sweep node first. Then it does work. If I add the second step, again it does not work.

Some guidance would be much appreciated. Thanks.


1 Reply Last Post 28.06.2023, 15:51 GMT-4
Jim Freels mechanical side of nuclear engineering, multiphysics analysis, COMSOL specialist

Please login with a confirmed email address before reporting spam

Posted: 1 year ago 28.06.2023, 15:51 GMT-4

Try example paremetric sweeps in the application library. Also, provide your .mph file here for us to take a look at your problem. One thought: perhaps your choice of parameter changes actually does not change the physics.

-------------------
James D. Freels, Ph.D., P.E.
Try example paremetric sweeps in the application library. Also, provide your .mph file here for us to take a look at your problem. One thought: perhaps your choice of parameter changes actually does not change the physics.

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.