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.

mphgetu

Please login with a confirmed email address before reporting spam

Hi all.

I am using Comsol with Matlab (version 4.0) for a time-dependent analysis.

I have to process many data (there can be 1000000 degrees of freedom). It takes a lot of time to save these data and Matlab often doesn't work. It starts to save the solution vector and then suddenly stops.

I have tried to use MPHGETU to obtain the solution vector but it doesn't work well. I want to save the solution in function of time (not only the solution for the last time step) and I want to know the relative coordinates (each solution must have the coordinates of the point of evaluation). How can I use MPHGETU for this purpose? I have tried using

[X,Y,v]=mphdgetu(model,{'x','y','v'},'coord',coords);

but it gives me error.

I have used MPHINTERP and it seems to work well, but it takes a lot time to evaluate expressions. To use MPHGETU should be faster, isn't it?

Many thanks.
Ramona

0 Replies Last Post Apr 16, 2013, 8:27 a.m. EDT
COMSOL Moderator

Hello Ramona De Luca

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.