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

Two dimensional cut

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 2, 2017, 03:29
Default Two dimensional cut
  #1
New Member
 
Join Date: May 2017
Posts: 10
Rep Power: 9
WhiteShadow is on a distinguished road
Hello everyone,

I have a problem, I can not wrap my head around.
I have an 2D-cut of a 3D isotropic turbulence DNS. Now I would like to get the energy spectrum from this. But it does not seem so easy, since I can just FT in the x-yplane and not in the z-direction.
So I just have something like v'(kx,ky,z), with v' being the FT of v.
So I can not simply set E=(v'^2)/2 .

Does anyone have an idea?
WhiteShadow is offline   Reply With Quote

Old   November 2, 2017, 03:45
Default
  #2
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,782
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by WhiteShadow View Post
Hello everyone,

I have a problem, I can not wrap my head around.
I have an 2D-cut of a 3D isotropic turbulence DNS. Now I would like to get the energy spectrum from this. But it does not seem so easy, since I can just FT in the x-yplane and not in the z-direction.
So I just have something like v'(kx,ky,z), with v' being the FT of v.
So I can not simply set E=(v'^2)/2 .

Does anyone have an idea?
Sorry but your question is not clear to me...the slice has 2D periodic conditions right? and you can do FFT in both directions and then averaging in the plane. That can be done for any slice.
FMDenaro is offline   Reply With Quote

Old   November 2, 2017, 03:59
Default
  #3
New Member
 
Join Date: May 2017
Posts: 10
Rep Power: 9
WhiteShadow is on a distinguished road
Hey FMDenaro,

thanks for the reply.
Yes, the boundary condition is periodic. My problem is, that i just have this one slice. I do not have the full 3D information, just this one 2D slice.

In the 3D case I would do a 3d FFT and of the velocity field: v'=FT(v) and then calculate the energy spectrum as E=<v'v'>/2.

But now I can not do this, because i don't have the information of the third direction, so I can just FT in x and y but not in z.

I hope this makes it clearer.
WhiteShadow is offline   Reply With Quote

Old   November 2, 2017, 04:03
Default
  #4
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,782
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by WhiteShadow View Post
Hey FMDenaro,

thanks for the reply.
Yes, the boundary condition is periodic. My problem is, that i just have this one slice. I do not have the full 3D information, just this one 2D slice.

In the 3D case I would do a 3d FFT and of the velocity field: v'=FT(v) and then calculate the energy spectrum as E=<v'v'>/2.

But now I can not do this, because i don't have the information of the third direction, so I can just FT in x and y but not in z.

I hope this makes it clearer.

Well, you can do the 1D energy spectra analysis, your case is homogeneous and isotropic. In the (x,y) plane you can do the FFT fixing y and working at several x stations, then performing averaging. Viceversa for the FFT along y.
FMDenaro is offline   Reply With Quote

Old   November 2, 2017, 04:14
Default
  #5
New Member
 
Join Date: May 2017
Posts: 10
Rep Power: 9
WhiteShadow is on a distinguished road
I calculated the 1D energy spectrum from the correlation function like they suggest in Pope (6.206), as the FT of the velocity correlation fucntion.
Is this what you had in mind?
With this I could get the full energy spectrum function E(k) via Pope(6.217).
BUT I ran into the problem, that I can just determine E11(k1) but for calculating the full energy spectrum function I need E11(k).
And I dont know how to calculate that.

Is it clear what I meant, since I am referring to the book a lot and using there notation?

Also thanks again for the quick and helpful responses.
WhiteShadow is offline   Reply With Quote

Old   November 2, 2017, 04:39
Default
  #6
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,782
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Usually I perform the FFT of the velocity field and plot the squared modulus of the Fourier coefficients, it is just a slight difference.

You can only do the best with what you have. Owing to the isotropy, in the (x,y) plane you can consider the slice of the shell, working on the radius in the 2D plane. I suppose that in the plane you have also the measure of the third velocity component along z, that is w(x,y).
FMDenaro is offline   Reply With Quote

Old   November 2, 2017, 05:08
Default
  #7
New Member
 
Join Date: May 2017
Posts: 10
Rep Power: 9
WhiteShadow is on a distinguished road
Hey, yes, I have the third component as well.

I am not sure, if I understood correctly, but as far as I understood, you are suggesting , that I take the FT of vx -> v'x and plot the squared.

I think this leads me back to my first question. I can only do the FT for the x and y direction, so the fourier component of vx would be v'x(kx, ky, z=0).
This is not the same as v'x(kx, ky, kz=0).

If i had the latter I would agree, that E11(kx,ky,kz=0)= [v'x(kx, ky, kz=0)]^2.

But I don't see why this should hold: E11(kx,ky,kz=0) = [v'x(kx, ky, z=0)]^2.

If this were correct, I could do it for the total energy spectrum as well, couldn't I:

E(kx, ky, kz=0) = [v'x(kx, ky, z=0)]^2 +[v'y(kx, ky, z=0)]^2 + [v'y(kx, ky, z=0)]^2 .

Maybe I am missing a crucial point about isotropy, but in my mind I have to FT in the z-direction as well (which I can not) if I want to do it this way.

Thanks again for your time, I really appreciate it.
WhiteShadow is offline   Reply With Quote

Old   November 2, 2017, 06:09
Default
  #8
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,782
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
The best you can do is computing at the cut plane zc=constant the components Euu(kx,ky,zc), Evv(kx,ky,zc), Eww(kx,ky,zc) by a 2D FFT.

Howevere, I would start from the 1D spectra Eii(kx,y,zc), averaging them along y.
FMDenaro is offline   Reply With Quote

Old   November 2, 2017, 06:19
Default
  #9
New Member
 
Join Date: May 2017
Posts: 10
Rep Power: 9
WhiteShadow is on a distinguished road
Hmm ok thanks.

Do you see any way to get the total energy spectrum function E(k) from this ?
WhiteShadow is offline   Reply With Quote

Old   November 2, 2017, 07:29
Default
  #10
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,782
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by WhiteShadow View Post
Hmm ok thanks.

Do you see any way to get the total energy spectrum function E(k) from this ?

have a look to Sec.4.3 https://www.io-warnemuende.de/tl_fil...Chap4_WS08.pdf
FMDenaro is offline   Reply With Quote

Old   November 2, 2017, 08:41
Default
  #11
New Member
 
Join Date: May 2017
Posts: 10
Rep Power: 9
WhiteShadow is on a distinguished road
Hmmm I read the associated Pope chapter but there I ran into the problem I wrote in comment #5. But maybe I have to read it more carefully.
Thanks anyways
WhiteShadow is offline   Reply With Quote

Old   November 2, 2017, 10:30
Default
  #12
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,782
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by WhiteShadow View Post
Hmmm I read the associated Pope chapter but there I ran into the problem I wrote in comment #5. But maybe I have to read it more carefully.
Thanks anyways
You could consider Eq.(4.71) once Eij is computed
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
[Tutorials] Tutorial of how to plot residuals ! wolle1982 OpenFOAM Community Contributions 171 February 20, 2024 02:55
[Other] refineWallLayer Error Yuby OpenFOAM Meshing & Mesh Conversion 2 November 11, 2021 11:04
[ANSYS Meshing] Cut Plane Problem cfdizzle ANSYS Meshing & Geometry 0 December 4, 2014 15:54
Plotting Residuals ata OpenFOAM 12 July 8, 2011 02:50
Two or Three Dimensional for a coil Asghari_M ANSYS Meshing & Geometry 0 June 7, 2011 05:28


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