General

General

What are the steps in using a UDF in my Fluent case file?

    • FAQFAQ
      Participant

      UDFs can be used in one of two possible ways, compiled or interpreted. COMPILED UDFs 1. Compile the UDF a . Define > User-Defined > Functions > Compiled b. Browse and add the relevant .c and .h files in appropriate columns c. Build – this will create the libudf directory 2. Click the Load button to load the UDF 3. Hook the functions in appropriate places 4. Run the simulation INTERPRETED UDFs 1. Interpret the UDF a. Define > User-Defined > Functions > Interpreted b. Browse and add the relevant files c. Interpret 2. Hook functions in appropriate places 3. Run simulation