CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > SU2

Free-stream turbulence intensity Option

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 1 Post By bigfootedrockmidget
  • 2 Post By bigfootedrockmidget

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 12, 2021, 11:32
Question Free-stream turbulence intensity Option
  #1
New Member
 
Join Date: Sep 2020
Posts: 8
Rep Power: 6
stefano_bortolotti is on a distinguished road
Dear all,


I'm running several CFD simulations with SU2 on various airfoils, and I need a comparison between fully turbulent boundary layer and transitional one.


I'm struggling about understanding and defining the correct value for FREESTREAM_TURBULENCEINTENSITY: I suppose there is a contradiction between SU2 tutorials' explanation on website, source code and various forums' posts.



For example, tutorial "Transitional Flat Plate" defines FREESTREAM_TURBULENCEINTENSITY = 0.18.
Is this value defining 18% or 0.18% of freestream turbulence intensity?

I'm not talking about what were the intentions of the tutorial, but what the code actually reads and defines.


Moreover: is there a dependance on SU2 version about FREESTREAM_TURBULENCEINTENSITY value definition?

Currently I'm using 7.1.1 "Blackbird", but I need also to understand if version 7.0.3 differs about this topic.

For my simulations, following the definition of free-stream turbulence intensity (so that FREESTREAM_TURBULENCEINTENSITY = 0.01 indicates 1%, for example), the simulations give a general underprediction of drag coefficient.

On the other hand, if I insert the value as suggested by SU2 tutorial (so that FREESTREAM_TURBULENCEINTENSITY = 1 indicates 1%), the results reduces their error with respect to experimental ones.


Doubt arises as consequence of these contradictions between SU2 website, forums, definition and results obtained.


Thank you in advance for any explanation.



Stefano

Last edited by stefano_bortolotti; April 12, 2021 at 13:03. Reason: Adding information
stefano_bortolotti is offline   Reply With Quote

Old   April 12, 2021, 13:54
Default
  #2
pcg
Senior Member
 
Pedro Gomes
Join Date: Dec 2017
Posts: 466
Rep Power: 14
pcg is on a distinguished road
For SA models only FREESTREAM_NU_FACTOR matters.

For SST, the nondimensional FREESTREAM_TURBULENCEINTENSITY defines the freestream turbulence kinetic energy, the default is 0.05 which is 5%, 0.18 is 18% (sounds like the tutorial is wrong).
Then the freestream dissipation (omega) is obtained from FREESTREAM_TURB2LAMVISCRATIO.

Within major versions (e.g. 7.x.x) we try our best not to change the meaning of any options, some have been deprecated, but the way values are specified has not changed (including default values).
pcg is offline   Reply With Quote

Old   April 12, 2021, 15:04
Default
  #3
New Member
 
Join Date: Sep 2020
Posts: 8
Rep Power: 6
stefano_bortolotti is on a distinguished road
Quote:
Originally Posted by pcg View Post
For SA models only FREESTREAM_NU_FACTOR matters.

For SST, the nondimensional FREESTREAM_TURBULENCEINTENSITY defines the freestream turbulence kinetic energy, the default is 0.05 which is 5%, 0.18 is 18% (sounds like the tutorial is wrong).
Then the freestream dissipation (omega) is obtained from FREESTREAM_TURB2LAMVISCRATIO.

Within major versions (e.g. 7.x.x) we try our best not to change the meaning of any options, some have been deprecated, but the way values are specified has not changed (including default values).

Thanks for the kind answer.
I will try to make adjustments using FREESTREAM_NU_FACTOR.

Anyway, I would like to underline that I was already using SA model, and changing FREESTREAM_TURBULENCEINTENSITY, solution changes (not only in terms of freestream turbulent kinetic energy, but also lift and drag coefficient).
Let me write down here an example about NACA0012, Mach 0.15 and Re 6e6.


KIND_TURB_MODEL= SA
KIND_TRANS_MODEL= BC
FREESTREAM_TURBULENCEINTENSITY = 0.005


