Fluids

Fluids

UDF – if not porous

    • Carly
      Subscriber
      Hey
      I am writing a udf and I want to say “if fluid is not porous, do x”.
      I know if the fluid is porous it says this
      if (THREAD_VAR(t).fluid.porous). But I want the opposite. Is there anything for this?

      Thanks for the help,
    • DrAmine
      Ansys Employee

      You can use an if else statement or just using the negation "!".

Viewing 1 reply thread
  • You must be logged in to reply to this topic.