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

Exporting data to MATLAB

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Ryan

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 10, 2006, 14: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
clivemathe likes this.
  Reply With Quote

Old   July 11, 2006, 03: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, 07: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


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
exporting data from Fluent to MATLAB Arash FLUENT 7 September 11, 2018 08:12
Exporting data (cell values, ascii) and obtaining more data than cells! TfG FLUENT 3 April 3, 2015 01:18
How to update polyPatchbs localPoints liu OpenFOAM Running, Solving & CFD 6 December 30, 2005 18:27
exporting data sourav FLUENT 2 August 16, 2005 16:05
How to make data file for matlab from CFX? cfxbeginner CFX 4 October 19, 2002 08:56


All times are GMT -4. The time now is 19:01.