CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   FLUENT (http://www.cfd-online.com/Forums/fluent/)
-   -   what's the difference:interpreted and combiled udf (http://www.cfd-online.com/Forums/fluent/31682-whats-difference-interpreted-combiled-udf.html)

leona June 19, 2003 05:03

what's the difference:interpreted and combiled udf
 
About different methods to combile your udf, how can you select it? What is the difference between them?

Many thanks!


rookie June 19, 2003 20:51

Re: what's the difference:interpreted and combiled
 
Please read UDF manual6.1 Section 1.6 at Page 1-6

It helps.

Rookie.

Andrew Garrard June 20, 2003 10:03

Re: what's the difference:interpreted and combiled
 
Compiled UDF's are much better. They are more difficult to implement but it is worth investing the time to learn how to do them.

ap June 20, 2003 13:18

Re: what's the difference:interpreted and combiled
 
The most important differences are in capabilities and velocity of execution.

Using interpreted UDF, you can read and write data only using pre-defined macros. This kind of UDF is portable to all platform (Windows, Unix), but they're slower to execute.

Compiled UDF are not portable (you have to recompile them if you change platform), but are faster and offer you complete access to data.

A suggestion: Use UDF for easy tasks like implementing boundary conditions or profiles. Pass to compiled UDF if you have to implement more complex things like a complete model or a scalar equation.

Hi

ap


All times are GMT -4. The time now is 05:03.