Ahora está siguiendo esta publicación
- Verá actualizaciones en las notificaciones de contenido en seguimiento.
- Podrá recibir correos electrónicos, en función de las preferencias de comunicación que haya establecido.
- 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'.
- Put files 'make_gif_channelflow.m' and 'gif_data_180.mat' in a same folder.
- Open the file 'make_gif_channelflow.m' to run the file.
- Change the parameter DelayTime to control the display speed of the gif. The smaller the value is, the faster the gif displays.
- 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.
Citar como
Jitong Ding (2026). making a GIF for turbulent channel flow (https://la.mathworks.com/matlabcentral/fileexchange/122262-making-a-gif-for-turbulent-channel-flow), MATLAB Central File Exchange. Recuperado .
Información general
- Versión 1.0.1 (7,77 MB)
Compatibilidad con la versión de MATLAB
- Compatible con cualquier versión
Compatibilidad con las plataformas
- Windows
- macOS
- Linux
