
# Two-dimensional truss structure

In this example we consider a simple two-dimensional truss, see {numref}`M-fig2`.

```{figure-md} M-fig2
<img src="Media/Mentat/Mentat-fig2.png" width="450px">

truss example
```

All truss elements are undeformed and placed in the $xy$ plane. The same holds for the load. As a result the deformed truss will also be situated in the $xy$ plane. <br>
The cross section of the truss elements is depicted in {numref}`M-fig3`.

```{figure-md} M-fig3
<img src="Media/Mentat/Mentat-fig3.png" width="600px">

truss cross-section
```

The shape of the cross-section is irrelevant because we assume that the bars are only axially loaded. The cross-sectional area is essential for the behaviour and can be calculated with the dimensions shown in {numref}`M-fig3`: $A_0 = 1.6· 10^{−3} \: [\textrm{m}^2]$.

It is assumed that the bars in the framework are made of steel. The values of the stiffness parameters are then:

$$
\textrm{elasticity modulus}&: E = 2.1 \cdot 10^{11}\: [\textrm{Nm}^{−2}]\\
\textrm{Poisson’s ratio}&: \nu = 0.3\:[-]
$$

## Modelling

<span class="greyblue"> GEOMETRY $\&$ MESH </span>

```{admonition} info
:class: custom-box
We start in the main menu and gradually work from left to right. First of all, the geometry of the model must be defined. This happens within the submenu <span class="green"> GEOMETRY $\&$ MESH </span>. We will first build the truss from points and straight lines. The spatial coordinates of the points must be entered via the keyboard. Some possibilities are demonstrated below.
```

<span class="green"> GEOMETRY $\&$ MESH </span> (Basic Manipulation)<br>
<span class="lightblue"> (POINTS) </span> <span class="blue"> ADD </span> <br>

Enter point coordinates ($X$): **0** <br>
Enter point coordinates ($Y$): **0** <br>
Enter point coordinates ($Z$): **0** <br>
Point added <br>
Enter point coordinates ($X$): **10, 2, 0** (or: ** 10 2 0**) <br>

```{admonition} info
:class: custom-box
The last point is placed outside of the screen. Use the button fill view (Ⅱ) to make both points visible.
```

 <img src="Media/Mentat/Mentat-fillview.png" alt="Dropdown Icon" width="15"/> (Fill view) <br>
Enter point coordinates ($X$): **10, 4, 0** <br>
Enter point coordinates ($X$): **0, 6, 0** <br>

```{admonition} info
:class: custom-box
All points have now been entered. However, the numbers cannot be seen on the screen. We will ensure that this is done with the following commands. We will also ensure that numbers of curves, nodes and elements are displayed in the future. Finally, the regenerate button (Ⅱ) must be used to redraw the model.
```


<table class="compact-table">
    <tr>
        <td class="col1">view</td>
        <td class="col2">→</td>
        <td class="col3">plot control</td>
        <td class="col4">→</td>
        <td class="col5">nodes</td>
        <td class="col6"><span class="blue"> (SETTINGS) </span></td>
        <td class="col7">→</td>
        <td class="col8">☑ labels → <span class="blue"> OK </span></td>
    </tr>
    <tr>
        <td></td>
        <td></td>
        <td></td>
        <td>→</td>
        <td>elements</td>
        <td><span class="blue"> (SETTINGS) </span></td>
        <td>→</td>
        <td>☑ labels → <span class="blue"> OK </span></td>
    </tr>
    <tr>
        <td></td>
        <td></td>
        <td></td>
        <td>→</td>
        <td>points</td>
        <td><span class="blue"> (SETTINGS) </span></td>
        <td>→</td>
        <td>☑ labels → <span class="blue"> OK </span></td>
    </tr>
    <tr>
        <td></td>
        <td></td>
        <td></td>
        <td>→</td>
        <td>curves</td>
        <td><span class="blue"> (SETTINGS) </span></td>
        <td>→</td>
        <td>☑ labels → <span class="blue"> OK </span></td>
    </tr>
    <tr>
        <td></td>
        <td></td>
        <td></td>
        <td>→</td>
        <td colspan="4"><span class="blue"> OK </span></td>
    </tr>
</table>



<img src="Media/Mentat/Mentat-regenerate.png" alt="Dropdown Icon" width="15"/> (Regenerate)

```{admonition} info
:class: custom-box
Then the straight lines between the various points are defined. To that end we must first make it clear that these are straight lines, since there are more possibilities, but these do not matter to us now. Click on <img src="Media/Mentat/Mentat-dropdown.png" alt="Dropdown Icon" width="15"/> to make the drop-down menu visible and select <span class="blue"> LINE </span>.
```


<span class="lightblue"> (curves) </span> <img src="Media/Mentat/Mentat-dropdown.png" alt="Dropdown Icon" width="15"/> <br>
&nbsp;&nbsp;&nbsp; <span class="blue"> LINE </span>

<span class="lightblue"> (curves) </span> <span class="blue"> ADD </span> <br>
Enter line points: **1** <br>
Enter line points: **2** <br>
Curve added <br>
Enter line points: **2, 3** <br>
Curve added <br>
Enter line points: **3, 4** <br>
Curve added <br>
Enter line points: **4, 1** <br>
Curve added <br>


```{admonition} info
:class: custom-box
As mentioned earlier, there is a fundamental difference between points and lines with which we define the shape of our truss and nodes and elements with which we define the finite element model. We are going to do the latter now and we must first indicate that we want to use line elements.
```

<span class="lightblue"> (ELEMENTS) </span> <br>
&nbsp;&nbsp;&nbsp; <span class="blue"> LINE(2) </span>

```{admonition} info
:class: custom-box
Lines which we defined earlier are now converted to line elements (<span class="green">CONVERT</span>). A line can, if desired, be subdivided in more line elements. (<span class="blue">DIVISIONS</span>). The direction along the line is U. The direction perpendicular to the line is Ⅴ.
```

<span class="green"> CONVERT </span> (Operations) <br>
&nbsp;&nbsp;&nbsp; <span class="lightblue"> CONVERT </span> <img src="Media/Mentat/Mentat-dropdown.png" alt="Dropdown Icon" width="15"/> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="blue"> CURVES </span> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  <span class="blue"> DIVISIONS </span> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Enter the number of convert divions **4**

```{admonition} info
:class: custom-box
How the length of the generated elements changes along the line can be defined by specifying a *bias factor*. This *bias factor* has a value between $-1$ and $+1$. If the value is zero ($0$) then the generated elements in the relevant direction will have the same length. A positive *bias factor* results in the elements becoming smaller in the positive direction along the line. The positive direction of the line can be shown as follows.
```


<table class="compact-table">
    <tr>
        <td>view</td>
        <td>→</td>
        <td>plot control</td>
        <td>→</td>
        <td>curves</td>
        <td>(<span class="blue">SETTINGS</span>)</td>
        <td>→</td>
        <td>☑ direction</td>
        <td>→</td>
        <td><span class="blue">OK</span></td>
    </tr>
    <tr>
        <td></td>
        <td>→</td>
        <td colspan="8"><span class="blue">OK</span></td>
    </tr>
</table>


<img src="Media/Mentat/Mentat-regenerate.png" alt="Dropdown Icon" width="15"/> (Regenerate)

```{admonition} info
:class: custom-box
With a negative bias factor the elements increase in the positive direction along the line. Usually, a number of attempts have to be made before the desired element distribution is obtained. Undesired distributions can be undone via the undo button
<img src="Media/Mentat/Mentat-barrow.png" alt="Dropdown Icon" width="15"/> (Ⅱ).
```

