nass-simscape/initialize/initializeGranite.m
Thomas Dehaeze dcfe29b026 [WIP] Create sub-folders for STEP files
Include step path into smidata object
2018-10-11 10:25:57 +02:00

16 lines
347 B
Matlab

function [] = 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
save('./mat/stages.mat', 'granite', '-append');
end