penn state engineering: department of mechanical engineering · 2018-12-03 · * course:me370 *...

8

Upload: others

Post on 15-Jul-2020

14 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Penn State Engineering: Department of Mechanical Engineering · 2018-12-03 · * Course:ME370 * Name:Liming Gao * Date: Nov. 14, 2018 * * Program Description: Problem 1.06, hw12
Page 2: Penn State Engineering: Department of Mechanical Engineering · 2018-12-03 · * Course:ME370 * Name:Liming Gao * Date: Nov. 14, 2018 * * Program Description: Problem 1.06, hw12
Page 3: Penn State Engineering: Department of Mechanical Engineering · 2018-12-03 · * Course:ME370 * Name:Liming Gao * Date: Nov. 14, 2018 * * Program Description: Problem 1.06, hw12

%{ * Course:ME370 * Name:Liming Gao * Date: Nov. 14, 2018 * * Program Description: Problem 1.06, hw12. %} clear all close all w = 0:0.001:5; %frequency Im = -5 * (6*w - 6*w.^3 ) ./ ((1 - 11*w.^2).^2 + (6*w - 6*w.^3).^2); %Imaginary part Re = 5 * (1 - 11*w.^2) ./ ((1 - 11*w.^2).^2 + (6*w - 6*w.^3).^2); % Real part T = Re+i*Im; fig = figure(1); plot(T,'r','LineWidth',1) xlabel('Real Axis'); ylabel('Imaginary Axis'); grid on % interactive data cursor datacursormode on dcm_obj = datacursormode(fig); set(dcm_obj,'UpdateFcn',@myupdatefcn) function txt = myupdatefcn(empt,event_obj) % Customizes text of data tips pos = get(event_obj,'Position'); txt = { ['Amplitude: ',num2str(sqrt(pos(1)^2+ pos(2)^2))],... ['Phase: ',num2str(atan2(pos(2),pos(1)))]}; end

Page 4: Penn State Engineering: Department of Mechanical Engineering · 2018-12-03 · * Course:ME370 * Name:Liming Gao * Date: Nov. 14, 2018 * * Program Description: Problem 1.06, hw12
Page 5: Penn State Engineering: Department of Mechanical Engineering · 2018-12-03 · * Course:ME370 * Name:Liming Gao * Date: Nov. 14, 2018 * * Program Description: Problem 1.06, hw12
Page 6: Penn State Engineering: Department of Mechanical Engineering · 2018-12-03 · * Course:ME370 * Name:Liming Gao * Date: Nov. 14, 2018 * * Program Description: Problem 1.06, hw12

2. 五。 l

ll)价 ζ己 R Hs :: mow:i..价twl t<X)

,/.扣�YI 'X 1 /t ) 二Jj bφ (wtt叫十 φρ,

寸,JCν~、/ nvAV

AV

AV

川崎『

11l/

、l

J

O

tVKV

Awv

nu

FfL

飞J

IT

ri--i

d--

rIL

、li--J

、切

41

··

「l4

Mm

e

d刑

1

rIa、

、‘ω

1J

M

-12J」

γfL

『tt』J

mv

u

l的

\1/

7’’

t9 ( l. 。

15'Ql9o

θ o,_ 。

I< II

=: /0 I f JI /

[ I<〕二

I I -k, k,tk, I

, r -�、lsl。 [主] = /o 『 !52,J6s t ts. l归

ω 二 1worprr飞之斗。节 y, d />

(主) 1'3•1e1re [ ζ]

(j) De-t ( J的-ω瓦AA]〕 = 0

9 州 l _:'l k ,:1kz1 -叫

L Yyf' 0 二 C>et I 10'.. 1

- I I 1-- W"�(90 0

之〈〉

{午)「/( 1)

iJ », 2

方 ( to• - �ogwJ) ( l LK旷斗OOol)I 2〕- tdL =. 0

字 Wvr I "" ts, h忡, Wn1 才3、 工? ,.

(f) oY u>e- mat/pl。 如 u/t(J,labιJ

叫巳γ th& demo code p&>tJ m iJo 瞅,y;e, � .s,'ic.,,.

切late 附 bj r 1t1ewl- 1 d时工 r �lei此 =民俨J I tJ l 飞 w

�t>//ow up Ye?fOρ纪仇 式 ll) 二 x*' et wi

亨[主〕X升 =瓦

。 笔eJo'O,

vn (lot也 3、z

·.,

y 约占 slttlt也 , •l ,·ni--v � moJJ ,,

亨 y! 二 [ 军J-j ι

「『J

’e-

习F、

-t

+-W

F

C

-nu

』一

-3,7� 1 -52、J/,s +z' 叉,贝

刚ιwJ...] - r-在 21/>7x旷仁川、川.xro’7

t, .z.111x10-t ti 轨 于lox,o‘7

立: 豆, β B 'f, t =? x, =扫‘l'l>1il0γ千(/, H'f'Xru-l)i 刑二 0,归于酬, 1二切与学毕;二 -3,/t

rn L- l- 于,q,泊0-7 I Xi 二 }{i,lllXtP-扩+ ( +. ?1u,{10-1)

i

耐二 0100'1, 例例,归二 tgn→乙币;二4 二 o,o&x·2 e

1 吼

{ i) 孔{i) = %1. (fr;,{f,,1}i +3' t- 化〉二 o,ooi x,o-主 x � ( wt十 a +o、 Q l,)

F-1:0 二/<2 Xl 十 Ci. 1.i 之 七 b ψ>( Wito.十 t/ρ- t.1 .x马ω 主){) l rJ)什rJ.. t 1/J,)

J.w.3n,wJe, I fii, I .::: J lt•21il ... t (u.JiW)乙 二五♂万(-;;;JI. 二队90$it()-} 't 刀刃7干 (山00 ;;:;;.)" ::. g5、 gc;

Page 7: Penn State Engineering: Department of Mechanical Engineering · 2018-12-03 · * Course:ME370 * Name:Liming Gao * Date: Nov. 14, 2018 * * Program Description: Problem 1.06, hw12
Page 8: Penn State Engineering: Department of Mechanical Engineering · 2018-12-03 · * Course:ME370 * Name:Liming Gao * Date: Nov. 14, 2018 * * Program Description: Problem 1.06, hw12

%{ * Course:ME370 * Name:Liming Gao * Date: Nov. 07, 2018 * * Program Description: Problem 2, hw11. %} clear all close all format short g M = [300 0; 0 4000]; % mass matrices C = [0 0; 0 25000]; % damping matrices k1 = 1*10^6; % k1 k2 = 1*10^7; %k2 K = [k1 -k1; -k1 k1+k2]; % stiffness matrices w=1200*(2*pi / 60); % rotational speed, convert RPM to rad/s A = inv(M)*K; % system matrix D = eig(A); %eigen values nat_frequency = sort(sqrt(D)) %natural frequency F0=[ w^2*0.1 ;0]; %force Z = K - w^2*M + i*w*C % Impedance matrix X = inv(Z)*F0; X1 = abs(X(1)) %amplitude of vibration of the pump (m) X2 = abs(X(2)) % amplitude of vibration of the foundation (m) p1=angle(X(1)) %phase lag of vibration of the pump (rad) p2=angle(X(2)) %phase lag of vibration of the foundation (rad) Fto= X2*sqrt((25000*w)^2+(10000000)^2) % magnitude of the force transmitted to the soil ground (N)