Skip to content

Script that generates an animation of a rigid disc that rotates passively under channel-flow turbulence

Notifications You must be signed in to change notification settings

polivucci/disc-flow-animation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

disc-flow-animation

The code hosted on this repository generates an animation of a rigid disc that rotates passively under channel-flow turbulence.

The solver Incompact3D is used to perform a Direct Numerical Simulation of a turbulent channel fitted with a free-to-move solid disc on the wall.

A collection of two-dimensional snapshots of the shear-stress field at the wall are stored in the directory flow_snapshots and used as input to the script animation_disc.py.

The Matplotlib library is then used to render the flow field snapshots into animation frames and export the resulting video to file.

The video below is an example of the output, obtained using a larger range of flow snapshots from than those included in flow_snapshots:

Example output

More complete information on the flow physics and the numerical methods can be found in:

Olivucci P, Wise DJ, Ricco P, Reduction of turbulent skin-friction drag by passively rotating discs, J. Fluid Mech., 2021.

About

Script that generates an animation of a rigid disc that rotates passively under channel-flow turbulence

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages