CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

Shear stresses from spectral energy density - channel flow

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 11, 2018, 19:17
Default Shear stresses from spectral energy density - channel flow
  #1
New Member
 
Carlos
Join Date: Nov 2016
Posts: 6
Rep Power: 9
CarlosG is on a distinguished road
I am trying to compute the Reynolds shear stresses <u'v'> from the spectral energy density tensor E_{uv}, for the case of a 3D channel flow where x and z are homogeneous and y is spectrally discretized. Assuming a zero streamwise wavenumber \alpha=0, from the definition:

<u'v'>=\int_0^\infty E_{uv} (\beta) d\beta

My question is: E_{uv} is a N X N matrix with N being the number of points in y, so, how can I compute <u'v'> at a concrete point in y? Is it the corresponding value of the diagonal of E_{uv}? (I mean, summing over all \beta)
CarlosG is offline   Reply With Quote

Old   April 12, 2018, 03:52
Default
  #2
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,773
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
I just wonder why do not compute directly the term <u'v'> in physical space...
FMDenaro is offline   Reply With Quote

Old   April 12, 2018, 04:31
Default
  #3
New Member
 
Carlos
Join Date: Nov 2016
Posts: 6
Rep Power: 9
CarlosG is on a distinguished road
In this case, I don't have a DNS but a linearised model where I am able to construct E_{uv}, but I don't have u' and v' so that I can average. Actually my goal is to compare with a real DNS, where that info is readily available.

How would you compute <u'v'> from the matrix E_{uv} for this case?
CarlosG is offline   Reply With Quote

Old   April 12, 2018, 07:07
Default
  #4
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,773
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by CarlosG View Post
In this case, I don't have a DNS but a linearised model where I am able to construct E_{uv}, but I don't have u' and v' so that I can average. Actually my goal is to compare with a real DNS, where that info is readily available.

How would you compute <u'v'> from the matrix E_{uv} for this case?
But I think that <u'v'> is a statistical averaging of a 3D field, while the energy spectra in the channel are 1D, along x and z at some y positions. I don't see how you can reconstruct a 3D field
FMDenaro is offline   Reply With Quote

Old   April 12, 2018, 08:02
Default
  #5
New Member
 
Carlos
Join Date: Nov 2016
Posts: 6
Rep Power: 9
CarlosG is on a distinguished road
The code solves a linear version of NS discretising spectrally in x and z (homogeneous) and using FD in y. So, E_{uv} is a function of the stream- and spanwise wavenumbers \alpha, \beta and y.

Focusing on the large structures (\alpha=0), <u'v'>(y) is given by the expression above, the integral of E_{uv} over all \beta. However, this is a N X N matrix (N is the number of points in y). So, my question, how to extract <u'v'> for a particular y from the integral of E_{uv} over all \beta. Is it the diagonal? the column?
CarlosG is offline   Reply With Quote

Old   April 12, 2018, 08:32
Default
  #6
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,773
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by CarlosG View Post
The code solves a linear version of NS discretising spectrally in x and z (homogeneous) and using FD in y. So, E_{uv} is a function of the stream- and spanwise wavenumbers \alpha, \beta and y.

Focusing on the large structures (\alpha=0), <u'v'>(y) is given by the expression above, the integral of E_{uv} over all \beta. However, this is a N X N matrix (N is the number of points in y). So, my question, how to extract <u'v'> for a particular y from the integral of E_{uv} over all \beta. Is it the diagonal? the column?
Ok, let me try to better clarify the framework. You have u'(x,y,z,t) and v'(x,y,z,t). For sake of simplicity let me assume f =u'v'. Thus, we should define:

<f>(y) = 1/(T*Lx*Lz) Int [0,T] Int [0,Lx] Int [0,Lz]f(x,y,z,t) dt dx dz

This is what we actually compute from the DNS fields.
On the other hand we can define for example

E_uu(kx,y,z,t) = squared modulus of Fourier coefficient in the 1D FFT along x.
E_uu(x,y,kz,t) = squared modulus of Fourier coefficient in the 1D FFT along z.

You could also perform a 2D FFT in the x,z plane and getting the Fourier coefficients as functions of (kx,y,kz,t). Then, to get a function of the only y position you need to make the statistical averaging in kx,kz,t.

Of course, in general the transformation from Fourier wavenumber and physical space involves the inverse Fourier transform.
FMDenaro is offline   Reply With Quote

Old   April 12, 2018, 08:41
Default
  #7
New Member
 
Carlos
Join Date: Nov 2016
Posts: 6
Rep Power: 9
CarlosG is on a distinguished road
OK, maybe my question is not on turbulence but on how we solve the problem. The thing is that I have a matrix for E_{uv}, (for each \alpha and \beta). Why a matrix? Because of the discretization in y.

If, for example, I would like to compute the variance of the velocity tensor, I just need to integrate E_{uv} for all \beta and then take the trace of the resulting matrix.

However, what I want to compute is <u'v'> at a certain y position, and I don't know to what entries of the velocity tensor this corresponds.
CarlosG is offline   Reply With Quote

Old   April 12, 2018, 08:55
Default
  #8
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,773
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by CarlosG View Post
OK, maybe my question is not on turbulence but on how we solve the problem. The thing is that I have a matrix for E_{uv}, (for each \alpha and \beta). Why a matrix? Because of the discretization in y.

If, for example, I would like to compute the variance of the velocity tensor, I just need to integrate E_{uv} for all \beta and then take the trace of the resulting matrix.

However, what I want to compute is <u'v'> at a certain y position, and I don't know to what entries of the velocity tensor this corresponds.

I assume you have a matrix (Nx X Nz) corresponding to the plane of the wavenumbers kx and kz. But you have one matrix for each of the discrete position y. Therefore, you need to fix the value of the same y where the <u'v'> are to be evaluated. Then you proceed in the same way along all the nodes in the y-direction. Of course, that is still at a certain t, the statistical averaging in time being still to be performed.
FMDenaro 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
Shear Stress Calculation in the flow. auburnuser FLOW-3D 11 May 12, 2018 13:49
Source term in channel flow aerosjc Main CFD Forum 1 February 9, 2017 03:38
Enabling Open Channel Flow Sub-Model in Mixture model cod213 FLUENT 0 January 10, 2017 13:40
Why FVM for high-Re flows? Zhong Lei Main CFD Forum 23 May 14, 1999 13:22
compressible channel flow.. R.D.Prabhu Main CFD Forum 0 July 17, 1998 17:23


All times are GMT -4. The time now is 02:21.