<span class="blue">BIAS FACTOR</span><br>
Enter the convert bias factor in U: **0.3333**<br>
&nbsp;&nbsp;&nbsp;<span class="blue">CONVERT</span><br>
&nbsp;&nbsp;&nbsp; Enter convert curve list: **1**
&nbsp;&nbsp;&nbsp; Enter convert curve list: <img src="Media/Mentat/Mentat-endlist.png" alt="Dropdown Icon" width="15"/> (End list)

```{admonition} info
:class: custom-box
With selecting <img src="Media/Mentat/Mentat-endlist.png" alt="Dropdown Icon" width="15"/> it is indicated that the selection is completed. This (End list)
command can be given in three ways: entering # on the keyboard, via clicking the
button <img src="Media/Mentat/Mentat-endlist.png" alt="Dropdown Icon" width="15"/> (Ⅵ) or by clicking the right-mouse button in the model window (Ⅶ).
```

<span class="blue">BIAS FACTOR</span><br>
Enter the convert bias factor in U: **-0.3333**<br>
&nbsp;&nbsp;&nbsp;<span class="blue">CONVERT</span><br>
&nbsp;&nbsp;&nbsp; Enter convert curve list: **3** <img src="Media/Mentat/Mentat-endlist.png" alt="Dropdown Icon" width="15"/> (End list)

```{admonition} info
:class: custom-box
Now you are going to insert the rest of the elements of the truss.
```

<span class="green">GEOMETRY $\&$ MESH</span><br>
&nbsp;&nbsp;&nbsp; <span class="lightblue">(ELEMS)</span><br>
&nbsp;&nbsp;&nbsp; Enter element node (1): **10**<br>
&nbsp;&nbsp;&nbsp; Enter element node (2): **2**<br>
&nbsp;&nbsp;&nbsp; Element added <br>
&nbsp;&nbsp;&nbsp; Enter element node (1): **10, 1**<br>
&nbsp;&nbsp;&nbsp; Element added <br>
&nbsp;&nbsp;&nbsp; Enter element node (1): **2, 9**<br>
&nbsp;&nbsp;&nbsp; Element added <br>
&nbsp;&nbsp;&nbsp; Enter element node (1): **9, 3**<br>
&nbsp;&nbsp;&nbsp; Element added <br>
&nbsp;&nbsp;&nbsp; Enter element node (1): **3, 8**<br>
&nbsp;&nbsp;&nbsp; Element added <br>
&nbsp;&nbsp;&nbsp; Enter element node (1): **8, 4**<br>
&nbsp;&nbsp;&nbsp; Element added <br>
&nbsp;&nbsp;&nbsp; Enter element node (1): **4, 7**<br>
&nbsp;&nbsp;&nbsp; Element added <br>
&nbsp;&nbsp;&nbsp; Enter element node (1): **7, 5**<br>
&nbsp;&nbsp;&nbsp; Element added <br>
&nbsp;&nbsp;&nbsp; Enter element node (1): **5, 6**<br>
&nbsp;&nbsp;&nbsp; Element added <br>

```{admonition} info
:class: custom-box
When creating the element distribution, it is possible that two nodes coincide in a
spatial point. If nothing is done about this, a ”hole” will arise during loading of the
structure, in fact, the calculation cannot even be performed because of numerical
problems, which will inevitably occur. To reduce coincident nodes to a single point,
<span class="green">SWEEP</span> is selected, followed by a number of other actions that speak for themselves.
```

<span class="green">SWEEP</span> (Operations)<br>
&nbsp;&nbsp;&nbsp; <span class="lightblue">(SWEEP)</span> <span class="blue">ALL</span> <br>
&nbsp;&nbsp;&nbsp; <span class="lightblue">(REMOVE UNUSED)</span> <span class="blue">NODES</span> <br>
&nbsp;&nbsp;&nbsp; <span class="lightblue">(REMOVE UNUSED)</span> <span class="blue">POINTS</span> <br>

```{admonition} info
:class: custom-box
Although all curves have been converted into elements, we still see “orange” lines.
This colour is used for elements that are ”attached” to curves. This is not important
to us and can be undone, after which all elements are signed “black”.
```

<span class="green">ATTACH</span> (Operations)<br>
&nbsp;&nbsp;&nbsp;  <span class="lightblue">(DETACH)</span><span class="blue">ELEMENTS</span> <br>

```{admonition} info
:class: custom-box
Many operations apply to all elements (curves/elements/. . .) within our model. To
select all elements of the requested type, there is the button <img src="Media/Mentat/Mentat-all_existing.png" alt="Dropdown Icon" width="15"/> (All existing). (Ⅵ)
```
Enter detach element list: <img src="Media/Mentat/Mentat-all_existing.png" alt="Dropdown Icon" width="15"/> (All Existing)

```{admonition} info
:class: custom-box
Elements and nodes are now defined. <span class="greyblue"> GEOMETRY $\&$ MESH </span> has ended. Via the main navigation window, view → plot control, we can remove the checkmarks at *Points* and *Curves* to make sure they are no longer displayed; close by clicking on <span class="blue">OK</span>. To make the changes visible press <img src="Media/Mentat/Mentat-regenerate.png" alt="Dropdown Icon" width="15"/> (Regenerate).
```
<img src="Media/Mentat/Mentat-regenerate.png" alt="Dropdown Icon" width="15"/> (Regenerate)<br>

```{admonition} info
:class: custom-box
Now we will specify the size of the cross-sectional area of the bar elements.
```

<span class="greyblue"> GEOMETRIC PROPERTIES </span> <br>
&nbsp;&nbsp;&nbsp; <span class="green">NEW (STRUCTURAL)</span> <br>
&nbsp;&nbsp;&nbsp; <span class="green">3-D</span> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="green">TRUSS</span> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="blue">PROPERTIES</span> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Cross Section Area: **1.6e-3** <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="blue">OK</span> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="lightblue">(ELEMENTS)</span> <span class="blue">ADD</span> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Enter geometry add element list: <img src="Media/Mentat/Mentat-all_existing.png" alt="Dropdown Icon" width="15"/> (All existing) <br>

```{admonition} info
:class: custom-box
Now we are going to specify the material properties of the elements. In the *main
menu* (Ⅳ) we select <span class="greyblue"> MATERIAL PROPERTIES </span> and give the values of the *Young’s
modulus* and the *Poisson’s ratio*.
```

<span class="greyblue"> MATERIAL PROPERTIES </span> <br>
&nbsp;&nbsp;&nbsp; <span class="green">NEW</span> <br>
&nbsp;&nbsp;&nbsp; <span class="green">STANDARD</span> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="blue">STRUCTURAL</span> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Young's Modulus: **2.1e11** <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Poisson’s Ratio: **0.3** <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="blue">OK</span> <br>
&nbsp;&nbsp;&nbsp; <span class="lightblue">(ELEMENTS)</span> <span class="blue">ADD</span> <br>
&nbsp;&nbsp;&nbsp; Enter add material element list: <img src="Media/Mentat/Mentat-all_existing.png" alt="Dropdown Icon" width="15"/> (All existing) <br>

```{admonition} info
:class: custom-box
After determining the geometry, geometry properties and material properties, we
can begin to introduce the boundary conditions. So where and how is the construc-
tion fixed to the world and where and how do the various forces meet as indicated
in the construction drawing.
```

