nass-simscape/Untitled.m

46 lines
935 B
Mathematica
Raw Normal View History

2018-04-10 15:24:31 +02:00
run Assemblage_DataFile1.m
%% Translation stage
2018-04-11 10:09:31 +02:00
ty = struct();
ty.m = smiData.Solid(4).mass+smiData.Solid(6).mass+smiData.Solid(7).mass+smiData.Solid(8).mass+smiData.Solid(9).mass+4*smiData.Solid(11).mass+smiData.Solid(24).mass+smiData.Solid(25).mass+smiData.Solid(28).mass;
ty.k.ax = 1e7; %z
ty.k.rad = 9e9; %x
ty.k.rrad = 9e9; %y
ty.ksi.ax = 10;
ty.ksi.rad = 10;
ty.ksi.rrad = 10;
ty = updateDamping(ty);
2018-04-10 15:24:31 +02:00
%% Tilt
ry = struct();
ry.m = smiData.Solid(6).mass+smiData.Solid(7).mass;
ry.k.ax = 1e8;
ry.k.rad = 1e8;
ry.ksi.ax = 5;
ry.ksi.rad = 10;
ry = updateDamping(ry);
%% Spindle
rz = struct();
%% Hexapod Symetrie
hexapod = struct();
%% Nano stage
n = struct();
%%
function element = updateDamping(element)
2018-04-11 10:56:00 +02:00
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);
2018-04-10 15:24:31 +02:00
end
end