write mathematica code: Problem 1 For the beam structure shown in Figure below,…
- User
write mathematica code: Problem 1 For the beam structure shown in Figure below, determine reactions in supports and nodal displacements and rotations. Build the connectivity matrix and assemble the global stiffness matrix for given discretization with two beam finite elements. The applied moment and cross-sectional properties are computed via personal number of the first group member according the table. Give the solution values with 3 significant digits. Fill in the report summary below! Submit your notes containing the main steps of the solution and your Mathematica Notebook as well.
P1 P2 P3 P4 P5 P6 - P7 P8 P9 P10 9 7 0 6 2 0 - 4 0 1 4
Using the table to determine the values: P4=6→M=22 KN.m P8=0→I=7∙〖10〗^(-4) m^4 P9=4→E=70 GPa Define parameters: E = 70 GPa = 70 × 〖10〗^9 Pa I_1 = 4I = 4 × (7 × 〖10〗^(-4)) = 28 × 〖10〗^(-4) m^4 I_2 = I = 7 × 〖10〗^(-4) m^4 L_1 = L_2 = 6 m M = 22 kNm = 22,000 Nm
codeConnectivity matrixElement 1 Element 2 Node1 Node2 Node 2 Node3 Local Stiffness Matrices: For a beam element, the local stiffness matrix in the local coordinate system is given by: k^((i))=EI/L^3 [■(12&6L&-12&6L@6L&4L^2&-6L&2L^2@-12&-6L&12&-6L@6L&2L^2&-6L&4L^2 )] For element 1 ( I_1 = 4I and L=6m): k^((1))=(E∙4I)/6^3 [■(12&6∙6&-12&6∙6@6∙6&4〖∙6〗^2&-6∙6&2〖∙6〗^2@-12&-6∙6&12&-6∙6@6∙6&2〖∙6〗^2&-6∙6&4〖∙6〗^2 )] k^((1))=(E∙I)/216 [■(48&144&-48&144@144&576&-144&288@-48&-144&48&-144@144&288&144&576)] For element 2 ( I_2 = I and L=6m): k^((2))=(E∙I)/6^3 [■(12&6∙6&-12&6∙6@6∙6&4〖∙6〗^2&-6∙6&2〖∙6〗^2@-12&-6∙6&12&-6∙6@6∙6&2〖∙6〗^2&-6∙6&4〖∙6〗^2 )] k^((2))=(E∙I)/216 [■(12&36&-12&36@36&144&-36&72@-12&-36&12&-36@36&72&-36&144)]
codeGlobal Stiffness Matrix Assembly:The global stiffness matrix K is assembled by combining the local stiffness matrices according to the connectivity matrix. For a beam with two elements and three nodes, the global stiffness matrix is a 6x6 matrix (2 degrees of freedom per node: displacement and rotation): K=[■(k_11^((1) )&k_12^((1))&k_13^((1))&k_14^((1))&0&0@k_21^((1))&k_22^((1))&k_23^((1))&k_24^((1))&0&0@k_31^((1))&k_32^((1))&k_33^((1))+k_11^((2))&k_34^((1))+k_12^((2))&k^((2))&k^((2))@k_41^((1))&k_42^((1))&k_43^((1))+k_21^((2))&k_44^((1))+k_22^((2))&k^((2))&k^((2))@0&0&k^((2))&k^((2))&k^((2))&k^((2))@0&0&k^((2))&k^((2))&k^((2))&k_44^((2) ) )] K=(E∙I)/216 [■(48&144&-48&144&0&0@144&576&-144&288&0&0@-48&-144&48+12&-144+36&-12&36@144&288&144+36&576+144&-36&72@0&0&-12&-36&12&-36@0&0&36&72&-36&144)]
Boundary Conditions and Force Vector: Node1 and 3 are so ν_1=ϕ_1=ν_3=ϕ_3=0U=[■(ν_1@ϕ_1@ν_2@ϕ_2@ν_3@ϕ_3 )]=[■(0@0@ν_2@ϕ_2@0@0)] The force vector F=[■(F_1@M_1@F_2@M_2@F_3@M_3 )]=[■(F_1@M_1@0@22000@F_3@M_3 )] Formulate equations: [F]=[k][U]
[■(F_1@M_1@0@22000@F_3@M_3 )]=(E∙I)/216 [■(48&144&-48&144&0&0@144&576&-144&288&0&0@-48&-144&48+12&-144+36&-12&36@144&288&144+36&576+144&-36&72@0&0&-12&-36&12&-36@0&0&36&72&-36&144)][■(0@0@ν_2@ϕ_2@0@0)]
- Assistant