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.
Export post-processing data
Posted Feb 4, 2010, 10:07 a.m. EST Version 4.0a 11 Replies
Please login with a confirmed email address before reporting spam
How can I export global variables results to a file? There is an "Export Post-Processing Data" dialog box, but you can't choose global variables from there, just subdomain, boundary, edge or point variables.
Thanks in advance.
Please login with a confirmed email address before reporting spam
usually you find these kind of info in the command.pdf and mlinterface.pdf, check the "postglobaleval", and run an indexed search on your doc files as the examples are scattered around in the different documents
Good luck
Ivar
Please login with a confirmed email address before reporting spam
Please login with a confirmed email address before reporting spam
jf
Please login with a confirmed email address before reporting spam
pls note ther is a little bug in the ascii dump for long files with multiple plots, the columns get slightly mixed up, check carefully the results, it does not alsway show up, depends on plot data length
This has been discussed a couple of times before, pls try a search on the forum
Good luck
Ivar
Please login with a confirmed email address before reporting spam
Lidia.
Please login with a confirmed email address before reporting spam
In COMSOL 3.5 one was allowed to specify co-ordinates @ which data should be exported from. This was enabled by the "Get co-ordinates from, 'textfile' " option. Comsol 4a does not seem to allow one to do this. Any idea why they have removed this function? What is the work around?
Thanks
Tiaan
Please login with a confirmed email address before reporting spam
--
Comsol 4.0a
Ubuntu 10.04.1
Please login with a confirmed email address before reporting spam
I can only say what I do: send in suggestions to "suggest at comsol" that are sufficiently documented that thy see the advantages, then your suggestions have, if generic enough, a great chance to appear on next version
--
Good luck
Ivar
Please login with a confirmed email address before reporting spam
(1) "In COMSOL 3.5 one was allowed to specify co-ordinates @ which data should be exported from. This was enabled by the "Get co-ordinates from, 'textfile' " option. Comsol 4a does not seem to allow one to do this. Any idea why they have removed this function? What is the work around?"
By defining a Cut Point data set and choose that in the export you can specify for which coordinates the data should be evaluated. In the upcoming version 4.1 the cut point coordinates can be a grid of coordinates values and not just a single point.
(2) "and what is the equivalent in Comsol 4? Say I want to export temperature along a boundary, or more complex: a surface data to matlab."
To get a boundary (surface) in 3D: Select "Surface" from the "Space dimension" list in the Data node's Settings window and add a selection to the Solution data set (right-click and choose "Add Selection) that is the surfaces that you want to export data from. In version 4.1 you can also use the new Edge and Surface data sets to define boundaries or surfaces for which you want to export data.
Hope this helps.
Magnus Ringh, COMSOL
Please login with a confirmed email address before reporting spam
Rebecca
Please login with a confirmed email address before reporting spam
My way would be, take it or not, to use matlab for so many "points".
But perhaps the points are aliogned on a boundary ? then you could use some projection coupling variables or a boundary "cut" (right click on data sets in v4)
One should always try (when possible) to use "higher order" entities as then one is handling the details as global items
--
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.
Suggested Content
- KNOWLEDGE BASE Can COMSOL import topological data, meshes and images?
- FORUM Post processing for Metasurface Beam Deflector (angle of deflection)
- BLOG Combining Parallel Slices to Create an Animation
- FORUM How to export all plots and all plot data for every experiment in a Parametric Sweep?
- KNOWLEDGE BASE I get an error message when trying to open my glTF-file in an external viewer