Create the mass response, which is defined for the total volume of the
model.
In the responses= field, enter Mass.
Below response type, select mass.
Set regional selection to total and
no regionid.
Click create.
Create the displacement response.
In the response= field, enter Disp.
Below response type, select static
displacement.
Using the nodes selector, select the response node.
Set the displacement type to dof2.
dof1, dof2, dof3
Translation in the X, Y, and Z directions.
dof4, dof5, dof6
Rotation about the X, Y, and Z axes.
total disp
Resultant of the translational displacements in x, y, and z
directions.
total rotation
Resultant of the rotational displacements in x, y, and z
directions.
Click create.
図 5.
Click return to go back to the Optimization panel.
Define the Objective Function
Click the objective panel.
Verify that min is selected.
Click response and select mass.
Click create.
Click return twice to exit the Optimization panel.
Create Design Constraints
Click the dconstraints panel.
In the constraint= field, enter constr.
Click response = and select Disp.
Check the box next to lower bound, then enter
-2.0.
Using the loadsteps selector, select load.
Click create.
Click return to go back to the Optimization panel.
データベースの保存
menu barでFile > Save As > Modelをクリックします。
Save Asダイアログでファイル名欄にlbeamshape_opt.hmと入力し、自身の作業ディレクトリに保存します。
Run the Optimization
From the Analysis page, click OptiStruct.
Click save as.
In the Save As dialog, specify location to write the
OptiStruct model file and enter
lbeamshape_opt for filename.
For OptiStruct input decks,
.fem is the recommended extension.
Click Save.
The input file field displays the filename and location specified in the
Save As dialog.
Set the export options toggle to all.
Set the run options toggle to optimization.
Set the memory options toggle to memory default.
Click OptiStruct to run the optimization.
The following message appears in the window at the completion of the
job:
OPTIMIZATION HAS CONVERGED.
FEASIBLE DESIGN (ALL CONSTRAINTS SATISFIED).
OptiStruct also reports error messages if any exist. The
file lbeamshape_opt.out can be opened in a
text editor to find details regarding any errors. This file is written to the
same directory as the .fem file.