Está en la página 1de 2

10/14/22 2:14 AM C:\Users\DAVID\Google Drive\UCSP\DIN...

1 of 2

CO
% Dinámica Estructural I
% Sistemas SDOF: Carga armonica en sisitemas no amortiguados
% Autor: David Chalco

AL
% Fecha: 01/10/2022
%
%%
clear

CH
clc
%
%% Datos iniciales
p_o = 100; % amplitud de la fuerza en "kips"
omega_barra = 4*pi; % frecuencia de la fuerza en "rad/s"

VID
omega = 3.96*pi; % frecuencia circular natural en "rad/s"
% omega = 4.04*pi; % frecuencia circular natural en "rad/s"
k = 20; % rigidez en "kips/in"
%
%% Cálculos

DA
t = 0:0.01:2; % vector de tiempo
beta = omega_barra/omega;
F_t = p_o*sin(omega_barra*t);
u_st = p_o/k;
magDin = 1/(1-beta^2); .
u_p = u_st*magDin*sin(omega_barra*t); % respuesta estacionaria
AG
u_c = -u_st*magDin*beta*sin(omega*t); % respuesta transitoria
u_t = u_p + u_c; % respuesta total
%
%% Gráficos
:M

subplot(4,1,1);
plot(t,F_t,'b','LineWidth',2)
xlabel('Tiempo (s)')
xticks(0:0.25:2)
OR

ylabel('Fuerza (kips)')
title('Carga armónica','Fontsize',12)
grid on
subplot(4,1,2);
plot(t,u_p,'m','LineWidth',2)
OP

xlabel('Tiempo (s)')
xticks(0:0.25:2)
ylabel('Desplazamiento (in)')
ylim([-300 300])
yticks(-300:100:300)
AD

title('Respuesta estacionaria','Fontsize',12)
grid on
subplot(4,1,3);
plot(t,u_c,'r','LineWidth',2)
OR

xlabel('Tiempo (s)')
xticks(0:0.25:2)
ylabel('Desplazamiento (in)')
title('Respuesta transitoria','Fontsize',12)
grid on
AB

subplot(4,1,4);
plot(t,u_t,'k','LineWidth',2)
xlabel('Tiempo (s)')
xticks(0:0.25:2)
EL

ylabel('Desplazamiento (in)')
10/14/22 2:14 AM C:\Users\DAVID\Google Drive\UCSP\DIN... 2 of 2

CO
title('Respuesta total','Fontsize',12)
grid on
%

AL
CH
VID
. DA
AG
:M
OR
OP
AD
OR
AB
EL

También podría gustarte