This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
rotationaxis [2020/06/05 17:52] marijn.nijenhuis |
rotationaxis [2020/06/05 18:14] (current) marijn.nijenhuis |
||
---|---|---|---|
Line 7: | Line 7: | ||
When analyzing the eigenmodes of a system, some modes may show significant motion of rigid bodies. Other modes may show mostly flexible deformation, | When analyzing the eigenmodes of a system, some modes may show significant motion of rigid bodies. Other modes may show mostly flexible deformation, | ||
- | [{{:: | + | [{{:: |
- | [{{:: | + | [{{:: |
- | For the interpretation of the rigid body motion in an eigenmode, it can be helpful to visualize the effective axis of rotation. This can be done in a post-processing step, following a SPACAR Light simulation, using standard MATLAB plotting commands and a custom script: {{ : | + | For the interpretation of the rigid body motion in an eigenmode, it can be helpful to visualize the effective axis of rotation. This can be done in a post-processing step, following a SPACAR Light simulation, using standard MATLAB plotting commands and a custom script: {{ : |
- | In the MATLAB | + | In the main model script, after '' |
<code matlab> | <code matlab> | ||
Line 45: | Line 45: | ||
</ | </ | ||
- | Here, we're using the standard MATLAB plotting command '' | + | Here, we're using the standard MATLAB plotting command '' |
- | The results for two eigenmodes are shown in the figures below. Node 3 was used, which is one of the nodes connected to the dark blue rigid body stage of the cross-hinge mechanism. | + | The results for two eigenmodes are shown in the figures below. Node 3 was used, which is one of the nodes connected to the dark blue rigid body stage of the cross-hinge mechanism, and indicated by the black dot. |
[{{:: | [{{:: | ||
Line 54: | Line 54: | ||
A few remarks: | A few remarks: | ||
- | * This visualization code is rather crude, in the sense that it's a direct overlay on top of the Spavisual window. We're just computing the coordinates of a line and inserting it into an existing figure. There is no interaction with the Spavisual buttons. | + | * This visualization code is rather crude, in the sense that it's a direct overlay on top of the Spavisual window. We're just computing the coordinates of a line and inserting it into an existing figure. There is no interaction with the Spavisual buttons. |
- | * If the specified node does not actually rotate in the specified eigenmode, there is no rotation and there will be no effective axis. Calls to '' | + | * If the specified node does not actually rotate in the specified eigenmode, there is no rotation and there will be no effective axis. Calls to '' |
- | * There may be a translation along the rotation | + | * Simulation results in general |
- | * Timestep | + | * It is possible that the motion of a rigid body consists of //both// a rotation about an effective axis //and// a simultaneous |
+ | |||
<code matlab rotaxis_example.m> | <code matlab rotaxis_example.m> |