channel flow gif

Version 1.0.0 (7.77 MB) by Jitong Ding
This code allows you to make a gif file dynamically illustrating a channel flow system.
Updated 18 Dec 2022

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 (2024). channel flow gif (, 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