|
[Sponsors] |
October 29, 2002, 05:32 |
matlab and cfx551
|
#1 |
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 |
|
October 29, 2002, 05:50 |
Re: matlab and cfx551
|
#2 |
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 |
|
October 29, 2002, 05:54 |
Re: matlab and cfx551
|
#3 |
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
|
|
October 29, 2002, 06:42 |
Re: matlab and cfx551
|
#4 |
Guest
Posts: n/a
|
Thank you everybody for the tips.
Cheers Olivier |
|
|
|