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.
extract particle data using mphparticle in parametric sweep simulation
Posted Feb 13, 2014, 6:27 a.m. EST Version 4.4 0 Replies
Please login with a confirmed email address before reporting spam
I am extracting the postitions and velocities via the livelink to matlab. When I add a parametric sweep for a parameter theta to my model, how do I select this paramter theta using the mphparticle command. The documention doesn't give any hint. Here the code:
pd = mphparticle(model, 'expr', {'qr', 'qphi', 'qz', 'cpt.vr', 'cpt.vphi', 'cpt.vz'}, 'dataonly', 'on');
Somehow I have to pick out one parameter in the Particle 1 (part1) Data set. Any ideas?
Cheers,
Gero Storeck
Hello Gero Storeck
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.