Hello,
I want to write a conditional inlet boundary condition on CS 5.0.
The mathematical expression editor enables the user to use conditional operators (if, else).
What is the right syntax with these operators? Can someone give me an example?
Best regards,
E. Guichard
Conditional user law (for an inlet)
Forum rules
Please read the forum usage recommendations before posting.
Please read the forum usage recommendations before posting.
-
- Posts: 4209
- Joined: Mon Feb 20, 2012 3:25 pm
Re: Conditional user law (for an inlet)
Hello,
The syntax is very similar to C language syntax, except for the "modululo" operator, which is "mod(x)" instead of "%x".
Best regards,
Yvan
The syntax is very similar to C language syntax, except for the "modululo" operator, which is "mod(x)" instead of "%x".
Best regards,
Yvan