Term Project ST5054 - Turbulence Modeling For Engineering Flows
Term Project ST5054 - Turbulence Modeling For Engineering Flows
A S S T. P R O F. D R . H . A M I R I
1
By using MATLAB to load the
data and then by using
Tecplot, we can visualize
vector graph of any data.
Here the vector graphs of
datas that is chosen
randomly;
‘Inst0001’
‘Inst0007’
‘Inst0022’
2
Vector Graph of 7th data Vector Graph of 22nd data
3
Since the measurements are ergodic, it can be said that it is ergodic and that
means ensemble average is equal to time average.
To find time average, the code given is used.
4
In the result of that, average of u value and average of v value can be shown by
using plot command of MATLAB.
350 100
300
50
250
200
0
150
100
-50
50
0
-100
-50
-100 -150
0 5000 10000 15000 0 5000 10000 15000
5
Also average of velocities can be shown in vector graphs by using Tecplot
6
To find fluctuations flow fields (u’ and v’), extraction of time average values from
normal data values need to be done. To do that, simple code given below is used.
And the fluctuatin flow fields are found.
8
-2
-4
-6
0 5000 10000 15000
7
6 8
6
4
4
2
2
0
0
-2
-2
-4
-4
-6 -6
0 5000 10000 15000 0 5000 10000 15000
Fluctuation field of v for 7th data Fluctuation field of v for 22nd data
8
For Reynolds Stress Tensor, since it is 2D data, 2x2 matrices for 25 datas need to
be found. To find each component of these matrices, simple code given below is
used.
9
Finally, Reynolds Stress Tensor can be found as 50x2 matrices. Extracting 1st, 7th
and 22nd Reynolds Stress Tensor from it;
Reynolds Stress Tensor of 1st data Reynolds Stress Tensor of 7th data
10
In the second part of this project, box filter of 3x3, 7x7 and 11x11 are applied to a
data that is chosen randomly; ‘Inst0012’ .
The application of this filter is done by using code given below in MATLAB and
visualization of this application is done in Tecplot.
Firstly, conversion of rgb to grayscale of ‘Inst0012’ must be done and then box
filter must be applied.
11
RGB to Grayscale Conversion
12
Box Filter of 3x3, 7x7 and 11x11 Application
13
Thank You
for Listening
14