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 parametric sweep results
Posted Aug 15, 2011, 11:41 a.m. EDT Results & Visualization Version 4.3 10 Replies
Please login with a confirmed email address before reporting spam
i ask for help concerning the following questions (version 4.2a):
1) i would like to export parametric sweep results without selecting them manually (as spreadsheet, for matlab postproc)
2) is there a way to dump the results (as predefined in 'Export') automatically? (like the results are drawn automatically)
thanks for any input
simon
Please login with a confirmed email address before reporting spam
check the capabilities of the Results Derived Values, there you can postprocess and dump the desired values in a table and export that as a file or with cut&Paste
--
Good luck
Ivar
Please login with a confirmed email address before reporting spam
What would be great is being able to export the results that I need (I'm doing induction heating and just need to store temperature) automatically at every iteration. Is there any way?
Please login with a confirmed email address before reporting spam
I suppose you can dumpt the desired results into a table and export the table in one go (for all parameter values)
--
Good luck
Ivar
Please login with a confirmed email address before reporting spam
1) Is there anyway to resolve this problem so I can evaluate the all my derived values at once (instead of 133 times individually)?
2) Is there any other way to export results and derived values for a large parametric sweep? I tried using the Export node, but I was only able to figure out how to do each run individually. Exporting from the solution set Parametric 2 yielded an empty table.
Thank you,
Ian
Please login with a confirmed email address before reporting spam
you can also export a data set or a sub set.
The solnum issue is when you want to dump two table list results that do not have the same number of lines into an existing table
--
Good luck
Ivar
Please login with a confirmed email address before reporting spam
Thank you for your rapid reply. I am still having a few problems exporting however.
1) When I export a data set in the Export node, COMSOL only allows me to export the results from each sweep individually (I must pick a specific run, and "ALL" is not an option). How can I export the results from all the sweeps at once?
2) Could you please explain the solnum issue further? Because of this error I believe, I can not compute my derived variables or export any data from my combined sweep results (though I can export each run individually).
Thank you very much,
Ian
Please login with a confirmed email address before reporting spam
I mostly get that erro if I try to load in a table with one line a reference from a series, or the contrary, if I have already dumped in a series and I try with a single line value, or a another number of line table entry,
--
Good luck
Ivar
Please login with a confirmed email address before reporting spam
Not sure if there is a limit to how big an array can be, but I will be limiting my arrays in the future to avoid this problem again. If there is a limit, I wish COMSOL would document it so it was known.
Please login with a confirmed email address before reporting spam
I have a similar question about exporting data into a file while sweep parameters in COMSOL model through Matlab livelink. I set the parameter V2 , for instance in a for loop in a Matlab function by " model.param.set('V2',V2); then run the study by "model.sol('sol1').run;" . In COMSOL GUI, I need to export the data manually into files. Here I was able to extract some information on 1D edges by mpheval. However, for a 2D domain, I don't quite get the format of the information I extract by mpheval. So I decided to save the data into file and call the variables. My question is how to save data into a file through Matlab function which runs the loop for sweep parameter.
I would appreciate a prompt comment on my problem.
Thanks,
Elham
Please login with a confirmed email address before reporting spam
I would also like to dump the results (and derived values) into a file or table. I have 133 results from a 3D model with 20 eigenfrequencies each. When I try to evaluate the derived values (all or individually) of solution set Parametric 2 (which I believe is the complete set of all solutions), I get the following error: "Property solnum out of range."
1) Is there anyway to resolve this problem so I can evaluate the all my derived values at once (instead of 133 times individually)?
2) Is there any other way to export results and derived values for a large parametric sweep? I tried using the Export node, but I was only able to figure out how to do each run individually. Exporting from the solution set Parametric 2 yielded an empty table.
Thank you,
Ian
Hi,
You can also use probes and that way, export the results to a file while the solver is running. The file is updated on each step of your parametric analysis.
See: www.comsol.com/community/forums/general/thread/30712/
--
Tolga
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 Running parametric sweeps, batch sweeps, and cluster sweeps from the command line
- KNOWLEDGE BASE Running COMSOL® in Parallel on Clusters
- FORUM Export Results of a Parametric Sweep
- BLOG How to Use Job Sequences to Save Data After Solving Your Model
- KNOWLEDGE BASE Error: Failed to compute elastoplastic strain variables