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

C_P and C_T not working for me

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   July 2, 2009, 03:03
Lightbulb C_P and C_T not working for me
  #1
New Member
 
songok
Join Date: Jul 2009
Posts: 4
Rep Power: 16
mmoja is on a distinguished road
I have a simple C code
real temp= C_T(c,t);
real press =C_P(c,t);
rho = D*pow(press,B)/pow(temp,Q);
for calculating density real gas.D,B and Q are all constants. if i hook up and iterate i get floating point error and when i add some constants value to temp and press it calculates and returns the density of the constant values and ignores the C_T and C_P... What should I do?
mmoja is offline   Reply With Quote

 


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 09:20.