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,
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,
You can use an if else statement or just using the negation "!".
Best regards,
Amine