nass-simscape/initialize/initializeGranite.m
2018-06-21 11:42:46 +02:00

18 lines
402 B
Matlab

function [granite] = initializeGranite()
%%
load('./mat/smiData.mat', 'smiData');
%%
granite = struct();
granite.m = smiData.Solid(5).mass;
granite.k.ax = 1e8; % x-y-z Stiffness of the granite [N/m]
granite.c.ax = 100*(1/1)*sqrt(granite.k.ax/granite.m);
%% Save if no output argument
if nargout == 0
save('./mat/granite.mat', 'granite');
end
end