User Tools

Site Tools


walkthrough

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
walkthrough [2017/10/18 10:50]
marijn.nijenhuis [Node properties]
walkthrough [2017/10/18 10:51] (current)
marijn.nijenhuis [Element properties]
Line 67: Line 67:
 <code matlab> <code matlab>
 %% ELEMENT PROPERTIES %% ELEMENT PROPERTIES
- 
 %first element property set %first element property set
-eprops(1).elems = [1 3];        %assing property set 1 to element ​1 and 3+eprops(1).elems = [1 3];        %assing property set 1 to elements ​1 and 3
 eprops(1).emod = 210e9; ​        ​%E-modulus [Pa] eprops(1).emod = 210e9; ​        ​%E-modulus [Pa]
-eprops(1).smod = 70e9;          %G-modulus [Pa]+eprops(1).smod = 70e9;          %shear modulus [Pa]
 eprops(1).dens = 7800;          %density ​  ​[kg/​m^3] eprops(1).dens = 7800;          %density ​  ​[kg/​m^3]
-eprops(1).dim = [0.05 0.0005]; ​ %cross-sectional dimension ​[w t] in [m] +eprops(1).dim = [0.05 0.0005]; ​ %cross-sectional dimension ​(width and thickness, resp.) ​[m] 
-eprops(1).cshape = '​rect'; ​     %cross-sectional shape rectangular +eprops(1).cshape = '​rect'; ​     %rectangular ​cross-sectional shape  
-eprops(1).flex = [2 3 4];       %torsional ​(2) and out-of-plane bending (3,4) deformations are flexible+eprops(1).flex = [2 3 4];       %flexible deformations:​ torsion ​(2) and out-of-plane bending (3,4) 
 eprops(1).orien = [0 0 1];      %width-direction of leafspring oriented in z-direction eprops(1).orien = [0 0 1];      %width-direction of leafspring oriented in z-direction
-%eprops(1).nbeams ​2          ​%Leafspring simulated with 2 SPACAR beams (instead of 1) for increased accuracy+eprops(1).color [0.8549 ​   0.8588 ​   0.8667]; %color in rgb values between 0 and 1
 </​code>​ </​code>​
  
Line 85: Line 84:
 eprops(2).elems = [2];          %assing property set 2 to element 2 eprops(2).elems = [2];          %assing property set 2 to element 2
 eprops(2).dens = 2700;          %density ​  ​[kg/​m^3] eprops(2).dens = 2700;          %density ​  ​[kg/​m^3]
-eprops(2).dim = [0.05 0.025]; ​  ​%cross-sectional dimension ​[w t] in [m] +eprops(2).dim = [0.05 0.025]; ​  ​%cross-sectional dimension ​(width and thickness, resp.) ​[m] 
-eprops(2).cshape = '​rect'; ​     %cross-sectional shape rectangular+eprops(2).cshape = '​rect'; ​     %rectangular ​cross-sectional shape
 eprops(2).orien = [0 0 1];      %width-direction of leafspring oriented in z-direction eprops(2).orien = [0 0 1];      %width-direction of leafspring oriented in z-direction
 +eprops(2).color = [0.1686 ​   0.3922 ​   0.6627]; %color in rgb values between 0 and 1
 </​code>​ </​code>​
- 
  
 ====== Run simulation ====== ====== Run simulation ======
walkthrough.txt · Last modified: 2017/10/18 10:51 by marijn.nijenhuis