CFD with Matlab and Matlabs plotting capabilities.

4 vues (au cours des 30 derniers jours)
Kamuran le 18 Déc 2012
I am planning to use Matlab for a CFD calculation; however, I have my doubts about the plotting capabilities of Matlab. IN my first program I am going to model a pipe filling a pool. I will solve for the flow in the pipe and flow in the pool in 3D with time. Is it possible to make a movie of it using Matlab or I need to get more professional plotting tools such as paraview?

Réponses (2)

Walter Roberson
Walter Roberson le 18 Déc 2012
Use the VideoWriter function with the open, writeVideo, and close methods to create video files from figures, still images, or MATLAB movies. VideoWriter can create AVI and Motion JPEG 2000 files on all platforms, and MPEG-4 files on Windows 7 platforms. VideoWriter supports files larger than 2 GB, which is the limit for avifile.

QuickerSim le 5 Août 2021
You may check out the QuickerSim CFD Toolbox for MATLAB. It is a third-party toolbox for solving fluid flows in the MATLAB environment. Plots in this soft are generted automatically, additionally there some tutorials (
The toolbox provides the user with efficient CFD solvers and auxiliary (e.g. mesh-manipulation, preprocessing, and postprocessing) functions inside of MATLAB. It encourages users to make use of them in combination with their own code.
You can check out the free code or ask for a trial full verion here.


En savoir plus sur Computational Fluid Dynamics (CFD) dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by