Modelling and Analysis of Non-linear Cablenet Structures using Python and Blender

Modelling and Analysis of Non-linear Cablenet Structures using Python and Blender

Learn how to combine parametric modelling, exploratory form-finding and iterative analysis techniques to simulate 3D tensile structures.

⏰ 13 h 16 min | 54 lessons
Published: July 2022
After completing this course...
You will have developed a complete modelling, analysis and visualisation workflow for exploring these elegant yet complex structures.
You will be able to apply parametric modelling and simulation-based form-finding techniques to generate cablenet geometry.
You will be able to apply an iterative Newton-Raphson technique to solve for the non-linear behaviour of 3D cablenet structures.
You will understand how the behaviour of lightweight tensile structures leads to geometric non-linearity.
COURSE OVERVIEW

After completing this course you’ll have developed a complete workflow for the modelling and analysis of non-linear 3D cablenet structures.

We’ll expand beyond what we covered in our study of 2D non-linear cables by adapting the tools we built previously, for the analysis of non-linear 3D cablenet structures.

However, instead of just modifying our existing code, we’ll spend time fleshing out a complete workflow that takes you from initial form-finding of cablenet geometry, right through to iterative stiffness method simulation to identify the cablenet deflections and tension profile.

We can’t embark on the analysis of cablenet structures without making reference to the ‘Godfather’ of cablenet structures, the Architect and Engineer Frei Otto (1925-2015). In fact, we’ll use two of his early tensile structures as the basis for our main case studies.

If you’re intrigued by these elegant and efficient structures and want to understand how to analyse their behaviour, this course is for you. Keep in mind that the tools developed in this course are not meant to be a replacement for commercial non-linear solvers. Our objective is to build your understanding of the behaviour of cablenet structures and geometric non-linearity more generally. The best way to do this is to roll up your sleeves and build your own solver. After taking this course, you’ll be able to use commercial software which a much greater degree of confidence that you understand what’s happening behind the scenes.

While we’re not trying to rebuild SAP2000 or ETABS, when you complete this course you’ll have a range of standalone analysis notebooks. The code developed within each section of the course is also provided for download as a reference.

Course prerequisites

This course picks up where the previous course, Non-linear finite element analysis of 2D catenary & cable structures using Python, left off. You should consider that course a strict prerequisite for this one.

We’ll be using the code developed in that prerequisite course as our starting point in this course. While we’ll recap the key concepts and logic of our iterative solver, we’ll avoid going over old ground in this course. So, even more so than usual, this prerequisite is strongly advised.

If you’ve covered the prerequisite course, you won’t have any trouble with the Python we implement in this course. We’ll develop our Python code using the versatile Jupyter development environment. Unlike the prerequisite course, in this course we’ll use Jupyter Lab. If you’re not familiar with this, don’t worry, we’ll walk through getting Jupyter Lab up and running on your machine.

Course Breakdown

Section 1: Introduction, Course Breakdown & Prerequisites

In this first section, we’ll get our bearings by taking a look at the course structure. This will give you a good idea of what to expect. We’ll also introduce our main focus for this course – cablenet structures. This will provide some context for the technical analysis to follow.

This course assumes that you’ve completed the prerequisite course on 2D cable analysis; we’ll elaborate on why it’s critical that you cover that course first if you want to get the most from this course.

Section 2: Developing the 3D non-linear stiffness matrix

In this section, we’ll take the theory used to develop the 2D non-linear stiffness matrix and extend that to 3D. This really involves two steps; updating how we calculate the element transformation matrix and then updating the local element stiffness matrix. The task here isn’t difficult, the hard work was done in establishing the 2D stiffness matrix in the prerequisite course. We’ll focus on whiteboarding the theory here before diving into code a little later.

Section 3: Extending our Blender Utility Scripts

Blender is a trusty 3D Swiss army knife that makes all of this modelling possible. So, since we’re moving from 2D to 3D, we’ll need to update some of the utility scripts we wrote previously for data import and export. It won’t be all coding in this section, we’ll dabble in some 3D modelling and generate our first simple cablenet model to serve as our test-bed structure for the next section.

