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

temperature source term

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 16, 2004, 00: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, 19:42
Default Re: temperature source term
  #2
bikash
Guest
 
Posts: n/a
hi

i fixed my problem.

thank you
  Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem of SOURCE term gradient in UDS wind Fluent UDF and Scheme Programming 6 December 1, 2022 14:21
momentum source term zwdi FLUENT 14 June 27, 2017 15:40
[Gmsh] Compiling gmshFoam with OpenFOAM-1.5 BlGene OpenFOAM Meshing & Mesh Conversion 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 2, 2006 23:06


All times are GMT -4. The time now is 07:41.