Deformaciones elásticas de un anillo circular (Grupo A2)

De MateWiki
Saltar a: navegación, buscar
Warning.png Este artículo está en versión beta. El autor de este artículo no lo ha terminado todavía, por favor no lo edites hasta que elimine este mensaje.


1 Mallado de los puntos del sólido

h=0.1                  % sampling step
u=1:h:2;               % sampling of the interval [1,2]
v=0:h:2*pi+h;            % sampling of the interval [0,2*pi]
[uu,vv]=meshgrid(u,v); % matrixes of u and v coordinates
figure(1)
xx=uu.*cos(vv);        % parametrization
yy=uu.*sin(vv);
mesh(xx,yy,0*xx)       % Draw the mesh
axis([-3,3,-3,3])      % select region for drawing
view(2)                % See the pisture from the top
Sólido en forma de anillo circular

2 Distribución de temperaturas

h=0.1                  % sampling step
u=1:h:2;               % sampling of the interval [1,2]
v=0:h:2*pi+h;            % sampling of the interval [0,2*pi]
[uu,vv]=meshgrid(u,v); % matrixes of u and v coordinates
figure(1)
xx=uu.*cos(vv);        % parametrization
yy=uu.*sin(vv);
mesh(xx,yy,0*xx)       % Draw the mesh
axis([-3,3,-3,3])    
f=-log(uu+0.1);        % The scalar field
surf(xx,yy,f)          % Draw the mesh
axis([-3,3,-3,3])      % select region for drawing
view(2)