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.
import nodes and elements
Posted 30 avr. 2010, 11:52 UTC−4 0 Replies
Please login with a confirmed email address before reporting spam
I work with binaries pictures of soil to determinate the porous network. I use a software for the reconstruction and the mesh which give files with nodes and elements and with comsol script, I put it on comsol.
When I have one pore ( one geometry) only, it works well.
But when I have more than one pore, I can't do the same thing with comsol script, I don't understand why.
I have this error :
Error: Fatal error.
Error in built-in function patch.
flplot 602 hh=patch(pd,'colormap',val.colormap,...
meshplot3 149 hh=flplot(plotMesh,'facestyle',facestyle,...
meshplot 332 hh=meshplot3(mesh,prop);
I wrote this :
C:\Documents and Settings\Marie\Desktop\amira_tet
load coord.txt
load tet.txt
el = cell(1,0);
tet=tet(:,2:5);
coord=coord(:,2:4);
tet = tet+1; % Lowest mesh point index is zero in tet.txt
el{1} = struct('type','tet','elem',tet');
m = femmesh(coord',el);
m = meshenrich(m);
meshplot(m);
fem.mesh=m
thanks
marie
Hello Marie Lefrancq
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.