User talk:Sidharth

From ASCEND
Revision as of 05:24, 15 June 2015 by Sidharth (talk | contribs)
Jump to navigation Jump to search

FPROPS uses function pointers from the underlying correlation (helmholtz or Pengrob) to calculate fundamental quantities with Temperature and rho as the input. Following are those functions of fprops :-

  1. fprops_p
  2. fprops_u
  3. fprops_h
  4. fprops_s
  5. fprops_a
  6. fprops_g
  7. fprops_P
  8. fprops_dpdrho_T
  9. fprops_alphap
  10. fprops_betaP
  11. fprops_cp
  12. fprops_cv
  13. fprops_w


Both the underlying correlations provide these 13 functions calculated from first principles, with T and <math>\rho</math> as inputs. So the TTSE implementation for a specific liquid and a specific correlation (H or P) should eventually generate tables for each of the above 13 entries. For the saturation function fprops_sat(), takes only 1 input (temperature) and returns saturated liquid density, saturated vapour density and the saturation pressure. This function involves solving equations iteratively and tabulation should speed up calculation on saturation curve.