2018-04-27 12:59:42 +02:00
|
|
|
%% Nass height
|
|
|
|
Nass.h = 90 ; %mm
|
|
|
|
|
2018-04-27 11:47:01 +02:00
|
|
|
%% Bottom Plate
|
|
|
|
BP = struct();
|
|
|
|
BP.rad.int = 105 ; %mm
|
|
|
|
BP.rad.ext = 152.5 ; %mm
|
2018-05-03 09:29:38 +02:00
|
|
|
BP.thickness = 8; % mm
|
2018-05-02 12:06:25 +02:00
|
|
|
BP.leg.rad = 142 ; %mm
|
|
|
|
BP.leg.ang = 5 ; %deg
|
2018-04-27 17:06:05 +02:00
|
|
|
BP.density = 8000 ; %kg/m^3
|
2018-04-27 12:59:42 +02:00
|
|
|
BP.color = [0.5 0.5 0.5] ; %rgb
|
2018-04-27 11:47:01 +02:00
|
|
|
|
2018-04-27 12:59:42 +02:00
|
|
|
%% TOP Plate
|
|
|
|
TP = struct();
|
|
|
|
TP.rad.int = 0 ;%mm
|
2018-05-03 09:29:38 +02:00
|
|
|
TP.rad.ext = 120 ; %mm
|
|
|
|
TP.thickness = 8; % mm
|
|
|
|
TP.leg.rad = 100 ; %mm
|
2018-04-27 12:59:42 +02:00
|
|
|
TP.leg.ang = 5 ; %deg
|
2018-04-27 17:06:05 +02:00
|
|
|
TP.density = 8000 ; %kg/m^3
|
2018-04-27 12:59:42 +02:00
|
|
|
TP.color = [0.5 0.5 0.5] ; %rgb
|
2018-04-27 11:47:01 +02:00
|
|
|
|
2018-04-27 12:59:42 +02:00
|
|
|
%% Leg
|
|
|
|
Leg = struct();
|
2018-05-02 08:41:06 +02:00
|
|
|
Leg.rad.bottom = 8 ; %mm
|
2018-05-02 12:06:25 +02:00
|
|
|
Leg.rad.top = 5 ; %mm
|
2018-04-27 14:43:31 +02:00
|
|
|
Leg.sphere.bottom = 10 ; % mm
|
2018-05-02 12:06:25 +02:00
|
|
|
Leg.sphere.top = 8 ; % mm
|
2018-04-27 17:06:05 +02:00
|
|
|
Leg.density = 8000 ; %kg/m^3
|
2018-05-02 12:06:25 +02:00
|
|
|
Leg.lenght = Nass.h; % mm (approximate)
|
2018-05-03 09:29:38 +02:00
|
|
|
Leg.m = Leg.density*2*pi*((Leg.rad.bottom*1e-3)^2)*(Leg.lenght*1e-3); %kg
|
2018-04-27 12:59:42 +02:00
|
|
|
Leg.color.bottom = [0.5 0.5 0.5] ; %rgb
|
|
|
|
Leg.color.top = [0.5 0.5 0.5] ; %rgb
|
2018-05-03 09:29:38 +02:00
|
|
|
Leg.k.ax = 5e7; % N/m
|
|
|
|
Leg.ksi.ax = 10 ;
|
2018-04-27 12:59:42 +02:00
|
|
|
Leg = updateDamping(Leg);
|
2018-04-27 11:47:01 +02:00
|
|
|
|
|
|
|
|
2018-04-27 12:59:42 +02:00
|
|
|
%% Sphere
|
|
|
|
SP = struct();
|
|
|
|
SP.thickness.bottom = 1 ; %mm
|
|
|
|
SP.thickness.top = 1 ; %mm
|
2018-04-27 14:43:31 +02:00
|
|
|
SP.rad.bottom = Leg.sphere.bottom ; %mm
|
|
|
|
SP.rad.top = Leg.sphere.top ; %mm
|
2018-05-03 09:29:38 +02:00
|
|
|
SP.height.bottom = 5 ; %mm
|
|
|
|
SP.height.top = 5 ; %mm
|
2018-04-27 17:06:05 +02:00
|
|
|
SP.density.bottom = 8000 ; %kg/m^3
|
|
|
|
SP.density.top = 8000 ; %kg/m^3
|
2018-05-03 09:29:38 +02:00
|
|
|
SP.m = SP.density.bottom*2*pi*((SP.rad.bottom*1e-3)^2)*(SP.height.bottom*1e-3); %kg
|
2018-04-27 12:59:42 +02:00
|
|
|
SP.color.bottom = [0.5 0.5 0.5] ; %rgb
|
|
|
|
SP.color.top = [0.5 0.5 0.5] ; %rgb
|
2018-05-02 12:06:25 +02:00
|
|
|
SP.k.ax = 0 ; % N*m/deg
|
2018-05-03 09:29:38 +02:00
|
|
|
SP.ksi.ax = 5 ;
|
2018-04-27 12:59:42 +02:00
|
|
|
SP = updateDamping(SP);
|
2018-04-27 11:47:01 +02:00
|
|
|
|
|
|
|
%%
|
|
|
|
function element = updateDamping(element)
|
|
|
|
field = fieldnames(element.k);
|
|
|
|
for i = 1:length(field)
|
|
|
|
element.c.(field{i}) = 1/element.ksi.(field{i})*sqrt(element.k.(field{i})/element.m);
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|