|
[Sponsors] |
March 25, 2020, 09:46 |
Turbulence spectrum plot
|
#1 |
New Member
Join Date: Jun 2016
Location: Birmingham, UK
Posts: 11
Rep Power: 9 |
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 |
|
March 25, 2020, 13:56 |
|
#2 |
New Member
Join Date: Jun 2016
Location: Birmingham, UK
Posts: 11
Rep Power: 9 |
Ok, found some clues here:
Energy spectrum calculation |
|
March 26, 2020, 13:40 |
|
#3 |
Senior Member
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,674
Rep Power: 66 |
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. |
|
March 27, 2020, 10:23 |
|
#4 |
New Member
Join Date: Jun 2016
Location: Birmingham, UK
Posts: 11
Rep Power: 9 |
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.
|
|
March 27, 2020, 12:22 |
|
#5 | |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,768
Rep Power: 71 |
Quote:
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. |
||
March 27, 2020, 13:30 |
|
#6 | |
New Member
Join Date: Jun 2016
Location: Birmingham, UK
Posts: 11
Rep Power: 9 |
Quote:
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... |
||
|
|
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 |