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 matrices for the fluid case

Please login with a confirmed email address before reporting spam

In the LiveLinkForMATLABUsersGuide, I find that matrices can be extracted by MA = mphmatrix(model ,'sol1', ... 'Out', {'Kc','Lc','Null','ud','uscale'},... 'initmethod','sol','initsol','zero'); and then calculate the solution by Uc = MA.Null(MA.Kc\MA.Lc); U0 = Uc+MA.ud; U1 = U0.MA.uscale; But It works only for the case of heat transfer. I cannot get the right answer for the fluid. How to get those matrices from the case of fluid? Thanks for any help!


0 Replies Last Post Apr 16, 2018, 10:03 p.m. EDT
COMSOL Moderator

Hello Ricky Lu

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.