I varied FREESTREAM_TURBULENCEINTENSITY with the following respective values: [0.005, 0.025, 0.050, 0.070, 0.100].
I obtained the following respective drag coefficients: [0.004328, 0.004461, 0.004602, 0.004730, 0.004944].
By looking at your answer, it seems varying FREESTREAM_TURBULENCEINTENSITY should not change the solution when I use SA model; only FREESTREAM_NU_FACTOR matters, but I did not change this last item in any case.


Thanks again for any answer or suggestion. May I did not understand last answer.


Stefano
stefano_bortolotti is offline   Reply With Quote

Old   April 12, 2021, 17:33
Default
  #4
Senior Member
 
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 679
Rep Power: 21
bigfootedrockmidget is on a distinguished road
Hi,
I checked the code and this is what happens: In the compressible solver, the free stream intensity is used to compute the turbulent kinetic energy at boundaries. This is then added to the total energy. So when you have a boundary where a free stream value is used, the turbulent intensity influences your solution.

Additionally, the freestream intensity is used directly in the transitional SA model.



I think that adding simply the freestream tke at boundaries is not correct. Actually, from the SA model it follows that the free stream tke=0.


Are you using the compressible solver or the transitional SA model?
bigfootedrockmidget is offline   Reply With Quote

Old   April 12, 2021, 18:46
Default
  #5
New Member
 
Join Date: Sep 2020
Posts: 8
Rep Power: 6
stefano_bortolotti is on a distinguished road
Quote:
Originally Posted by bigfootedrockmidget View Post
Hi,
I checked the code and this is what happens: In the compressible solver, the free stream intensity is used to compute the turbulent kinetic energy at boundaries. This is then added to the total energy. So when you have a boundary where a free stream value is used, the turbulent intensity influences your solution.

Additionally, the freestream intensity is used directly in the transitional SA model.



I think that adding simply the freestream tke at boundaries is not correct. Actually, from the SA model it follows that the free stream tke=0.


Are you using the compressible solver or the transitional SA model?

Thanks for the answer. I don't want to make any confusion or stupid mistake, so let me report what I did.

With respect to fully turbulent boundary layer's simulations, with transition model I'm facing issues also on convergence result: I don't know if the two issues are related, but let me anyway attach two screenshots of what I see on S414 configuration.



Let me also write below the first few lines of configuration file of the example cited above, so maybe I can better understand what I'm doing wrong:

SOLVER= RANS
KIND_TURB_MODEL= SA
KIND_TRANS_MODEL= BC
FREESTREAM_TURBULENCEINTENSITY = 0.0005
MACH_NUMBER= 0.3
AOA= 0
INIT_OPTION= REYNOLDS
FREESTREAM_OPTION= TEMPERATURE_FS
FREESTREAM_TEMPERATURE= 288.15
REYNOLDS_NUMBER= 0.97E6
REYNOLDS_LENGTH= 1.0
REF_DIMENSIONALIZATION= DIMENSIONAL


Forgive me if the hypothesis of relation between the two issues is uncorrect.


Again, thanks for your time.
Attached Images
File Type: png S414.png (110.7 KB, 27 views)
File Type: png S414 - zoom.png (154.2 KB, 23 views)
stefano_bortolotti is offline   Reply With Quote

Old   April 13, 2021, 17:11
Default
  #6
Senior Member
 
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 679
Rep Power: 21
bigfootedrockmidget is on a distinguished road
See here:


https://turbmodels.larc.nasa.gov/sa-bc_1eqn.html


We have the SA-BCM model (in src/numerics/turbulent/turb_sources.cpp), and there is an equation Re_theta_c = 803.73*(Tu_infty + 0.6067)^-1.027
This Tu_infty is the freestream turbulence intensity, so it directly influences the turbulence production.


So basically your choice determines the critical transition Reynolds number. It also seems that they recommend a much lower freestream value for nu compared to the older SA model.


