CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   exporting data from Fluent to MATLAB (https://www.cfd-online.com/Forums/fluent/48602-exporting-data-fluent-matlab.html)

Arash June 25, 2008 09:58

exporting data from Fluent to MATLAB
 
Hi,

Does anyone know of a good way to export flow data from Fluent to MATLAB?

Thanks, Arash

Renato Pacheco June 26, 2008 13:11

Re: exporting data from Fluent to MATLAB
 
you can try file/export and then you choose wich information you would like to export, and choose the ASCII type of file. so you can read it as a txt file in columns and rows and read it into matlab.

Sorin October 10, 2013 08:31

Hi Arash,

In case you are still interested...

You can also execute the file export ascii command from Matlab while Fluent is running.

Please follow the indications in my other post that can be accessed at the following link: http://www.cfd-online.com/Forums/flu...ab-fluent.html

Sorin

sewgolam July 6, 2017 04:21

Hey guy,

how can i import a scripfile from matlab into fluent

divergence July 6, 2017 05:51

Haven't done that myself but I suppose you could save the script in .c form and read it in Fluent as a user defined function (udf).

Sorin July 6, 2017 08:58

Hi sewgolam,

What do you mean by "importing a script file from matlab into Fluent"? Fluent does not explicitly store scripts. The UDF and the journal files are "Fluent code" that is executed. Such code can generate results that can be exported, but the script per se are not exportable.

If you meant "executing a script file from Matlab into Fluent", then that is possible and is is relatively easy.
Just follow the instructions in my blog at http://www.ansys-blog.com/how-to-mak...pps-for-ansys/.

Please reformulate your question if you want more details.

Thank you

Sorin

Quote:

Originally Posted by sewgolam (Post 656010)
Hey guy,

how can i import a scripfile from matlab into fluent


vkt1993 September 11, 2018 06:15

how to import CFD model from ansys in matlab to trace the plume of CO2 with the help
 
I want to find the location of the source of the plume by using a mobile robot. I also want to know the time the robot will take to find the location. please suggest me how I can import CFD model of ANSYS into Matlab? I am attaching a pdf from a paper

AlexanderZ September 11, 2018 07:12

https://www.cfd-online.com/Forums/fl...ab-fluent.html

https://www.ansys-blog.com/ansys-fluent-matlab-example/

https://www.youtube.com/watch?v=xO7k4Umg2VE

best regards


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