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.

Integration calling 2 different solutions?

Please login with a confirmed email address before reporting spam

Hi everyone,

Is it possible to do an integration that calls variables from different solutions?

I am trying to do an inner product of two solutions, (the same geometry with different parameters), to find their correlation.

The variables are stored in different solutions (I uses parameter sweep). When I try to do "Derive Values" -> "Volume integration," the data set and parameters have to be specified.

So is it possible to call them from different solutions, and putting them together in the integral expression?

Many thanks!

2 Replies Last Post Feb 21, 2017, 6:29 a.m. EST
Henrik Sönnerlind COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 7 years ago Feb 21, 2017, 3:48 a.m. EST
Hi,

Use the withsol() operator. Check out the documentation for more info.

Regards,
Henrik
Hi, Use the withsol() operator. Check out the documentation for more info. Regards, Henrik

Please login with a confirmed email address before reporting spam

Posted: 7 years ago Feb 21, 2017, 6:29 a.m. EST
That's awesome! Thank you!

Regards,
TW
That's awesome! Thank you! Regards, TW

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.