CFD Online Discussion Forums

CFD Online Discussion Forums (
-   FLUENT (
-   -   compile UDF in journal file (

ivanbuz September 27, 2009 17:34

compile UDF in journal file
Anyone knows how to compile a UDF (build the UDF library) in a journal file?

I know I can use GUI functions if there is a GUI, but I submit the job to HPC where fluent runs without a GUI, so the GUI functions do NOT work.

In the text-command-list documentation, I can only find the command to open a user-defined function library, but I need the command to build the library.

Hope to hear from you guys soon! Thanks in advance!

Bernhard September 28, 2009 07:34


/define/user-defined/compiled-functions compile yes

Good luck.

ivanbuz September 28, 2009 14:56

excellent! Thanks a lot!

qorka March 9, 2017 15:36

it is not good variant, fluent will try to load more functions

correct variant:

/define/user-defined/compiled-functions compile libudf yes contactAngle.c etc.c header.h "" ""

/define/user-defined/compiled-functions load libudf

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