CFD Online Discussion Forums

CFD Online Discussion Forums (
-   FLUENT (
-   -   UDF for time dependent heat flux (

Rameshwar Ajja February 16, 2006 01:26

UDF for time dependent heat flux
hello everyone, I have an unsteady heat flux waveform that I want to hook up to Fluent.

I'm relatively new working with UDF in Fluent and so I would greatly appreciate it if someone could offer me a UDF file for my problem. I couldn't understand how to write a UDF file and also I didn't find any example that suits my problem.

I want to assign transient heat flux at one face that changes with time as follows

if(0>=time<2sec) H=300*time;

if(2>=time<4sec) H=300*(4-time);

if(4>=time<=6sec) H=0;

where H is heat flux (w/m2)

If possible, please somebody help me with a UDF file for the above problem.

Thanks in advance.

Regards, Rameshwar Ajja.

All times are GMT -4. The time now is 09:37.