Professional Documents
Culture Documents
Shape Optimization
Presenting the material in a contained and precise fashion will allow the user to learn
effectively, reducing the time and effort spent and ultimately improving the learning
experience. This is the first module on structural analysis and covers a static structural
study in FEM. It goes through all of the steps necessary to successfully complete an
analysis, including geometry creation, material selection, boundary condition
specification, meshing, solution, and validation. These steps are first covered
conceptually and then worked through directly as they are applied to an example
problem.
Estimated learning time for this LM is equivalent to three 50-minute lectures, or one
week of study time for a 3 credit hour course.
1
1. Learning Objectives
The objective of this module is to introduce the user to the process of Shape Optimization
using FEM. Upon completion of the module, the user should have a good understanding
of the necessary logical steps of a Shape Optimization simulation, and be able to perform
the following tasks:
Optimization
Key concepts in optimization
Objective
Design variables
State variables
Constraints
DVs versus SVs
A simple example: optimization of a rod
Basic and feasible design space
Feasible design space
Evaluation space
2. Prerequisites
In order to complete the learning module successfully, the following prerequisites are
required:
By subject area:
o Optimization basics.
o Mechanics of Materials or Elasticity
By topic:
knowledge of
o Optimization
o Design Variables
2
o State variables
o constraints
o feasible design
o displacement
o strain
o stress
o von Mises stress
o Saint Venant’s principle
o tension, bending, or torsion loading mode
A good tutorial problem should focus on the logical steps in FEM modeling and
demonstrate as many aspects of the FEM software as possible. It should also be simple in
mechanics with an analytical solution available for validation. Three tutorial problems are
covered in this learning module.
Tutorial Problem 1
A rectangular alloy steel plate has one of its ends fixed to the wall. The plate has a
width w = 5 mm and a height h = 30 mm. The length of the plate is l = 100 mm. A
load of 65 KN acts horizontally on the other end of the plate as shown in the figure.
Find the optimal dimensions of the plate using Shape optimization.
3
Tutorial Problem 2
A rectangular alloy steel plate with a hole at its center has one of its ends fixed to the
wall. The plate has a width w = 5 mm and a height h = 50 mm. The hole dimensions
are shown in the below figure. The length of the plate is l = 100 mm. A tensile load of
46 KN magnitude acts horizontally on the other end of the plate. Find the optimal
dimensions of the plate using Shape optimization.
Figure 2. A rectangular plate with a hole at its center, rigidly fixed on one end and
loaded on the other end
4
Tutorial Problem 3
A rectangular alloy steel plate with a hole at its center has one of its ends fixed to the
wall. The plate has a width w = 5 mm and a height h = 50 mm. The hole dimensions
are shown in the below figure. The length of the plate is l = 100 mm. A tensile load of
46 KN magnitude acts horizontally on the other end of the plate. Find the optimal
dimensions of the plate using Shape optimization.
Figure 3. A rectangular plate with a hole at its center rigidly fixed at one end and
subjected to bending forces on the other end
5
Pre-test:
The pre-test should be taken before taking other sections of the module. The purpose of
the pre-test is to assess the user's prior knowledge in subject areas relevant to shape
optimization such as Mechanics of Materials and optimization techniques. Questions are
focused towards fundamental concepts including stress, strain, displacement, kinematic
relationship, constitutive relationship, equilibrium, and material properties, design
variables, static variables, constraints, feasible design space, evaluation space.
1. The internal force per unit area acting inside a body when forces are applied to the
body is called
O Stress
O Strain
O Displacement
O Reaction
O Maximization of Volume
O Minimization of Volume
O Minimizing mass
O All of the above
O True
O False
O State Variables
O Design Variables
O Goals
O None of the above
O Tensile stress
O Compressive stress
O Both tensile and compressive stress
O Shear stress
6
6. When the structure is made of same material, which of the following is true?
7. For a bar of uniform cross-section under axial loading in x direction, the shape can
be optimized by considering the following constraints.
8. For a bar of uniform cross-section under axial loading in x direction, the Young’s
modulus is equal to
7
Conceptual Analysis of Shape Optimization:
Conceptual analysis for a Shape Optimization problem using finite element analysis
reveals that the following logical steps and sub-steps are needed:
1. Preprocessing
Geometry creation
Material property assignment
Boundary conditions and loading
Mesh generation
2. Solution
3. Postprocessing
4. Validation
Optimization Study:
1. Preprocessing
Objective
Design variables
Constraints on state variables
2. Solution iterations
1. Pre-processing
The geometry of the structure to be analyzed is defined in the geometry creation step.
After the solid geometry is created, the material properties of the solid are specified in the
material property assignment step. The material required for the FEM analysis depends
on the type of analysis. For example, in the elastic deformation analysis of an isotropic
material under isothermal condition, only the modulus of elasticity and the Poisson’s
ratio are needed.
For most novice users of FEM, the boundary condition specification step is probably the
most challenging of all pre-processing steps. Two types of boundary conditions are
possible. The first is prescribed displacement boundary condition which is analogous to
8
holding or supporting the specimen in physical testing. The second is applied force
boundary condition which is analogous to loading the specimen. Several factors
contribute to the challenge of applying boundary conditions correctly:
Because of the above challenges, one learning module will be devoted to boundary
condition specification.
Mesh generation is the process of discretizing the body into finite elements and
assembling the discrete elements into an integral structure that approximates the original
body. Most FEM packages have their own default meshing parameters to mesh the model
and run the analysis while providing ways for the user to refine the mesh.
2. Solution
The solution is the process of solving the governing equations resulting from the
discretized FEM model. Although the mathematics for the solution process can be quite
involved, this step is transparent to the user and is usually as simple as clicking a solution
button or issuing the solution command.
3. Post-processing
The purpose of an FEM analysis is to obtain wanted results, and this is what the post-
processing step is for. Typically, various components or measures of stress, strain, and
displacement at any given location in the structure are available for putout. Additional
quantities for output may include factory of safety, energy norm error, contact pressure,
reaction force, strain energy density, etc. The way a quantity is outputted depends on the
FEM software.
9
Optimization Study:
1. Pre-processing
The objective of the optimization study is to get the optimized design for the given model
using the FEM package.
Select the desired optimization type (Minimize or Maximize), and the desired
objective from the dropdown menu (Mass, Volume, Frequency, Buckling)
In Response window, select the correct associated study
Select the sensor type like simulation data, mass type and all.
Select the appropriate type of sensor.
Under Bounds, do the following:
Select the desired Units
In the Lower Bound box, enter the lowest allowable value for the SV.
In the Upper Bound box, enter the highest allowable value for the SV.
Click OK.
To define goals:
Sensor for goal is to be selected from the list of the sensors for mass or volume
which is to be maximized or minimized.
10
Overview: In this section, three tutorial problems will be solved using the commercial
FEM software SolidWorks. Although the underlying principles and logical steps of an
FEM simulation identified in the Conceptual Analysis section are independent of any
particular FEM software, the realization of conceptual analysis steps will be software
dependent. The SolidWorks-specific steps are described in this section.
This is a step-by-step tutorial. However, it is designed such that those who are familiar
with the details in a particular step can skip it and go directly into the next step.
0. Launching SolidWorks
Roll over to
display
“File”,
“Tools” and
other menus
Check
“SolidWorks
Simulation” boxes
Figure 2: Location of the SolidWorks icon and
the boxes to be checked for adding it to the panel.
1. Pre-Processing
Purpose: The purpose of pre-processing is to create an FEM model for use in the next
step of the simulation, Solution. It consists of the following sub-steps:
Geometry creation
Material property assignment
Boundary condition specification
Mesh generation.
12
The SolidWorks model tree will appear with the given part name at the top. Above the
model tree, there should be various tabs labeled “Features”, “Sketch”, etc. If the
“Simulation” tab is not visible, go back to steps 1 and 2 to enable the SolidWorks
Simulation package.
13
Figure 4: The “Material” window.
This will apply one material to all components. If the part is made of several components
with different materials, open the model tree and apply this process to individual
components.
In the Boundary Condition Specification sub-step, the restraints and loads on the part are
defined. Here, the face of the beam attached to the wall needs to be restrained, and the
force in the proper direction needs to be applied on the other end of the beam.
As the cursor traverses the image of the model, notice a small icon accompany the cursor,
and this icon change shapes when the cursor is at different locations. This indicates that
the SolidWorks is in graphical selection mode, and different shapes indicate different
identities would be selected: a square (icon) indicates the surface underneath the cursor
will be selected if the mouse is clicked, a line (icon) for an edge or a line, and a dot (icon)
for a point. In this tutorial problem, the entire end surface is restrained.
14
Figure 5: Applying an immovable restraint to the beam.
At the initial orientation, however, the end to be restrained is not visible, and could not be
selected. The model should be rotated to make the fixed end visible. To rotate the model
either hold down the scroll bar and rotate with the mouse or change the orientation by
clicking on the “View Orientation” icon in the top middle area of the workspace.
Once the desired face is visible, select the face on which to apply the restraint. Note that
in the display panel, within the second box in the “Type” panel, “Face<1>” appears,
indicating that one surface is being selected. Clicking on this face in the graphics panel
would deselect the face.
The next step is to load the beam with the applied force. The total force applied is 65000
N in the direction as shown in the figure 6.
15
Figure 6: Applying the tensile force.
o Right click on “External Loads” in the model tree and select “Force”.
o Under the “Force/Torque” tab, click the “Faces, Edges, Vertices, Reference
Points for Force” input field box to activate it, if not already active.
o Click on the face on which the force is applied in the graphics window. Make
sure the face is highlighted (turns blue) and appears in the input field box.
o Use SI units and type in a force of 65000 N.
o Check the “Reverse direction” box if the force is pointing in the wrong
direction, as shown in Figure 6.
o Click “OK” to close the menu.
Purpose: The purpose of the Mesh Generation sub-step is to discretize the part into
elements. The mesh consists of a network of these elements.
16
Figure 7: A completed mesh.
“Mesh Control” in SolidWorks may be used to refine the mesh locally. The guiding
principle is to refine mesh at locations of high stress gradient, such as regions around
stress concentrators and locations of geometric changes. For the current problem, local
mesh refinement is not pursued.
2. Solution
Purpose: The Solution is the step where the computer solves the simulation problem and
generates results for use in the Post-Processing step.
3. Post-Processing
Purpose: The purpose of the Post-Processing step is to process the results of interest. For
this problem, the von Mises stress and the displacement is of interest.
17
Figure 8: The von Mises stress plot.
18
Optimization Study:
1. Right-click the Static study tab and select Create New Design Study.
2. Right-click the Design Study tab and select Rename. Rename the study as
Designstudy1.
3. On the MinVolume tab, click Design Study Options .
4. In the PropertyManager, under Design Study Quality, select High quality
(slower).
Figure 11: Design study window showing various variables and constraints.
19
The program finds the optimal solution using many iterations with a Box-
Behnken design and displays the initial scenario, optimal scenario, and all
iterations. For more information about the quality of the study, see SolidWorks
Simulation Help: Properties for the Optimization Design Study.
5. Click Ok.
1. On the Variable View tab of the Designstudy1 study tab, in the Variables
section, select Add Parameter. The Add Parameters dialog box appears.
20
To define the variables:
We define the three parameters named DV1, DV2, and DV3 as the variables.
1. On the Variable View tab of the Designstudy1 study tab, under Variables, select
DV1 (D11@Sketch1 in the sketch) from the list.
32
21
3. For Min, type 25mm and for Max, type 35mm.
Figure 15: Defining the Minimum and Maximum values for DV.
The program varies the model dimension between 25mm and 35mm to find the
optimal value for the variable.
4. Repeat steps 1-3 to add the parameter named DV2 (D12@Sketch1 in the
sketch) as a variable. Use 95 as minimum and 105 as maximum values for
DV2.
5. Repeat steps 1-3 to add the parameter named DV3 (D13@Sketch1 in the
sketch) as a variable. Enter 4 and 6 for Min and Max, respectively.
Figure 16: Defining the Minimum and Maximum values for all DV’s.
We need to define sensors to use them as constraints in a Design Study. The Design
Study runs the corresponding initial Simulation study to update a sensor's value. For
example, it runs the frequency study to track the resonant frequency values.
You define a sensor to track the value of the von Mises stress.
1. On the Variable View tab of the Designstudy1 study tab, in the Constraints
section, select Add Sensor.
2. In the Property Manager, for Sensor Type, select Simulation Data.
3. Under Data Quantity, for Results, select Stress.
4. For component, select VON: von Mises Stress.
5. Under Properties, for Units, select N/mm^2 (MPa) or Psi.
6. For Criterion, select Model Max and click OK.
7. In the Feature Manager Design tree, under Sensors, rename the sensor as Stress1.
22
Figure 17: Defining the sensors for constraints.
We impose a constraint on the maximum von Mises stress that it should not exceed a
value of 620.4 MPa or 89981 Psi. You can use any sensor or driven global variable to
define constraints for an Optimization Design Study. For more information about
defining sensors as constraints in a Design Study see SolidWorks Simulation Help:
Defining Constraints.
Figure 18: Defining the Minimum and Maximum values of sensors for
constraints.
1. On the Designstudy1 Design Study tab, in the Constraints section, make sure
Stress 1 is selected.
23
3. For Max, type 620.4 N/mm^2.
The program automatically selects the Staticstudy study to run and track the
sensor's value since only one static study is defined.
1. On the Designstudy1 Design Study tab, in the Constraints section, from the list,
select URES.
The sensor appears in the Constraints section. This pre-defined sensor tracks
the value of resultant displacement.
The program automatically selects the Staticstudy study to run and track the
sensor's value.
Defining a goal:
The objective of this Optimization Design Study is to minimize the volume of the part.
1. On the Designstudy1 Design Study tab, in the Goals section, from the list, select
the Volume1 sensor.
2. The sensor appears in the Goals section.
3. For Volume1, select Minimize.
4. On the Designstudy1 Design Study tab, select Run.
24
Figure 20: Figure showing the run command for iterations.
5. The program runs some iterations (excluding the initial and optimal scenarios)
since you defined a High quality study and three design variables. After running
the experiments, the program calculates the optimal design variables by forming a
response function relating the goal to the variables.
1. Review the Initial column. The column is highlighted in red because the constraints
on von Mises stress and displacement are violated.
2. Review the Optimal column. The column is highlighted in green because
optimization was performed successfully.
25
Figure 22: Figure showing the iterations.
The program updates the model with the optimal dimensions in the graphics window.
Figure 23: Figure showing the updated models with optimal values.
Study Results
15 of 15 iterations ran successfully.
26
Displacement1 mm 0.19697 0.20565 0.19697 0.18508 0.1674
Volume1 mm^3 14151.0696 15000 14151.0696 18375 16625
27
Tutorial Problem 2. A rectangular plate with a hole subjected to tensile loading
3. Launching SolidWorks
Roll over to
display
“File”,
“Tools” and
other menus
28
Check
“SolidWorks
Simulation” boxes
Figure 2: Location of the SolidWorks icon and
the boxes to be checked for adding it to the panel.
1. Pre-Processing
Purpose: The purpose of pre-processing is to create an FEM model for use in the next
step of the simulation, Solution. It consists of the following sub-steps:
Geometry creation
Material property assignment
Boundary condition specification
Mesh generation.
The SolidWorks model tree will appear with the given part name at the top. Above the
model tree, there should be various tabs labeled “Features”, “Sketch”, etc. If the
“Simulation” tab is not visible, go back to steps 1 and 2 to enable the SolidWorks
Simulation package.
29
o Click on the drop down arrow under “Study” and select “New Study” as in
Figure 3
o In the “Name” panel, give the study the name “Static Study”
o Select “Static” in the “Type” panel to study the static equilibrium of the part
under the load
o Click “OK” to accept and close the menu
30
Figure 4: The “Material” window.
This will apply one material to all components. If the part is made of several components
with different materials, open the model tree and apply this process to individual
components.
In the Boundary Condition Specification sub-step, the restraints and loads on the part are
defined. Here, the face of the beam attached to the wall needs to be restrained, and the
force in the proper direction needs to be applied on the other end of the beam.
As the cursor traverses the image of the model, notice a small icon accompany the cursor,
and this icon change shapes when the cursor is at different locations. This indicates that
the SolidWorks is in graphical selection mode, and different shapes indicate different
identities would be selected: a square (icon) indicates the surface underneath the cursor
will be selected if the mouse is clicked, a line (icon) for an edge or a line, and a dot (icon)
for a point. In this tutorial problem, the entire end surface is restrained.
31
Figure 5: Applying an immovable restraint to the beam.
At the initial orientation, however, the end to be restrained is not visible, and could not be
selected. The model should be rotated to make the fixed end visible. To rotate the model
either hold down the scroll bar and rotate with the mouse or change the orientation by
clicking on the “View Orientation” icon in the top middle area of the workspace.
Once the desired face is visible, select the face on which to apply the restraint. Note that
in the display panel, within the second box in the “Type” panel, “Face<1>” appears,
indicating that one surface is being selected. Clicking on this face in the graphics panel
would deselect the face.
The next step is to load the beam with the applied force. The total force applied is 46000
N in the direction as shown in the figure 6.
32
Figure 6: Applying the tensile force.
o Right click on “External Loads” in the model tree and select “Force”.
o Under the “Force/Torque” tab, click the “Faces, Edges, Vertices, Reference
Points for Force” input field box to activate it, if not already active.
o Click on the face on which the force is applied in the graphics window. Make
sure the face is highlighted (turns blue) and appears in the input field box.
o Use SI units and type in a force of 46000 N.
o Check the “Reverse direction” box if the force is pointing in the wrong
direction, as shown in Figure 6.
o Click “OK” to close the menu.
Purpose: The purpose of the Mesh Generation sub-step is to discretize the part into
elements. The mesh consists of a network of these elements.
33
o Click “OK” to close the menu and generate the mesh.
“Mesh Control” in SolidWorks may be used to refine the mesh locally. The guiding
principle is to refine mesh at locations of high stress gradient, such as regions around
stress concentrators and locations of geometric changes. For the current problem, local
mesh refinement is not pursued.
2. Solution
Purpose: The Solution is the step where the computer solves the simulation problem and
generates results for use in the Post-Processing step.
3. Post-Processing
Purpose: The purpose of the Post-Processing step is to process the results of interest. For
this problem, the von Mises stress and the displacement is of interest.
34
o Right click “Results” on the model tree and select “Define Stress Plot”
o Select “von Mises” as the stress type and “Mpa” as the unit
o Unclick the “Deformed Shape” box and click “OK” to close the menu
35
Optimization Study:
1. Right-click the Static study tab and select Create New Design Study.
2. Right-click the Design Study tab and select Rename. Rename the study as
Designstudy1.
3. On the MinVolume tab, click Design Study Options .
4. In the PropertyManager, under Design Study Quality, select High quality
(slower).
The program finds the optimal solution using many iterations with a Box-
Behnken design and displays the initial scenario, optimal scenario, and all
iterations. For more information about the quality of the study, see SolidWorks
Simulation Help: Properties for the Optimization Design Study.
5. Click Ok.
6. On the Variable View tab of the Designstudy1 study tab, in the Variables
section, select Add Parameter. The Add Parameters dialog box appears.
36
Figure 11: Defining Design Variables.
We define the three parameters named DV1, DV2, and DV3 as the variables.
1. On the Variable View tab of the Designstudy1 study tab, under Variables, select
DV1 (D11@Sketch1 in the sketch) from the list.
37
3. The program defines the parameter as a continuous variable for optimization. A
continuous variable is one which can take any value between the limits. For
example, 14.1567mm is a valid value between a minimum value of 45mm and a
maximum value of 55mm.
4. The program varies the model dimension between 25mm and 35mm to find the
optimal value for the variable.
5. Repeat steps 1-3 to add the parameter named DV2 through DV6.
Figure 13: Defining the Minimum and Maximum values for all DV’s.
We need to define sensors to use them as constraints in a Design Study. The Design
Study runs the corresponding initial Simulation study to update a sensor's value. For
example, it runs the frequency study to track the resonant frequency values.
1. On the Variable View tab of the Designstudy1 study tab, in the Constraints
section, select Add Sensor.
2. In the Property Manager, for Sensor Type, select Simulation Data.
3. Under Data Quantity, for Results, select Stress.
4. For component, select VON: von Mises Stress.
5. Under Properties, for Units, select N/mm^2 (MPa) or Psi.
6. For Criterion, select Model Max and click OK.
7. In the Feature Manager Design tree, under Sensors, rename the sensor as Stress1.
8. Similarly the sensor Displacement1 is also defined as like in the tutorial1.
We impose a constraint on the maximum von Mises stress that it should not exceed a
value of 620.4 MPa or 89981 Psi. You can use any sensor or driven global variable to
define constraints for an Optimization Design Study. For more information about
defining sensors as constraints in a Design Study see SolidWorks Simulation Help:
38
Defining Constraints:
1. On the Designstudy1 Design Study tab, in the Constraints section, make sure
Stress 1 is selected.
The program automatically selects the Staticstudy study to run and track the
sensor's value since only one static study is defined.
1. On the Designstudy1 Design Study tab, in the Constraints section, from the list,
select URES.
The sensor appears in the Constraints section. This pre-defined sensor tracks
the value of resultant displacement.
The program automatically selects the Staticstudy study to run and track the
sensor's value.
Defining a goal:
The objective of this Optimization Design Study is to minimize the volume of the part.
39
1. On the Designstudy1 Design Study tab, in the Goals section, from the list, select
the Volume1 sensor.
2. The sensor appears in the Goals section.
3. For Volume1, select Minimize.
4. On the Designstudy1 Design Study tab, select Run.
5. The program runs some iterations (excluding the initial and optimal scenarios)
since you defined a High quality study and three design variables. After running
the experiments, the program calculates the optimal design variables by forming a
response function relating the goal to the variables.
40
Viewing the Results:
1. Review the Initial column. The column is highlighted in red because the constraints
on von Mises stress and displacement are violated.
2. Review the Optimal column. The column is highlighted in green because
optimization was performed successfully.
The program updates the model with the optimal dimensions in the graphics window.
Figure 19: Figure showing the updated models with optimal values.
41
Study Results
51 of 51 iterations ran successfully.
42
DV3 mm 40 60 40 60 60
DV4 mm 25 25 25 25 30
DV5 mm 7 7 7 3 5
DV6 mm 15 15 15 15 20
Displacement1 mm 0.06467 0.06347 0.07711 0.14821 0.12659
Stress1 N/mm^2 438.66 432.71 440.62 1024.2 795.98
(MPa)
Volume1 mm^3 30262.99789 30262.99789 37262.99789 12969.85624 23429.20367
43
name
DV1 mm 50 50 50 50 50
DV2 mm 110 110 110 90 90
DV3 mm 50 50 50 50 50
DV4 mm 25 25 25 25 25
DV5 mm 7 7 3 3 3
DV6 mm 20 10 10 10 20
Displacement1 mm 0.08372 0.07168 0.16735 0.13827 0.16655
Stress1 N/mm^2 480.91 399.61 933.51 942.7 1159.1
(MPa)
Volume1 mm^3 36300.88514 37950.22129 16264.38055 13264.38055 12557.5222
44
Tutorial Problem 3. A rectangular plate with a hole subjected to bending loading
Launching SolidWorks
Roll over to
display
“File”,
“Tools” and
other menus
45
Check
“SolidWorks
Simulation” boxes
Figure 2: Location of the SolidWorks icon and
the boxes to be checked for adding it to the panel.
1. Pre-Processing
Purpose: The purpose of pre-processing is to create an FEM model for use in the next
step of the simulation, Solution. It consists of the following sub-steps:
Geometry creation
Material property assignment
Boundary condition specification
Mesh generation.
The SolidWorks model tree will appear with the given part name at the top. Above the
model tree, there should be various tabs labeled “Features”, “Sketch”, etc. If the
“Simulation” tab is not visible, go back to steps 1 and 2 to enable the SolidWorks
Simulation package.
46
o Click on the drop down arrow under “Study” and select “New Study” as in
Figure 3
o In the “Name” panel, give the study the name “Static Study”
o Select “Static” in the “Type” panel to study the static equilibrium of the part
under the load
o Click “OK” to accept and close the menu
47
Figure 4: The “Material” window.
This will apply one material to all components. If the part is made of several components
with different materials, open the model tree and apply this process to individual
components.
In the Boundary Condition Specification sub-step, the restraints and loads on the part are
defined. Here, the face of the beam attached to the wall needs to be restrained, and the
force in the proper direction needs to be applied on the other end of the beam.
As the cursor traverses the image of the model, notice a small icon accompany the cursor,
and this icon change shapes when the cursor is at different locations. This indicates that
the SolidWorks is in graphical selection mode, and different shapes indicate different
identities would be selected: a square (icon) indicates the surface underneath the cursor
will be selected if the mouse is clicked, a line (icon) for an edge or a line, and a dot (icon)
for a point. In this tutorial problem, the entire end surface is restrained.
48
Figure 5: Applying an immovable restraint to the beam.
At the initial orientation, however, the end to be restrained is not visible, and could not be
selected. The model should be rotated to make the fixed end visible. To rotate the model
either hold down the scroll bar and rotate with the mouse or change the orientation by
clicking on the “View Orientation” icon in the top middle area of the workspace.
Once the desired face is visible, select the face on which to apply the restraint. Note that
in the display panel, within the second box in the “Type” panel, “Face<1>” appears,
indicating that one surface is being selected. Clicking on this face in the graphics panel
would deselect the face.
The next step is to load the beam with the applied bending force. The total force applied
is 320 N in the direction as shown in the figure 6.
49
Figure 6: Applying the tensile force.
o Right click on “External Loads” in the model tree and select “Force”.
o Under the “Force/Torque” tab, click the “Faces, Edges, Vertices, Reference
Points for Force” input field box to activate it, if not already active.
o Click on the face on which the force is applied in the graphics window. Make
sure the face is highlighted (turns blue) and appears in the input field box.
o Use SI units and type in a force of 320 N.
o Check the “Reverse direction” box if the force is pointing in the wrong
direction, as shown in Figure 6.
o Click “OK” to close the menu.
Purpose: The purpose of the Mesh Generation sub-step is to discretize the part into
elements. The mesh consists of a network of these elements.
50
Figure 7: A completed mesh.
“Mesh Control” in SolidWorks may be used to refine the mesh locally. The guiding
principle is to refine mesh at locations of high stress gradient, such as regions around
stress concentrators and locations of geometric changes. For the current problem, local
mesh refinement is not pursued.
2. Solution
Purpose: The Solution is the step where the computer solves the simulation problem and
generates results for use in the Post-Processing step.
3. Post-Processing
Purpose: The purpose of the Post-Processing step is to process the results of interest. For
this problem, the von Mises stress and the displacement is of interest.
51
Figure 8: The von Mises stress plot.
Optimization Study:
52
To create an Optimization Design Study:
1. Right-click the Static study tab and select Create New Design Study.
2. Right-click the Design Study tab and select Rename. Rename the study as
Designstudy1.
3. On the Designstudy1 tab, click Design Study Options .
4. In the PropertyManager, under Design Study Quality, select High quality
(slower).
The program finds the optimal solution using many iterations with a Box-
Behnken design and displays the initial scenario, optimal scenario, and all
iterations. For more information about the quality of the study, see SolidWorks
Simulation Help: Properties for the Optimization Design Study.
5. Click Ok.
6. On the Variable View tab of the Designstudy1 study tab, in the Variables
section, select Add Parameter. The Add Parameters dialog box appears.
53
Figure 11: Defining Design Variables.
1. On the Variable View tab of the Designstudy1 study tab, under Variables, select
DV1 (D11@Sketch1 in the sketch) from the list.
54
3. The program defines the parameter as a continuous variable for optimization. A
continuous variable is one which can take any value between the limits. For
example, 14.1567mm is a valid value between a minimum value of 45mm and a
maximum value of 55mm.
4. The program varies the model dimension between 25mm and 35mm to find the
optimal value for the variable.
5. Repeat steps 1-3 to add the parameter named DV2 through DV6.
Figure 13: Defining the Minimum and Maximum values for all DV’s.
We need to define sensors to use them as constraints in a Design Study. The Design
Study runs the corresponding initial Simulation study to update a sensor's value. For
example, it runs the frequency study to track the resonant frequency values.We define a
sensor to track the value of the von Mises stress.
6. On the Variable View tab of the Designstudy1 study tab, in the Constraints
section, select Add Sensor.
7. In the Property Manager, for Sensor Type, select Simulation Data.
8. Under Data Quantity, for Results, select Stress.
9. For component, select VON: von Mises Stress.
10. Under Properties, for Units, select N/mm^2 (MPa) or Psi.
11. For Criterion, select Model Max and click OK.
12. In the Feature Manager Design tree, under Sensors, rename the sensor as Stress1.
13. Similarly the sensor Displacement1 is also defined as like in the tutorial1.
We impose a constraint on the maximum von Mises stress that it should not exceed a
value of 620.4 MPa or 89981 Psi. You can use any sensor or driven global variable to
define constraints for an Optimization Design Study. For more information about
defining sensors as constraints in a Design Study see SolidWorks Simulation Help:
Defining Constraints:
55
1. On the Designstudy1 Design Study tab, in the Constraints section, make sure
Stress 1 is selected.
The program automatically selects the Staticstudy study to run and track the
sensor's value since only one static study is defined.
4. On the Designstudy1 Design Study tab, in the Constraints section, from the list,
select URES.
The sensor appears in the Constraints section. This pre-defined sensor tracks
the value of resultant displacement.
The program automatically selects the Staticstudy study to run and track the
sensor's value.
Defining a goal:
The objective of this Optimization Design Study is to minimize the volume of the part.
1. On the Designstudy1 Design Study tab, in the Goals section, from the list, select
the Volume1 sensor.
2. The sensor appears in the Goals section.
3. For Volume1, select Minimize.
4. On the Designstudy1 Design Study tab, select Run.
56
Figure 16: Figure showing the run command for iterations.
5. The program runs some iterations (excluding the initial and optimal scenarios)
since you defined a High quality study and three design variables. After running
the experiments, the program calculates the optimal design variables by forming a
response function relating the goal to the variables.
1. Review the Initial column. The column is highlighted in red because the constraints
on von Mises stress and displacement are violated.
2. Review the Optimal column. The column is highlighted in green because
optimization was performed successfully.
The program updates the model with the optimal dimensions in the graphics window.
57
And we can plot the results into a word file or html file. And we can list all the iterations
as follows:
Figure 18: Figure showing the procedure to plot the results into a word file or html
file.
Study Results
27 of 27 iterations ran successfully.
58
name
DV1 mm 35 35 40 40 40
DV2 mm 350 250 300 300 300
DV3 mm 150 150 175 175 125
DV4 mm 15 15 20 10 20
Stress1 N/mm^2 1018.1 560.01 594.91 591.27 833.93
(MPa)
Displacement1 mm 59.87979 21.93951 33.39551 32.53606 34.44358
Volume1 mm^3 60366.42707 42866.42707 58429.20367 59607.30092 58429.20367
59
Attachment E. Post-test
1. The internal force per unit area acting inside the body when a force is applied on
the body is called:
O Stress
O Strain
O Displacement
O Other
5. Ranges and limits are set for which entity in an optimization study?
O goals
O Constraints
O both the above
O None of the above
O Tensile stress
O Compressive stress
O Both tensile and compressive stress
O Shear stress
O True
O False
60
O True
O False
10. The 2D space in which the horizontal dimension represents all feasible designs and
the vertical dimension represents the objective function is:
61
Attachment F. Assessment
Do you feel it was bad to not have a teacher there to answer any questions you
might have?
O It didn’t matter
O It would have been nice
O I really wanted to ask a question
O Improved it a lot
O Improved it some
O No difference
O Hurt it some
O Hurt it a lot
The six levels of Bloom’s Taxonomy are listed below. Rank how well this
learning module covers each level. 5 meaning exceptionally well and 1
meaning very poor.
2. Comprehension (the ability to grasp the meaning of the material and give
examples)
O 5
O 4
O 3
O 2
O 1
62
4. Analysis (the ability to break down material into its component parts so that
its organizational structure may be understood)
O 5
O 4
O 3
O 2
O 1
6. Evaluation (the ability to judge the value of the material for a given purpose)
O 5
O 4
O 3
O 2
O 1
Do you think the mixed text and video format works well?
O Yes
O Indifferent
O No
O Yes
O Indifferent
O No
Did you prefer this module over the traditional classroom learning
experience? Why or why not.
63
How accurate would it be to call this module self-contained and stand-alone?
O Very accurate
O Accurate
O Indifferent
O Inaccurate
O Very inaccurate
What specifically did you like and/or dislike about the module.
O Very helpful
O Helpful
O Indifferent
O Unhelpful
O Very unhelpful
Was there any part of the module that you felt was unnecessary of redundant?
Was there a need for any additional parts?
Overall, how would you rate your experience taking this module?
O Excellent
O Fair
O Average
O Poor
O Awful
64
Attachment G. Practice Problems
1. A rectangular alloy steel plate has one of its ends fixed to the wall. The plate has a
width w = 5 mm and a height h = 30 mm. The length of the plate is l = 150 mm. A
load of 26800 N force acts horizontally on the other end of the plate as shown in the
figure. Find the optimal dimensions of the plate ussssssing Shape optimization.
Problem 1
2. A cylindrical rod made up of alloy steel has one of its ends fixed to the wall. The rod
has a diameter d = 20 mm. The length of the rod is l = 200 mm. A bending load of
2550 N force acts vertically on the other end of the rod as shown in the figure. Find
the optimal dimensions of the rod using Shape optimization.
Problem 2
3. A cylindrical rod made up of alloy steel has one of its ends fixed to the wall. The rod
has an internal diameter d1 = 15 mm and an external diameter d2 = 20 mm. The length
65
of the rod is l = 200 mm. A tensile load of 80000 N force acts along the axis on the
other end of the rod as shown in the figure. Find the optimal dimensions of the rod
using Shape optimization.
Problem 3
4. Follow the tutorial 1 and reverse the direction of loading on the plate. Compare
the results obtained with the results obtained in tutorial 1. Explain the difference
in results if any.
66