Turbulence-Resolving Integral Simulations (TRIS) applies a moment-of-momentum integral approach, derived from Navier-Stokes, to run the time evolution of the integrated velocity and pressure fields. The Python code here provides an animation of a chosen field depending on the user input.
unlisted
ubuntu2204Kernel: Python 3 (system-wide)
Description:
The TRIS concept is applied to an open-channel flow configuration. Variables are non-dimensionalized by the friction velocity and height of the open-channel. The streamwise, spanwise, and wall-normal components are (x,y,z) and (u,v,w), respectively. The boundary conditions are periodic in the x and z directions. At y=0, a no-slip and no-penetration boundary condition is applied and at y=1, a no-vorticity and no-penetration boundary condition is applied.
Loading TRIS Modules / Input Parameters:
In [3]:
Initializing Fields:
In [4]:
Run TRIS:
In [5]:
Out[5]:
Turnover times complete: 0.0
Turnover times complete: 0.2
Turnover times complete: 0.4
Turnover times complete: 0.6
Turnover times complete: 0.8
Turnover times complete: 1.0
TRIS simulation time: 73.0 seconds
In [0]: