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

How to make data file for matlab from CFX?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 18, 2002, 17:18
Default How to make data file for matlab from CFX?
  #1
cfxbeginner
Guest
 
Posts: n/a
Everyone: I want to draw 3d picture by matlab. But the data file (containing the velocity and pressure of a certain plane)I got from the result of CFX5 by "export" command is not fit to matlab.The data is not in order.For example, if x=0,y should be 0,2,4,6,8,10,12, x=2, y should be 0,2,3,4,6,8,10,12.But the data file is not in such way.For example, when x=0 y=0,2,4,6,8,10,12; when x=2,y=2,6,12(some positions have no data be exported).So I cannot draw satisfied picture from such data file by matlab. I think it is because the mesh of CFX5 is unstructured grid.How to resolve it? I have fieldview, it can export data of a certain plane by "export" command.But the file made by fieldview has the same problem. How to resolve this problem? Thank you!
  Reply With Quote

Old   July 22, 2002, 13:13
Default Re: How to make data file for matlab from CFX?
  #2
Tommaso
Guest
 
Posts: n/a
Probably you can use keyword GRID CENTRES in
:>PRINT OPTIONS
:>WHAT

... ?

  Reply With Quote

Old   July 24, 2002, 17:59
Default Re: How to make data file for matlab from CFX?
  #3
Robin
Guest
 
Posts: n/a
Read your data into a spreadsheet application and reorder it.

Robin
  Reply With Quote

Old   August 15, 2002, 10:34
Default Re: How to make data file for matlab from CFX?
  #4
René
Guest
 
Posts: n/a
What I do is to first "re-map" the data from CFX 5 onto a structured mesh. I use the MATLAB comands delaunay, tsearch and dsearch to interpolate the raw data onto my custom defined structured grid. Then go wild with the data analysis....

René
  Reply With Quote

Old   October 19, 2002, 08:56
Default Re: How to make data file for matlab from CFX?
  #5
DingEnbao
Guest
 
Posts: n/a
firstly check your output data. try command griddata in matlab.
  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
pisoFoam compiling error with OF 1.7.1 on MAC OSX Greg Givogue OpenFOAM Programming & Development 3 March 4, 2011 18:18
1.7.x Environment Variables on Linux 10.04 rasma OpenFOAM Installation 9 July 30, 2010 05:43
Installation of OpenFOAM-1.6 on Ubuntu 9.10 marval OpenFOAM Installation 2 March 17, 2010 09:33
DxFoam reader update hjasak OpenFOAM Post-Processing 69 April 24, 2008 02:24
File export from CFX 5.3 Sinjae Hyun CFX 1 July 12, 2000 10:20


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