The above graph represents reduced viscosity
as a function of reduced temperature
for several values of the reduced pressure
.
I am writing a code which will estimate the viscosity, in the following steps :
- Calculating
critical viscosity
($\mu_c$) by using the formula,
$$ \mu_c = 7.70M^{0.5}p_c^{2/3}T_c^{-1/6} $$
- Calculating
reduced temperature and pressure
as,
$$ T_r = \frac{T}{T_c} \\ p_r = \frac{p}{p_c} $$
Now, from the graph at the top, estimating $\mu_r$ by using $T_r$ and $p_r$ values calculated from the previous step.
- Finally, calculating the predicted value of $\mu$ as,
$$ \mu = \mu_r\mu_c $$
(this value of $\mu$ is unusually a good agreement with the measured value)
Question: How do I feed/extract the data/equation of the plot (top) which is experimentally generated so that I can also plot/test it in my code?
P.S - All other parameters $T_c$ , $p_c$ , $T$ , $p$, $M$ will be input by the user
REFERED : O. A. Uyehara and K. M. Wastson, Nat. Petroleum News, Tech. Section, 36, 764(Oct. 4, 1944); revised | Transport Phenomena, 2nd edition, R. Byron Bird, Warren E. Stewart, Edwin N. Lightfoot