Note: This discussion is about an older version of the COMSOL Multiphysics®software. The information provided may be out of date.
Discussion ClosedThis 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 mesh information in Matlab
Posted 2011年1月19日 GMT+1 23:34MeshVersion 4.23 Replies
Please login with a confirmed email address before reporting spam
Hello,
I'm new to Comsol. Can anybody explain how to extract surface mesh info from Comsol? I'm using version 3.5.
The following is what I did:
(1) load a 2D curve y=f(x) into Comsol.
(2) Revolve and generate an axi-symmatric 3D object.
(3) Use init mesh to generate mesh. (But not sure it is the volume mesh or surface mesh)
(4) Export mesh to fem structure.
The information I need from the exported fem structure includes:
(1) x,y,z coordinates of nodes on the surface only.
(2) element connection.
(3) edge list.
Now I can see that "fem" is in my matlab workspace. But I don't know how to go further to dig out more. I
thought there should be something called "fem.mesh.p" or "fem.mesh.t". But it seems in my fem structure,
there is only something called "fem.xmesh".
Another problem is I don't know whether the mesh generated in comsol is volume mesh or surface mesh.
I only need surface mesh.
Thanks for your help.
I'm new to Comsol. Can anybody explain how to extract surface mesh info from Comsol? I'm using version 3.5.
The following is what I did:
(1) load a 2D curve y=f(x) into Comsol.
(2) Revolve and generate an axi-symmatric 3D object.
(3) Use init mesh to generate mesh. (But not sure it is the volume mesh or surface mesh)
(4) Export mesh to fem structure.
The information I need from the exported fem structure includes:
(1) x,y,z coordinates of nodes on the surface only.
(2) element connection.
(3) edge list.
Now I can see that "fem" is in my matlab workspace. But I don't know how to go further to dig out more. I
thought there should be something called "fem.mesh.p" or "fem.mesh.t". But it seems in my fem structure,
there is only something called "fem.xmesh".
Another problem is I don't know whether the mesh generated in comsol is volume mesh or surface mesh.
I only need surface mesh.
Thanks for your help.
3 Replies
Last Post 2012年1月27日 GMT+1 18:17
Hello Tony Gao
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.