There can be other factors influencing convergence, of course. A well resolved boundary layer is important, choice of CFL is important... With Ma=0.3 you can check if the compressible or incompressible solver gives better convergence.
ari003 likes this.
bigfootedrockmidget is offline   Reply With Quote

Old   April 14, 2021, 10:55
Default
  #7
New Member
 
Join Date: Sep 2020
Posts: 8
Rep Power: 6
stefano_bortolotti is on a distinguished road
Quote:
Originally Posted by bigfootedrockmidget View Post
See here:


https://turbmodels.larc.nasa.gov/sa-bc_1eqn.html


We have the SA-BCM model (in src/numerics/turbulent/turb_sources.cpp), and there is an equation Re_theta_c = 803.73*(Tu_infty + 0.6067)^-1.027
This Tu_infty is the freestream turbulence intensity, so it directly influences the turbulence production.


So basically your choice determines the critical transition Reynolds number. It also seems that they recommend a much lower freestream value for nu compared to the older SA model.


There can be other factors influencing convergence, of course. A well resolved boundary layer is important, choice of CFL is important... With Ma=0.3 you can check if the compressible or incompressible solver gives better convergence.

Thank you so much for the answer and references.
I have checked the cpp code and the reference about SA_BCM.


I have a last question about what is the value read by src/numerics/turbulent/turb_sources.cpp about FREESTREAM_TURBULENCEINTENSITY: it seems the value is taken as directly provided by configuration file, then if I insert (for example) 5, that means 5% of freestream turbulence intensity.
Taking this reference, the results seems to behave well in terms of aerodynamic coefficients.

But looking at other details obtained, the free-stream turbulent kinetic energy and dissipation take following values respectively (written on forces breakdown output file):

Free-stream turb. kinetic energy (non-dim): 97708 m^2/s^2.
Free-stream specific dissipation (non-dim): 1.1485e+09 1/s.


Then, higher than I expected.
This observation makes me doubt that 5 indicates 500% of free-stream turbulence intensity, not 5%.


As written in previous answers and on the cited NASA reference, the value is constant on the entire domain; SA_BCM does not consider this value at free-stream, but only close to wall surface.

Last edited by stefano_bortolotti; April 14, 2021 at 11:05. Reason: Providing unit of measurement
stefano_bortolotti is offline   Reply With Quote

Old   April 14, 2021, 12:08
Default
  #8
Senior Member
 
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 679
Rep Power: 21
bigfootedrockmidget is on a distinguished road
Turbulence intensity is used like this, in e.g. CEulerSolver.cpp:


Code:
Tke_FreeStream  = 3.0/2.0*(ModVel_FreeStream * ModVel_FreeStream  * config->GetTurbulenceIntensity_FreeStream() * config->GetTurbulenceIntensity_FreeStream());

so a value of 5 means 500% and a value of 0.01 means 1%
bigfootedrockmidget is offline   Reply With Quote

Old   April 15, 2021, 17:01
Default
  #9
New Member
 
Join Date: Sep 2020
Posts: 8
Rep Power: 6
stefano_bortolotti is on a distinguished road
Quote:
Originally Posted by bigfootedrockmidget View Post
Turbulence intensity is used like this, in e.g. CEulerSolver.cpp:


Code:
Tke_FreeStream  = 3.0/2.0*(ModVel_FreeStream * ModVel_FreeStream  * config->GetTurbulenceIntensity_FreeStream() * config->GetTurbulenceIntensity_FreeStream());
so a value of 5 means 500% and a value of 0.01 means 1%

Ok, thanks for the kind clarification.

Anyway, I still believe there is an inconsistency between how free-stream TKE calculus and momentum thickness Reynolds number respectively take free-stream turbulence intensity from input.
I'm sorry to be so insistent, but I really want and need to understand if I'm doing something wrong or if I have not understood how the code works on these values.


Let me refer to an example (NACA0012, Mach 0.15, Re6e6, AOA 10 deg):

SOLVER= RANS
KIND_TURB_MODEL= SA
KIND_TRANS_MODEL= BC
FREESTREAM_TURBULENCEINTENSITY = 5

