Skip to content
Snippets Groups Projects
Commit 22f6aca1 authored by Cristian Lalescu's avatar Cristian Lalescu
Browse files

add citation information

parent bcd08299
No related branches found
No related tags found
No related merge requests found
...@@ -671,6 +671,16 @@ class NavierStokes(_fluid_particle_base): ...@@ -671,6 +671,16 @@ class NavierStokes(_fluid_particle_base):
self.compute_time_averages() self.compute_time_averages()
return None return None
def compute_time_averages(self): def compute_time_averages(self):
"""
Conventions for Uint and Tint are taken from [Ishihara]_.
.. [Ishihara] T. Ishihara et al,
*Small-scale statistics in high-resolution direct numerical
simulation of turbulence: Reynolds number dependence of
one-point velocity gradient statistics*.
J. Fluid Mech.,
**592**, 335-366, 2007
"""
for key in ['energy', 'enstrophy']: for key in ['energy', 'enstrophy']:
self.statistics[key + '(t)'] = (self.statistics['dk'] * self.statistics[key + '(t)'] = (self.statistics['dk'] *
np.sum(self.statistics[key + '(t, k)'], axis = 1)) np.sum(self.statistics[key + '(t, k)'], axis = 1))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment