Quantcast
Channel: Latest Discussions - COMSOL Forums
Viewing all articles
Browse latest Browse all 26527

mphgetu

$
0
0
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

Viewing all articles
Browse latest Browse all 26527

Trending Articles