MATLAB Answers

CFD with Matlab and Matlabs plotting capabilities.

11 views (last 30 days)
Kamuran
Kamuran on 18 Dec 2012
Answered: QuickerSim on 5 Aug 2021
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?

Answers (2)

Walter Roberson
Walter Roberson on 18 Dec 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
QuickerSim on 5 Aug 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 (https://quickersim.com/category/tutorials-en/)
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.

Community Treasure Hunt

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

Start Hunting!