Fluids

Fluids

Topics related to Fluent, CFX, Turbogrid and more.

UDF code Parse error

    • Adwait Mahajan
      Subscriber

      Hey,

      I am trying to code a UDF to set pressure falling below reference pressure, to reference value. But I am getting parse error on line 6(where the bracket for code block is). PFA my code and let me know what I need to do to rectify this. Also, any other suggestions are welcome.

      Thank you.

       P.S.: I am aware of the option to avoid cavitation but that is available only for multiphase modelling and here I am working with single-phase.

       

    • Federico
      Ansys Employee

      Hello Adwait, 

      you do not need # in front of DEFINE_ADJUST

Viewing 1 reply thread
  • The topic ‘UDF code Parse error’ is closed to new replies.