CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   FLUENT (http://www.cfd-online.com/Forums/fluent/)
-   -   Export/Import data contour plots with Matlab (http://www.cfd-online.com/Forums/fluent/104271-export-import-data-contour-plots-matlab.html)

meangreen July 5, 2012 15:59

Export/Import data contour plots with Matlab
 
Hi Everyone,

I would like to make contour plots using matlab from my Fluent data, but I can't figure out how to sort the data so that matlab can plot it. (I am working in 2D and axisymmetric)

Fluent provides one long list of x coordinates, one long list of y coordinates and on long list of variables. But this isn't how matlab wants to plot things.
Has anyone written a function in matlab to rearrange the fluent output so they can plot the contour plots in matlab?

My mesh uses adaption, which makes things complicated.

Casey

nenazarian August 16, 2012 19:15

Hi

I have the same problem as yours. Do you remember how you solved this?
any help is appreciated.

Cheers
Negin

meangreen August 20, 2012 08:51

Still haven't been able to solve it. Let me know if you make any progress. I have been using paraview, but it doesn't provide the same amount of control as I would like.

blackmask August 21, 2012 01:28

You could use interp/interp2/interp3 functions provided by MATLAB to interpolate your result to structured grids. TECPLOT is a better choice than MATLAB for data visualization.


All times are GMT -4. The time now is 08:17.