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.

mphglobal gets only last loop result

Please login with a confirmed email address before reporting spam

Hi,

I'm solving for eigenfrequencies in solid mechanics. After parametric sweep through different parameters, I hope to retrieve all the frequencies. I can do this by Results/derived variables/global evaluation, and evaluate the solid.freq.And all frequecies for each parameter swept would show up on the table. However, when I code f = mphglobal(model, 'solid.freq'); I can only get frequencies from the last parameter value from the loop. How can I store all the frequencies?

Thank you.
Jialun

0 Replies Last Post 18 ott 2015, 00:22 GMT-4
COMSOL Moderator

Hello Jialun Han

Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.

If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.

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.