September 27, 2017 at 11:19 amnselvaraAnsys Employee
How can I compile and load a UDF when running Fluent via a journal file?
October 17, 2017 at 7:39 amArunAnsys 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).
- You must be logged in to reply to this topic.
Simulation World 2022
Earth Rescue – An Ansys Online Series
- Suppress Fluent to open with GUI while performing in journal file
- Heat transfer coefficient
- What are the differences between CFX and Fluent?
- Floating point exception in Fluent
- Difference between K-epsilon and K-omega Turbulence Model
- Time Step Size and Courant Number
- The solver failed with a non-zero exit code of : 2
- Exporting Data Results
- Floating point exception