CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   Main CFD Forum (http://www.cfd-online.com/Forums/main/)
-   -   User law in Code_Saturne (http://www.cfd-online.com/Forums/main/121420-user-law-code_saturne.html)

GDCFD July 28, 2013 12:56

User law in Code_Saturne
 
Hi,

First of all, this is my first post here so please excuse me if it is not where it should be.

I am currently learning the use of Code_Saturne and I am facing a problem. I hope somebody can help.

I am working on a basic 2D case in which I would like to define the inlet velocity by an user law.

I have searched everywhere on the internet what is the syntax for the if operator in the Code_Saturne GUI and found nothing.

So my question is:

What is the syntax for the IF operator in the mathematical expression editor of code_saturne?

Thanks in advance

GDCFD July 30, 2013 13:39

Sorry for double posting but I have found the answer to my previous post and thought that maybe it could be interesting for someone else:

On the presentation here (follow the link: cfd.mace.manchester.ac.uk/twiki/pub/Satu...Code_Saturne_2.0.pdf ) on the page 8 is given the right syntax for the if operator. ) on the page 8 is given the right syntax for the if operator.


All times are GMT -4. The time now is 15:12.