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.

How to assemble different solutions into one plot?

Please login with a confirmed email address before reporting spam

Good evening Comsol community.

Can you please help me?I AM VERY NEWBIE. Is it possible to assemble several solutions into one and plot them?

In my problem I need to do a parametric frequency sweep. So I did it as follows:

*I run my model once with a frequency of 100hz with time ( 0, 0.001, 2). *Then I run the model again with a 120HZ with time (0, 0.001, 2) *Then I run the model again with a 140Hz with time (0, 0.001, 2)

HERE is the problem, I need to assemble the 140Hz with the 120Hz with the 100 Hz solutions and then show the results into one plot.The correct way is running the model at 100Hz from 0 to 2 secs, then assemble that solution with the next, from 2 to 4 secs with 120Hz, then assemble that solution with the next, from 4 to 6 secs with 140Hz.

Can you give me some thoughts please? Any suggestions?

I am working on this through Matlab and I found this in the documentation:

SET LINEARIZATION POINTS mphstate uses linearization points to assemble the state-space matrices. It may help me?

Thanks in advance.


0 Replies Last Post 6 gen 2021, 02:08 GMT-5
COMSOL Moderator

Hello Victor Navarrete

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.