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 21 févr. 2017, 06:29 UTC−5
Henrik Sönnerlind COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 8 years ago 21 févr. 2017, 03:48 UTC−5
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: 8 years ago 21 févr. 2017, 06:29 UTC−5
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.