CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > FLUENT

temperature source term

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

Reply
 
LinkBack Thread Tools Display Modes
Old   November 16, 2004, 01:31
Default temperature source term
  #1
bikash
Guest
 
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

bikash
  Reply With Quote

Old   November 16, 2004, 20:42
Default Re: temperature source term
  #2
bikash
Guest
 
Posts: n/a
hi

i fixed my problem.

thank you
  Reply With Quote

Reply

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 13 December 5, 2013 18:58
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 07:58.