# Why a tree can fall the wrong way when you're cutting it down

I was recently cutting down a tree and, even though I'm ashamed to admit it, it fell in the wrong direction. It fell in the opposite direction as to what was intended. Well, lesson learned. Next time I will be more careful and use a rope if I want to be completely sure it falls in some specific direction.

Cutting down a tree (from google, that's not me)

So, let's investigate things. Not by cutting down more trees, but instead by simulating doing it!

### So, what's happening?

The tree in static equilibrium. The center of mass is marked to the left of the trunk.

To simulate this, i drew a very simple tree-like structure in 2D (to defend myself I'll have to say that the tree I cut down looked a lot more centered than the one above, where it looks quite obvious that the tree would fall to the left). The tree has a lot more branches on one side as compared to the other. The center of mass is shown to to the left of the trunk. The resulting average force will force the tree to tip over to the left as it's located to the left of the trunk, no matter how we cut the main trunk (if there is some magic trick I'm not aware of, please let me know).

The deformation of the tree after being cut

After cutting a dent in the trunk with the purpose of allowing the tree to fall to the right, we can see that it starts to lean to the left. Whoops. This moves the centre of mass even further to the left. From the figure above, you can also see that the tiny narrow partition to the the left of the dent is carrying the whole tree; all the major forces (in red) are now centered around the dent.

### Conclusion

As long as the centre of mass is located to the right of the tiny partition left after the dent, we should be fine. This is not always easy to see, especially if the tree has a lot of branches.

### The theory

I used my solver in python with plane elements to calculate the figures above. The colors represent the von Mises stress.

# A tool for solving 2D structural systems

If you're not that into structural mechanics, feel free to just look at the pictures :-). This post is about a tool that will enable you to calculate how structural systems behave in two dimensions. In the (hopefully not that distant) future, I'll enable dynamic calculations.

Deformed pin-jointed truss

I haven't shared anything in a while, so I thought I write a status update on this cool (at least I think it is cool!) tool I've been working during the last few months, along with other projects. It's based on an old idea, which I thought I'd finally realize properly. The tool is able to do finite element analysis of simple structural systems in 2D. There are quite a few things I'm planning to do differently as compared to the tools out there. For example, the tool will be able to solve symbolic problems (at least simple ones) along with numerical ones.

I was thinking of making a very early beta version of the tool available along with this post, but (as is very often the case) things have taken a bit longer than expected, and other projects have been taking up my time (stay tuned for updates related to at least some of these!). So the very-early-beta release still needs some tweaking. Also, I'm not quite sure about liability issues with releasing a not-so-perfectly working version of a tool such as this. We'll see.

## Overview

Some theory:

• I've currently implemented basic functionality for solving structural systems consisting of beams (with axial and/or moment loads according to my previous post)
• A linear elastic problem (static) is solved

The logic has been implemented in such a way that it should be relatively straightforward to extend the functionality to problems involving small amplitude (linear) vibrations, for examining vibrating systems in 2D. I'm really looking forward to getting to play around with that phase of the project. But, first things first, I've got to get static problems working properly and without any glitches.

## Examples

Here are some examples of simple linear static beam structures the tool is currently able to give the correct symbolic answer to. Some background:

• The cases have been done using a nifty GUI, which I'm quite happy with
• L is half of the width of the figures (often the length of the beam)
• The magnitude of the force is F
• All cross sectional properties are given by E, I and A
• Except for the blue bars, which have a cross sectional area of $2\sqrt{2}A$
• The connections are assumed to align with the neutral axis
• A hollow node represents a hinged connection
• A filled node represents a stiff connection
• The positive x-axis points towards the right
• The positive y-axis points downwards

The nodes are numbered from the left to the right, so just count them from the left if you want to validate the results. There are quite a few analytical formulas available for these situations if you try searching online.

Case 1, $\left[\begin{smallmatrix}{}x_2\\y_2\\\theta_2\end{smallmatrix}\right]=\left[\begin{smallmatrix}{}0\\\frac{F L^{3}}{192 E I}\\0\end{smallmatrix}\right]$

Case 2, $\left[\begin{smallmatrix}{}\theta_1\\a_3\\\theta_3\\x_2\\y_2\\\theta_2\end{smallmatrix}\right]=\left[\begin{smallmatrix}{}\frac{F L^{2}}{16 E I}\\0\\- \frac{F L^{2}}{16 E I}\\0\\\frac{F L^{3}}{48 E I}\\0\end{smallmatrix}\right]$

Case 3, $\left[\begin{smallmatrix}{}x_2\\y_2\\\theta_2\end{smallmatrix}\right]=\left[\begin{smallmatrix}{}0\\\frac{F L^{3}}{3 E I}\\\frac{F L^{2}}{2 E I}\end{smallmatrix}\right]$

Case 4, $\left[\begin{smallmatrix}{x_3}\\{y_3}\end{smallmatrix}\right]=\left[\begin{smallmatrix}{}- \frac{F L}{3 A E}\\- \frac{2 F L}{3 A E}\end{smallmatrix}\right]$

Case 5, $a_3=\frac{\sqrt{2} F L}{A E}$ (positive to the left)

## The future

The results coincide with solutions such as these, which means that everything is working properly (woohoo)!

So far, the GUI has been the most demanding part of the project. There's still a lot to be done. Static calculations might be something the average structural engineer finds even more useful than dynamic calculations, so those are currently my top priority. Still, the really cool stuff (in my opinion) will be possible once you'll be able to investigate dynamic systems, which is helpful for both acoustical/vibration consultants and structural engineers alike!

Deformed beams