v5.0 has added a powerful, new way of performing parametric sweeps. Previously, in versions before v5.0, COMSOL has given users the ability to perform parametric sweeps on model parameters such as loads, material properties, geometric dimensions, and even mesh element size parameters. These sweeps can be set-up with the goal of calculating a large set of solutions automatically or improving convergence behavior of non-linear problems.
However, one limitation to the
previous functionality was that sweeping over discrete sets of materials or functions was difficult and in some cases impossible to set-up. But now, with the new “Switch” option it is possible to set up a “Material Sweep” or “Function Sweep”. These new sweep techniques utilize the switch option to toggle between discrete material selections (with all their properties) or between discrete function selections.
See the screenshots below for the workflow for defining a
material sweep of a plate bending simulation. Note that during post-processing, a drop-down box for the “Switch” enables toggling between: Aluminum, Steel, Copper, or Titanium.