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

Turbulence spectrum plot

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 25, 2020, 09:46
Default Turbulence spectrum plot
  #1
New Member
 
Join Date: Jun 2016
Location: Birmingham, UK
Posts: 11
Rep Power: 9
scoop_them_mids is on a distinguished road
Hi,


To check the resolution of turbulence in an LES simulation, I would like to plot the turbulent power spectrum density against frequency (the famous one a -5/3 slope), but never attempted this before. All I have is the time-averaged resolved TKE. Is there a way to do it in Paraview or some other script?



Thanks
scoop_them_mids is offline   Reply With Quote

Old   March 25, 2020, 13:56
Default
  #2
New Member
 
Join Date: Jun 2016
Location: Birmingham, UK
Posts: 11
Rep Power: 9
scoop_them_mids is on a distinguished road
Ok, found some clues here:
Energy spectrum calculation
scoop_them_mids is offline   Reply With Quote

Old   March 26, 2020, 13:40
Default
  #3
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,674
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
You can't do it with just a time-averaged tke. The time-averaged tke is just one number, e.g. 1. It has no spectrum.

You need the time-accurate tke, or the time-accurate velocity.


In paraview, i'm not sure. But in general, you just take the velocity into Fourier space and then square it in Fourier space, or take the kinetic energy into Fourier space directly. Basically, you need to do an DFT/FFT and then plot it.
LuckyTran is offline   Reply With Quote

Old   March 27, 2020, 10:23
Default
  #4
New Member
 
Join Date: Jun 2016
Location: Birmingham, UK
Posts: 11
Rep Power: 9
scoop_them_mids is on a distinguished road
You are right, also I think Paraview has an FFT function but it is probably best to probe the transient data at one particular location during runtime, and then post-treat a text file directly with an external script.
scoop_them_mids is offline   Reply With Quote

Old   March 27, 2020, 12:22
Default
  #5
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,768
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by scoop_them_mids View Post
You are right, also I think Paraview has an FFT function but it is probably best to probe the transient data at one particular location during runtime, and then post-treat a text file directly with an external script.



The spectrum can be evaluated in time at some location but you have to enforce a statistical averaging over several period.
If your problem has some directions of homogeneity you can do the spectrum along the space.
FMDenaro is offline   Reply With Quote

Old   March 27, 2020, 13:30
Default
  #6
New Member
 
Join Date: Jun 2016
Location: Birmingham, UK
Posts: 11
Rep Power: 9
scoop_them_mids is on a distinguished road
Quote:
Originally Posted by FMDenaro View Post
The spectrum can be evaluated in time at some location but you have to enforce a statistical averaging over several period.
If your problem has some directions of homogeneity you can do the spectrum along the space.

Someone mentioned that in the other conversation (plot k against wavenumber instead of frequency). One aspect of my problem is checking the shear layer axis in a wind tunnel, definitely worth trying...
scoop_them_mids 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
Turbulence Modeling - The Gist Avr.Tomer Main CFD Forum 0 September 27, 2019 23:13
Turbulence postprocessing Mohsin FLUENT 2 October 3, 2016 14:18
Displaying Turbulence Intensity in LES and creating a constant Turbulence Intensity Anwer FLUENT 1 August 8, 2016 16:59
Question on Turbulence Intensity Eric FLUENT 1 March 7, 2012 04:30
turbulence spectrum niaz Main CFD Forum 0 February 28, 2012 01:04


All times are GMT -4. The time now is 10:36.