Hi,I wanted to created a volume mesh of three concentric spheres, since they intersect my naive attempt (below) did not work. Could you let me know how I could create such a mesh?
ThanksJagir
[no1,fc1]=meshasphere([0 0 0], 10, 1);[no2,fc2]=meshasphere([0 0 0], 7, 1);[no3,fc3]=meshasphere([0 0 0], 5, 1);
% combine 3 spheres and clean the surface[no,fc]=surfboolean(no1,fc1,'union',no2,fc2,'union',no3,fc3);
[no,fc]=mergemesh(no1,fc1,no2,fc2,no3,fc3);
[node,elem]=surf2mesh(no,fc,[],[],1,2,[0 0 0;0 6 0;0 8 0]);
plotmesh(node,elem,'y>0')
[no_f,fc_f]=meshcheckrepair(no,fc(:,1:3),'meshfix');plotmesh(no_f,fc_f,'y>0');
--
You received this message because you are subscribed to the Google Groups "iso2mesh-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to iso2mesh-user...@googlegroups.com.
To post to this group, send email to iso2mes...@googlegroups.com.
Visit this group at http://groups.google.com/group/iso2mesh-users.
For more options, visit https://groups.google.com/d/optout.
The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.