KR458: What's the difference: UDF/SCHEME/Macros?


UDFs are functions that are written in a combination of C language and FLUENT macros.

FLUENT macros are pre-defined function templates that the FLUENT solver can recognize.

Scheme commands are written in the Scheme language. The text interface of FLUENT executes a Scheme interpreter which allows you to define your own variables that can be stored in FLUENT and accessed by a UDF. This capability can be very useful, for example, if you want to alter certain parameters in your case, and you do not want to recompile your UDF each time. Scheme commands also increase the functionality of text commands by providing options for such operations as looping or accessing specialized program settings.





Show Form
No comments yet. Be the first to add a comment!