CFD Online Discussion Forums

CFD Online Discussion Forums (
-   FLUENT (
-   -   Transient Pressure Conditions (

hella1990 April 29, 2012 21:48

Transient Pressure Conditions

I'm modeling transient inlet pressure conditions on FLUENT for the first time. The function is rather easy:

P=10+2t ; where t=time (s)

But I need P to max out at 50Pa. I've read I can do this using User-Defined Functions on C language. Is this necessary?

If it is, I should just write the code and make sure to include #include "udf.h"
and UDF_PROFILE (inlet_pressure, passed-in variables)?
and how would I know what the correct names of the passed-in variables? Also, once the file is written, all i have to do is compile it using the DEFINE window when I start the calculation set-up?

Please advise me if I am wrong about anything. Thank you in advance for your help.

xrs333 April 30, 2012 19:58

It's more straightforward to use transient profile:
(pressure transient 3 0)
(time 0 20 21)
(pressure 10 50 50)

All times are GMT -4. The time now is 18:35.