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:49] marijn.nijenhuis |
rotationaxis [2020/06/05 18:14] (current) marijn.nijenhuis |
||
---|---|---|---|
Line 3: | Line 3: | ||
===== Example: Visualizing the effective rotation axis of a rigid body in an eigenmode ===== | ===== Example: Visualizing the effective rotation axis of a rigid body in an eigenmode ===== | ||
- | When a rigid body is rotating, there will be an effective axis around which that rotation is taking place. This axis may pass through the rigid body, but it could also be located entirely outside the body. | + | When a rigid body is rotating, there is an effective axis around which that rotation is taking place. This axis may pass through the rigid body, but it could also be located entirely outside the body. |
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. |
[{{:: | [{{:: | ||
[{{:: | [{{:: | ||
+ | |||
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; be aware that the eigenmode you're viewing Spavisual | + | * 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. So, make sure that the eigenmode you're viewing |
- | * If the specified node does not rotate in the specified eigenmode, there is no rotation and there will be no axis. Calls to '' | + | * If the specified node does not actually |
- | * 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 // |
+ | |||
<code matlab rotaxis_example.m> | <code matlab rotaxis_example.m> |