<span class="greyblue"> BOUNDARY CONDITIONS </span> <br>
&nbsp;&nbsp;&nbsp; <span class="green">NEW (STRUCTURAL)</span> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="green">FIXED DISPLACEMENTS</span> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="blue">PROPERTIES</span> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ☑ Displacement $X$ <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ☑ Displacement $Y$ <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="blue">OK</span> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="lightblue">(NODES)</span> <span class="blue">ADD</span><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Enter add apply node list: 1, <img src="Media/Mentat/Mentat-endlist.png" alt="Dropdown Icon" width="15"/> (End list)   <br>
&nbsp;&nbsp;&nbsp; <span class="green">NEW (STRUCTURAL)</span> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="green">FIXED DISPLACEMENTS</span> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="blue">PROPERTIES</span> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ☑ Displacement $X$ <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="blue">OK</span> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="lightblue">(NODES)</span> <span class="blue">ADD</span><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Enter add apply node list: 10, <img src="Media/Mentat/Mentat-endlist.png" alt="Dropdown Icon" width="15"/> (End list)   <br>
&nbsp;&nbsp;&nbsp; <span class="green">NEW (STRUCTURAL)</span> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="green">POINT LOAD</span> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="blue">PROPERTIES</span> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ☑ Force $Y$ <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Enter value for ’$y$’: **-10000** <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="blue">OK</span> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="lightblue">(NODES)</span> <span class="blue">ADD</span><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Enter add apply node list: 3, <img src="Media/Mentat/Mentat-endlist.png" alt="Dropdown Icon" width="15"/> (End list)   <br>
&nbsp;&nbsp;&nbsp; <span class="green">NEW (STRUCTURAL)</span> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="green">POINT LOAD</span> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="blue">PROPERTIES</span> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ☑ Force $X$ <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Enter value for ’$x$’: **-20000** <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="blue">OK</span> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="lightblue">(NODES)</span> <span class="blue">ADD</span><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Enter add apply node list: 3, <img src="Media/Mentat/Mentat-endlist.png" alt="Dropdown Icon" width="15"/> (End list)   <br>

```{admonition} info
:class: custom-box
The boundary conditions are prescribed. You can make them all visible by selecting ☑ identify.
```

```{admonition} info
:class: custom-box
We now finished all tabs. The model of the truss is almost ready. Some essential items are missing which you have to specify in the tab <span class="greyblue"> JOBS </span>.
```

<span class="greyblue"> JOBS </span> <br>
&nbsp;&nbsp;&nbsp; <span class="green">NEW</span> <br>
&nbsp;&nbsp;&nbsp; <span class="green">STRUCTURAL</span> <br>

```{admonition} info
:class: custom-box
The truss considered by us is two-dimensional, that is to say that the construction is assumed to deform in a flat plane (the $xy$ plane). This should be indicated in the menu <span class="blue">PROPERTIES</span> → <span class="blue">ANALYSIS DIMENSION</span>.<br> The load on the structure can be compiled from the defined boundary conditions in <span class="blue">PROPERTIES</span> → <span class="blue">INITIAL LOADS</span>. When boundary conditions are already selected **(always check!)**, you obviously do not have to do anything.<br> The desired, retrospective, calculation results must be selected in <span class="blue">PROPERTIES</span> → <span class="blue">JOB RESULTS</span> from a large number of possibilities. We choose stress (*Stress*) and strain (*Strain*) from a list. The list can be scrolled with a slider.
```

<span class="blue">PROPERTIES</span> <br>
&nbsp;&nbsp;&nbsp; <span class="lightblue">(ANALYSIS DIMENSION)</span> <img src="Media/Mentat/Mentat-dropdown.png" alt="Dropdown Icon" width="15"/> <br> 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="blue">2-D</span>  <br>
<br>
&nbsp;&nbsp;&nbsp; <span class="blue">INITIAL LOADS</span> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ☑ apply1, ☑ apply2, ☑ apply3, ☑ apply4 <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="blue">OK</span> <br>
<br>
&nbsp;&nbsp;&nbsp; <span class="blue">JOB RESULTS</span> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="lightblue">(AVAILABLE ELEMENT TENSORS)</span> <br> 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ☑ Stress <br> 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ☑ Total Strain <br> 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="blue">OK</span> <br>
&nbsp;&nbsp;&nbsp; <span class="blue">OK</span> <br>

```{admonition} info
:class: custom-box
At an earlier stage we opted for line elements. However, the calculation program MARC has a number of types of line elements. We choose element number 9 here.
```

<span class="green">ELEMENT TYPES</span> (ELEMENT TYPES) <br> 
&nbsp;&nbsp;&nbsp; <span class="lightblue">(ANALISYS DIMENSION)</span> <img src="Media/Mentat/Mentat-dropdown.png" alt="Dropdown Icon" width="15"/> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="blue">3-D</span> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="blue">TRUSS/BEAM</span> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="lightblue">(TRUSS) 9</span> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="blue">OK</span> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Enter element list: <img src="Media/Mentat/Mentat-all_existing.png" alt="Dropdown Icon" width="15"/> (All existing) <br>

```{admonition} info
:class: custom-box
The model is ready. We now have to save that model on the hard drive, so that we can adjust it later if necessary. If we make a complicated model, it is wise to save earlier, this in view of an unexpected computer failure. **Please note that there
can be no spaces in both the directory and the file name.**
```

<table class="compact-table">
    <tr>
        <td>file</td>
        <td>→</td>
        <td>save as</td>
        <td>→</td>
        <td>File name: Frame1</td>
        <td>→</td>
        <td><strong><span class="blue">SAVE</span></strong></td>
    </tr>
</table>


## Background: The system of node equations

As previously described, a truss element can only be axially loaded, which results in a change in length.
The relation between ∆l and axial force F is:

$$
\Delta l = \frac{l_0}{E/, A_0} F
$$ (eq6-M)

where $l_0$ is the length of the undeformed truss element, $A_0$ is the cross-sectional area and $E$ the elasticity modulus of the material.<br>
<br>
When modelling a truss, use is made of such *truss elements*, which are connected in their nodes with
each other or with the fixed world. After applying the boundary conditions, the deformation of the framework can be calculated. This is done by the finite elements method program MARC and in order to understand what exactly is happening, we need to know a bit more about the way in which the mechanical behaviour of a truss element is described.

### element stiffness matrix

The mechanical behaviour of a two-dimensional truss element is described by a number of equations. These relate the node displacements to the forces needed to realize these displacements. These forces are called internal nodal forces. They represent the resistance to deformation, in other words, the resistance of the element to the displacement of its nodes. They can thus be regarded as forces exerted by the element, i.e. from the inside out at the nodes, if they are displaced.

In the truss considered, each truss element is in the xy plane. In that case, two displacement compo-
nents and two internal node force components are relevant in each node. They are indicated in {numref}`M-fig4` below.

```{figure-md} M-fig4
<img src="Media/Mentat/Mentat-fig4.png" width="600px">

displacement components
```

The four displacement components, also called *degrees of freedom*, and the corresponding four force
components are stored in columns:

$$
\col{{u}}^e =
\begin{bmatrix}
u_{x}^{1} & u_{y}^{1} & u_{x}^{2} & u_{y}^{2}
\end{bmatrix}^{T}
\quad ; \quad
\coli{{f}}^{\,e} =
\begin{bmatrix}
f_{i x}^{1} & f_{i y}^{1} & f_{i x}^{2} & f_{i y}^{2}
\end{bmatrix}^{T}
$$ 

