CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   Time Dependent Sinusoid Temperature (https://www.cfd-online.com/Forums/fluent/115163-time-dependent-sinusoid-temperature.html)

cstack13 March 25, 2013 09:58

Time Dependent Sinusoid Temperature
 
Hey everyone,

I'm trying to figure out how to create a time dependent temperature between specific angular locations on a 2d circle of 1in diameter. My desired function is :
T(t)=300sin(10000t)


I know to update current time from Fluent you need to use CURRENT_TIME and a DEFINE_PROFILE to define this boundary condition. However I am new to UDF's and the C language so I am having some difficulty with coding and compiling this. Any help would be great.


All times are GMT -4. The time now is 19:46.