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

mpheval command

$
0
0
Dear all,


I have got some questions regarding the mpheval command, which are not very clear in the documentation.

There is a model file, that I export to matlab, that contains 2 studies, with a parametric sweep and a transient solver in each of the two studies.

The mpheval command does not like the parameter 'dataset', solution [number whatever].
It won't find any of the solution datasets, that are defined in the Model file itself.
There is one solution data set for the first study and one for the second.
My most important issue is: how can I address the results of the two different studies of the model file?

An other question is the 'solnum' parameter. With this I can obviously define the time step number.
E.g. 'solnum', 10 would give the data of the 10th time step.
So why is there also a parameter 't' in the mpheval? And what happens, if I use both in one call of mpheval with contradicting values.
E.g. 'solnum', 10 (the 10th time step, eg. t=1000) and 't', 2000 in one call?
Will it then return data from t=1000 or t=2000?
At least it does not give an error message, which is strange to me.



Thanks a lot for any answers,
Juergen

Viewing all articles
Browse latest Browse all 26527

Trending Articles