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
Posted 2018年4月16日 GMT-4 22:03 Fluid & Heat, Computational Fluid Dynamics (CFD), LiveLink for MATLAB Version 5.2a 0 Replies
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!
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.