CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

turbulentDigitalFilterInlet - how is the integral length scale tensor defined

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 31, 2020, 03:37
Default turbulentDigitalFilterInlet - how is the integral length scale tensor defined
  #1
New Member
 
surya kaundinya
Join Date: Mar 2017
Posts: 15
Rep Power: 9
suryakaundinya is on a distinguished road
Hello everyone,

I have a question about using the turbulentDigitalFilterInlet boundary condition for defining a turbulent velocity field in LES simulations. This is available in v1906. Do anyone know how to define the integral length scale tensor in the model.

In the code I have seen that it is define in the local patch co-ordinate system. If that is the case, when my patch is normal to either x,y or z-axis then the tensor should be something like (L1 0 0 0 L2 0 0 0 L3). But according to the code the tensor cannot have 0 values for any of the components.

Can someone please elaborate on how to define this parameter?
suryakaundinya is offline   Reply With Quote

Old   January 31, 2020, 16:35
Default
  #2
HPE
Senior Member
 
HPE's Avatar
 
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 932
Rep Power: 12
HPE is on a distinguished road
I think L definition is as follows:

(Luux Luuy Luuz Lvvx Lvvy Lvvz Lwwx Lwwy Lwwz)

That is, for example, for the first Luux: u-u correlation in the x-direction; for the second item Luuy: u-u correlation in the y-direction and so on.

To my knowledge, for turbulent fields, this set of correlations cannot be zero. The code then seems to be guarded from such input to reduce potential user errors. Zero correlation means complete randomness, and turbulence is not random, yet stochastic.

Hope this helps.
HPE is offline   Reply With Quote

Old   February 1, 2020, 04:48
Default
  #3
New Member
 
surya kaundinya
Join Date: Mar 2017
Posts: 15
Rep Power: 9
suryakaundinya is on a distinguished road
Hi,


I think it does not represent the velocity correlation. The code description says that it represents the "integral length scale" as sshown below:

L is the Integral length-scale set (9-comp):{e1,e2,e3}{u,v,w} [m]
L = (<Lxu> <Lxv> <Lxw> <Lyu> <Lyv> <Lyw> <Lzu> <Lzv> <Lzw>)

It is also mentioned that the "integral length scale set input is in the local patch
coordinate system". Also it is specified that "L_e1u, Le1v, Le2w, should always correspond to the length scales that are in association with the convective mean flow direction."

From these I think that Lx, Ly, Lz are integral length scales in different directions. And e1, e2, e3 are the local patch co-ordinates. So my question is how to define the these components where patch is parallel to a specific axis.



With regards,
Surya.
suryakaundinya is offline   Reply With Quote

Old   February 1, 2020, 06:10
Default
  #4
HPE
Senior Member
 
HPE's Avatar
 
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 932
Rep Power: 12
HPE is on a distinguished road
Integral length scale there is only the pesudo-integration of the two-point correlation function of velocity in a given direction. They contain the same information.
HPE is offline   Reply With Quote

Old   February 1, 2020, 06:19
Default
  #5
HPE
Senior Member
 
HPE's Avatar
 
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 932
Rep Power: 12
HPE is on a distinguished road
"From these I think that Lx, Ly, Lz are integral length scales in different directions. And e1, e2, e3 are the local patch co-ordinates. So my question is how to define the these components where patch is parallel to a specific axis."

e1 is your mean convection direction, say x. e2 and e3 are the orthogonal directions to e1, say y and z.

Now say, you clockwise rotate your mesh 60 degrees around the global x-axis by keeping the L input the same. In the local coordinate system, which does not feel the rotation, if you measure Ls, you will get the input back. But if you do the integral scale measurement in the rotated mesh on global coordinate system, you will get different set of Ls in the global directions. That's it.
HPE is offline   Reply With Quote

Old   February 2, 2020, 10:14
Default
  #6
New Member
 
surya kaundinya
Join Date: Mar 2017
Posts: 15
Rep Power: 9
suryakaundinya is on a distinguished road
Hi HPE,

Thanks a lot for the information. I might sound stupid but can you please answer one last question?

For a case where I do not have DNS data , how do we calculate the two-point correlation? Or if I know the integral length scale how to calculate the two-point correlation?

With regards,
Surya.
suryakaundinya is offline   Reply With Quote

Old   September 24, 2022, 09:15
Default
  #7
New Member
 
Justin
Join Date: Mar 2022
Posts: 6
Rep Power: 4
mr35diamonds is on a distinguished road
If you do not have DNS data, then you cannot compute the two-point correlation. The integral length scale is defined as a length scale that corresponds to the correlation time of a turbulent cascade. In principle, if you know the spectral scaling, you can get the structure function and estimate how the correlation function scales, but you cannot get exact values. You may try simulating without turbulent inflow BC and see how that goes.
mr35diamonds is offline   Reply With Quote

Reply


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
Calculation of turbulence length scale Jinjolee OpenFOAM Running, Solving & CFD 15 April 21, 2022 10:44
Problem with large time scale and minute length scale mech_engg_swag OpenFOAM 0 August 23, 2016 07:39
Estimation of turbulence length scale J.Y.Won OpenFOAM Pre-Processing 0 April 28, 2015 07:16
length scale option rashmi CFX 2 July 24, 2005 23:39
Characteristic Length Scale Thomas P. Abraham Main CFD Forum 2 April 20, 1999 17:16


All times are GMT -4. The time now is 17:33.