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.
outputs from mphgetu and mphmatrix
Posted 2014年10月23日 GMT-4 14:17 Interfacing, Studies & Solvers Version 4.3b 1 Reply
Please login with a confirmed email address before reporting spam
I'm looking at a time-dependent 1D 'Coefficient Form PDE' problem. I mesh the line with 4 element (5 nodes). So I have 5 degrees of freedom, the relevant system matrices are also 5x5. Also to keep things simple, my shape function is linear.
However, when I use mphgetu(model), I get 7 values, among which only the 1,3,4,5,7th value correspond to u on the nodes. I guess the 2nd and the 6th value has something to do with the boundary? How exactly are they calculated?
Another question: How to get the Lagrange multiplier from mphmatrix?
Many thanks!
Attachments:
Hello wdl
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.