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

Exporting data to MATLAB

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

Reply
 
LinkBack Thread Tools Display Modes
Old   July 10, 2006, 13:17
Default Exporting data to MATLAB
  #1
Ryan
Guest
 
Posts: n/a
Hi everyone!

I am trying to export data from my simulation to MATLAB to do some plots (2D and 3D) not available in FLUENT 6.1. I've been reading the user's manual, but I can't determine the proper format to get MATLAB to read the data correctly. The best results I've gotten so far are when I use File-->Export--> Data Explorer (.dx). Is this correct, or is there a way that actually makes sense and is easier to determine what data goes with what? Thanks!

Cheers, Ryan
  Reply With Quote

Old   July 11, 2006, 02:11
Default Re: Exporting data to MATLAB
  #2
Ralf Schmidt
Guest
 
Posts: n/a
hi!

use file->write->profile

select the surface (line/point/volume) and the values you want to postprocess. Fluent writes a file, that looks like that:

x,

y,

z,

values1,

values2,

...

Now, use that program, to sort them in matlab:

http://www.cfd-online.com/Forum/flue...cgi?read=35447

Hope, it helps

Ralf
  Reply With Quote

Old   July 12, 2006, 06:41
Default Re: Exporting data to MATLAB
  #3
Fab
Guest
 
Posts: n/a
Hi,

another way would be to the results into ensight format and use vtk together with matlab to get direct access to it. Or you use right away vtk together with python/scipy/numpy which should be almost as powerfull as matlab, but for free

Greetings! Fab

P.S. If you have to stick to matlab syntax, use octave with octaviz ...

  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
Exporting data (cell values, ascii) and obtaining more data than cells! TfG FLUENT 3 April 3, 2015 00:18
exporting data from Fluent to MATLAB Arash FLUENT 2 October 10, 2013 08:31
How to update polyPatchbs localPoints liu OpenFOAM Running, Solving & CFD 6 December 30, 2005 18:27
exporting data sourav FLUENT 2 August 16, 2005 15:05
How to make data file for matlab from CFX? cfxbeginner CFX 4 October 19, 2002 07:56


All times are GMT -4. The time now is 14:04.