CFD Online Discussion Forums

CFD Online Discussion Forums (
-   CFX (
-   -   matlab and cfx551 (

Olivier October 29, 2002 06:32

matlab and cfx551
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


cujo October 29, 2002 06:50

Re: matlab and cfx551
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!


Dave October 29, 2002 06:54

Re: matlab and cfx551
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

Olivier October 29, 2002 07:42

Re: matlab and cfx551
Thank you everybody for the tips.



All times are GMT -4. The time now is 12:41.