Parametric Study of Pipeline Burst Pressure
Show older comments
Hello,
I am trying to do a parametric study on how varying a defect in a pipeline wall will affect the burst pressure of said pipeline. I'd like to independantly vary L,d and c below, and apply a variation once in turn and present the change in the burst pressure for that variable. What i've been using is pasted below. This is the code that works and produces an output. What i was doing was to turn L and c into vectors between 0 and 20mm (integers) and d between 0 and 15.9mm in 0.8mm increments.
Was getting various errors, matrix not matching, returning NaN, wrong use of / \ operators etc..... My knowledge of Matlab is limited, admittedly. Any help appreciated
clc, close all, clear all
UTS=530; % Ultimate tensile strength ,MPa
sigma_y=448; % Yield strength, MPa
t=16.8; % thickness, mm
D=558.8; % outer diamter, mm
L=0; % defect length, mm
d=0; % defect depth, mm
c=0; % defect width, mm
sigma_f= 1.1*sigma_y; % effective stress in MPa
n=10; % strain hardening as a %
k=(L^2)/(D*t);
% ASME B31G MODEL
if k>50
M=0.032*k+3.3; % Folias Factor
else
M=sqrt(1+0.6275*k-0.003375*(k^2));
end
Pb_ASME=(2*t*sigma_f/D)*((1-0.85*d/t)/(1-0.85*d/(t*M))) % burst pressure in Mpa
1 Comment
David Gray
on 29 Feb 2020
Answers (0)
Categories
Find more on Stress and Strain in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!