This Python script, calculates 3D energy spectra. For this purpose, velocity component
the spectra can be defined as a function of scalar wave numer
Parameters:
L = domain width
dim = sampling resolution
In this script, the DNS results of isotropic turbulence in a triply-periodic cube [Cardesa et al., Science 2017] is used. A snapshot is loaded which provide the fft coeffecients of
The code used to read data is provided by the DNS developers (#Alberto Vela-Martin, 2017).