DNS 1-3 Statistical Data
Statistical data
Volume data
Volumetric data on the statistics computed is provided in HDF5 files. This can be easily read through the HDF5 library or python's h5py. The tree scheme of the dataset is the following:
- Statistics.h5
- 01_Info
- Dimensions
- 02_Entries
- Inputs
- 01_Output
- AdditionalQuantities
- Convection
- Production
- TurbulentDiffusion01
- TurbulentDiffusion02
- PressureStrain
- Dissipation
- TripleCorrelation
- PressureVelocity
- 03_Nodes
- Nodes
- 01_Info
The available files are:
Statistics (9.1 kB) Is the h5 masterfile that contains the data tree and relates with the other files.
Inputs (26.0 GB) Contains the averaged pressure and velocity along with their gradients, the shear stress and the Reynolds stress tensor in the following order:
An example to read this file with python's h5 library would be:
import h5py
f = h5py.File('Statistics.h5','r')
inp = np.array( f.get('02_Entries').get('Inputs') )
f.close()
Recover gradients and Reynolds stress tensor (indices are these of the list above:
grad_velocity = inp[:,[17,21,25,18,22,26,19,23,27]].astype(np.double)
Rij = inp[:,[10,11,13,11,12,14,13,14,15]].astype(np.double)
AdditionalQuantities (3.7 GB) Contains additional quantities such as the Taylor and Kolmogorov scales and the pressure autocorrelation in the following order:
- Taylor microscale
- Kolmogorov length scale
- Kolmorogov time scale
Additional data
No additional data yet.
Contributed by: Oriol Lehmkuhl, Arnau Miro — Barcelona Supercomputing Center (BSC)
© copyright ERCOFTAC 2024