3b
Model Definition
The model studies optimal material distribution in the beam, which consists of a linear
elastic material, structural steel. The dimensions of the beam region6 meters by 1
meter by 0.5 metersmeans a total weight of 23,550 kg. In the material, the stress
tensor is considered to be a function of Youngs modulus E and the artificial density,
. The structure is defined by
E ( x ) = ( x )E 0 ,
(1)
( x ) = ( x ) 0 ,
x ,
where (x) is 0 (no material) or 1 (material).
The beam is fixed at the bottom left and rests on a roller in the bottom right end. An
edge load affects the beam in the top middle part (Figure 1). The objective functional
for the optimization, which defines the criterion for optimality, is the total strain
energy in this model. Note that the strain energy exactly balances the work done by the
applied load, so minimizing the strain energy effectively minimizes the displacement
2013 COMSOL
1 |
TO P O L O G Y O P T I M I Z A T I O N O F A N M B B B E A M
induced at the points where load is applied, effectively minimizing the compliance of
the structure.
Load on boundary
Fixed boundary
Roller
E ( x ) = design ( x ) E 0 ,
(2)
where p is a penalty parameter. Penalty parameter values greater than 1 promote the
development of a binary structure. In this model, p is set to 5.
The control variable is design, which can be interpreted as a generalized material
density, is required to satisfy the following constraints:
0 design ( x ) d A,
(3)
0 design ( x ) 1,
where A is the area of the design domain (the entire beam geometry) times an area
fraction, which is set to 0.5.
2 |
TO P O L O G Y O P T I M I Z A T I O N O F A N M B B B E A M
2013 COMSOL
Results
The following plot shows the control variable distribution for the optimized solution.
The resultant design is an approximation of a truss structure.
Figure 2: A plot of the control variable design for the optimized solution.
2013 COMSOL
3 |
TO P O L O G Y O P T I M I Z A T I O N O F A N M B B B E A M
Modeling Instructions
MODEL WIZARD
Parameters
1 In the Model Builder window, right-click Global Definitions and choose Parameters.
2 In the Parameters settings window, locate the Parameters section.
3 In the table, enter the following settings:
Name
Expression
Description
F_load
50[kN/m]
Edge load
area_frac
0.5
Area fraction
reg_param
100
Regularization parameter
GEOMETRY 1
Rectangle 1
1 In the Model Builder window, under Model 1 right-click Geometry 1 and choose
Rectangle.
2 In the Rectangle settings window, locate the Size section.
3 In the Width edit field, type 6.
4 |
TO P O L O G Y O P T I M I Z A T I O N O F A N M B B B E A M
2013 COMSOL
Point 1
1 In the Model Builder window, right-click Geometry 1 and choose Point.
2 In the Point settings window, locate the Point section.
3 In the x edit field, type 0.05.
4 Click the Build Selected button.
Point 2
1 Right-click Geometry 1 and choose Point.
2 In the Point settings window, locate the Point section.
3 In the x edit field, type 2.95.
4 In the y edit field, type 1.
5 Click the Build Selected button.
Point 3
1 Right-click Geometry 1 and choose Point.
2 In the Point settings window, locate the Point section.
3 In the x edit field, type 3.05.
4 In the y edit field, type 1.
5 Click the Build Selected button.
Point 4
1 Right-click Geometry 1 and choose Point.
2 In the Point settings window, locate the Point section.
3 In the x edit field, type 5.95.
4 Click the Build Selected button.
DEFINITIONS
Integration 1
1 In the Model Builder window, under Model 1 right-click Definitions and choose Model
Couplings>Integration.
2 In the Integration settings window, locate the Source Selection section.
3 From the Selection list, choose All domains.
2013 COMSOL
5 |
TO P O L O G Y O P T I M I Z A T I O N O F A N M B B B E A M
MATERIALS
Material Browser
1 In the Model Builder window, under Model 1 right-click Materials and choose Open
Material Browser.
2 In the Material Browser settings window, In the tree, select Built-In>Structural steel.
3 Click Add Material to Model.
SOLID MECHANICS
section.
3 From the E list, choose User defined. In the associated edit field, type E_SIMP.
Boundary Load 1
1 In the Model Builder window, right-click Solid Mechanics and choose Boundary Load.
2 Select Boundary 5 only (the short middle segment of the top boundary).
3 In the Boundary Load settings window, locate the Force section.
4 From the Load type list, choose Load defined as force per unit length.
5 In the FL table, enter the following settings:
0
-F_load
Fixed Constraint 1
1 Right-click Solid Mechanics and choose Fixed Constraint.
2 Select Boundary 2 only (the left segment of the lower boundary).
Roller 1
1 Right-click Solid Mechanics and choose Roller.
2 Select Boundary 7 only (the right segment of the lower boundary).
6 |
TO P O L O G Y O P T I M I Z A T I O N O F A N M B B B E A M
2013 COMSOL
OPTIMIZATION
to make sure that the changes in the design variable can be sharp.
section.
3 From the Selection list, choose All domains.
4 Locate the Constraint section. In the Constraint expression edit field, type
rho_design.
The lower bound of the interval should be zero. However, this would cause the
stiffness matrix of the Solid Mechanics interface to become singular.
5 Locate the Bounds section. In the Lower bound edit field, type 1e-4.
6 In the Upper bound edit field, type 1.
section.
3 From the Selection list, choose All domains.
4 Locate the Constraint section. In the Constraint expression edit field, type
rho_design.
5 Locate the Bounds section. In the Upper bound edit field, type
area_designdomain*area_frac.
2013 COMSOL
7 |
TO P O L O G Y O P T I M I Z A T I O N O F A N M B B B E A M
Integral Objective 1
1 Right-click Optimization and choose Integral Objective.
2 In the Integral Objective settings window, locate the Domain Selection section.
3 From the Selection list, choose All domains.
4 Locate the Objective section. In the Objective expression edit field, type solid.Ws.
section.
3 From the Selection list, choose All domains.
4 Locate the Constraint section. In the Constraint expression edit field, type
d(rho_design,x)^2+d(rho_design,y)^2.
5 Locate the Bounds section. In the Upper bound edit field, type reg_param.
GLOBAL DEFINITIONS
Variables 1
1 In the Model Builder window, right-click Global Definitions and choose Variables.
2 In the Variables settings window, locate the Variables section.
3 In the table, enter the following settings:
Name
Expression
Description
E_SIMP
2e11[Pa]*
mod1.rho_design^p
Penalized Young's
modulus
area_designdomain
mod1.intop1(1)
MESH 1
8 |
TO P O L O G Y O P T I M I Z A T I O N O F A N M B B B E A M
2013 COMSOL
STUDY 1
Before starting the optimization process, it is generally recommended that you check
that the model is correctly set up and can be solved for the initial values of the control
variables.
1 In the Model Builder window, right-click Study 1 and choose Compute.
Optimization
1 Right-click Study 1 and choose Optimization.
2 In the Optimization settings window, locate the Optimization Solver section.
3 From the Method list, choose SNOPT.
4 Right-click Study 1 and choose Compute.
RESULTS
The default plots show the stress distribution in the optimized structure and the
control variable (Equation 2).
2013 COMSOL
9 |
TO P O L O G Y O P T I M I Z A T I O N O F A N M B B B E A M
10 |
TO P O L O G Y O P T I M I Z A T I O N O F A N M B B B E A M
2013 COMSOL