Question about turbulence outputs #1529
-
Dear all, I am performing LES simulations using the Smagorinsky model and would like to plot the ratio between resolved_tke and total_tke given by: Looking at the outputs from my simulations, I can see velocity_reynold_stress0,1,2,3,4,5 and velocity_stress0,1,2,3,4,5, however, I have been unable to find an explanation of these variables in the documentation. So far, I have guessed that velocity_reynold_stress0,1,2 refer to Lastly, is there a way to directly output the total TKE or the modelled TKE from the simulation? Best regards |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
There are no existing methods to output planes of subgrid scale energy. For the periodic flows, the 1-D statistics contains kegs if you use the one equation model. I think the easier work flow would be to write out instantaneous slices at regular intervals in the areas you are interest in and then do a statistics calculation in python or Matlab. You can compute the mean velocity gradients and then use the algebraic expression for turbulent kinetic energy n the Smagorinsky model to estimate the modeled tke. If you write in the netcdf format netCDF4 or xarray should work. For particle format, you can use the amex particle reader in the python tools folder within arm-wind. For particles you can also use pvpython which comes with paraview. To sample the data into a different format and do an averaging. I usually do something as follows.
|
Beta Was this translation helpful? Give feedback.
There are no existing methods to output planes of subgrid scale energy. For the periodic flows, the 1-D statistics contains kegs if you use the one equation model.
I think the easier work flow would be to write out instantaneous slices at regular intervals in the areas you are interest in and then do a statistics calculation in python or Matlab. You can compute the mean velocity gradients and then use the algebraic expression for turbulent kinetic energy n the Smagorinsky model to estimate the modeled tke.
If you write in the netcdf format netCDF4 or xarray should work. For particle format, you can use the amex particle reader in the python tools folder within arm-wind.
For particles you …