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

udf problem about wall heat flux

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   February 23, 2007, 15:12
Default udf problem about wall heat flux
  #1
stepanie
Guest
 
Posts: n/a
Hi, I don't know how to define uniform heat flux of wall changing with time. Here is my code. But there is error when I start to iteration. If I should use DEFINE_HEAT_FLUX? Is there an simple example for this micro? Thanks!

#include "udf.h"

DEFINE_PROFILE(fluxflow, thread, position) { real tim;

face_t f; cell_t c; Thread *t;

begin_f_loop(f, thread) { tim=RP_Get_Real("flow-time");

F_PROFILE(f, thread, position)=10tim } end_f_loop(f, thread) }

  Reply With Quote

 


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
User Wall Heat Flux Dyls STAR-CCM+ 0 May 13, 2013 11:58
Water subcooled boiling Attesz CFX 7 January 5, 2013 03:32
UDF to calculate average heat flux dynamics Fluent UDF and Scheme Programming 0 July 21, 2012 18:54
heat flow UDF on coupled surface (wall-shadow wall) Friedmann Fluent UDF and Scheme Programming 0 August 5, 2010 10:25
Multicomponent fluid Andrea CFX 2 October 11, 2004 05:12


All times are GMT -4. The time now is 02:49.