The index $^e$ indicates the element and index $^T$ That the column is transposed. The relation between $\col{{u}}^e$ and $\coli{{f}}^{\,e}$ is mathematicall in a $4 \times 4$ matrix: the *element stiffness matrix* $K^e$.

$$
\begin{bmatrix}
f_{ix}^{1} \\
f_{iy}^{1} \\
f_{ix}^{2} \\
f_{iy}^{2}
\end{bmatrix}
=
\frac{E A_0}{l_0}
\begin{bmatrix}
c^2 & cs & -c^2 & -cs \\
cs & s^2 & -cs & -s^2 \\
-c^2 & -cs & c^2 & cs \\
-cs & -s^2 & cs & s^2
\end{bmatrix}
\begin{bmatrix}
u_x^{1} \\
u_y^{1} \\
u_x^{2} \\
u_y^{2}
\end{bmatrix} \: \textrm{noted in short}: \: \coli{{f}}^{\,e} = K^e\, \col{{u}}^e
$$

The element stiffness matrix can be calculated for each element and depends on the geometry of the element, the material properties and the position of the element in the space, indicated by $c = \cos{\alpha}$ and $s = \sin{\alpha}$, where $\alpha$ is the angle between the element axis and the $x$ axis.

### assembly

A large number of elements are connected to each other in the construction. This linking of the elements in FEM terminology is called assembly. It is obvious that there is a form of “summation” of the equations, which describe the behaviour of each element separately. It comes down to the fact that in a node where multiple elements are connected, the internal node forces of all those elements are added up. In the figure below this is shown schematically for a node where three elements come
together. The elements have been cut loose near the node. They are not drawn; their axial internal forces are indicated. 

```{figure-md} M-fig5
<img src="Media/Mentat/Mentat-fig5.png" width="600px">

assembly visual
```
The result of assembly is a system of equations, with which the displacements of all nodes in the structure are related to the internal node forces acting on those nodes. We store the components of these displacements and forces in the columns $\bar{\col{u}}$ and $\bar{\coli{f}}$ so we can write this system as follows:

$$
\bar{\coli{f}} = \bar{K}/, \bar{\col{u}}
$$ (eq7-M)

The matrix $\bar{K}$ is the **construction stiffness matrix**. for a 2-dimensional truss with $np$ nodes this results in a $2np \times 2np$ matrix. From the information provided by us via Mentat, the calculation program MARC compiles the matrix $\bar{K}$.

### node equilibrium

Now it is known which forces the elements exert on the nodes when they are displaced. In each node, this internal force must be in balance with the force $f_e$, which is exerted by the environment on that node, as shown in {numref}`M-fig6` below.

```{figure-md} M-fig6
<img src="Media/Mentat/Mentat-fig6.png" width="600px">

node equilibrium
```

This external nodal force is contained in the column $\bar{\cole{f}}$ . For all nodes together, this requirement of
node equilibrium means that the following system must comply with:

$$
\bar{\coli{f}} = \bar{\cole{f}} \: \rightarrow \: \bar{K}\,\bar{\col{u}} = \bar{\cole{f}} 
$$ (eq8-M)

### boundary conditions

The columns $\bar{\col{u}}$ and $\bar{\cole{f}}$ are not completely filled with unknown quantities. After all, a number of junction displacements and node forces are known. We have prescribed them as boundary conditions. The MARC program takes these boundary conditions into account and reduces the system $\bar{K}\,\bar{\col{u}} = \bar{\cole{f}}$ to a smaller system $K\,\col{u} = \cole{f}$ with a fully known right member $\cole{f}$ and a completely unknown column $\col{u}$.

### solution process

The system of equations $K\,\col{u} = \cole{f}$ is solved. Because the system is written in matrix form, implies
that the inverse $K^{−1}$ of $K$ has to be determined:

$$
K\,\col{u} = \cole{f} \: \rightarrow \: \col{u} = K^{-1}\, \cole{f}.
$$ (eq9-M)

When all nodal displacements are know, the unknown nodal forces are calculated with resulting stresses
and strains:

$$
\bar{\cole{f}} = \bar{K}\, \bar{\col{u}}\: ; \: \sigma^e\: ; \: \epsilon^e
$$ (eq10-M)

The solution procedure of solving the system of equations is schematically shown in {numref}`M-fig7` below, where $\col{u}$, $\coli{f}$ and $\cole{f}$ should be understood as a “measure” for the relevant columns. The slope of $\coli{f}$ represents the stiffness matrix $K$. The intersection of $\coli{f}$  and $\cole{f}$ at $\col{u} =  \cols{u}$ represents the solution of
the system of equations.

```{figure-md} M-fig7
<img src="Media/Mentat/Mentat-fig7.png" width="450px">

boundary conditions
```

When certain errors have been made during modelling, MARC cannot solve the system. A frequently occurring error message is exit number 2004 (see next section for explanation). Usually the cause is insufficient support of the construction, as a result the construction as a whole or parts thereof can perform a rigid movement, without deformation.

MARC-element 9 : three-dimensional truss

MARC-element 9 is a three-dimensional truss element (<span class="greyblue">JOBS</span>→<span class="green">ELEMENT TYPES</span>→<span class="green">TRUSS/BEAM</span>).

```{figure-md} M-fig8
<img src="Media/Mentat/Mentat-fig8.png" width="600px">

MARC-element 9
```
In each node there are three degrees of freedom namely the three displacement components:

<table class="compact-table-center">
    <tr>
        <td><i><span class="math">u</span></i></td>
        <td>=</td>
        <td><i><span class="math">x</span></i> displacement</td>
        <td>=</td>
        <td>displacement_<span class="math">x</span></td>
        <td>=</td>
        <td>dof 1</td>
    </tr>
    <tr>
        <td><i><span class="math">v</span></i></td>
        <td>=</td>
        <td><i><span class="math">y</span></i> displacement</td>
        <td>=</td>
        <td>displacement_<span class="math">y</span></td>
        <td>=</td>
        <td>dof 2</td>
    </tr>
    <tr>
        <td><i><span class="math">w</span></i></td>
        <td>=</td>
        <td><i><span class="math">z</span></i> displacement</td>
        <td>=</td>
        <td>displacement_<span class="math">z</span></td>
        <td>=</td>
        <td>dof 3</td>
    </tr>
</table>

<!--$$
\begin{aligned}
u &= x\, \textrm{displacement} &= \textrm{displacement}_x &= \textrm{dof } 1 \\
v &= y\, \textrm{displacement} &= \textrm{displacement}_y &= \textrm{dof } 2 \\
w &= z\, \textrm{displacement} &= \textrm{displacement}_z &= \textrm{dof } 3
\end{aligned}
$$-->

The set <span class="greyblue">GEOMETRIC PROPERTIES</span> exists only of the cross-sectional area $A$.

The set <span class="greyblue">MATERIAL PROPERTIES</span> exists of the elasticity modulus (Young’s modulus) $E$ and the
Poisson’s ratio $\nu$.

Axial stress and axial strain are calculated in the middle of the element. These quantities can be
requested in Mentat and are known already:

<table class="compact-table-center">
    <tr>
        <td>strain_1</td>
        <td>=</td>
        <td>uniaxial strain</td>
        <td>=</td>
        <td>&epsilon;</td>
    </tr>
    <tr>
        <td>stress_1</td>
        <td>=</td>
        <td>uniaxial stress</td>
        <td>=</td>
        <td>&sigma;</td>
    </tr>
</table>

```{figure-md} M-fig9
<img src="Media/Mentat/Mentat-fig9.png" width="600px">

Mentat visualization
```

