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

UDF for a constant heat flux minus radiation based on face temperature

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

Reply
 
LinkBack Thread Tools Display Modes
Old   March 10, 2015, 00:08
Default UDF for a constant heat flux minus radiation based on face temperature
  #1
New Member
 
Mario Arias
Join Date: Mar 2015
Posts: 6
Rep Power: 2
MarioArias is on a distinguished road
I am trying to write a UDF which takes a total constant heat flux boundary condition, but also accounts for the radiative loses. I would like it to use the local face temperature to determine the net heat flux that should be applied at that node face.

If this is possible I would greatly appreciate some information.

Or if there is a better way of accounting for surface-to-ambient radiative loses, I would gladly take that advice.

Thanks,
Mario
MarioArias is offline   Reply With Quote

Old   March 10, 2015, 09:14
Default
  #2
Senior Member
 
Paritosh Vasava
Join Date: Oct 2012
Location: Lappeenranta, Finland
Posts: 545
Rep Power: 12
vasava will become famous soon enough
If I am not wrong, there are no macros for obtaining radiation related information on node, cell or face. You may have to manually process data exported from Export-->Solution Data option.
vasava is offline   Reply With Quote

Old   March 10, 2015, 10:21
Default What about using temperature?
  #3
New Member
 
Mario Arias
Join Date: Mar 2015
Posts: 6
Rep Power: 2
MarioArias is on a distinguished road
Thanks for you reply.

I understand there is no radiation information, but couldn't I simply use the following equation in the UDF:

Q''_{net} = Q''_{total} - \epsilon\sigma(T_{face}^{4}-T_{ambient}^{4})

There must be a simple way to calculate the effects of surface-to-ambient radiation when applying a heat flux, it is such a basic concept.

I must be missing something.

Thanks again,
Mario Arias
MarioArias is offline   Reply With Quote

Old   March 10, 2015, 16:54
Default
  #4
`e`
Senior Member
 
Join Date: Mar 2015
Posts: 369
Rep Power: 4
`e` is on a distinguished road
You could use your own calculation for radiation losses inside a custom boundary condition using a DEFINE_PROFILE macro. Loop through the faces using begin_f_loop and end_f_loop. The face temperature could be found with F_T(f,t) and the ambient temperature could either be found in another cell zone (if you are simulating the surrounding environment) or hard coded.
`e` is offline   Reply With Quote

Reply

Tags
heat flux, radiation, udf

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
Radiation Modeling Chris89 CFX 20 August 14, 2014 07:51
Implement constant heat flux boundary condition new_at_this Main CFD Forum 2 April 6, 2012 23:35
interchanging face information with cell information/ radiation flux UDF ximik FLUENT 1 May 4, 2011 16:34
mass flow in is not equal to mass flow out saii CFX 2 September 18, 2009 08:07
how to impose experimental dat as boundary conditi Rogerio Fernandes Brito FLUENT 14 November 25, 2008 06:47


All times are GMT -4. The time now is 12:45.