I want to create a fibre with some claddings ! Is there anyone who knows
how to turn a 3D matlab figure into a COMSOL 3D entity?Here's the corresponding Matlab program !
function ellip_fibre
a=.5;b=.5;
for n=0:.04:0.2
[theta,z]=meshgrid(0:2*pi/50:2*pi,0:.005:1);
x=(a+n).*cos(theta);
y=sqrt(b^2+z.^3+n.^2).*sin(theta);
mesh(x,y,z)
axis equal
hold on
end
end