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

UDF for heat flux

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 9, 2005, 00:58
Default UDF for heat flux
  #1
Kyung Han
Guest
 
Posts: n/a
Hi, I'm writing UDF for heat flux. I am a beginner in UDF and having problem what term how to deal with basic variable and function. Allan helped me to find that C_YI is the term for species and I still need to know what term to use for temperature. In my case,

heat_flux = function of temperature and species

Here is my code;

#include "udf.h" real c,t cell, thread, species; DEFINE_PROFILE(heat_flux, t,i) {

c = C_YI(cell, thread, species);

t = ;

real qid = 1*c + 2*t

}

//t should be one relating the temperature and I have no idea which is the one and I don't know how to define those cell, thread, species. Please help me out.

Best regards,

Kyung Han
  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
uds flux - drift velocity - udf johnwinter Fluent UDF and Scheme Programming 3 November 25, 2017 04:07
modelling heat flux in udf dzuodoka Fluent UDF and Scheme Programming 0 November 24, 2010 05:10
UDF defined mass flux amu FLUENT 0 October 5, 2008 19:26
Basic question: UDF for wall heat flux Carl FLUENT 1 August 5, 2006 19:01
UDF for time dependent heat flux Rameshwar Ajja FLUENT 0 February 16, 2006 00:26


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