User Tools

Site Tools


accounting_for_inertia

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
accounting_for_inertia [2018/06/13 16:52]
marijn.nijenhuis
accounting_for_inertia [2018/06/14 09:44] (current)
mark.naves [Adding mass and inertia properties to Spacar]
Line 42: Line 42:
 ** Check the full syntax list for the correct use of ''​nprops(i).mominertia''​ because the definition differs from the numbers that SolidWorks returns**. The Mass Properties window in SolidWorks returns the components ** Check the full syntax list for the correct use of ''​nprops(i).mominertia''​ because the definition differs from the numbers that SolidWorks returns**. The Mass Properties window in SolidWorks returns the components
 $$ \begin{bmatrix} I_{xx} & -I_{xy} & -I_{xz} \\ -I_{xy} & I_{yy} & -I_{yz} \\ -I_{xz} & -I_{yz} & I_{zz} \end{bmatrix} $$ $$ \begin{bmatrix} I_{xx} & -I_{xy} & -I_{xz} \\ -I_{xy} & I_{yy} & -I_{yz} \\ -I_{xz} & -I_{yz} & I_{zz} \end{bmatrix} $$
-while ''​nprops(i).mominertia''​ in SPACAR Light consists of the vector that contains the actual tensor components, so ''​[Ixx Ixy Ixz Iyy Iyz Izz]''​ in kgm<​sup>​2</​sup>​. In other words, the diagonal components (''​Ixx'',​ ''​Iyy''​ and ''​Izz''​) can be used directly, but the sign of the off-diagonal terms (''​Ixy'',​ ''​Ixz''​ and ''​Iyz''​) needs to be flipped.+while ''​nprops(i).mominertia''​ in SPACAR Light requires ​the vector that contains the actual tensor components, so ''​[Ixx Ixy Ixz Iyy Iyz Izz]''​ in kgm<​sup>​2</​sup>​. In other words, the diagonal components (''​Ixx'',​ ''​Iyy''​ and ''​Izz''​) can be used directly, but the sign of the off-diagonal terms (''​Ixy'',​ ''​Ixz''​ and ''​Iyz''​) needs to be flipped.
  
 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 70: Line 70:
 %node 1 %node 1
 nprops(1).fix ​               = true;         %Fix node 1 nprops(1).fix ​               = true;         %Fix node 1
-nprops(3).mass ​              = 0.074; ​       %0.74Kg at the center of mass +nprops(3).mass ​              = 0.074; ​       %0.074 kg at the center of mass 
-nprops(3).mominertia ​        = [ 0.00000398 0.00000252 0.0000000 0.00013376 0.00000000 0.00013739];​ %Inertia at the center of mass+nprops(3).mominertia ​        = [0.00000398 0.00000252 0.0000000 0.00013376 0.00000000 0.00013739];​ %Inertia at the center of mass
  
 %% ELEMENT PROPERTIES %% ELEMENT PROPERTIES
Line 93: Line 93:
  
 %% SIMULATION %% SIMULATION
-out1 = spacarlight(nodes,​ elements, nprops, eprops);+out = spacarlight(nodes,​ elements, nprops, eprops);
 </​code>​ </​code>​
  
    
accounting_for_inertia.1528901568.txt.gz · Last modified: 2018/06/13 16:52 by marijn.nijenhuis