UDF - if not porous

  • 64 Views
  • Last Post 03 August 2018
Carly posted this 03 August 2018

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,

abenhadj posted this 03 August 2018

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

Best regards,

Amine

Close