So, as you already explained, 5 means 500%. In fact, I obtain: Free-stream turb. kinetic energy (non-dim): 97708 m^2/s^2, computed from the line of code you already wrote. This order of TKE is also confirmed by calculators on web (http://www.wolfdynamics.com/tools.html?id=110).


Regarding BC transition model, looking at the paper of S.C. Cakmakcioglu, O. Bas, U. Kaynak - "A correlation-based algebraic transition model" (you can find it here: https://journals.sagepub.com/doi/10....54406217743537), page 3918, applying the relation on Re_theta_c I will obtain 1.3575 for 500% of free-stream turbulence intensity, consistent with what Figure 1 reports (very low value, much different from what I would obtain with 5%).
Anyway, looking at the code (/src/numerics/turbulent/turb_sources.cpp) at the following lines:

su2double tu = config->GetTurbulenceIntensity_FreeStream();

su2double re_theta_t = (803.73 * pow((tu + 0.6067),-1.027)); //MENTER correlation


I note the equation on momentum thickness Reynolds number takes directly the value of FREESTREAM_TURBULENCEINTENSITY (then 5, not multiplying by 100) . As consequence, I believe the code considers 5%, not 500%, although Figure 1 reports [%] on x-coordinate and previous calculus by hand of Menter correlation has shown consistency with using 500 for variable "tu".

Thanks again for your time.

Last edited by stefano_bortolotti; April 15, 2021 at 17:17. Reason: Corrections
stefano_bortolotti is offline   Reply With Quote

Old   April 15, 2021, 18:41
Default
  #10
Senior Member
 
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 679
Rep Power: 21
bigfootedrockmidget is on a distinguished road
OK, I see it. I checked the paper of Menter and he says after giving the equation:
Quote:
..,where Tu is the local turbulence intensity (in percent) as defined in the nomenclature
And the Figure in Menter shows that you have to give the value of Tu in percent running from 0..100% instead of 0..1 (This figure is the same as the paper you refer to)



Not sure if we use actual percent instead of fractions anywhere else, but since turbulence intensity is defined as a fraction, I think the input should stay 0.05 and in the transition model we multiply by 100.
bigfootedrockmidget is offline   Reply With Quote

Old   April 15, 2021, 19:09
Default
  #11
Senior Member
 
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 679
Rep Power: 21
bigfootedrockmidget is on a distinguished road
to conclude, I think this is inconsistent in SU2, I created a bug report.


https://github.com/su2code/SU2/issues/1263
bigfootedrockmidget is offline   Reply With Quote

Old   April 15, 2021, 19:33
Default
  #12
New Member
 
Join Date: Sep 2020
Posts: 8
Rep Power: 6
stefano_bortolotti is on a distinguished road
Quote:
Originally Posted by bigfootedrockmidget View Post
to conclude, I think this is inconsistent in SU2, I created a bug report.


https://github.com/su2code/SU2/issues/1263

Thank you so much again for your time, patience and kind answers!
stefano_bortolotti is offline   Reply With Quote

Old   April 21, 2021, 16:47
Default
  #13
Senior Member
 
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 679
Rep Power: 21
bigfootedrockmidget is on a distinguished road
As you might have seen, the issue is solved in the develop version of su2. The free stream turbulence dissipation in the config file remains u'/U and this value is multiplied by 100 in the transition model to get to a percentage-value. Keep us updated on your progress regarding transition modeling!
bigfootedrockmidget is offline   Reply With Quote

Old   July 29, 2021, 05:09
Default
  #14
Senior Member
 
Arijit Saha
Join Date: Feb 2019
Location: Singapore
Posts: 132
Rep Power: 7
ari003 is on a distinguished road
Hello all,
Hope that you all are doing good. I was reading through this thread and found it will be apt to ask my doubt here.
I've been performing the transitional plate case which uses SA-BC turbulence model and I want to monitor the intermittency field in paraview. I dont think it is quite straightforward but if anyone is aware how to proceed can you throw some suggestion.

Thank you
ari003 is offline   Reply With Quote

Old   July 29, 2021, 15:40
Default
  #15
Senior Member
 
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 679
Rep Power: 21
bigfootedrockmidget is on a distinguished road
Hi,

What do you mean with "monitor the intermittency field"? Do you want to do an unsteady simulation and look at the solution output at different moments in time?
bigfootedrockmidget is offline   Reply With Quote

Old   July 31, 2021, 10:30
Default
  #16
Senior Member
 
Arijit Saha
Join Date: Feb 2019
Location: Singapore
Posts: 132
Rep Power: 7
ari003 is on a distinguished road
Quote:
Originally Posted by bigfootedrockmidget View Post
Hi,

What do you mean with "monitor the intermittency field"? Do you want to do an unsteady simulation and look at the solution output at different moments in time?
Yes it is an unsteady simulation and my objective is to view the intermittency field over the whole domain (which is transitional flat plate in my case) in paraview. Like we see the velocity, density generally, I want to check the intermittency in my case. I'm using the SA-BC turbulence model as:
When I was using Openfoam it was possible to view through the changes being made in the .C file of the SA-BC model. It was not straighforward because the SA-BC turbulent model was not readily available in Openfoam but in case of SU2 it is there but not sure how to visualize the field.
ari003 is offline   Reply With Quote

Old   August 11, 2021, 10:57
Default
  #17
New Member
 
Flavio Giannetti
Join Date: Mar 2021
Location: Italy
Posts: 14
Rep Power: 5
flavio73 is on a distinguished road
Hi
If I understood well, the BC transition prediction model implemented in the master branch on githhub contains bugs, does'n it ?
I am very interested in this aspect since I need to perform some preliminary calculations to prepare a WT Test campaign. Should I install the develop branch ?
Another aspect that I did not fully understand from the previous discussion is if for the compressible solver with BC transition model, I need to impose the TURBULENCE_FREESTREAMINTENSITY only or I also need to adjust the FREESTREAM_NU_FACTOR. Can someone help me in understanding this ?
The variable FREESTREAM_NU_FACTOR is not present in the template configuration file if I am not wrong.

Thanks a lot . Any advice is welcome

Flavio

PS

As an additional issue, since I recompiled the code , I got this message when I run the transition flat plate case :
CSysSolve::FGMRES(): system solved by initial guess....
Any hint for this ?
F
flavio73 is offline   Reply With Quote

Old   August 11, 2021, 16:00
Default
  #18
Senior Member
 
Arijit Saha
Join Date: Feb 2019
Location: Singapore
Posts: 132
Rep Power: 7
ari003 is on a distinguished road
Quote:
Originally Posted by flavio73 View Post
Hi
If I understood well, the BC transition prediction model implemented in the master branch on githhub contains bugs, does'n it ?
I am very interested in this aspect since I need to perform some preliminary calculations to prepare a WT Test campaign. Should I install the develop branch ?
Another aspect that I did not fully understand from the previous discussion is if for the compressible solver with BC transition model, I need to impose the TURBULENCE_FREESTREAMINTENSITY only or I also need to adjust the FREESTREAM_NU_FACTOR. Can someone help me in understanding this ?
The variable FREESTREAM_NU_FACTOR is not present in the template configuration file if I am not wrong.

Thanks a lot . Any advice is welcome

Flavio

PS

As an additional issue, since I recompiled the code , I got this message when I run the transition flat plate case :
CSysSolve::FGMRES(): system solved by initial guess....
Any hint for this ?
F
Hi, I think once you specify the FREESTREAM TURBINTENSITY it can predict the nu tilda at the inlet bc.
With the specification of TI you can predict k, omega and epsilon and from there initialization of nutilda and nut is easy.
ari003 is offline   Reply With Quote

Old   August 12, 2021, 11:30
Default Problem with transition model
  #19
New Member
 
Flavio Giannetti
Join Date: Mar 2021
Location: Italy
Posts: 14
Rep Power: 5
flavio73 is on a distinguished road
Quote:
Originally Posted by ari003 View Post
Hi, I think once you specify the FREESTREAM TURBINTENSITY it can predict the nu tilda at the inlet bc.
With the specification of TI you can predict k, omega and epsilon and from there initialization of nutilda and nut is easy.
Thanks for your kind reply.
I was just experimenting with the develop version of the code. I have a problem with the compressible solver. I tried to reproduce the result of the flat plate case (which uses the incompressible solver) using the compressible RANS solver (at M=0.15). I used the configuration files of the turbulent flat plate case adding the transition model and the TI specification. The problem is that with the same parameters , the compressible and the incompressible solvers return different results. In particular the compressible one do not produce any sort of transition. Does anyone tried this ?

Thanks
Flavio
flavio73 is offline   Reply With Quote

Old   August 13, 2021, 06:08
Default Inconsistent results
  #20
New Member
 
Flavio Giannetti
Join Date: Mar 2021
Location: Italy
Posts: 14
Rep Power: 5
flavio73 is on a distinguished road
Quote:
Originally Posted by bigfootedrockmidget View Post
As you might have seen, the issue is solved in the develop version of su2. The free stream turbulence dissipation in the config file remains u'/U and this value is multiplied by 100 in the transition model to get to a percentage-value. Keep us updated on your progress regarding transition modeling!
Hi guys
just a quick updated concerning the transition model. I am now testing the new code in the develop branch in a more systematic way.
I decided to evaluate the transition on the naca0012 airfoil. I am using the grid provided in the su2 tutorial (https://su2code.github.io/tutorials/...lent_NACA0012/).
I decided to use both the incompressible and the compressible solver and compare the results. Since the Mach number I am simulating is low (M=0.12) , we should get similar results. However this is not the case. I attach two figures containing a comparison of the skin friction coeff. obtained with
a) incompressible solver
b) compressible solver with ROE scheme
c) compressible solver with JST scheme
for the naca0012 airfoil at AoA=3 and Re=3E6.
As you may notice, we get quite different results. Moreover, when I use the JST scheme, in some cases (choice of CFL and adaptation) transition seems not to be triggered at all (or the transient is really long and I stopped the simulation before): a similar case is reported in figure 2. However, if i start the simulation from the solution obtained from the ROE scheme, I then obtain transition even with the JST scheme (a close solution indeed). In other terms, it seems that the JST scheme takes more time (iterations) to trigger transition: in many cases (for some choices of CFL and adaptation strategy) I actually stopped the solution before transition appeared, since there was no change at all in the solution for many iterations. In other cases (figure 1), transition is triggered slowly after many iterations.
Since I am not experienced with the use of these transition models, I am wondering if I am using some wrong options in the configuration files or if there is still something to be fixed in the code.
I suppose that at low Mach number all the solvers should give very similar results .
I attach here two pictures summarising the results I got using a) b) and c).
Notice that in figure 2) for the JST scheme no transition appear: as mentioned above, I probably stopped the solver before this was triggered.
I also include the configurations files I used both for the incompressible and the compressible case.
I hope these tests could be helpful. I am looking forward receiving your opinions and advices on this issue.
Ciao
Flavio
Attached Files
File Type: zip transitional.zip (93.0 KB, 8 views)

Last edited by flavio73; August 13, 2021 at 20:21. Reason: wrong attachment
flavio73 is offline   Reply With Quote

Reply

Tags
su2, transition airfoil, turbulence intensity, version


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Simulation of a single bubble with a VOF-method Suzzn CFX 21 January 29, 2018 01:58
Problem with an old Simulation FrankW CFX 3 February 8, 2016 05:28
Wrong flow in ratating domain problem Sanyo CFX 17 August 15, 2015 07:20
An error has occurred in cfx5solve: volo87 CFX 5 June 14, 2013 18:44
Constant velocity of the material Sas CFX 15 July 13, 2010 09:56


All times are GMT -4. The time now is 03:20.