Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.

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.

Results from two separate models on the same graph?

Please login with a confirmed email address before reporting spam

Hi all!

I am using COMSOL 4.3 and I am working on two similar models. I have two pressure curves for a similar section of my geometry. Can I somehow combine the two plots on one graph without exporting the data to MATLAB, since I don't have MATLAB.

1 Reply Last Post 07.12.2012, 00:49 GMT-5
Ivar KJELBERG COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 07.12.2012, 00:49 GMT-5
Hi

yes you can ;)
In COMSOL the main plot node normally points to a solution data set, and all sub nodes point to the default main node data set. But you can change the pointer of on sub plot or set the main plot node to "none" and define individually all sub plot nodes.

Look at it this way: once you have solved, all the resulting data is distributed in "Data-Sets" (there may be multiple data sets per solver sequence and a data set == data base block) you might join the data-sets or combine them, or have your results getting values from the different. currently not concatenate them (time series or parametric sweep concatenation), but if you ask kindly "support" to add it I'm sure they will consider it ;)

And by defining good "global variables" you might access all data sets with the same variable name too

--
Good luck
Ivar
Hi yes you can ;) In COMSOL the main plot node normally points to a solution data set, and all sub nodes point to the default main node data set. But you can change the pointer of on sub plot or set the main plot node to "none" and define individually all sub plot nodes. Look at it this way: once you have solved, all the resulting data is distributed in "Data-Sets" (there may be multiple data sets per solver sequence and a data set == data base block) you might join the data-sets or combine them, or have your results getting values from the different. currently not concatenate them (time series or parametric sweep concatenation), but if you ask kindly "support" to add it I'm sure they will consider it ;) And by defining good "global variables" you might access all data sets with the same variable name too -- Good luck Ivar

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.