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

Heat Flux calculation inside domain

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 14, 2012, 10:51
Default Heat Flux calculation inside domain
  #1
New Member
 
Nara Shikamaru
Join Date: Apr 2012
Posts: 22
Rep Power: 14
shikamaru is on a distinguished road
Hi,

I looked for an option to calculate heat flux in a surface/line (2D) inside domain but only found the option to output heat flux / Total surface heat flux in the boundary walls. Has anyone tried this before? I am also trying to write a udf for this but I am stuck on how to calculate the surface area normal to the heat flux.

I am using this for heat flux calculation. Not sure if this is right yet -

Code:
				C_CENTROID(xc,cell,cell_thread);
				tg_x = C_T_RG(cell,cell_thread)[0];
				tg_y = C_T_RG(cell,cell_thread)[1];
				con = C_K_EFF(cell,cell_thread,0.85);
				tg_n = (pow(pow(tg_x,2)+pow(tg_y,2)),0.5);
				heat_flux = con*tg_n;
Help anyone?
shikamaru is offline   Reply With Quote

Reply

Tags
heat flux fluent udf


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
Domain Imbalance HMR CFX 5 October 10, 2016 06:57
Sign of Heat Flux at wall Kyung FLUENT 2 February 26, 2016 17:25
Radiation interface hinca CFX 15 January 26, 2014 18:11
Heat Flux at Internal walls or Fluid Solid Interface Mahi CFX 3 October 1, 2012 03:18
Convective Heat Transfer - Heat Exchanger Mark CFX 6 November 15, 2004 16:55


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