Using Ansys Fluent’s Gradient-Based Optimization

Categories:

There is a new workflow that has been developed for the Fluent CFD solver.  It is called gradient-based optimization.  It uses the adjoint solver, which computes the linearized derivatives of a single output variable with respect to all the input variables.  It then calculates separate sensitivity fields for the inputs.  Based on the sensitivity fields, it determines which inputs to change to maximize the desired change in the output variable.

The optimization tool is accessed through the Design tab in the Fluent menu.

PADT Ansys Fluent Gradient Based Optimizatino F01

There are several observable types that can be optimized for:

PADT Ansys Fluent Gradient Based Optimizatino F02

The first step in the process is to calculate a steady state solution of the problem.  Once a converged solution has been obtained for steady state solution, an adjoint solution is evaluated to either maximize or minimize the desired observable.

PADT Ansys Fluent Gradient Based Optimizatino F03

Once the evaluation is completed, the adjoint solution is calculated.

PADT Ansys Fluent Gradient Based Optimizatino F04

The next step is to use the Design Tool menu to define the wall boundaries that will be modified by the optimization process and what portions of those boundaries.

PADT Ansys Fluent Gradient Based Optimizatino F05

To perform an individual iteration in the optimization process, click on the Calculate Design Change button in the Design Tool window.  If you are looking to achieve a larger change to the observable, series of iterations will need to be run.  This can be done automatically using the Gradient-Based Optimizer tool.

PADT Ansys Fluent Gradient Based Optimizatino F06

To test out the capability of this new optimization tool, I ran a simple model of a u-bend pipe and optimized it to reduce the pressure drop through the bend by 40%.  The initial solution of the pipe resulted in pressure contours shown below.

PADT Ansys Fluent Gradient Based Optimizatino F07 1

When the optimizer was run to reduce the pressure drop through the model by 40%, the optimization history is as follows:

PADT Ansys Fluent Gradient Based Optimizatino F08

The resulting pressure contours and pipe geometry are shown below.

PADT Ansys Fluent Gradient Based Optimizatino F09

The change to the shape of the tube is not something that would be easy to determine without this tool.  It is very easy to use and will allow users to quickly optimize the geometry of their designs.

As you can see, this new capability allows one to quickly optimize flowpath shapes to accomplish optimization objectives. Hopefully you have found this useful and we encourage you to explore this and other enhancements to Ansys Fluent.

Get Your Ansys Products & Support from the Engineers who Contribute to this Blog.

Technical Expertise to Enable your Additive Manufacturing Success.

Share this post:

Upcoming Events

Jan 22
- Jan 25
, 2025
Arizona Photonics Days 2025
Feb 04
- Feb 06
, 2025
MD&M West 2025
Feb 04
- Feb 06
, 2025
2025 Transformative Vertical Flight
Mar 20
, 2025
Arizona Space Summit 2025
Apr 07
- Apr 10
, 2025
40th Space Symposium
Jun 09
- Jun 11
, 2025
TechConnect World 2025
Jun 16
- Jun 20
, 2025
Turbo Expo
Jul 11
, 2025
2025 Aerospace, Aviation, Defense and Manufacturing Conference

Search the PADT Site

Contact Us

Most of our customers receive their support over the phone or via email. Customers who are close by can also set up a face-to-face appointment with one of our engineers.

For most locations, simply contact us: