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.
postprocessing in Matlab, multiple geometries
Posted 2009年7月8日 GMT-4 14:48 2 Replies
Please login with a confirmed email address before reporting spam
Hi,
I made MPH file in Comsol GUI with multiple geometries, saved it and now want to use it in Matlab Interface.
So I load the file with flload and then try to select one geometry with
fem=xfem.fem{3};
and use it with
u = postinterp(fem,'u',pos,'solnum','end');
I get error:
"Extended mesh found in the FEM structure. You need to call meshextend first."
Then, I try to put before postinterp:
fem.xmesh=meshextend(fem);
but I get another msg:
fem.elemcpl{1}.g{1} is not a valid geometry number
Anyone can help?
thanks
I made MPH file in Comsol GUI with multiple geometries, saved it and now want to use it in Matlab Interface.
So I load the file with flload and then try to select one geometry with
fem=xfem.fem{3};
and use it with
u = postinterp(fem,'u',pos,'solnum','end');
I get error:
"Extended mesh found in the FEM structure. You need to call meshextend first."
Then, I try to put before postinterp:
fem.xmesh=meshextend(fem);
but I get another msg:
fem.elemcpl{1}.g{1} is not a valid geometry number
Anyone can help?
thanks
2 Replies Last Post 2009年7月22日 GMT-4 10:13