Section 4: Extending our solver toolbox from 2D to 3D

Now it’s time to roll up our sleeves and dive into our main solver code. In this section, we’re going to be doing the bulk of the work to update the 2D solver we wrote previously. We’ll also be implementing all of the transformation and stiffness matrix theory we discussed earlier. Once you’ve completed this section you’ll have converted your 2D cable analysis code into a 3D solver…and we can start experimenting with some structures.

Section 5: Cable-stayed antenna tower…in 3D

When we studied 2D cable analysis previously, we analysed a 2D cable-stayed antenna tower. So, now that we’ve built ourselves a 3D toolbox, the obvious first task is to build a bigger 3D cable-stayed lattice tower to see how our solver crunches through that! This section will be our first complete run-through of the analysis workflow, from modelling in Blender, to analysis in our solver to results visualisation back over in Blender.

Structure data visualisation in Blender

Section 6: Parametric modelling and form-finding in Blender

In this section, we’ll focus on how we can get the most out of Blender’s modelling and simulation tools. We’ll start by exploring Blender’s cloth simulation tools, one of Blender’s many physics engine toolboxes. Although this tool is not designed for structural simulation, it serves as an excellent way of approximating net and membrane geometry which we can use as a starting point for our structural analysis.

We’ll also explore a relatively new feature in Blender; geometry nodes. This functionality gives us the ability to procedurally model and parameterise our geometry. This will be a taster on geometry nodes – after which you can decide if you want to investigate further beyond this course.

This process of exploratory form-finding is one of the most creative and enjoyable parts of studying these structures and serves as a nice counter-balance to our focus on programming and mechanics!

Parametric modelling in Blender

Section 7: Cablenet Pavillion – Hyperbolic Paraboloid

In this section, we’ll bring together our 3D solver with what we’ve learned about form-finding using Blender’s simulation tools. We’ll focus on the modelling and analysis of a hyperbolic paraboloid cablenet structure. For the structure itself, we’ll draw inspiration from a fabric membrane structure by Frei Otto from 1955.

This will give us a good opportunity to discuss the relationship between form-finding and pre-tension. Again, this will be another good demonstration of the typical modelling-analysis-visualisation workflow.

Parametric modelling in Blender

Section 8:Frei Otto’s Dancing Fountain in Cablenet form

In this final section, we’ll use everything we’ve learned so far to build a model of one of Frei Otto’s finest membrane structures, the so-called ‘Dancing Fountain’ from the Cologne Federal Garden Exhibition in 1957.

We’ll use all of the tools at our disposal to build the initial geometry, simulate the minimum surface under tension and then analyse the cablenet force distribution under self-weight. Naturally, we’ll bring it all back into Blender for final visualisation.

The successful completion of this structure sets a great high-water mark for your understanding of cablenet structures and of the tools you’ve just built. This should leave you confident enough to explore the behaviour of non-linear cablenet structures in the wild.

Before ImageAfter Image

Who this course is for

  • Students and professional engineers who have completed the 2D non-linear cable analysis course and want to expand into 3D non-linear cablenet structures.
  • Students and professional engineers who want to learn more about how to implement iterative methods of analysis in Python.

The codes developed in this course are for educational purposes only and are not tested or certified for use beyond the educational scope of this course. Always employ your own engineering judgement first and foremost, regardless of what the computer says!

