##### SmartDO eNews Feb. 26, 2013 : Using SmartDO and ANSYS Workbench/CFD for Design Optimization

2013-02-26

Introduction

The SmartLink module of SmartDO can linked with any exposed parameters in ANSYS Workbench, and perform design optimization directly without parametric experiment and/or statistical study. With the powerful Direct Search optimizer in SmartDO, the user can virtually optimize on any physics/disciplines by using ANSYS as an simulation black box.

In this issue of SmartDO eNews, we will introduce how to use SmartLink to perform design optimization with ANSYS Workbench CFD. We will use a simple 3D flowpath to demonstrate the convenient and efficient new interface of SmartDO. Although the model is constructed in Fluent, the same process can principle can be also applied on CFX.

Description of the Problem

Consider a 3D flowpath shown in Figure 1. The fluid flows in a pipe with a bigger diameter, and flows out through a smaller diameter. The transition section in the middle is to be optimize, so that the power loss is as small as possible. Due to some design consideration, the length of the transition section should be less then certain value.

The optimization problem is formulated as

Find : {H1, R1, H2}

To Minimize : Power Loss

Subjected To: H1+H2 < 3

Inlet Pressure < 1 P

In the flowing section, we will show who to solve this problem through SmartDO and ANSYS Workbench CFD.

Step 1 : Build Parametric Geometry Model in DesignModeler

The first step is to build the geometry model in DesignModeler, as shown in Figure 2. After the geometry is created, simply click on the blank box of the parameters, and a "D" will be marked in it, as shown in Figure Figure 3. Anything (input variables) marked with "D" here in Workbench can be linked as Design Variables in SmartDO.

The detailed steps won't be elaborated here. Please refer to your ANSYS manual or tutorials for details.

Step 2 : Setting Up BC, Solution, and Retrieve Result From CFD-Post

After the parametric model is built, go to ANSYS CFD and set up the boundary conditions as well as the solution strategy, for either Fluent or CFX. This is shown in Figure 4. Then open CFD-Post to setup the output and result needed as Shown in Figure 5. Here everything calculated as output parameters in Workbench can be linked as Objective Function or Constraint in SmartDO.

Figure 5 Anything Calculated as Output Parameter Can Be Linked As Objective Function and Constraints in SmartDO

Step 3 : Check List of Parameters in Workbench

All the input/output created above can be checked and listed in Workbench, as shown in Figure 6. In the next step, we will import this parameter table into SmartDO and perform modeling of design optimization.

Step 4 : Open SmartDO and Set Up Controlling Parameters

Open SmartDO and you will see its interface as shown in Figure 7. Go to (Main Menu > SmartLink > ANSYS Workbench > Optimizer Control) and set up the optimization parameters (number of design variables and constraints) as shown in Figure 8. Note that the default solver usually works quite well, and you won't have to worry about tweaking with the optimizer at all.

Step 5 : Link Workbench File and Import Its Parameters

Pick the Workbench file you want to link through (Main Menu > SmartLink > ANSYS Workbench > Link Workbench Model), as shown in Figure 9. and set up the optimization parameters (number of design variables and constraints) as shown in Figure 9.

Click on the [Update Project] button to update the Workbench project. Then Click on the [Import Parameters] button to import the parameter table of Workbench project, as shown in Figure 10.

Step 6 : Link DVs, Objective Function and Constraint in SmartDO with Workbench Parameters

After the parameters in Workbench is imported, you can use the pull-down men in the DV list to linked with the Input Parameters in Workbench (Figure 11), and type in the Lower Bound, Upper Bound and Initial Value for design optimization (Figure 12).

Also use the pull-down menu to link the objective function and constraints in SmartDO with Workbench Output Parameters, and define the limitation of the constraints in Figure 13.

Now you are done with the modeling of design optimization. All necessary linkage between SmartDO and Workbench are established, as shown in Figure 14.

Figure 13 Link the Objective Function and Constraints in SmartDO, and Define the Limitation of the Constraints

Step 7 : Write SmartDO Model and Optimize the Design

Now you can pull down the sliding bar to the button of the dialog box, and click on [Write SmartDO Model] as shown in Figure 15. Go back to the Control Panel and you will see the model is ready to run as shown in Figure 16. Click on the [Full Optimization] model and the optimization will begin.

Since SmartDO uses the Direct Global Search technology, you don't have to perform statistically parametric study. After few automatic design iterations, SmartDO will get the optimum design for you automatically. For our problem here, the Initial Design and Optimum Design are shown in Figure 17 and 18. For this model, we can reduce the power loss by 74 % (optimal relative to initial design).

Conclusion and Remarks

In this issue of the SmartDO eNews, we show you how the SmartLink interface in SmartDO can easily link with the parameters in ANSYS Workbench for CFD Optimization. With the powerful and stable solver in SmartDO, design optimization can be easily performed.

More Information

FEA-Opt Technology Co. Ltd. is an international RD/Consultancy/CAE and Software firm. We provide superior RD/consultancy services to our customers, and customized solutions for each customer's special need.

SmartDO, our flagship product, is the leader of Smart Global Optimization Technology. Capable of Direct Global Search for both Gradient-Based and GA-Based methodology. For details about SmartDO, please visit our web site at http://www.SmartDO.co/