HS-4215: Multi-Disciplinary Design Optimization Study
Learn how to perform a multi-disciplinary design Optimization study. The disciplines used in this tutorial are structural performance and cost.
Structural performance is simulated using OptiStruct, and
Cost is simulated using Compose or Python. Optimization parameters
for both the simulations are identified in template files corresponding to each
input deck:
- tail.fem
- OptiStruct
- tail.oml
- Compose
- tail.py
- Python
It is assumed that the tail is cantilevered about its inboard section. Three loading
scenarios are considered; one where the tail experiences pressure loads of 0.25 psi
on the bottom skin, a second where the tail experiences a tip load of 400 lbs, and a
third where the tail experiences both the pressure load and tip load simultaneously.
The applied loading is represented in Figure 2.
Problem Formulation for this study is as follows:
- Input variables
- Glass fabric thickness at inboards; initial value = 0.1; lower bound = 0.01, upper bound = 2.0
- Objective
- Minimize the cost
- Design constraints
- Maximum displacement must be less than its baseline value of 31
Perform the Study Setup
-
Start a new study in the following ways:
- From the menu bar, click .
- On the ribbon, click .
- In the Add Study dialog, enter a study name, select a location for the study, and click OK.
- Go to the Define Models step.
-
Add a Parameterized File model.
-
Add a second Parameterized File model.
Note: If you are using Compose as part the suite, then HyperStudy should automatically point to the correct .bat file. If you have Compose as a separate installation, than during the Register Solver Script step you must point to Compose_batch.bat.
-
Click Import Variables.
Fourteen input variables are imported from the two .tpl resource files.
- Go to the Define Input Variables step.
- Review the input variable's lower and upper bound ranges.
-
Link input variables.
Perform Nominal Run
- Go to the Test Models step.
-
Click Run Definition.
An approaches/setup_1-def/ directory is created inside the study directory. The approaches/setup_1-def/run__00001/m_1 and approaches/setup_1-def/run__00001/m_2 sub-directories contain the tail.h3d (for maximum displacement) and cost.res (for cost) files, which are the result of the nominal run, and will be used in the optimization.
Create and Evaluate Output Responses
In this step you will create two output responses: MaxDisp and Cost.
- Go to the Define Output Responses step.
-
Create the MaxDisp output response.
-
Create the Cost output response.
- Click Evaluate to extract the response values.
Run Optimization
-
Add an Optimization.
- In the Explorer, right-click and select Add from the context menu.
- In the Add dialog, select Optimization.
- For Definition from, select Setup and click OK.
- Go to the step.
- Click the Objectives/Constraints - Goals tab.
-
Apply an objective on the Cost output response.
- Click Add Goal.
- In the Apply On column, select Cost.
- In the Type column, select Minimize.
-
Apply a constraint to the MaxDisp output response.
- Click Add Goal.
- In the Apply On column, select MaxDisp.
- In the Type column, select Constraint.
- deterministic
- In column 1, select <= (less than or equal to).
- In column 2, enter 31.
- Go to the step.
-
In the work area, set the Mode to Adaptive
Response Surface Method (ARSM).
Note: Only the methods that are valid for the problem formulation are enabled.
- Click Apply.
- Go to the step.
- Click Evaluate Tasks.
-
View iteration history of Optimization.
- Click the Iteration Plot tab to plot the progress of the Optimization iteration.
- Using the Channel selector, select Objective_1 and Constraint_1.
The evolution of the objective function and constraint vs. iterations is 2D plotted. You can see that the cost of the horizontal tail plane is reduced from 72715 to 67700 (7% reduction), while keeping the structural performance the same.