CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > FLUENT

Export/Import data contour plots with Matlab

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   July 5, 2012, 16:59
Default Export/Import data contour plots with Matlab
  #1
Member
 
Casey
Join Date: Jun 2009
Posts: 92
Rep Power: 7
meangreen is on a distinguished road
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
meangreen is offline   Reply With Quote

Old   August 16, 2012, 20:15
Default
  #2
Member
 
Negin Nazarian
Join Date: Jan 2012
Location: San Diego
Posts: 59
Rep Power: 4
nenazarian is on a distinguished road
Hi

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

Cheers
Negin
nenazarian is offline   Reply With Quote

Old   August 20, 2012, 09:51
Default
  #3
Member
 
Casey
Join Date: Jun 2009
Posts: 92
Rep Power: 7
meangreen is on a distinguished road
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.
meangreen is offline   Reply With Quote

Old   August 21, 2012, 02:28
Default
  #4
Senior Member
 
Join Date: Aug 2011
Posts: 315
Rep Power: 11
blackmask will become famous soon enough
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.
blackmask is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
fluentMeshToFoam multidomain mesh conversion problem Attesz OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ... 12 May 2, 2013 11:52
Any way to extract data from contour plots using paraView? Angela Wang OpenFOAM 2 October 27, 2010 13:13
Matlab contour plots Chris CFX 10 January 22, 2007 04:43
How to update polyPatchbs localPoints liu OpenFOAM Running, Solving & CFD 6 December 30, 2005 18:27
drawing of contour plots chinthakindi Main CFD Forum 1 April 27, 2004 05:33


All times are GMT -4. The time now is 10:02.