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

Thermal conductivity of air change with temperature UDF

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 15, 2017, 15:33
Default Thermal conductivity of air change with temperature UDF
  #1
New Member
 
ali yalcin
Join Date: Dec 2015
Posts: 2
Rep Power: 0
ali.ylcn is on a distinguished road
Hi everyone,

I wrote the UDF for the temperature change of air heat transfer coefficient. Fluent accepted 16.0 smoothly. But when I look at the heat transfer coefficient at the end of the program, Fluent has made an incorrect calculation.
For example at 486 Kelvin, when calculating Fluent 0,1194W/mK, it would be 0.03937W/mK.
Where am I doing wrong.

k = 1,5207E-11*T³ - 4,8574E-08*T² + 1,0184E-04*T - 3,9333E-04

You can see the UDF below.
Thank you for everything



#include "udf.h"

DEFINE_PROPERTY(knew,c,t)

{

real ktc;
real temp = C_T(c,t) ;

ktc = 1.5207*temp*temp*temp/100000000000 - 4.8574*temp*temp/100000000 + 1.0184*temp/10000 - 3.9333/10000 ;

return ktc;

}
ali.ylcn 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
Setting the height of the stream in the free channel kevinmccartin CFX 12 October 13, 2022 22:43
Temperature Dependent Thermal conductivity in chtMultiRegionFoam Mohammad Jam OpenFOAM Programming & Development 3 November 9, 2016 13:50
anisotropic thermal conductivity UDf C.C FLUENT 0 October 21, 2016 10:55
Error - Solar absorber - Solar Thermal Radiation MichaelK CFX 12 September 1, 2016 06:15
Simple piston movement in cylinder- fluid models arun1994 CFX 4 July 8, 2016 03:54


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