-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathparam.m
More file actions
55 lines (49 loc) · 1.89 KB
/
param.m
File metadata and controls
55 lines (49 loc) · 1.89 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
% physical parameters of tubes
% Note: first tube is the most inner tube
n=3; % number of tubes
E1=30e9; % Young's modulus
G1=11e9; % Shear modulus
E2=30e9;
G2=11e9;
E3=30e9;
G3=11e9;
r_in1=0e-3; % inner diameter tube 1
r_out1=1.25e-3; % outer diameter tube 1
r_in2=1.75e-3; % inner diameter tube 2 (outer)
r_out2=2.2e-3; % outer diameter tube 2 (outer)
r_in3=2.5e-3;
r_out3=3e-5;
I1=(pi/4) * (r_out1^4-r_in1^4); % 2nd moemnt of inertai tube 1
J1=(pi/2) * (r_out1^4-r_in1^4); % polar moment of inertia tube 1
I2=(pi/4) * (r_out2^4-r_in2^4); % 2nd moemnt of inertai tube 2
J2=(pi/2) * (r_out2^4-r_in2^4); % polar moment of inertia tube 2
I3=(pi/4) * (r_out3^4-r_in3^4); % 2nd moemnt of inertai tube 3
J3=(pi/2) * (r_out3^4-r_in3^4); % polar moment of inertia tube 3
E=[E1 E2 E3]; I=[I1 I2 I3]; G=[G1 G2 G3]; J=[J1 J2 J3];
Ux=[-10 7 5];
Uy=[0 0 0];
%% Two tube
% n=2; % number of tubes
% E1=30e9; % Young's modulus
% G1=11e9; % Shear modulus
% E2=30e9;
% G2=11e9;
% E3=30e9;
% G3=11e9;
% r_in1=0e-3; % inner diameter tube 1
% r_out1=1.25e-3; % outer diameter tube 1
% r_in2=1.75e-3; % inner diameter tube 2 (outer)
% r_out2=2.2e-3; % outer diameter tube 2 (outer)
% r_in3=2.5e-3;
% r_out3=3e-5;
%
% I1=(pi/4) * (r_out1^4-r_in1^4); % 2nd moemnt of inertai tube 1
% J1=(pi/2) * (r_out1^4-r_in1^4); % polar moment of inertia tube 1
% I2=(pi/4) * (r_out2^4-r_in2^4); % 2nd moemnt of inertai tube 2
% J2=(pi/2) * (r_out2^4-r_in2^4); % polar moment of inertia tube 2
% I3=(pi/4) * (r_out3^4-r_in3^4); % 2nd moemnt of inertai tube 3
% J3=(pi/2) * (r_out3^4-r_in3^4); % polar moment of inertia tube 3
%
% E=[E1 E2]; I=[I1 I2]; G=[G1 G2]; J=[J1 J2];
% Ux=[10 5];
% Uy=[0 0];