Vous êtes sur la page 1sur 1

%%CST smaller mesh

figure
plot(spx1b(:,1), spx1b(:,2));
hold on
plot(spx2b(:,1), spx2b(:,2));
hold on
plot(spx3b(:,1), spx3b(:,2));
hold on
plot(spx4b(:,1), spx4b(:,2));
hold on
plot(spx5b(:,1), spx5b(:,2));
%Analytical solution
hold on
plot([0,3],[5, 5], 'k','linewidth' , 1.5);
title('Shear stress at centroid of the cross section - CST');
xlabel(' x[m]');
ylabel ('Shear stress at centroid of the cross section [N/mm ]')
legend(' mesh : 0.2 m',' mesh : 0.1 m',' mesh : 0.05 m',' mesh : 0.02 m',' mesh :
0.01 m', 'theoretical')

%%LST smaller mesh


figure
plot(lspx1b(:,1), lspx1b(:,2));
hold on
plot(lspx2b(:,1), lspx2b(:,2));
hold on
plot(lspx3b(:,1), lspx3b(:,2));
hold on
plot(Q8spx4b(:,1), Q8spx4b(:,2));
hold on
plot(lspx5b(:,1), lspx5b(:,2));
%Analytical solution
hold on
plot([0,3],[5, 5], 'k','linewidth' , 1.5);
title('Shear stress at centroid of the cross section - LST');
xlabel(' x[m]');
ylabel ('Shear stress at centroid of the cross section [N/mm ]')
legend(' mesh : 0.2 m',' mesh : 0.1 m',' mesh : 0.05 m',' mesh : 0.02 Q8 m','
mesh : 0.01 m', 'theoretical')

Vous aimerez peut-être aussi