With <span class="blue">BEAM VALUES</span> the values can be visualized in colour.

## Two-dimensional truss structures: Analysis

The model of the construction can now be analyzed. This is done with the finite elements method
program MARC. This calculation program can be started from Mentat. That’s what you are going to
do via <span class="blue">JOBS</span>.

<span class="blue">JOBS</span> <br>
&nbsp;&nbsp;&nbsp; <span class="blue">RUN</span>  <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="blue">SUBMIT (1)</span>  <br>

```{admonition} info
:class: custom-box
The calculation program MARC is now started and the model is calculated. Infor-
mation about the progress of the calculation is given in the <span class="lightblue">(RUN)</span> menu. The word
”working” appears in the status menu.
```

```{admonition} info
:class: custom-box
When MARC gives the status ”ready”, the calculation is finished. If everything went well, the <span class="lightblue">(RUN)</span> menu will give *exit number* $3004$. Unfortunately sometimes, not everything goes well. Mistakes are made during modelling. MARC responds to this with an error message and the nature of the error is indicated by a *exit number*. The comment that comes with this code (<span class="blue">EXIT MESSAGE</span>) is usually very cryptic or is simply incomprehensible. However, if you have gained some experience with the package, you will notice that the same error codes often
return. What also soon becomes clear is where the mistake should be found. The following are a number of common error codes and some indication of the error.

3004 = Fine. The calculation has been successful. This does not imply that the results are good.<br>
13 = MARC does nothing at all. The input is incomplete or so wrong that a calculation cannot even be started. An output file in this case <strong>frame1_job1.out</strong> will however be written to the hard drive of the computer. With an editor or via the <span class="blue">OUTPUT FILE</span> button, this file can be searched for the word <em>error</em> to obtain information about the error(s) in the created model. <br>
2004 = The calculation is aborted because the system-node equations cannot be solved. Usually, this is because the model can deform or move without the need for forces. So check with <span class="green">SWEEP</span> that all nodes are connected to each other and check whether the movement is suppressed as a rigid body. <br>
1005 = When this error message occurs, incorrect or insufficient geometry parameters have been defined. This happens, for example, when one wants to make a model of truss elements and chooses beam elements instead. When the element type is not specified at all for two-dimensional elements, Mentat automatically chooses element number 52, but this is a beam element.

If then everything has gone right after some time, there are, in the directory where
you performed the calculation, four files:
<br>
**frame1_job1.dat** = MARC input file (written by Mentat) <br>
**frame1_job1.log** = information in the process of the simulation <br>
**frame1_job1.out** = the alpha-numeric output file <br>
**frame1_job1.sts** = summary of the .log-file <br>
**frame1_job1.t16** = binary file with results for Mentat <br>

The results of the calculation can now be viewed with Mentat. Before doing so, the following section first briefly explains what exactly has been calculated.

```

## Two-dimensional truss structures: Results

Let’s assume everything went OK and we can have a look at the results.

```{admonition} info
:class: custom-box
You select in the main menu <span class="greyblue">RESULTS</span>. The results of the simulation are written in the file with extension **.t16** (or .**t19**). When MARC is started from Mentat, the file frame1_job1.t16 can directly be
opened via:
```
<span class="greyblue">RESULTS</span> <br>
&nbsp;&nbsp;&nbsp; file → open default <br>
&nbsp;&nbsp;&nbsp; <img src="Media/Mentat/Mentat-fillview.png" alt="Fillview Icon" width="15"/> (Fill view) <br>
&nbsp;&nbsp;&nbsp; <span class="lightblue">(DEFORMED SHAPE)</span> <img src="Media/Mentat/Mentat-dropdown.png" alt="Dropdown Icon" width="15"/> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="blue">DEFORMED $\&$ ORIGINAL</span> <br>

```{admonition} info
:class: custom-box
The distortion is displayed, but there is nothing to see, because the distortions are very small. You can do something about that.
```
&nbsp;&nbsp;&nbsp; <span class="lightblue">(DEFORMED SHAPE)</span> <span class="blue">SETTINGS</span> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="lightblue">(DEFORMED SCALING)</span> <span class="blue">SETTINGS</span> &#9679; Automatic <br>

```{admonition} info
:class: custom-box
The real distortion is now scaled up with a <span class="lightblue">(FACTOR)</span> mentioned in the menu.
```
<span class="green">MODEL PLOT</span> <br>
```{admonition} info
:class: custom-box
The axial stress (*Comp 11 of Stress*) in the truss element can be indicated with colour codes. NB: 11 is one-one and not eleven.
```
<span class="lightblue">(SCALAR PLOT)</span> <span class="blue">SCALAR</span> <br>
&nbsp;&nbsp;&nbsp; &#9679; Comp 11 of Stress <br>
&nbsp;&nbsp;&nbsp; &#9679; <span class="blue">OK</span> <br>
<span class="lightblue">(SCALAR PLOT)</span> <img src="Media/Mentat/Mentat-dropdown.png" alt="Dropdown Icon" width="15"/>  <br>
&nbsp;&nbsp;&nbsp; <span class="blue">BEAM CONTOURS</span> <br>

```{admonition} info
:class: custom-box
The colours do not give the exact numerical value of the stress because there are certain averaging procedures applied. <br>
Reading the exact value of the normal stress in a truss element can be done as
follows.
```

<span class="lightblue">(SCALAR PLOT)</span> <img src="Media/Mentat/Mentat-dropdown.png" alt="Dropdown Icon" width="15"/>  <br>
&nbsp;&nbsp;&nbsp; <span class="blue">NUMERICS</span> <br>
<span class="blue">ISOLATE</span>
&nbsp;&nbsp;&nbsp; <span class="lightblue">(ISOLATE ELEMENT)</span> <span class="blue">ADD</span> <br>
&nbsp;&nbsp;&nbsp; **select element** <img src="Media/Mentat/Mentat-endlist.png" alt="Endlist Icon" width="15"/> (End list) <br>

```{admonition} info
:class: custom-box
The value of the stress can now be read in the two nodes between which the element
is located. A positive stress is a tensile stress, where a negative value indicates
compressive stress. Several elements may be selected simultaneously. However,
the specified elements may not be adjacent to each other, because average node
values appear again.
```

```{admonition} info
:class: custom-box
When we have sufficiently studied the results, it is possible that we come to the conclusion that the model needs to be adjusted. The file **frame1_job1.t16** must first be closed, after which the model file **frame1.mud** can be opened and modified. In order to remove the possibly still present colour bar, you can enter the menu
<span class="lightblue">(SCALAR PLOT)</span> →<img src="Media/Mentat/Mentat-endlist.png" alt="Endlist Icon" width="15"/>→ OFF.
```

file → close

```{admonition} info
:class: custom-box
Re-opening of the model file (**frame1.mud**) takes place immediately when the $^*$.t16-file is closed. If this does not happen, it can still be opened via file in the main navigation menu. If we are done, we can exit Mentat.
```

file → exit

## Three-dimensional truss structures

The truss structure that we are going to model is a simple model of the frame to which a basketball net is attached (see the figure on the next page). The truss structure is loaded by a dunking basketball player.

The construction is made up of two different truss elements. The first is a corner and the second a simple strip profile. The cross-sections are shown in the figure below. Because we assume that the truss elements are only axially loaded, the actual shape of the cross-section is not important. For the stiffness - the resistance to deformation - the surface of the cross-section is essential. The values are:

$$

\textrm{corner profile}&:   \: A_0 = 8.1 \cdot 10^{−5} [\textrm{m}^2]\\
\textrm{strip profile}&:   \: A_0 = 3.0 \cdot 10^{−5} [\textrm{m}^2]

