CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > FLUENT

what's the difference:interpreted and combiled udf

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   June 19, 2003, 05:03
Default what's the difference:interpreted and combiled udf
  #1
leona
Guest
 
Posts: n/a
About different methods to combile your udf, how can you select it? What is the difference between them?

Many thanks!

  Reply With Quote

Old   June 19, 2003, 20:51
Default Re: what's the difference:interpreted and combiled
  #2
rookie
Guest
 
Posts: n/a
Please read UDF manual6.1 Section 1.6 at Page 1-6

It helps.

Rookie.
  Reply With Quote

Old   June 20, 2003, 10:03
Default Re: what's the difference:interpreted and combiled
  #3
Andrew Garrard
Guest
 
Posts: n/a
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.
  Reply With Quote

Old   June 20, 2003, 13:18
Default Re: what's the difference:interpreted and combiled
  #4
ap
Guest
 
Posts: n/a
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
  Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 09:24.