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 | ||
accounting_for_inertia [2018/06/13 13:53] marijn.nijenhuis |
accounting_for_inertia [2020/06/07 17:01] marijn.nijenhuis |
||
---|---|---|---|
Line 38: | Line 38: | ||
===== Adding mass and inertia properties to Spacar ===== | ===== Adding mass and inertia properties to Spacar ===== | ||
- | For this example a single leafsprings is simulated between node 1 ([0,0,0]) and node 2 ([0 0.1 0]), with one end of the wrench attached to node 2 (which coincides with the position of the coordinate system in SolidWorks). Furthermore, | + | For this example a single leafsprings is simulated between node 1 ([0,0,0]) and node 2 ([0 0.1 0]), with one end of the wrench attached to node 2 (which coincides with the position of the coordinate system in SolidWorks). Furthermore, |
- | ** Check the full syntax list for the correct use of '' | + | ** Check the full syntax list for the correct use of '' |
- | $$ \begin{bmatrix} | + | $$ \begin{bmatrix} |
- | + | while '' | |
- | '' | + | |
A visualization of the first two vibration modes of this system is provided below. In order to provide a clearer image of this system, the CAD file of the wrench is included in the visualization. The visualization of CAD files in Spacar is outside of the scope of this example and therefore not detailed. This example only treats the dynamic behavior of the wrench. The MATLAB code of this example is provided at the end of this page. | A visualization of the first two vibration modes of this system is provided below. In order to provide a clearer image of this system, the CAD file of the wrench is included in the visualization. The visualization of CAD files in Spacar is outside of the scope of this example and therefore not detailed. This example only treats the dynamic behavior of the wrench. The MATLAB code of this example is provided at the end of this page. | ||
Line 71: | Line 70: | ||
%node 1 | %node 1 | ||
nprops(1).fix | nprops(1).fix | ||
- | nprops(3).mass | + | nprops(3).mass |
- | nprops(3).mominertia | + | nprops(3).mominertia |
%% ELEMENT PROPERTIES | %% ELEMENT PROPERTIES | ||
Line 84: | Line 83: | ||
eprops(1).orien | eprops(1).orien | ||
eprops(1).nbeams | eprops(1).nbeams | ||
- | eprops(1).flex | + | eprops(1).flex |
eprops(1).color | eprops(1).color | ||
eprops(1).opacity | eprops(1).opacity | ||
Line 94: | Line 93: | ||
%% SIMULATION | %% SIMULATION | ||
- | out1 = spacarlight(nodes, | + | out = spacarlight(nodes, |
</ | </ | ||