Python: Direct Stiffness Analysis of Statically Indeterminate 2D Truss

preview_player
Показать описание
Python: Direct Stiffness Analysis of Statically Indeterminate 2D Truss
#Python #DirectStiffness #2DTruss

By using Python and Direct Stiffness Analysis, we can do a 2D truss structural analysis to find internal forces and support reactions.
After watching this video, you can learn how to implement the Python code to do structural analysis for any 2D truss system.

Timestamp:
0:00 Introduction
2:10 Import libraries
2:55 Input structural data
14:00 Structural analysis
16:22 Transformation vector
25:20 Structural stiffness
42:20 Deformation vector
46:16 Internal force
52:33 Reaction force
54:46 Result
57:23 Plot structure
1:05:56 Verify result
1:08:25 Ending

Truss structural analysis using Python:

Dynamic Analysis:

Truss structural analysis using Matlab:

-------------------------------------------------------------------
Рекомендации по теме
Комментарии
Автор

Index of Python array starts with 0. Thus, node and bar number shall start with node 0 or bar 0, respectively.

EngineerHunter
Автор

This is the great content from you. Anyway, I have a question if I have 2 loads 100kN that could be placed in any node in the entire structure, it means the location and values of loads will be input by the user. I am going to write as below
P1 = np.zeros_like(nodes)
P2 = np.zeros_like(nodes)

node_for_P1 = int(input("Enter the node number where P1 is applied: "))
P1_y = float(input(f"Enter the y-component of P1 at node {node_for_P1} (kN): "))

node_for_P2 = int(input("Enter the node number where P2 is applied: "))
P2_y = float(input(f"Enter the y-component of P2 at node {node_for_P2} (kN): "))

But the problem happens when I run the program trying to get the displacement values (Uf); they are the matrix array with all 0 values.
If it is possible hopefully you may give me a piece of advice to fix the problem.

VyNguyễn-jt
Автор

Great content, do you plan short video about programming 3D FEM tension analysis of some basic solid in python?

jzdstenly
Автор

how to adjust this for roller supports

SababaKhan-betf
Автор

Did you analyze 2D frame systems with python? can you help me . Which of the codes for the cage need to be changed.

fratkaymak
Автор

please help me out i need to buy the second example from you

zahraasaleem
Автор

Sir nice video, but i can't print the print(angle)?. May i know what should i do?. Thanks

johnraydominguez
Автор

Hi! Thanks for the video, for some reason I am ending up with NameError: name 'NDOF' is not defined, even though I have followed your tutorial exactly. I can't seem to resolve the issue, please help if you can! Thanks

Godlvex
join shbcf.ru