19 lines
372 B
Matlab
19 lines
372 B
Matlab
function [granite] = initializeGranite()
|
|
%%
|
|
granite = struct();
|
|
|
|
granite.m = 2000; % [kg]
|
|
|
|
granite.k.x = 1e8; % [N/m]
|
|
granite.c.x = 1e4; % [N/(m/s)]
|
|
|
|
granite.k.y = 1e8; % [N/m]
|
|
granite.c.y = 1e4; % [N/(m/s)]
|
|
|
|
granite.k.z = 1e8; % [N/m]
|
|
granite.c.z = 1e4; % [N/(m/s)]
|
|
|
|
%% Save
|
|
save('./mat/stages.mat', 'granite', '-append');
|
|
end
|