RBF Morph Tutorial 06
RBF Morph Tutorial 06
TABLE OF CONTENTS
1. Introduction .......................................................................................................................................3
2. Prerequisites .....................................................................................................................................3
3. Problem description ...........................................................................................................................3
4. First solution: translating the rear vertical left edge ............................................................................5
4.1 Preparation .................................................................................................................................5
4.2 Source points definition and preview ...........................................................................................6
4.3 Generating and checking the solution .......................................................................................12
4.4 Morph testing ............................................................................................................................15
4.5 Saving the solution ...................................................................................................................16
5. Second solution: translating the rear vertical right edge...................................................................17
5.1 Preparation ...............................................................................................................................17
5.2 Adjusting the set-up ..................................................................................................................17
5.3 Morph testing and saving the solution .......................................................................................19
6. Third solution: two steps procedure .................................................................................................19
6.1 Preparation ...............................................................................................................................20
6.2 First step ...................................................................................................................................20
6.2.1 Source points definition and preview................................................................................20
6.2.2 Saving the solution ..........................................................................................................30
6.3 Second step..............................................................................................................................30
6.4 Preparation ...............................................................................................................................30
6.4.1 Source points definition and preview................................................................................30
6.4.2 Saving the solution ..........................................................................................................38
7. Fourth solution: scaling the frontal area through edges ...................................................................39
7.1 Preparation ...............................................................................................................................39
7.2 Source points definition and preview .........................................................................................39
7.3 Generating and checking the solution .......................................................................................48
7.4 Morph testing ............................................................................................................................51
7.5 Saving the solution ...................................................................................................................52
8. Summary .........................................................................................................................................53
9. References ......................................................................................................................................53
1. Introduction
This RBF-Morph tutorial is termed "Ahmed body" and has the main scope to describe the two steps
procedure of RBF-Morph [R 1] as well as to show how creating a shape modifier using a selection of
edges of a computational model surface.
Considering that, this tutorial demonstrates how to do the following:
generate a solution using, as prescribed motion, the solution gained at the end of a previous
morphing computing (two steps solution procedure);
extrapolate and select the nodes of a discretized edge of the model surface mesh;
use the Symmetry feature;
generate a solution through the use of an edge displacement.
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. you have trained and properly understood the previous tutorials.
3. Problem description
The model utilised in this tutorial is commonly referred to as ahmed body and it is typically used as
external aerodynamic case study. The Figure 1 [R 2] shows the drawing according to the geometrical
model has been generated. In this figure, the characteristic dimensions of the ahmed body in millimetres
are illustrated in three different perspectives.
As illustrated in Figure 2, the remaining surfaces defining the computational model are termed z_inlet,
z_outlet, z_floor, z_lateral_1, z_lateral_2, and z_ceiling.
4.1 Preparation
After starting Fluent from the directory containing the tutorial files:
read the test case mesh file ahmed-body.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 5 should appear.
Subsequently, acquire the coordinates of the top node of the vertical left edge by pressing the By Mouse
button in the Point 1 window and then by selecting it on the View Port by clicking (use the right button of
the mouse) on it (what is shown in Figure 8 on the left should be visualized on the screen). Do the same
for the bottom node, so acquire the coordinates of the bottom node of the vertical left edge by pressing
the By Mouse button in the Point 2 window and then by selecting it on the View Port by clicking on it
(what is shown in Figure 8 on the right should be visualized on the screen).
Figure 8: Extreme circular surfaces centres positions for the cylinder selection encap
In order to visualize the cylinder for selection, click the Disp button and what is depicted in Figure 9 on
the left should be visualised.
Figure 10: Encaps panel at the end of the extreme nodes selection after cylinder enlargement
To display whether the nodes belonging to the edge of interest have been properly selected, click the
Finalize button and then the DispPts button. What is depicted in Figure 11 should be visible on the View
Port.
click on the Set M button and the Set Motion panel will be opened. Impose the rigid motion by
setting the DY (m) value to 0.001 as shown in Figure 12, and confirm the choice by pressing the
Set button;
close the Set Motion panel by clicking on the OK button.
Figure 13: Encaps panel set-up for the box-shaped domain encap
To visualize the localization of the box-shaped domain encap, click the Disp button (Figure 14).
In order to preview in detail the actual effect on the mesh, create an animation. To this purpose, select
the Preview item in the Main Sidebar. Successively, select ahmed-body in the Preview Surfaces list,
write in the Sequence field range 0 30 6. The panel should appear as reported in Figure 17.
Figure 19: Preview animation sequence of the translation of rear vertical left edge
To save the animation frames, write vert-left-edge-trans-y in the Basename field as reported in Figure
20, click on the Setup button to open the Save Picture panel as shown Figure 21.
5.1 Preparation
Continue from the previous session.
Figure 24: Solve panel set-up for rear vertical edges motion
Press the Source Points button and then the Solution button to add the shape modifier 2.
Preview and save an animation of morphing operating similarly to the shape modifier 1. Once, the
sequence has been executed and stored, all recorded frames will be visualized in sequence as depicted
in Figure 25 (in this case use vert-edges-trans-y as name).
Figure 25: Preview animation sequence for the effects of the application of the first two shape modifiers
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 5 and accepting by pressing the OK button in the warning panel shown in
Figure 26.
Figure 30: Encaps panel at the end of the extreme nodes selection
In order to visualize the cylinder for selection, click the Disp button and what is depicted in Figure 31 on
the left should be visualised.
Figure 32: Encaps panel at the end of the extreme nodes selection after cylinder enlargement
To display whether the nodes belonging to the tail edge have been correctly selected, click the Finalize
button and then the DispPts button. What is depicted in Figure 33 should be visible on the View Port.
impose the rigid motion by setting the DZ (m) value to 0.001 and confirm by pressing the Set
button;
close the Set Motion panel by clicking on the OK button.
Figure 34: Set Motion panel for tail edge vertical translation
To prescribe a null movement to the rear top edge, select the second surface set in the Surfs panel, and
select the ahmed-body surface as shown in Figure 35. Now operate similarly to what carried out for the
tail edge.
Figure 37: Encaps panel at the end of the extreme nodes selection
In order to visualize the cylinder for selection, click the Disp button and what is depicted in Figure 38 on
the left should be visualised.
Figure 38: Cylinder-shaped selection encap for the rear top edge
To be sure that the extreme nodes will be selected, also in this case enlarge a little the cylinder setting
0.01 as the value for both the DP1 (m) and DP2 (m) field (see Figure 39) and clicking once the + button.
The dimension of the cylinder should vary according to what is shown in Figure 38 on the right. To
confirm the selection, press the Set button.
Figure 39: Encaps panel at the end of the extreme nodes selection after cylinder enlargement
To display whether the nodes belonging to the edge of interest have been properly selected, click the
Finalize button and then the DispPts button. What is depicted in Figure 40 should be visible on the View
Port.
To preview the effects due to the shape modifier, switch to the Preview panel, select the ahmed-body
surface in the Preview Surface list, set 30 in the Amplification field, and finally press the Preview
button.
As visible, the shape modifier does not maintain the inclined surface planar and induce effects on the
ahmed-body surface also far from the inclined surface.
6.4 Preparation
Reset the solution by clicking on the Reset button in the Config panel already shown in Figure 5 and
accepting by pressing the OK button in the warning panel that appears.
Figure 51: Encaps panel for the set up of thr box-shaped selection encap
The actual position of the box-shaped selection encap can be visualized pressing the Disp button (see
Figure 52).
To confirm the set-up, press the Set button.
write in the Sequence field range 0 30 6, and write inclined-surf-motion in the Basename field. The
panel should appear as reported in Figure 55.
Figure 55: Set-up of the Preview panel for the third shape modifier
Then click the Init button and confirm the sequence set-up by clicking on Yes in the Question panel that
appears.
To start the animation click the Play button automatically enabled once the sequence has been executed
and stored. All recorded frames will be visualized in sequence as depicted in Figure 56 from a lateral
view.
7.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 5 and accepting by pressing OK button in the warning that appears.
Figure 59: Visualization of the feature edges of the model with feature angle of 2°
As previously stated, the definition of source points is accomplished by means of the use of the Surfs
and Encaps panels. According to this strategy, start the set-up switching to the Surfs panel in the Main
sidebar. Two surface sets are needed and, accordingly, the set-up can proceed as follows:
define one surface set by acting on the arrows of the Number of Sets field;
select ahmed-body surface in the Select Surface Borders list;
enable the Feature option and set 2 in the (Deg) field which appears;
to save the settings of this first surface set assigned so far, press the Set button.
Tutorial 6: Ahmed body 40
RBF Morph Tutorials www.rbf-morph.com
Now the panel should appears as that depicted in the Figure 60.
Figure 61: Nodes of the current surface set gained through the feature option enabled with 2°
To choose among all selected nodes only those belonging to the internal edges of the front area, a box-
shaped selection encap will be used by assigning the opposite extreme points by means of the By
Mouse selection. To do that, enable the Encap option (the Encaps panel shown in Figure 62 appears) in
the surface set 1, choose box as Type, and enable the Pick feature.
Figure 64: Encaps panel at the end of the extreme nodes selection after box enlargement
In order to visualize the box for selection, click the Disp button and what is depicted in Figure 65 on the
left should be visualised. To confirm the selection so far, press the Set button.
Figure 69: Encaps panel set-up for the box-shaped domain encap
To visualize the localization of the box-shaped domain, click the Disp button. To visualize the source
nodes of the domain encap that has been just created, press in sequence the Finalize and the DispPts
button. What is depicted in Figure 70 should be displayed.
8. Summary
This tutorial demonstrated the guidelines for setting up and solving a morph study though the two steps
procedure of RBF-Morph. This strategy foresees to generate a solution using as prescribed motion the
solution gained at the end of a previous morphing computing.
Another scope of the tutorial was to show the Symmetry feature and how creating a shape modifier using
a selection of the edges of a computational model surface.
9. 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.
R 2. C. Hinterberger, M. García-Villalba, W. Rodi, Large Eddy Simulation of flow around the
Ahmed body. In "Lecture Notes in Applied and Computational Mechanics / The
Aerodynamics of Heavy Vehicles: Trucks, Buses, and Trains", R. McCallen, F. Browand,
J. Ross (Eds.), Springer Verlag, ISBN: 3-540-22088-7, 2004.