CFD Online Logo CFD Online URL
Home > Forums > FLUENT

temperature source term

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   November 16, 2004, 01:31
Default temperature source term
Posts: n/a
hi can anyone help me how to write a udf for a solid whose temperature is varying with time.i got a 3-D model.

i tried this one but it didnt work. may be i have to use cell thread, i tried that one too but i got errors when i compiled. ********************************************** #include "udf.h" DEFINE_PROFILE (out_temp,thread,i) { face_t f; begin_f_loop( f, thread ) { real t = RP_Get_Real ( "flow-time"); F_PROFILE( f,t,i) =273 + (1 - exp( - (t/22)))*27; } end_f_loop(f,thread) } **************************************************

thank you

  Reply With Quote

Old   November 16, 2004, 20:42
Default Re: temperature source term
Posts: n/a

i fixed my problem.

thank you
  Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
momentum source term zwdi FLUENT 14 June 27, 2017 15:40
Problem of SOURCE term gradient in UDS wind Fluent UDF and Scheme Programming 5 June 21, 2013 05:39
Compiling gmshFoam with OpenFOAM-1.5 BlGene Open Source Meshers: Gmsh, Netgen, CGNS, ... 10 August 6, 2009 04:26
DxFoam reader update hjasak OpenFOAM Post-Processing 69 April 24, 2008 01:24
Adding a momentum source term segersson OpenFOAM Running, Solving & CFD 5 March 3, 2006 00:06

All times are GMT -4. The time now is 10:27.