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.

All data export at once

Please login with a confirmed email address before reporting spam

Hi,

I am trying to study the result by matlab. I draw surface temperature maps of a 2D modle at different times by line graph, please find the picture in attachment. The slopes of these curves are what I am interested in.
The problem is how could I export the line graph data into txt, excel or matlab at once? I tried export function and only the first curve can be exported.
Please is there any method to export once for all?

Thank you in advance!


3 Replies Last Post 27 lug 2012, 09:09 GMT-4
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 27 lug 2012, 04:38 GMT-4
Hi

but cant you export Tx Ty Tz the gradient component of your temperature profiles, you can export via a Data set export or a Derived variable export. Once you dump data into a table you can cut and paste it into excel too, or save it in a csv file, readable from matlab. With LiveLink you can import and exchange on the fly with matlab too

--
Good luck
Ivar
Hi but cant you export Tx Ty Tz the gradient component of your temperature profiles, you can export via a Data set export or a Derived variable export. Once you dump data into a table you can cut and paste it into excel too, or save it in a csv file, readable from matlab. With LiveLink you can import and exchange on the fly with matlab too -- Good luck Ivar

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 27 lug 2012, 05:53 GMT-4
Thank you very much for reply.

But I have tried Data Sets and Derived Value before. There is only Point Evaluation selection which supplys data of temperature and time of only one point. But I need all the points of surface line. It is impossible to set all cut points on surface then select them one by one.
Is there any other method to export all information out?
Thank you very much for reply. But I have tried Data Sets and Derived Value before. There is only Point Evaluation selection which supplys data of temperature and time of only one point. But I need all the points of surface line. It is impossible to set all cut points on surface then select them one by one. Is there any other method to export all information out?

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 27 lug 2012, 09:09 GMT-4
Hi

I'm sure I have exported a line before, OK I use mostly geometrically defined edges, but interpolated lines should also be possible. But the thing is when you have a "time" series AND spatial coordinates, in which order are they mixed.

unfortunately I'm not by my COMSOl WS so I cannot check, have you tried a search of the help files for "Export data" ?

--
Good luck
Ivar
Hi I'm sure I have exported a line before, OK I use mostly geometrically defined edges, but interpolated lines should also be possible. But the thing is when you have a "time" series AND spatial coordinates, in which order are they mixed. unfortunately I'm not by my COMSOl WS so I cannot check, have you tried a search of the help files for "Export data" ? -- 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.