File:Contrainte resistance 3d proche.svg

Summary

Category:Files by User:cdang
Description
Français : Méthode contrainte-résistance : densité de probabilité de couples contrainte-résistance (S, R) (surface), et marge nulle m = 0 (ligne, m = R – S).
English: Stress-strength method: probability density of stress-strength pairs (S, R) (surface), and zero margin m = 0 (line, m = R – S).
Date
Source Own work
Author Cdang
SVG development
InfoField
 The source code of this SVG is invalid due to an error.
 This W3C-invalid structural formula was created with Batik by cdang.
Category:Invalid SVG created with Batik:Structural formulas#1000Contrainte%20resistance%203d%20proche.svg
 Category:Translation possible - SVGThis file uses embedded text that can be easily translated using a text editor.

Scilab source

// Initialisation

clear;

// constantes

n = 1e6; // nombre d'événements

Resp = 250; // espérance de la résistance
Rect = 17; // écart type ""
Sesp = 230; // espérance de la contrainte
Sect = 14 // écart type ""

sigma = 172:320; // ensemble de définition
taille = size(sigma, "c");
sigma3d = 172:5:320
taille3d = size(sigma3d, "c");
sigmaniv = 172:2:320;
tailleniv = size(sigmaniv, "c");

// Fonctions

densiteR = pdfnormal(sigma, Resp, Rect);
densiteS = pdfnormal(sigma, Sesp, Sect);

densiteR3d = pdfnormal(sigma3d, Resp, Rect);
densiteS3d = pdfnormal(sigma3d, Sesp, Sect);


densiteRniv = pdfnormal(sigmaniv, Resp, Rect);
densiteSniv = pdfnormal(sigmaniv, Sesp, Sect);

densiteegalite = densiteR.*densiteS;
for i=1:taille3d
    densite3d(i, :) = densiteR3d(i)*densiteS3d;
    // x = R, y = S
end

for i=1:tailleniv
    densiteniv(i, :) = densiteRniv(i)*densiteSniv;
end

scf(0);
clf;

subplot(2,1,1)
plot(sigma, 100*densiteS, "r");
plot(sigma, 100*densiteR, "b");

xtitle("Méthode contrainte-résistance",...
    "Contrainte (MPa)", "Densité de probabilité f (%/MPa)");
legend("Contrainte S", "Résistance R");

subplot(2,1,2)
plot(sigma, 100*densiteegalite, "k");

xtitle("Probabilité d''égalité",...
    "Contrainte (MPa)", "Densité de probabilité f (%/MPa)");

scf(1);
clf;
plot3d1(sigma3d, sigma3d, 1e5*densite3d)
h3d = gce();
h3d.thickness = 0;
cmap = 1-0.7*graycolormap(100);
xset("colormap", cmap);

param3d(172*ones(sigma), sigma, 5e3*densiteS);

param3d(sigma, 172*ones(sigma), 5e3*densiteR)

param3d(sigma, sigma, 1e5*densiteegalite, 135, 30)
a = gca();
a.tight_limits="on";

xtitle("Probabilité de rupture", "Résistance R (MPa)", "Contrainte S (MPa)",...
    "Densité de probabilité (u.a.)")

R = 269 + 17*rand(n, 1, "normal"); // résistance
S = 214 + 14*rand(n, 1, "normal"); // contrainte
Mbool = S>R; // comparaison des valeurs (matrice de booléens)
moyenne = sum(Mbool)/n; // les "vrai" comptent pour 1 et les "faux" pour 0
disp(string(100*moyenne)+" %") // affichage du résultat

scf(2)
clf;
grayplot(sigmaniv, sigmaniv, 1e5*densiteniv)
xpoly([172, 320], [172, 320]);
xset("colormap", cmap);
xtitle("Densité de probabilité",...
    "Résistance R (MPa)", "Contrainte S (MPa)")

Licensing

I, the copyright holder of this work, hereby publish it under the following license:
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
Category:CC-BY-SA-3.0#Contrainte%20resistance%203d%20proche.svgCategory:Self-published work
Category:2D Gaussians Category:Optimization Category:Stress-strength analysis Category:SVG surface plots
Category:2D Gaussians Category:CC-BY-SA-3.0 Category:Files by User:cdang Category:Images with Scilab code Category:Invalid SVG created with Batik:Structural formulas Category:Optimization Category:SVG surface plots Category:Self-published work Category:Stress-strength analysis Category:Translation possible - SVG