, but one of the process (the following sub PT2N97) of what is the meaning of the fourth parameter (seems vapor partition, but how can I fill in)?
Rem known pressure (MPa) and temperature, the refractive index
Public Declare Sub PT2N97 Lib "WASPCN. DLL" (ByVal p As a Double, ByVal t As Double, ByVal Lamd As Double, ByRef N As Double, ByRef Range As an Integer)
His function
The Function aly (p, t)
Call PT2RAMD (p, t, RAMD, 1)
Aly=2 * RAMD
End the Function
How can I determine whether water vapor partitions, and fill out the function of PT2RAMD (p, t, RAMD, the fourth parameter)?
Big power of me!!!!!!!!!!!!!!!!
CodePudding user response:
This is iapws-if97 property data in the calculation of the water:In the nature of water and water vapor has a very important status in the calculation of judgment, the critical state judgment, for the nature of the critical point in the iapws-if97 formulas have specific provision: one point two line three five state
Point: a tipping point: Tc=647.096 K, Pc=22.064 MPa
On the second line: boundary and lower boundary
Three areas: the liquid zone, wet steam area and hotspot
Five states: unsaturated water, saturated water, wet steam, dry saturated steam and superheated steam
CodePudding user response:
Steam is superheated steam, then I am aly (p, t) in how to call DLL function?CodePudding user response:
Declared himself to use the DLL, write into it soon