RBF Morph Tutorial 11
RBF Morph Tutorial 11
RBF Morph Tutorial 11
TABLE OF CONTENTS
1. Introduction .......................................................................................................................................3
2. Prerequisites .....................................................................................................................................3
3. Problem description ...........................................................................................................................3
4. Overview of CFD and adjoint solution set-up and results...................................................................4
4.1 CFD solution set-up and results ..................................................................................................4
4.2 Adjoint solution set-up and results ..............................................................................................6
5. Outline of the shape optimisation strategy .......................................................................................10
6. First conjunction shape optimisation ................................................................................................10
6.1 Preparation ...............................................................................................................................10
6.2 Source points definition and preview.........................................................................................10
6.3 Generating and previewing the solution ....................................................................................17
6.4 Morph testing ............................................................................................................................18
6.5 Saving the solution ...................................................................................................................18
7. Second conjunction shape optimization ...........................................................................................19
7.1 Control-Volume Morphing update .............................................................................................19
7.2 Preparation ...............................................................................................................................21
7.3 Source points definition and preview .........................................................................................21
7.4 Generating and previewing the solution ....................................................................................24
7.5 Morph testing ............................................................................................................................25
7.6 Saving the solution ...................................................................................................................25
8. CAD export ......................................................................................................................................25
9. Summary .........................................................................................................................................28
10. References ...............................................................................................................................28
1. Introduction
This tutorial is called "Adjoint-morphing coupling for duct optimisation" and aims at showing how the
adjoint feature of ANSYS FLUENT (hereinafter FLUENT) can be combined with RBF Morph to guide the
mesh morphing in order to improve the fluid flow within a manifold, so as to increase the efficiency of the
whole mechanical system.
This tutorial demonstrates how to do the following:
sculpt the shape of two runners creating 2 shape modifiers of RBF Morph;
export the morphed CAD model.
2. Prerequisites
Requirements for working this tutorial:
1. you have the knowledge of FLUENT adjoint solver key ideas and workflow;
2. you are working in the directory where the tutorial problem resides;
3. you have already started the FLUENT-GUI application.
3. Problem description
This tutorial describes the procedure to couple the adjoint solution of FLUENT with RBF Morph in view of
driving the design of morphed configurations by exploiting the capability of the adjoint solution in
estimating the effect of a change prior to actually making it.
In particular, it is supposed that the adjoint converged solution is already available for the user. The
sensitivity-to-shape data obtained through adjoint computing are then employed as guidance on the
optimal adjustments to be applied through RBF Morph to reduce pressure losses.
The geometry of the manifold is shown in Figure 1. This model is courtesy of Chris Hills by ANSYS and
consists of a duct having one inlet, a cubic-shaped vacuum volume, and one box-shaped volume
connected to two exits.
Considering this output, and in particular the area in which the highest values are present, the adoint
solution advises to act on the junctions between the cylindrical ducts of the exits and the box-shaped
portion of the duct.
According to the adjoint approach, to reduce pressure losses a control-volume enclosing the first
conjunction was generated. To show its set-up open the Control-Volume Morphing Controls panel
(see Figure 7) and click the Update button.
mesh nearby the area of interest by means of a surface set. To this specific end, a domain encap
enclosing the Control-Volume is defined to limit the morphing action.
Currently an automatic data exchange between the adjoint control-volume box and RBF Morph domain
encap is not allowed and, as such, this domain encap has to be defined manually.
6.1 Preparation
Execute the following actions:
open the RBF Morph GUI via the menu Define -> RBF-Morph;
load the library by clicking on Enable RBF Model.
Figure 10: Set-up of the surface set 1 for the first solution
Figure 11: Set-up of the selection encap of surface set 1 for the first solution
Show the position of selection encap of the surface set 1 as depicted in Figure 12.
Figure 12: Location of the box-shaped selection encap of surface set 1 for the first solution
For the surface set 2, accomplish the set-up according to what is shown in Figure 13 and Figure 14.
Figure 13: Set-up of the surface set 2 for the first solution
Figure 14: Set-up of the selection encap of surface set 2 for the first solution
The localization of the box-shaped selection encap of surface set 2 is illustrated in Figure 15.
Figure 15: Location of the box-shaped selection encap of surface set 2 for the first solution
For the surface set 3, assign the settings reported in Figure 16 and Figure 17.
Figure 16: Set-up of the surface set 3 for the first solution
Figure 17: Set-up of the selection encap of surface set 3 for the first solution
Figure 18 shows the location of the cylinder-shaped selection encap box of surface set 3.
Figure 18: Location of the cylinder-shaped selection encap box of surface set 3 for the first solution
The set-up of the domain encap is illustrated in Figure 19. The coordinates of the opposite points
defining the box differ of 0.1 m with respect to those of the Control-Volume (as earlier stated the encap
domain is required to completely enclose the Control-Volume).
Figure 20: Location of the box-shaped domain encap for the first solution
Once all settings have been completed and accepted, select the Surfs panel and click the Finalize
button. Then display the source points by clicking on the DispPts button (Figure 21).
Figure 22: Preview of the location of source points after morphing for the first solution
Figure 27: Control-Volume Morphing Controls set-up for the second conjunction morphing
Tutorial 11: Adjoint-morphing coupling for duct optimisation 19
RBF Morph Tutorials www.rbf-morph.com
Press the Update button (in the case that it is not active, press in sequence Lager Box and Smaller box
buttons). The value of the expected change is -535.33093 Pa and the bounding box is positioned as
shown in Figure 28.
Figure 29: Adjoint solution driven morphing for the second conjunction
Tutorial 11: Adjoint-morphing coupling for duct optimisation 20
RBF Morph Tutorials www.rbf-morph.com
7.2 Preparation
Continue the RBF Morph study session.
Figure 30: Set-up of the selection encap of surface set 3 of the second solution
Figure 31 shows the location of the cylinder-shaped selection encap box of surface set 3 for the second
solution.
Figure 31: Location of the cylinder-shaped selection encap box of surface set 3 for the second solution
Change the settings of the domain encap as reported in Figure 32.
Figure 34: Preview of the distribution of source points for the second morphing solution
In view of previewing the final position of source points after morphing, click on the PrevPts button.
Figure 36 illustrates what should be reported on the View Port.
8. CAD export
Assuming that the CAD model of the manifold system is available and that, for optimisation purpose, the
interest is exporting the CAD file (in step format) of the first runner when an amplification value of -10 is
applied, the manner to export this morphed geometry is reported hereafter.
The baseline geometry (STEP file format) of the first runner is shown in Figure 37 visualized through
ANSYS DesignModeler.
Figure 41: Data of the morphed configuration of the CAD file of the first runner
To export the CAD file of the morphed configuration, press the Morph & Write button.
Figure 42 show the superimposition of the CAD models referring to the baseline and the morphed
configuration of the runner1.
Figure 42: Comparison between the baseline and morphed configuration of the runner 1 (visualized through
ANSYS DesignModeler)
9. Summary
This tutorial demonstrated the guidelines for coupling the adjoint solution of FLUENT with RBF Morph to
drive the mesh morphing in order to improve the efficiency of a manifold.
Moreover, the manner to export the CAD file of the morphed configuration of a portion of the entire
mechanical system was described.
10. References
R 1. ANSYS Inc., 2013, ANSYS FLUENT Adjoint Solver, Release 14.5, October 2012.