|
[Sponsors] |
July 2, 2009, 03:03 |
C_P and C_T not working for me
|
#1 |
New Member
songok
Join Date: Jul 2009
Posts: 4
Rep Power: 16 |
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? |
|
|
|