Fluids

Fluids

C Compilers and UDFs

    • pratheeba.chandanagarajan
      Subscriber

      I am trying to simulate reactive flows in porous media (catalyst). I use UDFs for reaction rates. I tried using interpreted UDFs. I get this error:

      Error: C:/Users/chanda/AppData/Local/Temp/PandyaKinetics.C.28788.3.c: line 73: structure reference not implemented

      Do I need to get compilers for ANSYS FLUENT? 

      Can someone please help me with the error and C Compilers installation for ANSYS FLUENT?

      Thank you so much

      Pratheeba

    • Rob
      Ansys Employee

      In Fluent there's a built in compiler, that takes away all of the pain associated with getting Microsoft VS to work (assuming you can find all the components). 

    • pratheeba.chandanagarajan
      Subscriber

      Thank you Rob. I am using FLUENT 2021 R2. Does this version have built-in compiler?

      Thank you.

      Pratheeba

    • Rob
      Ansys Employee

      Yes, it's in the Compiled UDFs panel, look for the tick box. Just don't use that option on Linux! 

    • DrAmine
      Ansys Employee

      :) and always take a look into the documentation :)

Viewing 4 reply threads
  • You must be logged in to reply to this topic.