CFD Online Discussion Forums

CFD Online Discussion Forums (
-   FLUENT (
-   -   transient solid condution (

Bikash December 3, 2003 19:38

transient solid condution
Hi, im using Fluent6. i want to input the source term which is varying with time. just the source term, the boundary conditions are not changing. i have the datas of how the source term is changing with time. how do i input the source term?

it would be a great help if anyone would lead me the way.

regards bikash

Andrew Garrard December 4, 2003 05:54

Re: transient solid condution
I believe the only way that you can achieve this is with a UDF. If that is the case and you have not created a UDF before then you are faced with a decision of either finding someone who will make one for you, possiable for a fee, or learning UDF programming and doing it yourself.

Check out the UDF manual for Fluent 6.

bikash December 4, 2003 11:20

Re: transient solid condution
hi andrew

thanks a lot for ur advice. let me try the UDF, hope i can do something.

thank you bikash

co2 December 4, 2003 23:16

Re: transient solid condution

take a look at the following udf for varying temperature at a boundary. your udf will look similar but it will act on the source term.

/************************************************** ********************/ /* unsteady.c */ /* UDF for specifying a transient velocity profile boundary condition */ /************************************************** ********************/

#include "udf.h"

DEFINE_PROFILE(unsteady_temp, thread, position) { face_t f;

begin_f_loop(f, thread)


real t = RP_Get_Real("flow-time");

F_PROFILE(f, thread, position) = 350. + 5.0*t;

} end_f_loop(f, thread) }

bikash December 5, 2003 11:33

Re: transient solid condution
hi thanks a lot for ur help.

regards bikash

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