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

No-error UDF for wall heat generation rate but no heat is exchanged?!?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 11, 2017, 07:19
Default No-error UDF for wall heat generation rate but no heat is exchanged?!?
  #1
NPs
New Member
 
Join Date: Apr 2017
Posts: 7
Rep Power: 9
NPs is on a distinguished road
Hi everyone I wrote an UDF for wall heat generation rate in this model
Cattura.PNG
For the heat generation rate the UDF is:

#include "udf.h"
DEFINE_PROFILE(wallheatgenerate,thread,i)
{
face_t f;
real t = CURRENT_TIME ;
real source = 4.1e+06*t;
begin_f_loop(f,thread)
{
F_PROFILE(f,thread,i) = source;
}
end_f_loop(f,thread)

}

The UDF is interpreted correctly,and then is been hooked in the wall generation rate of the small sphere inside the inner cylinder.
The problem is When I calculate the solution: I got a total heat transfer rate for the wall-shpere of -1.43e-06 like no heat is been generated,instead I put a sorce with a big value (4.1e+06 !!!!).
Anyone knows where the problem is???
Thank you very much
NPs is offline   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
Total heat transf. rate vs Total surface heat flux Renato Sousa FLUENT 1 April 14, 2020 04:27
heat generation rate in the wall boundary conditions, what this? serguei Fluent Multiphase 3 September 10, 2015 17:24
Heat Generation rate in W/m³ ashghan OpenFOAM Programming & Development 0 June 27, 2014 06:42
Heat rate in fluent Firas FLUENT 0 July 13, 2013 08:04
Troubles with heat release rate Xavier Ponticq CFX 4 September 12, 2012 19:49


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