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

matlab and cfx551

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

Reply
 
LinkBack Thread Tools Display Modes
Old   October 29, 2002, 06:32
Default matlab and cfx551
  #1
Olivier
Guest
 
Posts: n/a
Hello everybody,

I would like to export data from cfx-post to matlab. The problem is that to do this I need the data structure of the nodes where the data is given by the export program in CFX-Post. And I don't know where to find this inside Post. What I do in general is: 1- create a plane in my geometry 2- export the data and the coordinates of the points as .dat file

But as the data is unstructured no contour matlab function will work on this.

Does someone have any idea on how to do this ?

Thank you

Olivier
  Reply With Quote

Old   October 29, 2002, 06:50
Default Re: matlab and cfx551
  #2
cujo
Guest
 
Posts: n/a
Hi Olivier, Just use File->Export, select the variables (nodal co-ordinates and properties) and the locator (your plane) and export your data. Subsequently, you can use the MATLAB command textread('exportfile.dat','%f %f %f %f %f','commentstyle','shell'), where %f are your data fields.

Good luck!

Cujo
  Reply With Quote

Old   October 29, 2002, 06:54
Default Re: matlab and cfx551
  #3
Dave
Guest
 
Posts: n/a
Olivier Hi, I don't know much about matlab, but can it read CGNS files ? From the solver manager goto Tools/Export, and have a look at the options. One of the formats may be compatible with Matlab Dave
  Reply With Quote

Old   October 29, 2002, 07:42
Default Re: matlab and cfx551
  #4
Olivier
Guest
 
Posts: n/a
Thank you everybody for the tips.

Cheers

Olivier
  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



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