This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
walkthrough [2017/10/18 10:48] marijn.nijenhuis |
walkthrough [2017/10/18 10:50] marijn.nijenhuis [Element connectivity] |
||
---|---|---|---|
Line 15: | Line 15: | ||
We start by defining the positions of the nodes where we place the origin at node 1. '' | We start by defining the positions of the nodes where we place the origin at node 1. '' | ||
<code matlab> | <code matlab> | ||
- | clc | + | clear %clear |
- | clear | + | clc %clear |
- | %% NODE POSITIONS | + | % addpath(' |
+ | |||
+ | %some dimensions | ||
L = 0.1; %[m] | L = 0.1; %[m] | ||
W = 0.05; %[m] | W = 0.05; %[m] | ||
+ | |||
%% NODE POSITIONS | %% NODE POSITIONS | ||
nodes = [0 0 0; %node 1 | nodes = [0 0 0; %node 1 | ||
Line 37: | Line 39: | ||
3 4]; %leafspring between node 3 and 4 | 3 4]; %leafspring between node 3 and 4 | ||
</ | </ | ||
- | |||
===== Node properties ===== | ===== Node properties ===== | ||
Node properties are defined by a structure array to assign properties to nodes, such as boundary conditions, applied loads, and inertia. The usage is '' | Node properties are defined by a structure array to assign properties to nodes, such as boundary conditions, applied loads, and inertia. The usage is '' |