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.

The coordinates of mesh grids

Please login with a confirmed email address before reporting spam

I used Comsol to compute the electric potential, and cropped a part out of my model and used it to solve Schrodinger Equation. When I get the result from Matlab like this:
>>fem.sol.u
the system can only return a matrix with a size 1038*1. That is, it only has the information of electric potential of each grid but without the coordinates of each grid. However, when I plot the result, it can exactly show the location of each result. So there must be a coordinate matrix indicating the location of each grid hiding in some place. (Maybe it's in fem.xmesh)
Is anybody know where I can find this matrix and how I can have access to it in Matlab? Thanks!

0 Replies Last Post 2011年11月4日 GMT-4 20:33
COMSOL Moderator

Hello Cong Su

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.