Mark Cops
COMSOL Employee
Please login with a confirmed email address before reporting spam
Posted:
2 years ago
8 nov. 2022, 09:39 UTC−5
Dear Victoria,
It sounds like you have two different studies and want to compare the results from both. I wonder if using the Join Dataset might work for you? You can take the difference between 2 solution datasets and plot it directly in COMSOL. This is described here: https://www.comsol.com/blogs/join-solutions-comsol-multiphysics/ . One example where this is used is here: https://www.comsol.com/model/axisymmetric-transient-heat-transfer-267
Best,
Mark
Dear Victoria,
It sounds like you have two different studies and want to compare the results from both. I wonder if using the Join Dataset might work for you? You can take the difference between 2 solution datasets and plot it directly in COMSOL. This is described here: https://www.comsol.com/blogs/join-solutions-comsol-multiphysics/ . One example where this is used is here: https://www.comsol.com/model/axisymmetric-transient-heat-transfer-267
Best,
Mark
Please login with a confirmed email address before reporting spam
Posted:
2 years ago
8 nov. 2022, 11:06 UTC−5
Hi Mark,
Thank you for the reply. It is not two different studies, but it is two different geometries. The geometries are exactly the same except one geometry has a little piece of stainless steel in it. I basically want to compare the results with and without this piece of stainless steel, so to do this, I first get the data with the piece of stainless steel in the geomtry, and then I go and disable that piece and its material and recompute. When I export the data, the data with the stainless steel piece has more data points than the one without. I am wondering if there is a way that I can manually set how many data points I want plotted?
Hi Mark,
Thank you for the reply. It is not two different studies, but it is two different geometries. The geometries are exactly the same except one geometry has a little piece of stainless steel in it. I basically want to compare the results with and without this piece of stainless steel, so to do this, I first get the data with the piece of stainless steel in the geomtry, and then I go and disable that piece and its material and recompute. When I export the data, the data with the stainless steel piece has more data points than the one without. I am wondering if there is a way that I can manually set how many data points I want plotted?
Gunnar Andersson
COMSOL Employee
Please login with a confirmed email address before reporting spam
Posted:
2 years ago
9 nov. 2022, 03:46 UTC−5
Most plots have a Quality section in the Settings window. I think that setting Smoothing=No smoothing and maybe also Resolution=No refinement or Custom will make it possible for you perform the comparison. The Smoothing setting matters as it when enabled will merge points that have the same coordinates and data values. When you introduce the stainless steel I suspect that less smoothing will be possible and that you therefore get more points in the exported plot data.
Most plots have a Quality section in the Settings window. I think that setting Smoothing=No smoothing and maybe also Resolution=No refinement or Custom will make it possible for you perform the comparison. The Smoothing setting matters as it when enabled will merge points that have the same coordinates and data values. When you introduce the stainless steel I suspect that less smoothing will be possible and that you therefore get more points in the exported plot data.