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.

Export Parametric Sweep Solutions as Columns in Single File

Please login with a confirmed email address before reporting spam

Hi guys,

I am using the solid mechanics module to analyse the deformation on a surface due to a boundary load from a 'point' source (a Mogi model), with a stationary solver. Please see attached file.

I can create a plot of the values of an expression at set intervals along the surface - in this case using an Edge 2D data set, and the w expression (displacement field, Z component). I can export this data fine, however I encounter problems when I carry out a parametric sweep - as I cannot export the data as I would like.

I can very any of my parameters using the sweep, and produce the same plot as before (but with data pertaining to each stage of the sweep). However, when I come to export this Edge 2D data set with the Parametric solutions selected, I can only export one parameter value at a time.

I am looking to export all of my parameter values at set intervals along the surface, in separate columns - such that I can inspect/compare them and import the data into other programs with ease.

Is there a way to do this? Am I using the wrong approach?

Thanks for any help you can offer.



3 Replies Last Post 3 gen 2018, 03:38 GMT-5
Gunnar Andersson COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 7 years ago 31 ott 2017, 03:29 GMT-4

Hi Matthew,

This isn't possible in 5.2a, but it has been implemented in 5.3, so I suggest that you upgrade to 5.3

Hi Matthew, This isn't possible in 5.2a, but it has been implemented in 5.3, so I suggest that you upgrade to 5.3

Please login with a confirmed email address before reporting spam

Posted: 7 years ago 2 gen 2018, 20:56 GMT-5

Hi Matthew,

This isn't possible in 5.2a, but it has been implemented in 5.3, so I suggest that you upgrade to 5.3

I tried with 5.3 and nothing changes. Can you please explain how export plot?

Thank you.

>Hi Matthew, > >This isn't possible in 5.2a, but it has been implemented in 5.3, so I suggest that you upgrade to 5.3 I tried with 5.3 and nothing changes. Can you please explain how export plot? Thank you.

Gunnar Andersson COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 7 years ago 3 gen 2018, 03:38 GMT-5
Updated: 7 years ago 3 gen 2018, 03:39 GMT-5

Hi Matthew,

This isn't possible in 5.2a, but it has been implemented in 5.3, so I suggest that you upgrade to 5.3

I tried with 5.3 and nothing changes. Can you please explain how export plot?

Thank you.

That's strange. The following steps work for me:

  • Start 5.3.0.223.

  • Open the BasicBenchmark.mph model that Matthew attached.

  • Compute Study 1.

  • Select Results > Export > Data 1.

  • Change the selection in the Parameter values (d,a,P,Pois) list to all tuples.

  • Browse to a filename.

  • Export.

Maybe your use case differs from Matthew's.

>>Hi Matthew, >> >>This isn't possible in 5.2a, but it has been implemented in 5.3, so I suggest that you upgrade to 5.3 > >I tried with 5.3 and nothing changes. Can you please explain how export plot? > >Thank you. That's strange. The following steps work for me: - Start 5.3.0.223. - Open the BasicBenchmark.mph model that Matthew attached. - Compute Study 1. - Select Results > Export > Data 1. - Change the selection in the Parameter values (d,a,P,Pois) list to all tuples. - Browse to a filename. - Export. Maybe your use case differs from Matthew's.

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.