CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Fluent UDF and Scheme Programming (https://www.cfd-online.com/Forums/fluent-udf/)
-   -   Creating UDF file in MATLAB for Fluent (https://www.cfd-online.com/Forums/fluent-udf/66438-creating-udf-file-matlab-fluent.html)

ppa381 July 15, 2009 10:30

Creating UDF file in MATLAB for Fluent
 
I was told that it was possible to create a UDF file through MATLAB for Fluent without having to write a C program. I was wondering if this was possible and how I could go about doing this. I need to write two programs; one to describe a pulsating flow and another to describe the deflection from the pulsating flow to the walls in a rubber hose. If anyone has any information on if this can be written in MATLAB without having to learn C that would be great. Or if anyone has any experience in dealing with UDF files like this for Fluent in general. Thanks.

Sorin October 10, 2013 09:27

Hi ppa381,

It is not possible to create a UDF without having to write C code and consequently learn C. Fluent UDF's are C code.

You can though drive Fluent from Matlab using Fluent aaS.

It might be perceived as similar with a Fluent UDF but it is not. Driving Fluent from Matlab is rather similar to run Fluent in batch mode but

instead of
using Fluent TUI language in your journal file and execute the journal in Fluent to perform Fluent simulation
you can
use Matlab language in your journal file and execute the journal in Matlab to perform Fluent simulation.

Sorin


All times are GMT -4. The time now is 06:13.