CFD Online Discussion Forums

CFD Online Discussion Forums (
-   CFX (
-   -   User Function defination (

aeroeng11 October 8, 2011 01:18

User Function defination
Hello all,
I am trying to enter an inflow condition in my CFD simulation. it is a periodic pulse function :q = (\overline{q} *t /\tau)*exp((1/2)*(1 - t^2/\tau^2))
how would I enter that as a user function in CFX pre?

t is the time
\tau is a constant
\overline{q} is the mean volume flow rate

please assist

ghorrocks October 8, 2011 05:00

This is straightforward to do as a CEL expression. Have a look at the tutorials for setting up CEL expressions.

aeroeng11 October 8, 2011 12:11

CEL help
Thanks for the reply. It wa a bit of a task but I figured it. It works now.

All times are GMT -4. The time now is 20:06.