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

Define_specific_heat

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 8, 2016, 15:20
Thumbs up Define_specific_heat
  #1
New Member
 
hamed
Join Date: Aug 2015
Posts: 5
Rep Power: 11
hamart is on a distinguished road
Hello dudes!

i wonder if i can define specific heat parameter based on temperature and specific volume in saturated region? i already have the Cp(T,V) plot coefficient but my written user define function is not compiled correctly in fluent? if anyone could help me i would appreciate it before

#include "udf.h"

DEFINE_SPECIFIC_HEAT(cell_specific_heat,c,t,v)
{
real Cp;
real T=C_T(c,t);
real V=C_V(c,t);
Cp=63.438-396.8372*T+44164670*V;
return Cp;
}
hamart 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



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