Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
TurTLE
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TurTLE
TurTLE
Commits
22f6aca1
Commit
22f6aca1
authored
9 years ago
by
Cristian Lalescu
Browse files
Options
Downloads
Patches
Plain Diff
add citation information
parent
bcd08299
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bfps/NavierStokes.py
+10
-0
10 additions, 0 deletions
bfps/NavierStokes.py
with
10 additions
and
0 deletions
bfps/NavierStokes.py
+
10
−
0
View file @
22f6aca1
...
@@ -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
))
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment