nass-simscape/initialize/initializeRz.m

26 lines
594 B
Mathematica
Raw Normal View History

2018-06-16 22:57:54 +02:00
function [rz] = initializeRz()
%%
load('./mat/smiData.mat', 'smiData');
%%
rz = struct();
rz.m = smiData.Solid(12).mass+6*smiData.Solid(20).mass+smiData.Solid(19).mass;
rz.k.ax = 2e9; % Axial Stiffness [N/m]
rz.k.rad = 7e8; % Radial Stiffness [N/m]
rz.k.tilt = 1e5; % TODO
rz.k.rot = 1e5; % Rotational Stiffness [N*m/deg]
rz.c.ax = rz.k.ax/1000;
rz.c.rad = rz.k.rad/1000;
rz.c.tilt = rz.k.tilt/1000;
rz.c.rot = rz.k.rot/1000;
%% Save if no output argument
if nargout == 0
save('./mat/rz.mat', 'rz');
end
end