$$

Both profiles are made of steel. The material properties are:

$$

\textrm{Young’s Modulus}&:   \: E = 2.1 \cdot 10^{11} [\textrm{Nm}^{-2}]\\
\textrm{Poisson’s ratio}&:   \: \nu = 0.3 \cdot 10^{−5} [-]

$$

```{figure-md} M-fig10
<img src="Media/Mentat/Mentat-fig10.png" width="600px">

Three-dimensional truss structure
```

```{figure-md} M-fig11
<img src="Media/Mentat/Mentat-fig11.png" width="600px">

Mentat configuration
```


### Modelling

<span class="greyblue"> GEOMETRY $\&$ MESH </span>

```{admonition} info
:class: custom-box
We start in <span class="green"> GEOMETRY $\&$ MESH </span> and enter the coordinates of some of the points.

```

<span class="green"> GEOMETRY $\&$ MESH </span> (Basic Manipulation)<br>
&nbsp;&nbsp;&nbsp; <span class="lightblue"> (POINTS) </span> <span class="blue"> ADD </span> <br>

&nbsp;&nbsp;&nbsp; Enter point coordinates ($X$): **0, 0, 0** <br>
&nbsp;&nbsp;&nbsp; Point added <br>
&nbsp;&nbsp;&nbsp; Enter point coordinates ($X$): **0.3, 0, 0** <br>
&nbsp;&nbsp;&nbsp; Point added <br>
&nbsp;&nbsp;&nbsp; Enter point coordinates ($X$): **0.3, 0.3, 0** <br>
&nbsp;&nbsp;&nbsp; Point added <br>
&nbsp;&nbsp;&nbsp; Enter point coordinates ($X$): **0, 0.3, 0** <br>
&nbsp;&nbsp;&nbsp; Point added <br>
&nbsp;&nbsp;&nbsp; Enter point coordinates ($X$): **0, 0.3, 0.3** <br>
&nbsp;&nbsp;&nbsp; Point added <br>
&nbsp;&nbsp;&nbsp; Enter point coordinates ($X$): **0.3, 0.3, 0.3** <br>
&nbsp;&nbsp;&nbsp; Point added <br>
&nbsp;&nbsp;&nbsp; <img src="Media/Mentat/Mentat-fillview.png" alt="Dropdown Icon" width="15"/> (Fill view) <br>

```{admonition} info
:class: custom-box

We change the view (rotate) and display the labels of points and curves.

```

&nbsp;&nbsp;&nbsp; <img src="Media/Mentat/Mentat-Rotate-pos-x.png" alt="Dropdown Icon" width="15"/> (Rotate positive x)(2x) <br>
&nbsp;&nbsp;&nbsp; <img src="Media/Mentat/Mentat-Rotate-pos-y.png" alt="Dropdown Icon" width="15"/> (Rotate positive y)(2x) <br>
&nbsp;&nbsp;&nbsp; <img src="Media/Mentat/Mentat-fillview.png" alt="Dropdown Icon" width="15"/> (Fill view) <br>


<table class="compact-table">
  <tr>
    <td>view</td>
    <td>→</td>
    <td>plot control</td>
    <td>→</td>
    <td>points</td>
    <td>(<span class="blue">SETTINGS</span>)</td>
    <td>→</td>
    <td>☑ labels</td>
    <td>→</td>
    <td><span class="blue">OK</span></td>
  </tr>
  <tr>
    <td colspan="3"></td>
    <td>→</td>
    <td>curves</td>
    <td>(<span class="blue">SETTINGS</span>)</td>
    <td>→</td>
    <td>☑ labels</td>
    <td>→</td>
    <td><span class="blue">OK</span></td>
  </tr>
  <tr>
    <td colspan="3"></td>
    <td>→</td>
    <td colspan="6"><span class="blue">OK</span></td>
  </tr>
</table>



```{admonition} info
:class: custom-box

Now we create the curves (straight lines) between the already defined points.

```

&nbsp;&nbsp;&nbsp; <span class="lightblue">(CURVES) </span> <img src="Media/Mentat/Mentat-dropdown.png" alt="Dropdown Icon" width="15"/> <br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <span class="blue">LINE </span>

&nbsp;&nbsp;&nbsp; <span class="lightblue">(CRVS)</span> <span class="blue">ADD</span> <br>
&nbsp;&nbsp;&nbsp; Enter line points: **1, 4** <br>
&nbsp;&nbsp;&nbsp; Curve added <br>
&nbsp;&nbsp;&nbsp; Enter line points: **4, 5** <br>
&nbsp;&nbsp;&nbsp; Curve added <br>
&nbsp;&nbsp;&nbsp; Enter line points: **5, 1** <br>
&nbsp;&nbsp;&nbsp; Curve added <br>
&nbsp;&nbsp;&nbsp; Enter line points: **2, 3** <br>
&nbsp;&nbsp;&nbsp; Curve added <br>
&nbsp;&nbsp;&nbsp; Enter line points: **3, 6** <br>
&nbsp;&nbsp;&nbsp; Curve added <br>
&nbsp;&nbsp;&nbsp; Enter line points: **6, 2** <br>
&nbsp;&nbsp;&nbsp; Curve added <br>
&nbsp;&nbsp;&nbsp; Enter line points: **5, 6** <br>
&nbsp;&nbsp;&nbsp; Curve added <br>

```{admonition} info
:class: custom-box

The truss elements are : <span class="blue">LINE(2)</span> First some curves are subdivided with <span class="green">CONVERT</span> ,
successively the elements are added.
```

&nbsp;&nbsp;&nbsp; <span class="lightblue">(ELEMENTS) </span> <img src="Media/Mentat/Mentat-dropdown.png" alt="Dropdown Icon" width="15"/> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="blue">LINE(2)</span> <br>

&nbsp;&nbsp;&nbsp; <span class="green">CONVERT</span> (Operations) <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="lightblue">(CONVERT)</span> <img src="Media/Mentat/Mentat-dropdown.png" alt="Dropdown Icon" width="15"/> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="blue">CURVES</span> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="blue">DIVISIONS</span> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Enter the number of convert divisions **2** <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="blue">CONVERT</span> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Enter convert curve list: **1, 3, 4, 6, #** <br>

<span class="green"> GEOMETRY $\&$ MESH </span> (Basic Manipulation)<br>
&nbsp;&nbsp;&nbsp; <span class="lightblue"> (ELEMS) </span> <span class="blue"> ADD </span> <br>
&nbsp;&nbsp;&nbsp; Enter element node (1): **3, 4** <br>
&nbsp;&nbsp;&nbsp; Element added <br>
&nbsp;&nbsp;&nbsp; Enter element node (1): **9, 10** <br>
&nbsp;&nbsp;&nbsp; Element added <br>
&nbsp;&nbsp;&nbsp; Enter element node (1): **10, 4** <br>
&nbsp;&nbsp;&nbsp; Element added <br>
&nbsp;&nbsp;&nbsp; Enter element node (1): **3, 5** <br>
&nbsp;&nbsp;&nbsp; Element added <br>
&nbsp;&nbsp;&nbsp; Enter element node (1): **5, 2** <br>
&nbsp;&nbsp;&nbsp; Element added <br>
&nbsp;&nbsp;&nbsp; Enter element node (1): **9, 11** <br>
&nbsp;&nbsp;&nbsp; Element added <br>
&nbsp;&nbsp;&nbsp; Enter element node (1): **11, 8** <br>
&nbsp;&nbsp;&nbsp; Element added <br>
&nbsp;&nbsp;&nbsp; Enter element node (1): **4, 11** <br>
&nbsp;&nbsp;&nbsp; Element added <br>
&nbsp;&nbsp;&nbsp; Enter element node (1): **5, 10** <br>
&nbsp;&nbsp;&nbsp; Element added <br>
&nbsp;&nbsp;&nbsp; Enter element node (1): **5, 7** <br>
&nbsp;&nbsp;&nbsp; Element added <br>
&nbsp;&nbsp;&nbsp; Enter element node (1): **1, 11** <br>
&nbsp;&nbsp;&nbsp; Element added <br>

