We’re putting the final touches on our new badges platform. Badge issuance remains temporarily paused, but all completions are being recorded and will be fulfilled once the platform is live. Thank you for your patience.

Ansys Learning Forum Forums Discuss Simulation Fluids Compile and load a UDF when running Fluent via a journal file Reply To: Compile and load a UDF when running Fluent via a journal file

Arun
Ansys Employee

There are two commands needed. The first to compile the UDF: /define/user-defined/compiled-functions compile libudf yes sourcename.c "" And the second to load the library that was compiled in the previous step: /define/user-defined/compiled-funcitons load libudf Note that 'sourcename.c' is the name of your UDF file and the "" are two quotation marks in sequence (needed to terminate the string array input to Fluent).