RunDesignBeam1

RunDesignBeam1 - val_b(kkb) = b; val_h(kkh) = h;...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
% Patel, 02Sep2010 % RunDesignBeam004.m % function RunDesignBeam1 f % INPUT DATA L=30*12; % inch, span length w=10000/12; % lbf/inch, loading Emod = 29e6; % psi, modulus of elasticity for steel StressYield = 10000; %psi, yield stress FactorStressAllow = 0.6; %nondimensional DeflexionAllow = 0.1; % inch, allowable deflexion DensityBeamMaterial = 490/12^3; % psi, steel b= 20; h= 37; h % Calculated Values StressAllow = StressYield * FactorStressAllow; S counter = 0; % counter for b kkb = 0; for b=1:40 % update counter for b kkb = kkb + 1; % counter for h kkh = 0; for h = 1:80 % update counter for h kkh = kkh + 1; counter = counter + 1; [ UCStress, UCDeflexion ] = DesignBeam1 (w, L, b, h, Emod, DensityBeamMaterial, StressAllow, DeflexionAllow ); sprintf('%d ::: %f %f ::: %f %f', counter, b, h, UCStress, UCDeflexion );
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: val_b(kkb) = b; val_h(kkh) = h; val_UCStress(kkb, kkh) = UCStress; val_UCDeflexion(kkb, kkh) = UCDeflexion; Area = b* h; % area in inches; val_Area(kkb, kkh) = Area; end; end; e % Draw contour plots close all clear plots c val_ContourUC = [ 0.1, 0.9 1.0]; [c1, h1] = contour ( val_b, val_h, transpose(val_UCStress), val_ContourUC); grid on; hold on; clabel (c1, h1); ylabel('depth height h (inch)' ); xlabel ('width base b (inch)' ); title ( 'Unity Checks For Stress and Deflexion'); t [c2, h2] = contour ( val_b, val_h, transpose(val_UCDeflexion), val_ContourUC); clabel (c2,h2); val_ContourArea =[ 100, 250, 500, 750, 1000]; v [c3, h3] = contour (val_b, val_h, transpose(val_Area), val_ContourArea ); clabel (23, h3); c...
View Full Document

Page1 / 2

RunDesignBeam1 - val_b(kkb) = b; val_h(kkh) = h;...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online