MATLAB Answers

1

Computational Fluid Dynamics (CFD) and Matlab?

Asked by Jakob Sievers on 3 Aug 2015
Latest activity Edited by Precise Simulation on 15 Jun 2018 at 3:27

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

  1 Comment

Is there a matlab code for transtonic small disturbance equation? Thank you.

Sign in to comment.

3 Answers

Answer by Precise Simulation on 25 Feb 2017
Edited by Precise Simulation on 15 Jun 2018 at 3:27
 Accepted Answer

The FEATool Multiphysics and Matlab CFD Toolbox 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 tutorial videos on the linked page show how to set up and solve a flow over a backwards facing step simulation directly in Matlab with the external OpenFOAM CFD solver.

  0 Comments

Sign in to comment.


Answer by 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.

  1 Comment

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

Sign in to comment.


Answer by QuickerSim 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.

Here are the links for download and documentation: http://www.mathworks.com/matlabcentral/fileexchange/53993-quickersim-cfd-toolbox

http://www.quickersim.com/cfd-toolbox-for-matlab/index

  1 Comment

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

Sign in to comment.


Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today