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 plot data to txt file

Please login with a confirmed email address before reporting spam

hi

i want to export the plot data from a slice-plot (dimensions: 1mx1m) into a txt-file.
as result i get a txt-file which has a size of ~8MB, but unfortunatly it does not contain the data from the whole plot. i think that maybe there is to much data.
so i know that i can reduce the size of data with a coarser mesh.
but is there an other way to limit the data size. is it posible to assign an area inside the slice plot so that i can only export the plot data of this area?

thanks in advance for your efforts
Simon

3 Replies Last Post 2011年3月3日 GMT-5 16:10
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 2011年3月3日 GMT-5 14:40
Hi

via matlab you can aleways re-interpolate over a coarser grid, not sure how to in the COMSOL v4 GUI. But if you do not need the full area cut your domain with a urface and define just the region of interest, if its an "interiour" boundary at most you add a little to your matrices, and a few nodes on the interiour boundary but this seldom gives convergion issues, on the otehr side its easy to pick a boundary and then use it to integrate or average our variables.

You also have the extrusion coupling variables that could be used

--
Good luck
Ivar
Hi via matlab you can aleways re-interpolate over a coarser grid, not sure how to in the COMSOL v4 GUI. But if you do not need the full area cut your domain with a urface and define just the region of interest, if its an "interiour" boundary at most you add a little to your matrices, and a few nodes on the interiour boundary but this seldom gives convergion issues, on the otehr side its easy to pick a boundary and then use it to integrate or average our variables. You also have the extrusion coupling variables that could be used -- Good luck Ivar

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 2011年3月3日 GMT-5 15:16

hi

i want to export the plot data from a slice-plot (dimensions: 1mx1m) into a txt-file.
as result i get a txt-file which has a size of ~8MB, but unfortunatly it does not contain the data from the whole plot. i think that maybe there is to much data.
so i know that i can reduce the size of data with a coarser mesh.
but is there an other way to limit the data size. is it posible to assign an area inside the slice plot so that i can only export the plot data of this area?

thanks in advance for your efforts
Simon


maybe it has something to do with Java memory size allocation in comsol.ini. Maybe you can increase them and see if it works.

Danial


--
Comsol 4.1
Ubuntu 10.04.1
[QUOTE] hi i want to export the plot data from a slice-plot (dimensions: 1mx1m) into a txt-file. as result i get a txt-file which has a size of ~8MB, but unfortunatly it does not contain the data from the whole plot. i think that maybe there is to much data. so i know that i can reduce the size of data with a coarser mesh. but is there an other way to limit the data size. is it posible to assign an area inside the slice plot so that i can only export the plot data of this area? thanks in advance for your efforts Simon [/QUOTE] maybe it has something to do with Java memory size allocation in comsol.ini. Maybe you can increase them and see if it works. Danial -- Comsol 4.1 Ubuntu 10.04.1

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 2011年3月3日 GMT-5 16:10
Hi

check www.comsol.com/support/knowledgebase/1092/

for the java ini

--
Good luck
Ivar
Hi check http://www.comsol.com/support/knowledgebase/1092/ for the java ini -- 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.