RBF Morph Tutorial 01
RBF Morph Tutorial 01
RBF Morph Tutorial 01
TABLE OF CONTENTS
1. Introduction .......................................................................................................................................3
2. Prerequisites .....................................................................................................................................3
3. Problem description ...........................................................................................................................3
4. First solution: translating the cube .....................................................................................................4
4.1 Preparation .................................................................................................................................4
4.2 Source points definition and preview ...........................................................................................5
4.3 Generating and checking the solution .........................................................................................9
4.4 Morph testing ............................................................................................................................11
4.5 Saving the solution ...................................................................................................................14
5. Second solution: rotating the cube (first method) .............................................................................15
5.1 Preparation ...............................................................................................................................15
5.2 Adjusting the set-up ..................................................................................................................15
5.3 Morph testing and saving the solution .......................................................................................16
6. Second solution: rotating the cube (second method) .......................................................................17
6.1 Preparation ...............................................................................................................................17
6.2 Defining the domain encapsulation ...........................................................................................18
6.3 Defining the moving encapsulation ...........................................................................................19
6.4 Finalizing the result ...................................................................................................................21
6.5 Morph testing and saving the solution .......................................................................................22
7. Combining different solutions ..........................................................................................................23
7.1 Preparation ...............................................................................................................................23
7.2 Set-up of a multi-morph case ....................................................................................................23
7.3 Previewing the combination ......................................................................................................25
8. Driving the calculation using ANSYS workbench .............................................................................27
8.1 Definition of the parametric Fluent model ..................................................................................28
8.2 Workbench set up .....................................................................................................................29
8.3 Run the calculation ...................................................................................................................30
9. Summary .........................................................................................................................................31
10. references.................................................................................................................................31
1. Introduction
This RBF-Morph tutorial is termed "A 3D wind tunnel" and has the objective to provide the user with the
guidelines for setting up and solving a morph study. To achieve this target, the practical use of the basic
commands and features of the code will be described, and all foreseen steps required to accomplish a
complete morph analysis according to RBF Morph tool [R 1] will be deepened.
This tutorial demonstrates how to do the following:
define source points by means of different approaches;
preview source points in the baseline and morphed configuration;
generate and check the solution;
load and adjust an existing solution;
list the surfaces effectively involved by the encap action;
accomplish the morph testing and save the adjusted solution;
reset a solution;
set up a multi-morph solution.
2. Prerequisites
Requirements for working this tutorial:
1. you are working in the directory where the tutorial problem resides;
2. you have just started the Fluent-GUI application.
3. Problem description
This tutorial is useful to acquire the essential functionalities of RBF Morph. The case study is a simplified
external aerodynamic problem.
The geometry of the model consists of a perfect cube which is immersed into a box defining the virtual
wind tunnel. The edges of the cube are 1m long and its surfaces, called cube, are parallel to those of the
wind tunnel in the baseline configuration. The wind tunnel is 10m long, 5m wide, and 3m high
respectively along x, y, and z axes of the global reference system. The cube is positioned onto the
ground surface at 3m from the inlet surface and at 6m from the outlet surface. The remaining surfaces
(lateral and top) are termed tunnel. The surface mesh of the model is reported in Figure 1.
To achieve the objective of the tutorial, the effect of the cube translation along x axis and its attitude
angle, at first as individual solution and then as combined solution will be investigated. As concerns the
solution set-up, the cube translation will be accomplished by means of the features of the Surfs panel
only, whilst, relating to cube rotation, two different techniques will be presented involving one of the
encapsulation feature of RBF Morph as well.
4.1 Preparation
After starting Fluent from the directory containing the tutorial files:
read the test case tut_01_wind_tunnel_cube.msh.gz;
open the RBF Morph GUI via the menu Define -> RBF-Morph;
load the library by clicking on Enable RBF Model.
Once the library is completely loaded, the panel illustrated in Figure 2 should appear.
bottom of the sidebar there are some graphics settings which are available at any time (Graphics
Sidebar).
Tip: in case previous settings have been used of saved in the .cas file, it is in general possible to re-
initialize the set-up by clicking the Reset button.
Tip: it is crucial, in view of preventing inconsistent movements between zones or wrong definitions of the
problem, to perform the source points preliminary previewed in both the baseline and morphed
configurations.
Tip: in many cases, it is an useful practice to create cut planes by means of the standard Fluent
commands, and then preview the morphing results on them. The planes created will appear in both lists
of Surfaces of the Preview panel.
To run the morph testing, enable the Morph item in the Main Sidebar as illustrated in Figure 12.
possible loading the same solution in a parallel session, eventually with the GUI activated to interactively
investigate the result.
5.1 Preparation
To adjust the existing solution, it is viable to continue from the previous session providing that the mesh
is in the original configuration (displaying the position of the cube for instance).
Otherwise a new session can be started, and then the mesh and configuration file can be. To read an
existing solution set-up, open the Config panel (previously shown in Figure 2) and specify the file name
with or without extension and click on the Read button (alternatively you can use the Select button).
Once the solution has been checked, it is possible to save it in the Solve panel by specifying the file
name rotate-z in the File box and by clicking on the Write button. The file name has to be specified
without any extension as shown in Figure 18.
6.1 Preparation
Before preparing the new solution set-up, reset the solution by clicking on the Reset button in the Config
panel already shown in Figure 2 and accepting by pressing OK button in the warning panel shown in
Figure 19.
Using the Set M button, the panel Set Motion is opened and the same rotation imposed in the previous
example (see Figure 16) can be specified. All mesh nodes inside the defined box will be moved rigidly
with the assigned motion. The encap settings are confirmed using the Set button.
7.1 Preparation
For this solution it is possible to continue from the previous session, but making sure that the mesh is in
the original configuration and that the configuration is reset by means of the Reset button in the Config
panel. Otherwise a new session can be started and the mesh file must be read again.
If all the tutorials have been executed, the working directory should now contain 7 files:
move-x.rbf;
move-x.sol;
rotate-z.rbf;
rotate-z.sol;
rotate-z-encap.rbf;
rotate-z-encap.sol;
tut_01_wind_tunnel_cube.msh.gz.
Note that to make Fluent properly locating the solutions, all the required files must be in the working
directory where Fluent was started from.
Tip: in alternative, if Fluent started (or even read a file) from a different directory, the following command
can be used to make it pointing to the directory containing the RBF files:
(syncdir “complete-path-of-working-directory”).
9. Summary
This tutorial demonstrated guidelines for setting up and solving a morph study of an external
aerodynamic problem. The main passages to perform a Morph study were detailed with particular
reference to the definition of source points, the generation and storing of the solution. Moreover, the
features to preview and check the solution were presented. Information to control the shape parametric
Fluent case are then provided to complete the study.
10. references
R 1. Biancolini M. E., Mesh Morphing and Smoothing by Means of Radial Basis Functions
(RBF): A Practical Example Using Fluent and RBF Morph, Handbook of Research on
Computational Science and Engineering: Theory and Practice, 2 vol. pages 347-380,
2012.