Computational Fluid Dynamics (CFD) and Matlab?

Jakob Sievers (view profile)

on 3 Aug 2015
Latest activity Edited by Precise Simulation

on 6 Aug 2018

Precise Simulation (view profile)

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

emin korkmaz

emin korkmaz (view profile)

on 11 Jan 2018
Is there a matlab code for transtonic small disturbance equation? Thank you.

Precise Simulation (view profile)

on 25 Feb 2017
Edited by Precise Simulation

Precise Simulation (view profile)

on 6 Aug 2018

The FEATool Multiphysics and the CFDTool Matlab CFD 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.

Nitin Khola (view profile)

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.

Jakob Sievers

Jakob Sievers (view profile)

on 5 Aug 2015
Thank you very much for your help! Will get straight into playing around with this!

QuickerSim (view profile)

on 22 Jan 2016

You can also use QuickerSim CFD Toolbox for analysis of general 2-D flows. Full 3-D and turbulence comes soon.

Emilia Kostrzyk

Emilia Kostrzyk (view profile)

on 23 Oct 2017
The 2nd release of the QuickerSim CFD Toolbox is now available. It is still very flexible and lightweight - get the free trial form here.