top of page

Blog 4 - Tutorial for Structural Analysis, Matrix Inverse, Dynamo Drawings

  • Writer: Violet Cloud AI
    Violet Cloud AI
  • Jun 21, 2022
  • 1 min read

02 NOV 2020



This video presents the following python codes:

1. Structural Analysis

2. Matrix Inverse (LU Decomposition & Gaussian Elimination)

3. Dynamo Drawings


Matrix Inverse code in python is provided in Dynamo and verified with worked examples and online calculator. The code can be executed in dynamo independent of other programmes. Works for any NxN matrix for the purpose of structural analysis (no zeroes in diagonals), given that the matrix is invertible and your computer memory is sufficient.


Structural analysis code tutorial is presented in this video with verified results from worked examples. The architecture of the code is as follows:

a) Collect geometric data from Joints and Members

b) Formulate global stiffness matrix and global force vector

c) Calculate the global deformations (using the matrix inverse code)

d) Calculate the local forces and bending moments

e) Convert local forces to joint reactions

f) Draw the graphical interpretation of the numerical data in Dynamo


The Dynamo drawing code itself does not require Revit, but to generate the graphical results as lines in Dynamo, you need a Revit program.


Matrix Inverse (LU Decomposition) example from:

Matrix Inverse online calculator: https://matrix.reshish.com/inverse.php


Download from Google Drive (Dynamo file with Python code) >> VC Str Analysis in Dynamo (20201102).dyn (184 KB)


ree

 
 
 

Comments


bottom of page