Computational Fluid Dynamics (CFD) and Matlab?
149 views (last 30 days)
Show older comments
I'm wondering: If I wanted to illustrate the 2D/3D air-flow and turbulence around simple solid objects which I define myself, would that be possible in Matlab? Cheers Jakob
2 Comments
QuickerSim
on 16 Jul 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. You can create heat transfer and fluid flow simulations in 2-D and 3-D.
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.
Accepted Answer
Precise Simulation
on 25 Feb 2017
Edited: Precise Simulation
on 3 Mar 2019
The FEATool Multiphysics toolbox (available via the FileExchange and MATLAB Add-Ons) allows you to perform fluid flow and other physics simulations directly in a GUI environment. In addition to using the built-in GUI you can also use all toolbox functions directly on the command line, so in your case you could use featool m-functions for just geometry and grid generation, or 3D visualization and postprocessing as in the linked post.
The linked video tutorial show how to set up and solve a flow around a cylinder directly in MATLAB and optionally solve it with the external OpenFOAM CFD solver.
0 Comments
More Answers (2)
Nitin Khola
on 5 Aug 2015
Yes, MATLAB can be used to visualize data for turbulent flows. One of the examples would be the MATLAB code available on the Johns Hopkins Turbulence database website: Using the JHU Turbulence Database Matlab Analysis Tools. This GUI based implementation "provides functionality for plotting/animating velocity and vorticity fields, computing and plotting longitudinal energy spectra, and computing PDF's of velocity, pressure, and velocity increments". Here is one of the snapshots I could produce at my end.

Here, the data is fetched from the JHU Turbulence Database Cluster. You can write a similar code to visualize your own data.
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. You can create heat transfer and fluid flow simulations in 2-D and 3-D.
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.
0 Comments
See Also
Categories
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!