Using Configurations in Post-Processing

In this month’s tips and tricks video, I share a tip and trick that is helpful in post-processing when you are working with multiple plots, especially if you have a parametric sweep.

Click below to watch me walk you through the process. We have included the video transcription below to help you follow along.

There’s no reason to learn software programs through trial and error, so in addition to our tips and tricks, our upcoming training classes will support you, the COMSOL user, in utilizing best practices with many of the COMSOL modules. Please visit our training calendar and find the course that is best for you.


Using Configurations in Post-Processing Transcription

So, I’m gonna go over a rather simple tip and trick that is really helpful in post-processing especially if you have a lot of plots that you wanna look at, and let’s say it’s especially useful if you have a parametric sweep, and then you also have a lot of time stamps.

So, for example in this case we only have four, right now the stress is set to data set study one displacement to parametric solutions positions to one, time point five. But let’s say I want all of them set to the parametric solution data set position sweep two, time point four. It would be really annoying if I had met 30 or so plots, and 10 position sweeps, and 100 or so time selections to do that each individually. So instead, there’s this really useful tool called Configurations.

So how we get that is we go to “Results,” we right-click “Results,” and we go to “Configurations” and select “Single Select Solution.” So, in this case, I’m going to select “Parametric Solutions” because that’s the data set I’m interested in. And let’s say I’m interested in time two – position sweep two, time point four. Now, if I want all of them to go to that, I go to “Stress” and now I have a new option called “Solution Parameters.” Right now, it says “Manual” or “Func Configuration,” but I’m not on the right data set anyway because as we saw in your single select solution, the data set is “Parametric Solutions.” So, I switched the data set to “Parametric Solutions” and my solution parameter, I switch to from configuration. Now the configuration is single select solution one or none because it’s single select solution one I know that my stress solid has all of those choices that I made under the single select solution.

Now I can make all of these plots have these of the choices so let’s do that. This one already has this this – this comes up automatically if your data set was the study parametric solutions one, it automatically comes up as from configuration. But you have to switch your configuration to from none to the single select solution.

Okay, so now if I ever want to look at these plots at a different parametric sweep and time instead of changing each one individually this time, I can just switch my parameter value here and switch the time, and now each one of them automatically updated on its own.

It’s as simple as that so that’s my tip and trick for you for today and I hope it was helpful.