21.01.2015 Views

COMSOL Multiphysics™

COMSOL Multiphysics™

COMSOL Multiphysics™

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

meshdel<br />

fem.mesh = meshdel(fem.mesh,'subdomain',3,'deladj','off');<br />

figure, meshplot(fem)<br />

Delete the elements belonging to subdomain 1 and all adjacent domains of lower<br />

dimensions that can be deleted.<br />

fem.mesh = meshdel(fem.mesh,'subdomain',1,'deladj','on');<br />

figure, meshplot(fem)<br />

Delete the edge elements belonging to edge 1. Note that the elements belonging<br />

to the adjacent subdomain (subdomain 2) are deleted as well.<br />

fem.mesh = meshdel(fem.mesh,'edge',1);<br />

figure, meshplot(fem)<br />

See Also<br />

femmesh, meshenrich, meshinit<br />

254 | CHAPTER 1: COMMAND REFERENCE

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!