Section 2
Developing the 3D non-linear stiffness matrix
5. Section 2 overview
01:12 (Preview)
6. Building the 3D transformation matrix
18:18
7. Extending the non-linear stiffness matrix
10:55
Section 3
Extending our Blender Utility Scripts
8. Section 3 overview
01:17 (Preview)
9. Generate a simple cablenet 📂
07:02
10. Extending our Blender export scripts
10:00
11. Visualising axial forces and deflections in Blender 📂
14:17
Section 4
Extending our solver toolbox from 2D to 3D
12. Section 4 overview
01:33 (Preview)
13. Updating our notebook structure 📂
15:16
14. Basic updates to our preprocessing code 📂
07:40
15. Implementing a basic 3D plot
10:03
16. Fixing the 3D scale problem
08:38
17. Implement support type visualisation
10:16
18. Implementing 3D arrows
12:56
19. Implementing 3D annotations
11:47
20. Building the transformation matrix
15:58
21. Calculating the pre-tension force vector
01:46
22. Building the stiffness matrix
06:30
23. Calculating the internal force system and axial forces
06:18
24. Recap of the main loop logic
26:16
25. Updating the results plot - phase 1
21:58
26. Updating the results plot - phase 2
23:40
27. Updating the results plot - phase 3
14:58
28. Using Pandas DataFrames to represent our data
24:15
29. Visualising deflection and axial force data in Blender 📂
16:40
Section 5
Cable-stayed antenna tower…in 3D
30. Section 5 overview
01:06 (Preview)
31. Model generation in Blender 📂
21:00
32. Solving the antenna tower 📂
13:21
33. Saving and exporting all simulation data 📂
15:11
34. Building a results viewer notebook 📂
20:21
Section 6
Parametric modelling and form-finding in Blender
35. Section 6 overview
01:24 (Preview)
36. Simulation initial geometry in Blender - Part 1
38:02
37. Simulation initial geometry in Blender - Part 2 📂
25:09
38. The relationship between form-finding and pre-tension
13:49
39. Procedural modelling with geometry nodes [Optional] 📂
37:21
Section 7
Cablenet Pavilion - Hyperbolic Paraboloid
40. Section 7 overview
01:00 (Preview)
41. Accommodating different cable types
12:41
42. Generating initial geometry and pre-tension 📂
28:12
43. Analysis iteration 1 - Establishing pre-tension
21:00
44. Analysis iteration 2 - Adding props and stay cables 📂
08:06
Section 8
Frei Otto's Dancing Fountain in Cablenet form
45. Section 8 overview
01:35 (Preview)
46. Form-finding the initial geometry
38:02
47. Roof pre-tension simulation
21:36
48. Full structure pre-tension simulation 📂
18:27
49. Applying load to the pre-tensioned structure 📂
23:38
Section 9
Course wrap up
50. Course wrap up
02:47
Section 10
Appendix: Building Axial Force Visualisations in Blender
51. Blender data-viz - Structure setup & force data 📂
19:02
52. Blender data-viz - Blocking out the code
22:56
53. Blender data-viz - The transformation matrix
22:00
54. Blender data-viz - Generating materials from force data 📂
21:36
Completion certificate
Completion certificate
  • Download your personalised Certificate of Completion once you’ve finished all course lectures.

  • Applying for jobs? Use your Certificate of Completion to show prospective employers what you’ve been doing to improve your capabilities.

  • Independently completing an online course is an achievement. Let people know about it by posting your Certificate of Completion on your Linkedin profile or workplace CPD portfolio.

Ready to get started?
The 'Modelling and Analysis of Non-linear Cablenet Structures using Python and Blender' course was an incredibly beneficial experience, especially for my PhD thesis. The well-structured curriculum, hands-on approach, and integration of Python and Blender provided practical skills and automation tools essential for my research. Sean's support and collaborative environment further enriched the learning journey. I highly recommend this course to anyone interested in this field or looking to enhance their expertise in non-linear cable-net structures. It was truly a game-changer for my academic pursuits.
Bahareh Ramezani
getting-started
Dr Seán Carroll
BEng (Hons), MSc, PhD, CEng MIEI, FHEA
Hi, I’m Seán, the founder of EngineeringSkills.com (formerly DegreeTutors.com). I hope you found this tutorial helpful. After spending 10 years as a university lecturer in structural engineering, I started this site to help more people understand engineering and get as much enjoyment from studying it as I do. Feel free to get in touch or follow me on any of the social accounts.

Do you have some knowledge or expertise you'd like to share with the EngineeringSkills community?
Check out our guest writer programme - we pay for every article we publish.
You Might Also be Interested In...
Non-linear Finite Element Analysis of 2D Catenary & Cable Structures using Python
Non-linear Finite Element Analysis of 2D Catenary & Cable Structures using Python
Build an iterative solution toolbox to analyse structures that exhibit geometric non-linearity due to large deflections.

Frequently asked questions