```{admonition} info
:class: custom-box

With view → plot control *points* and *curves* are made invisible.
Elements of *curves* have to be ”detached” such that they are displayed as ”black”. Coinciding nodes are joined to one. Watch in the Mentat commando-window what is being done.
```

&nbsp;&nbsp;&nbsp; <span class="green">SWEEP </span> (Operations) <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="lightblue">(SWEEP)</span> <span class="blue">ALL</span> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="lightblue">(REMOVE UNUSED)</span> <span class="blue">NODES</span> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="lightblue">(REMOVE UNUSED)</span> <span class="blue">POINTS</span> <br>

```{admonition} info
:class: custom-box

The geometric properties of the truss elements are then added. In this case, that is only the cross-sectional area. This quantity has a different value for two groups of truss elements.
```

&nbsp;&nbsp;&nbsp; <span class="greyblue">GEOMETRIC PROPERTIES </span> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="green">NEW (STRUCTURAL)</span> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="green">3-D</span> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="green">TRUSS</span> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="blue">PROPERTIES</span> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Cross Section Area: **8.1e-5** <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="blue">OK</span> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="lightblue">(ELEMENTS)</span> <span class="blue">ADD</span> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="blue">OK</span> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Enter geometry add element list: **1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11** <img src="Media/Mentat/Mentat-endlist.png" alt="Dropdown Icon" width="15"/> (End list) <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="green">NEW (STRUCTURAL)</span> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="green">3-D</span> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="green">TRUSS</span> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="blue">PROPERTIES</span> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Cross Section Area: **3.0e-5** <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="blue">OK</span> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="lightblue">(ELEMENTS)</span> <span class="blue">ADD</span> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="blue">OK</span> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Enter geometry add element list: **12, 13, 14, 15, 16, 17, 18, 19** <img src="Media/Mentat/Mentat-endlist.png" alt="Dropdown Icon" width="15"/> (End list) <br>

```{admonition} info
:class: custom-box

Hereafter the material properties, i.e. the Young’s modulus and the Poisson’s ratio, are defined.
```

&nbsp;&nbsp;&nbsp; <span class="greyblue">MATERIAL PROPERTIES </span> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="green">NEW</span> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="green">STANDARD</span> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="blue">STRUCTURAL</span> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Young's Modulus: **2.1e11** <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Poisson's Ratio: **0.3** <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="blue">OK</span> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="lightblue">(ELEMENTS)</span> <span class="blue">ADD</span> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Enter add material element list: <img src="Media/Mentat/Mentat-all_existing.png" alt="Dropdown Icon" width="15"/> (All existing) <br>

```{admonition} info
:class: custom-box

The boundary conditions are prescribed last. The figure of the truss structure
shows which nodes are attached to the fixed world. The forces are also prescribed.
```

&nbsp;&nbsp;&nbsp; <span class="greyblue">BOUNDARY CONDITIONS </span> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="green">NEW (STRUCTURAL)</span> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="green">FIXED DISPLACEMENT</span> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="blue">PROPERTIES</span> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ☑ Displacement X <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ☑ Displacement Y <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ☑ Displacement Z <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="blue">OK</span> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="lightblue">(NODES)</span> <span class="blue">ADD</span> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Enter add apply node list: **1, 7** <img src="Media/Mentat/Mentat-endlist.png" alt="Dropdown Icon" width="15"/> (End list) <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="green">NEW (STRUCTURAL)</span> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="green">FIXED DISPLACEMENT</span> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="blue">PROPERTIES</span> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ☑ Displacement X <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ☑ Displacement Z <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="blue">OK</span> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="lightblue">(NODES)</span> <span class="blue">ADD</span> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Enter add apply node list: **2, 3, 8, 9** <img src="Media/Mentat/Mentat-endlist.png" alt="Dropdown Icon" width="15"/> (End list) <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="green">NEW (STRUCTURAL)</span> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="green">POINT LOAD</span> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="blue">PROPERTIES</span> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ☑ Force X <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Enter value for x: **-100** <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ☑ Force Y <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Enter value for y: **-800** <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="blue">OK</span> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="lightblue">(NODES)</span> <span class="blue">ADD</span> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Enter add apply node list: **10,** <img src="Media/Mentat/Mentat-endlist.png" alt="Dropdown Icon" width="15"/> (End list) <br>

```{admonition} info
:class: custom-box

Further speculation of elements and load is now being done in <span class="greyblue">JOBS</span>
```

&nbsp;&nbsp;&nbsp; <span class="greyblue">JOBS</span>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="green">NEW</span> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="green">STRUCTURAL</span> <br>

```{admonition} info
:class: custom-box

The construction considered here is three dimensional. This must be specified in the menu <span class="blue">PROPERTIES</span> → <span class="blue">ANALYSIS DIMENSION</span>. The load on the construction can be set in <span class="blue">PROPERTIES</span> → <span class="blue">INITIAL LOADS</span> composed of the defined boundary conditions. If they are already selected, we obviously do not have to do anything.
The desired calculation results to be viewed afterwards must be entered in <span class="blue">PROPERTIES</span> → <span class="blue">JOB RESULTS</span> and are selected from a large number of options. We choose Stress and Total Strain.
```

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="blue">PROPERTIES</span> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="lightblue">(ANALYSIS DIMENSION)</span> <img src="Media/Mentat/Mentat-dropdown.png" alt="Dropdown Icon" width="15"/> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="blue">3-D</span>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="blue">INITIAL LOADS</span> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ☑ apply1, ☑ apply2, ☑ apply3 <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  <span class="blue">OK</span> <br>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="blue">JOB RESULTS</span> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="lightblue">(AVAILABLE ELEMENT TENSORS)</span> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ☑ Stress <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ☑ Total Strain <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  <span class="blue">OK</span> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  <span class="blue">OK</span> <br>

```{admonition} info
:class: custom-box

At an earlier stage we opted for line elements. However, the MARC program has
a number of line element types. We choose here element no. 9.
```

&nbsp;&nbsp;&nbsp; <span class="green">ELEMENT TYPES</span> (ELEMENT TYPES) <br>
&nbsp;&nbsp;&nbsp; <span class="lightblue">(ANALYSIS DIMENSION)</span> (ELEMENT TYPES) <img src="Media/Mentat/Mentat-dropdown.png" alt="Dropdown Icon" width="15"/> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="blue">3-D</span> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="blue">TRUSS/BEAM</span> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="lightblue">TRUSS</span> <span class="blue">9</span> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="blue">OK</span> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Enter element list: <img src="Media/Mentat/Mentat-all_existing.png" alt="Dropdown Icon" width="15"/> (All existing) <br>


```{admonition} info
:class: custom-box

We now save the model

```

<table class="compact-table">
  <tr>
    <td>file</td>
    <td>→</td>
    <td>save as</td>
    <td>→</td>
    <td>File name: basket1</td>
    <td>→</td>
    <td><span class="blue">SAVE</span></td>
  </tr>
