Hello Dylan Gorman
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.
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
May 30, 2010, 9:39 p.m. EDT
This is not a naive question at all. I am facing the same problem with extracting data from COMSOL. I don't know the complete answer but I do know this: COMSOL, for some reason, plays around and shifts certain points in that fem.sol.u (perhaps to help for a more symmetric stiffness matrix). I think your best way of mapping the points back to the real space is either of the following:
1) why don't you just export the solution either in element node space, or in real symmetric cartesian space ? COMSOL can do that automatically and gives the output in a text file.
2) If not, you can get the mapping of the fem.sol.u points by calling the xmeshinfo function on the fem.xmesh (extended mesh). The output structure has a lot of info that will help you map the points back to their real space.
Sorry I realize my answer is vague but this is what I know at the moment
This is not a naive question at all. I am facing the same problem with extracting data from COMSOL. I don't know the complete answer but I do know this: COMSOL, for some reason, plays around and shifts certain points in that fem.sol.u (perhaps to help for a more symmetric stiffness matrix). I think your best way of mapping the points back to the real space is either of the following:
1) why don't you just export the solution either in element node space, or in real symmetric cartesian space ? COMSOL can do that automatically and gives the output in a text file.
2) If not, you can get the mapping of the fem.sol.u points by calling the xmeshinfo function on the fem.xmesh (extended mesh). The output structure has a lot of info that will help you map the points back to their real space.
Sorry I realize my answer is vague but this is what I know at the moment
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
Jan 31, 2011, 1:02 a.m. EST
Hi,
Sorry I don't have any answer but some queries since I am doing a similar thing in comsol multiphysics.
I have got these GaAs/GaAs heterostructures on which I am applying certain gate voltage in some pattern. What I want to figure out is how do I model electrons rearranging. I don't know of any way in which I can put free electrons in the interface.
So its basically the same problem as you but I am doing on a GUI interface of COMSOL Multiphysics. Even if you could describe me the approach you are taking in MATLAB may be of help.
A response would be highly appreciated.
Hi,
Sorry I don't have any answer but some queries since I am doing a similar thing in comsol multiphysics.
I have got these GaAs/GaAs heterostructures on which I am applying certain gate voltage in some pattern. What I want to figure out is how do I model electrons rearranging. I don't know of any way in which I can put free electrons in the interface.
So its basically the same problem as you but I am doing on a GUI interface of COMSOL Multiphysics. Even if you could describe me the approach you are taking in MATLAB may be of help.
A response would be highly appreciated.