User Tools

Site Tools


optimization

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
optimization [2018/09/19 09:46]
mark.naves
optimization [2022/01/12 13:41] (current)
jan.dejong
Line 60: Line 60:
 eprops(1).orien    = [0 0 1];          %Orientation of the cross-section as a vector pointing along "width-direction" eprops(1).orien    = [0 0 1];          %Orientation of the cross-section as a vector pointing along "width-direction"
 eprops(1).nbeams   = 2;                %Number of beams used to model this element  eprops(1).nbeams   = 2;                %Number of beams used to model this element 
-eprops(1).flex     = 1:6;            %Model out-of-plane bending (modes 3 and 4) as flexible+eprops(1).flex     = 1:6;              %Consider all deformation modes (1 to 6) as flexible
 eprops(1).color    = 'grey';           %Color eprops(1).color    = 'grey';           %Color
 eprops(1).opacity  = 0.7;              %Opacity eprops(1).opacity  = 0.7;              %Opacity
Line 106: Line 106:
  
 %starting point %starting point
-x0 = [0.1 0.1 50e-3 0.2e-3]';+x0 = [0.1;  0.1;  50e-30.2e-3];
  
 %constraints %constraints
-= [diag([1 1 1 1])diag([--1 -1 -1])]; +b1 = [0.050.05; 25e-3; 0.1e-3];   % Lower bound (b1 < x) 
-= [0.2 0.2 75e-3 1e-3 0.05 0.05 25e-3 0.1e-3]';+b2 = [0.2;  0.2;  75e-31e-3  ];       % Upper bound (x < b2) 
 + 
 +A = [-eye(4); eye(4)]; 
 +b = [-b1;b2];
  
 %optimization %optimization
optimization.1537343208.txt.gz · Last modified: 2018/09/19 09:46 by mark.naves