</table>


### Analysis

Analysis of the model is done directly via Mentat. <br>
For running MARC from Mentat we go to <span class="greyblue">JOBS</span>. <br>

&nbsp;&nbsp;&nbsp; <span class="greyblue">JOBS</span> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="blue">RUN</span> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="blue">SUBMIT (1)</span> <br>

```{admonition} info
:class: custom-box

MARC is now started and the model is calculated. The <span class="lightblue">(RUN)</span> menu provides information about the progress of the calculation. The word ”working” appears in the status menu. When the status indicates ”ready”, the calculation is finished. If everything went well, the <span class="lightblue">(RUN)</span> menu displays exit number 3004. The results of the calculation can now be viewed with Mentat.
```

### Results

Let’s assume everything went according to plan.

```{admonition} info
:class: custom-box

We select in the main menu <span class="greyblue">RESULTS</span>. The results of the calculation of MARC are written to files with the extension **.t19** or **.t16**, which are read by Mentat.
```

&nbsp;&nbsp;&nbsp; <span class="greyblue">RESULTS</span> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; file → open default <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  <img src="Media/Mentat/Mentat-fillview.png" alt="Dropdown Icon" width="15"/> (Fill view) <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="lightblue">(DEFORMED SHAPE)</span>  <img src="Media/Mentat/Mentat-dropdown.png" alt="Dropdown Icon" width="15"/>  <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="blue">DEFORMED & ORIGINAL</span> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="lightblue">(DEFORMED SHAPE)</span>  <span class="blue">SETTINGS</span>  <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="lightblue">(DEFORMED SCALING)</span>  &#9679; Automatic  <br>

```{admonition} info
:class: custom-box

The axial stress (Comp 11 of Stress) (11 = one-one) in the truss elements can be acquired in the following way.
```

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="green">MODEL PLOT</span>  <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="lightblue">(SCALAR PLOT)</span> <span class="blue">SCALAR</span> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &#9679; Comp 11 of stress <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="blue">OK</span> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="lightblue">(SCALAR PLOT)</span> <img src="Media/Mentat/Mentat-dropdown.png" alt="Dropdown Icon" width="15"/> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="blue">NUMERICS</span> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="blue">ISOLATE</span> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="lightblue">(ISOLATE ELEMENT)</span> <span class="blue">ADD</span> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; **select element** <img src="Media/Mentat/Mentat-endlist.png" alt="Dropdown Icon" width="15"/> (End list) <br>

```{admonition} info
:class: custom-box

The value of the stress can now be read at the two nodes between which the
element is located. A positive stress value is known as tensile stress, with a negative value being compressive stress. Multiple elements may be selected simultaneously. However, the specified elements must not be adjacent to each other, because then again average node values appear.
```


```{admonition} info
:class: custom-box

We can now exit Mentat.
```

<table class="compact-table">
  <tr>
    <td>file</td>
    <td>→</td>
    <td>exit</td>
  </tr>
</table>

## Exercises

In this section some truss structures are two- other are three-dimensional. More than the deformation of the truss structures, the axial stress in each truss element is of great important. Especially compressive stresses are a limiting factor. When in a truss element the compressive stress has reached a certain critical value the truss element will buckle and the structure will collapse.

### Two-dimensional portal

In the figure below a two-dimensional portal is drawn. Its dimensions (in meters) are given in the figure. All non-indicated dimensions must be estimated by your own discretion. (Hint: inter sections of curves can be determined with the tab <span class="lightblue">GEOEMETRY & MESH</span> → <span class="green">INTERSECT</span>  (Operations).)

```{figure-md} M-fig12
<img src="Media/Mentat/Mentat-fig12.png" width="600px">

Truss of two-dimensional portal.
```

All truss elements have a square cross section as drawn in the {numref}`M-fig13` below. In the table the dimensions
of the ”outer” truss elements (OUEL) and ”inner” truss elements (INEL) are indicated in millimetres
(mm)[^outer].

```{figure-md} M-fig13
<img src="Media/Mentat/Mentat-fig13.png" width="400px">

Truss square cross sections.
```

All truss elements are made of Aluminium and the material properties are:

$$
E = 70000 \quad [\textrm{N/mm}^2] \quad \nu = 0.3 [-]
$$

The portal is loaded vertically, where the direction is indicated in the figure. All indicate forces are equal to: $F = 1000$ [N].

Check if it is suﬃcient to model only half of the construction.
Which boundary conditions must then be defined in point P?
Is it possible to omit one or more truss elements?
Do you recommend this is view of buckling?

### Climbing tower

At the TU premise, close to the gym, a climbing tower is located. We will model a similar tower here as a space frame. The tower is outlined and relevant dimensions are given in the figure below (in meters).

```{figure-md} M-fig14
<img src="Media/Mentat/Mentat-fig14.png" width="600px">

Climbing tower truss structure.
```

When modelling the space frame make use of duplication of certain sections (truss elements with ele-
ment properties) (<span class="lightblue">GEOEMETRY & MESH</span> → <span class="green">DUPLICATE</span> (Operations)).

The cross sections of the horizontal and vertical truss elements (HVS) and of the diagonal truss elements (DNS) are shown in the {numref}`M-fig15` below. The indicated dimensions are in millimetres.

```{figure-md} M-fig15
<img src="Media/Mentat/Mentat-fig15.png" width="600px">

Truss square cross sections.
```

The truss elements are made of Aluminium with the following material properties:

$$
E = 70000 \quad [\textrm{N/mm}^2] \quad \nu = 0.3 [-]
$$

The tower is used as a climbing tower, where the weight of several climbers (max. 1000 kg) is evenly distributed over the points $A$, $B$, $C$ and $D$ or the points $C$, $D$, $E$ and $F$.

Calculate the deformation and stresses in the truss elements of the construction.

The tower can also be used as a mounting point for a cable that is anchored in the ground at the other end. Along this cable a person can - with a pulley - slide down to the ground (zip line). Suppose the cable is attached between points P and Q. The person sliding down weighs 80 [kg]. Suppose the cable
is distorted as shown in the {numref}`M-fig16` below.

Calculate the force in point P of the tower and analyse the truss structure.

```{figure-md} M-fig16
<img src="Media/Mentat/Mentat-fig16.png" width="400px">

Sliding person truss structure.
```

### Construction crane

The boom of a construction crane is outlined in {numref}`M-fig17` below. Dimensions are indicated in the figure (in meters). Dimensions not specified must be estimated.


```{figure-md} M-fig17
<img src="Media/Mentat/Mentat-fig17.png" width="600px">

Construction crane truss structure.
```

The horizontal truss elements of the boom are hollow cylindrical tubes with an outer diameter of 100 mm and a wall thickness of 8 mm. The diagonal truss elements are also hollow cylindrical tubes with a outer diameter of 70 mm and a wall thickness of 5 mm. The frame, $fr$, is also built from such tubes. The front view is drawn in the figure. Between the points $A$ and $A`$ of the frame and the boom there are cables that can be modelled as solid cylindrical bars with a diameter of 10 mm.

All tubes and bars are made of steel with the following material properties:

$$
E = 210000 \quad [\textrm{N/mm}^2] \quad \nu = 0.3 [-]
$$

The contra weight $G$ has a mass of 5000 kg and is connected to the boom with cables.

Analyse the construction crane for various loads, located at diﬀerent positions along the boom.


[^outer]: The ”outer” truss elements are the elements forming the circumference of the portal.