making a GIF for turbulent channel flow

Version 1.0.1 (7.77 MB) by Jitong Ding
This code lets you make a gif visualising the dynamic velocity fields of a turbulent channel.
30 Downloads
Updated 24 Aug 2024

View License

  1. Click download on the right-hand-side of the webpage to download the zip file containing the code 'make_gif_channel.m' and the dataset 'gif_data_180.mat'.
  2. Put files 'make_gif_channelflow.m' and 'gif_data_180.mat' in a same folder.
  3. Open the file 'make_gif_channelflow.m' to run the file.
  4. Change the parameter DelayTime to control the display speed of the gif. The smaller the value is, the faster the gif displays.
  5. The gif file will be saved as '180.gif' in the same folder. You can drag it into your slides for presentation purposes.
File 'gif_data_180.mat' contains the dataset for generating the figures on the three surfaces of the channel box. The dataset has been attained separately. First, we plot the figure using the command imagesc (alternatives such as contourf and pcolor could also be used). Second, we extract the data representing the colors using commend getframe and store it in a cell array. We do the procedures for each surface and each time step.

Cite As

Jitong Ding (2025). making a GIF for turbulent channel flow (https://nl.mathworks.com/matlabcentral/fileexchange/122262-making-a-gif-for-turbulent-channel-flow), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2022b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.1

change the summary and description

1.0.0