yamdb.properties package
Submodules
yamdb.properties.density module
Implements the density methods.
- yamdb.properties.density.Assaeletal2012(Temp, coef=None)[source]
Return density according to Assael et al. (2012) p. 6, eq. (1), tab. 2.
\[\rho = c1 - c2(T - T_{ref})\]Similar to Steinberg1974, but T_ref may differ (should be T_m, but not sure if this is always the same value).
- Parameters:
Temp (float) – Temperature in K, single value or NumPy array.
coef (float) – List of coefficients, typically automatically extracted from YAML DB.
- Returns:
Density in kg/m3, single value or NumPy array.
- Return type:
float
- Raises:
LookupError – If not all required keys/values are present in the coef dictionary.
References
Assael, M.J., Armyra, I.J., Brillo, J., Stankus, S.V., Wu, J., Wakeham, W.A., 2012. Reference data for the density and viscosity of liquid cadmium, cobalt, gallium, indium, mercury, silicon, thallium, and zinc. Journal of Physical and Chemical Reference Data 41, 033101.
Steinberg, D.J., 1974. A simple relationship between the temperature dependence of the density of liquid metals and their boiling temperatures. Metallurgical Transactions 5, 1341–1343.
- yamdb.properties.density.DoboszGancarz2018(Temp, coef=None)[source]
Return density according to Dobosz, Gancarz (2018).
\[\rho = a_1 * T + a_2\]- Parameters:
Temp (float) – Temperature in K, single value or NumPy array.
coef (float) – List of coefficients, typically automatically extracted from YAML DB.
- Returns:
Density in kg/m3, single value or NumPy array.
- Return type:
float
- Raises:
LookupError – If not all required keys/values are present in the coef dictionary.
References
Dobosz, A., Gancarz, T., 2018. Reference data for the density, viscosity, and surface tension of liquid Al-Zn, Ag-Sn, Bi-Sn, Cu-Sn, and Sn-Zn eutectic alloys. Journal of Physical and Chemical Reference Data 47, 013102.
- yamdb.properties.density.IAEA2008(Temp, coef=None)[source]
Return density according to IAEA (2008) eq. (3.29), p. 87.
\[\rho = \rho_0 * (a + b*t + c*t^2 + d*t^3 + e*t^4)\]t means obviously temperature in deg C.
- Parameters:
Temp (float) – Temperature in K, single value or NumPy array.
coef (float) – List of coefficients, typically automatically extracted from YAML DB.
- Returns:
Density in kg/m3, single value or NumPy array.
- Return type:
float
- Raises:
LookupError – If not all required keys/values are present in the coef dictionary.
References
International Atomic Energy Agency, 2008. Thermophysical properties of materials for nuclear engineering: A tutorial and collection of data. International Atomic Energy Agency, Vienna.
- yamdb.properties.density.Janzetal1975TC(Temp, *args, coef=None)[source]
Return density according to Janz et al. (1975) p. 970, Tab. 231.
\[\rho = a + b T + c C + d C^2\]C is the fraction of the first component in mol%.
- Parameters:
Temp (float) – Temperature in K, single value or NumPy array.
*args (float) – Fraction of the first component in mol%.
coef (float) – List of coefficients, typically automatically extracted from YAML DB.
- Returns:
Density in kg/m3, single value or NumPy array.
- Return type:
float
- Raises:
LookupError – If not all required keys/values are present in the coef dictionary.
References
Janz, G.J., Tomkins, R.P.T., Allen, C.B., Downey, J.R., Garner, G.L., Krebs, U., Singer, S.K., 1975. Molten salts: Volume 4, part 2, chlorides and mixtures - electrical conductance, density, viscosity, and surface tension data. Journal of Physical and Chemical Reference Data 4, 871–1178.
Examples
To get the density of CaCl2-NaCl 30-70 at 650 °C (if available)
>>> CaCl2_NaCl.composition['range'].density(650 + 273.15, 30)
- yamdb.properties.density.Janzetal1975TC2(Temp, *args, coef=None)[source]
Return density according to Janz et al. (1975) p. 1162, Tab. 622.
\[\rho = a + b T + c C + d T C^2 + e C T^2\]C is the fraction of the first component in mol%.
- Parameters:
Temp (float) – Temperature in K, single value or NumPy array.
*args (float) – Fraction of the first component in mol%.
coef (float) – List of coefficients, typically automatically extracted from YAML DB.
- Returns:
Density in kg/m3, single value or NumPy array.
- Return type:
float
- Raises:
LookupError – If not all required keys/values are present in the coef dictionary.
References
Janz, G.J., Tomkins, R.P.T., Allen, C.B., Downey, J.R., Garner, G.L., Krebs, U., Singer, S.K., 1975. Molten salts: Volume 4, part 2, chlorides and mixtures-electrical conductance, density, viscosity, and surface tension data. Journal of Physical and Chemical Reference Data 4, 871–1178. https://doi.org/10.1063/1.555527
- yamdb.properties.density.Linstrom1992DP(Temp, coef=None)[source]
Return the density according to Janz (1992) eq. DP.
\[\rho = D1\]i.e. constant.
- Parameters:
Temp (float) – Temperature in K, single value or NumPy array, ignored.
coef (float) – List of coefficients, typically automatically extracted from YAML DB.
- Returns:
Density in kg/m3, single value or NumPy array.
- Return type:
float
- Raises:
LookupError – If not all required keys/values are present in the coef dictionary.
References
Janz, G.J., 1992. Data from: NIST properties of molten salts database (formerly SRD 27). https://doi.org/10.18434/MDS2-2298.
- yamdb.properties.density.Linstrom1992I1(Temp, *args, coef=None)[source]
Return density according to Linstrom (1992) eq. I1.
\[\rho = D1 + D2 C\]C is the fraction of the first component in mol%. T = Tmin (obtain by using get_equation_limits).
- Parameters:
Temp (float) – Temperature in K, single value or NumPy array, ignored.
*args (float) – Fraction of the first component in mol%.
coef (float) – List of coefficients, typically automatically extracted from YAML DB.
- Returns:
Density in kg/m3, single value or NumPy array.
- Return type:
float
- Raises:
LookupError – If not all required keys/values are present in the coef dictionary.
References
Janz, G.J., 1992. Data from: NIST properties of molten salts database (formerly SRD 27). https://doi.org/10.18434/MDS2-2298.
- yamdb.properties.density.Linstrom1992I2(Temp, *args, coef=None)[source]
Return density according to Linstrom (1992) eq. I2.
\[\rho = D1 + D2 C + D3 C^2\]C is the fraction of the first component in mol%. T = Tmin (obtain by using get_equation_limits).
- Parameters:
Temp (float) – Temperature in K, single value or NumPy array, ignored.
*args (float) – Fraction of the first component in mol%.
coef (float) – List of coefficients, typically automatically extracted from YAML DB.
- Returns:
Density in kg/m3, single value or NumPy array.
- Return type:
float
- Raises:
LookupError – If not all required keys/values are present in the coef dictionary.
References
Janz, G.J., 1992. Data from: NIST properties of molten salts database (formerly SRD 27). https://doi.org/10.18434/MDS2-2298.
- yamdb.properties.density.Linstrom1992I3(Temp, *args, coef=None)[source]
Return density according to Linstrom (1992) eq. I3.
\[\rho = D1 + D2 C + D3 C^2 + D4 C^3\]C is the fraction of the first component in mol%. T = Tmin (obtain by using get_equation_limits).
- Parameters:
Temp (float) – Temperature in K, single value or NumPy array, ignored.
*args (float) – Fraction of the first component in mol%.
coef (float) – List of coefficients, typically automatically extracted from YAML DB.
- Returns:
Density in kg/m3, single value or NumPy array.
- Return type:
float
- Raises:
LookupError – If not all required keys/values are present in the coef dictionary.
References
Janz, G.J., 1992. Data from: NIST properties of molten salts database (formerly SRD 27). https://doi.org/10.18434/MDS2-2298.
- yamdb.properties.density.Linstrom1992I4(Temp, *args, coef=None)[source]
Return density according to Linstrom (1992) eq. I4.
\[\rho = D1 + D2 C + D3 C^2 + D4 C^3 + D5 C^4\]C is the fraction of the first component in mol%. T = Tmin (obtain by using get_equation_limits).
- Parameters:
Temp (float) – Temperature in K, single value or NumPy array, ignored.
*args (float) – Fraction of the first component in mol%.
coef (float) – List of coefficients, typically automatically extracted from YAML DB.
- Returns:
Density in kg/m3, single value or NumPy array.
- Return type:
float
- Raises:
LookupError – If not all required keys/values are present in the coef dictionary.
References
Janz, G.J., 1992. Data from: NIST properties of molten salts database (formerly SRD 27). https://doi.org/10.18434/MDS2-2298.
- yamdb.properties.density.Linstrom1992P1(Temp, coef=None)[source]
Return the density according to Linstrom (1992) eq. P1.
\[\rho = D1 + D2 * T\]T in K
- Parameters:
Temp (float) – Temperature in K, single value or NumPy array.
coef (float) – List of coefficients, typically automatically extracted from YAML DB.
- Returns:
Density in kg/m3, single value or NumPy array.
- Return type:
float
- Raises:
LookupError – If not all required keys/values are present in the coef dictionary.
References
Janz, G.J., 1992. Data from: NIST properties of molten salts database (formerly SRD 27). https://doi.org/10.18434/MDS2-2298.
- yamdb.properties.density.Linstrom1992P2(Temp, coef=None)[source]
Return the density according to Linstrom (1992) eq. P2.
\[\rho = D1 + D2 * T + D3 * T^2\]T in K
- Parameters:
Temp (float) – Temperature in K, single value or NumPy array.
coef (float) – List of coefficients, typically automatically extracted from YAML DB.
- Returns:
Density in kg/m3, single value or NumPy array.
- Return type:
float
- Raises:
LookupError – If not all required keys/values are present in the coef dictionary.
References
Janz, G.J., 1992. Data from: NIST properties of molten salts database (formerly SRD 27). https://doi.org/10.18434/MDS2-2298.
- yamdb.properties.density.Shpilrain1985(Temp, coef=None)[source]
Return density according to Shpilrain et al. (1985).
See p. 453/454, eq. (15), tab. 2.
\[\rho = \sum_{i=0..m}(a[i]*\tau^i)\]\[\tau = Temp/1000\]- Parameters:
Temp (float) – Temperature in K, single value or NumPy array.
coef (float) – List of coefficients, typically automatically extracted from YAML DB.
- Returns:
Density in kg/m3, single value or NumPy array.
- Return type:
float
- Raises:
LookupError – If not all required keys/values are present in the coef dictionary.
References
Shpil’rain, E.E., Yakimovich, K.A., Fomin, V.A., Skovorodjko, S.N., Mozgovoi, A.G., 1985. Density and thermal expansion of liquid alkali metals, in: Ohse, R.W. (Ed.), Handbook of Thermodynamic and Transport Properties of Alkali Metals, International Union of Pure and Applied Chemistry Chemical Data Series. Blackwell Scientific Publications, pp. 435–469.
- yamdb.properties.density.Sobolev2011(Temp, coef=None)[source]
Return density according to Sobolev (2011).
\[\rho = \rho_s + drhodT * T\]This is in contrast to Eq. (3.1) of Sobolev2011, but probably just what is used.
- Parameters:
Temp (float) – Temperature in K, single value or NumPy array.
coef (float) – List of coefficients, typically automatically extracted from YAML DB.
- Returns:
Density in kg/m3, single value or NumPy array.
- Return type:
float
- Raises:
LookupError – If not all required keys/values are present in the coef dictionary.
References
Sobolev, V., 2011. Database of thermophysical properties of liquid metal coolants for GEN-IV (No. SCK•CEN-BLG-1069). SCK•CEN.
- yamdb.properties.density.Steinberg1974(Temp, coef=None)[source]
Return density according to Iida, Guthrie (1988), eq. (3.19), p. 70.
\[\rho = \rho_m - \lambda (T - T_m)\]Note that the sign of lambda is inverted with respect to the original definition.
- Parameters:
Temp (float) – Temperature in K, single value or NumPy array.
coef (float) – List of coefficients, typically automatically extracted from YAML DB.
- Returns:
Density in kg/m3, single value or NumPy array.
- Return type:
float
- Raises:
LookupError – If not all required keys/values are present in the coef dictionary.
References
Iida, T., Guthrie, R.I.L., 1988. The physical properties of liquid metals. Clarendon Press, Oxford.
Steinberg, D.J., 1974. A simple relationship between the temperature dependence of the density of liquid metals and their boiling temperatures. Metallurgical Transactions 5, 1341–1343.
yamdb.properties.dynamic_viscosity module
Implements the dynamic_viscosity methods.
- yamdb.properties.dynamic_viscosity.Assaeletal2012(Temp, coef=None)[source]
Return the dynamic viscosity according to Assael et al. (2012).
13, eq. (2), tab. 5.
\[log10(\eta /(m Pa s)) = -a1 + a2/T\]- Parameters:
Temp (float) – Temperature in K, single value or NumPy array.
coef (float) – List of coefficients, typically automatically extracted from YAML DB.
- Returns:
Dynamic viscosity in Pa s, single value or NumPy array.
- Return type:
float
- Raises:
LookupError – If not all required keys/values are present in the coef dictionary.
References
Assael, M.J., Armyra, I.J., Brillo, J., Stankus, S.V., Wu, J., Wakeham, W.A., 2012. Reference data for the density and viscosity of liquid cadmium, cobalt, gallium, indium, mercury, silicon, thallium, and zinc. Journal of Physical and Chemical Reference Data 41, 033101.
- yamdb.properties.dynamic_viscosity.Hirai1992(Temp, coef=None)[source]
Return the dynamic viscosity according to Hirai (1992) p. 401/63, Tab. 1.
\[\eta = A \exp(B/R T)\]- Parameters:
Temp (float) – Temperature in K, single value or NumPy array.
coef (float) – List of coefficients, typically automatically extracted from YAML DB.
- Returns:
Dynamic viscosity in Pa s, single value or NumPy array.
- Return type:
float
- Raises:
LookupError – If not all required keys/values are present in the coef dictionary.
References
Hirai, M., 1992. Estimation of viscosities of liquid alloys. Tetsu-to-Hagane 78, 399–406.
- yamdb.properties.dynamic_viscosity.IAEA2008(Temp, coef=None)[source]
Return the dynamic viscosity according to IAEA (2008) p. 87, eq. (3.32).
\[\eta = a * T^b * \exp(c/T)\]- Parameters:
Temp (float) – Temperature in K, single value or NumPy array.
coef (float) – List of coefficients, typically automatically extracted from YAML DB.
- Returns:
Dynamic viscosity in Pa s, single value or NumPy array.
- Return type:
float
- Raises:
LookupError – If not all required keys/values are present in the coef dictionary.
References
International Atomic Energy Agency, 2008. Thermophysical properties of materials for nuclear engineering: A tutorial and collection of data. International Atomic Energy Agency, Vienna.
- yamdb.properties.dynamic_viscosity.Janzetal1968(Temp, coef=None)[source]
Return the dynamic viscosity according to Janz et al. (1968).
Calculated from polynomial containing all coefficients (eta in cP) on p. 1
\[\eta = a + b*T + c*T^2 + d*T^3\]T in K
- Parameters:
Temp (float) – Temperature in K, single value or NumPy array.
coef (float) – List of coefficients, typically automatically extracted from YAML DB.
- Returns:
Dynamic viscosity in Pa s, single value or NumPy array.
- Return type:
float
- Raises:
LookupError – If not all required keys/values are present in the coef dictionary.
References
Janz, G.J., Dampier, F.W., Lakshminarayanan, G.R., Lorenz, P.K., Tomkins, R.P.T., 1968. Molten salts (No. 15), Nat. Stand. Ref. Data Ser. National Bureau of Standards, Washington.
- yamdb.properties.dynamic_viscosity.Janzetal1968exp(Temp, coef=None)[source]
Return dynamic viscosity according to Janz et al. (1968) p. 1.
\[\eta = a \exp(b/R T)\]- Parameters:
Temp (float) – Temperature in K, single value or NumPy array.
coef (float) – List of coefficients, typically automatically extracted from YAML DB.
- Returns:
Dynamic viscosity in Pa s, single value or NumPy array.
- Return type:
float
- Raises:
LookupError – If not all required keys/values are present in the coef dictionary.
References
Janz, G.J., Dampier, F.W., Lakshminarayanan, G.R., Lorenz, P.K., Tomkins, R.P.T., 1968. Molten salts (No. 15), Nat. Stand. Ref. Data Ser. National Bureau of Standards, Washington.
- yamdb.properties.dynamic_viscosity.KostalMalek2010(Temp, coef=None)[source]
Return dynamic viscosity according to Kostal, Malek (2010).
2804, Fig. 1
\[ln(\eta) = A + B / (T - T0)\]- Parameters:
Temp (float) – Temperature in K, single value or NumPy array.
coef (float) – List of coefficients, typically automatically extracted from YAML DB.
- Returns:
Dynamic viscosity in Pa s, single value or NumPy array.
- Return type:
float
- Raises:
LookupError – If not all required keys/values are present in the coef dictionary.
References
Koštál, P., Málek, J., 2010. Viscosity of selenium melt. Journal of Non-Crystalline Solids 356, 2803–2806.
- yamdb.properties.dynamic_viscosity.Linstrom1992DP(Temp, coef=None)[source]
Return the dynamic viscosity according to Linstrom (1992) eq. DP.
\[\eta = D1\]T in K
- Parameters:
Temp (float) – Temperature in K, single value or NumPy array.
coef (float) – List of coefficients, typically automatically extracted from YAML DB.
- Returns:
Dynamic viscosity in Pa s, single value or NumPy array.
- Return type:
float
- Raises:
LookupError – If not all required keys/values are present in the coef dictionary.
References
Janz, G.J., 1992. Data from: NIST properties of molten salts database (formerly SRD 27). https://doi.org/10.18434/MDS2-2298
- yamdb.properties.dynamic_viscosity.Linstrom1992E1(Temp, coef=None)[source]
Return the dynamic viscosity according to Linstrom (1992) eq. E1.
\[\eta = D1 \exp(D2/(8.31441 T)) + D3/T^2\]T in K
QUESTIONABLE EQUATION, functional comment in Linstrom1992 -> sort out
- yamdb.properties.dynamic_viscosity.Linstrom1992E2(Temp, coef=None)[source]
Return the dynamic viscosity according to Linstrom (1992) eq. E2.
\[\eta = D1 \exp(D2/(8.31441 (T - D3)))\]T in K
- Parameters:
Temp (float) – Temperature in K, single value or NumPy array.
coef (float) – List of coefficients, typically automatically extracted from YAML DB.
- Returns:
Dynamic viscosity in Pa s, single value or NumPy array.
- Return type:
float
- Raises:
LookupError – If not all required keys/values are present in the coef dictionary.
References
Janz, G.J., 1992. Data from: NIST properties of molten salts database (formerly SRD 27). https://doi.org/10.18434/MDS2-2298
- yamdb.properties.dynamic_viscosity.Linstrom1992I1(Temp, *args, coef=None)[source]
Return the dynamic viscosity according to Linstrom (1992) eq. I1.
\[\eta = D1 + D2 C\]C is the fraction of the first component in mol%. T = Tmin (obtain by using get_equation_limits).
- Parameters:
Temp (float) – Temperature in K, single value or NumPy array, ignored.
*args (float) – Fraction of the first component in mol%.
coef (float) – List of coefficients, typically automatically extracted from YAML DB.
- Returns:
Dynamic viscosity in Pa s, single value or NumPy array.
- Return type:
float
- Raises:
LookupError – If not all required keys/values are present in the coef dictionary.
References
Janz, G.J., 1992. Data from: NIST properties of molten salts database (formerly SRD 27). https://doi.org/10.18434/MDS2-2298.
- yamdb.properties.dynamic_viscosity.Linstrom1992I2(Temp, *args, coef=None)[source]
Return the dynamic viscosity according to Linstrom (1992) eq. I2.
\[\eta = D1 + D2 C + D3 C^2\]C is the fraction of the first component in mol%. T = Tmin (obtain by using get_equation_limits).
- Parameters:
Temp (float) – Temperature in K, single value or NumPy array, ignored.
*args (float) – Fraction of the first component in mol%.
coef (float) – List of coefficients, typically automatically extracted from YAML DB.
- Returns:
Dynamic viscosity in Pa s, single value or NumPy array.
- Return type:
float
- Raises:
LookupError – If not all required keys/values are present in the coef dictionary.
References
Janz, G.J., 1992. Data from: NIST properties of molten salts database (formerly SRD 27). https://doi.org/10.18434/MDS2-2298.
- yamdb.properties.dynamic_viscosity.Linstrom1992I3(Temp, *args, coef=None)[source]
Return the dynamic viscosity according to Linstrom (1992) eq. I3.
\[\eta = D1 + D2 C + D3 C^2 + D4 C^3\]C is the fraction of the first component in mol%. T = Tmin (obtain by using get_equation_limits).
- Parameters:
Temp (float) – Temperature in K, single value or NumPy array, ignored.
*args (float) – Fraction of the first component in mol%.
coef (float) – List of coefficients, typically automatically extracted from YAML DB.
- Returns:
Dynamic viscosity in Pa s, single value or NumPy array.
- Return type:
float
- Raises:
LookupError – If not all required keys/values are present in the coef dictionary.
References
Janz, G.J., 1992. Data from: NIST properties of molten salts database (formerly SRD 27). https://doi.org/10.18434/MDS2-2298.
- yamdb.properties.dynamic_viscosity.Linstrom1992I4(Temp, *args, coef=None)[source]
Return the dynamic viscosity according to Linstrom (1992) eq. I4.
\[\eta = D1 + D2 C + D3 C^2 + D4 C^3 + D5 C^4\]C is the fraction of the first component in mol%. T = Tmin (obtain by using get_equation_limits).
- Parameters:
Temp (float) – Temperature in K, single value or NumPy array, ignored.
*args (float) – Fraction of the first component in mol%.
coef (float) – List of coefficients, typically automatically extracted from YAML DB.
- Returns:
Dynamic viscosity in Pa s, single value or NumPy array.
- Return type:
float
- Raises:
LookupError – If not all required keys/values are present in the coef dictionary.
References
Janz, G.J., 1992. Data from: NIST properties of molten salts database (formerly SRD 27). https://doi.org/10.18434/MDS2-2298.
- yamdb.properties.dynamic_viscosity.Linstrom1992P2(Temp, coef=None)[source]
Return the dynamic viscosity according to Linstrom (1992) eq. P2.
\[\eta = D1 + D2 * T + D3 * T^2\]T in K
- Parameters:
Temp (float) – Temperature in K, single value or NumPy array.
coef (float) – List of coefficients, typically automatically extracted from YAML DB.
- Returns:
Dynamic viscosity in Pa s, single value or NumPy array.
- Return type:
float
- Raises:
LookupError – If not all required keys/values are present in the coef dictionary.
References
Janz, G.J., 1992. Data from: NIST properties of molten salts database (formerly SRD 27). https://doi.org/10.18434/MDS2-2298
- yamdb.properties.dynamic_viscosity.Linstrom1992P3(Temp, coef=None)[source]
Return the dynamic viscosity according to Linstrom (1992) eq. P3.
\[\eta = D1 + D2 * T + D3 * T^2 + D4 * T^3\]T in K
- Parameters:
Temp (float) – Temperature in K, single value or NumPy array.
coef (float) – List of coefficients, typically automatically extracted from YAML DB.
- Returns:
Dynamic viscosity in Pa s, single value or NumPy array.
- Return type:
float
- Raises:
LookupError – If not all required keys/values are present in the coef dictionary.
References
Janz, G.J., 1992. Data from: NIST properties of molten salts database (formerly SRD 27). https://doi.org/10.18434/MDS2-2298
- yamdb.properties.dynamic_viscosity.Linstrom1992plusE(Temp, coef=None)[source]
Return the dynamic viscosity according to Janz (1992) eq. E+.
\[\eta = D1 \exp(D2/(R T))\]T in K
added the possibility to modify R in order to use the equation for the data of Tasidou et al. (2019) - and possibly others - as well
- Parameters:
Temp (float) – Temperature in K, single value or NumPy array.
coef (float) – List of coefficients, typically automatically extracted from YAML DB.
- Returns:
Dynamic viscosity in Pa s, single value or NumPy array.
- Return type:
float
- Raises:
LookupError – If not all required keys/values are present in the coef dictionary.
References
Janz, G.J., 1992. Data from: NIST properties of molten salts database (formerly SRD 27). https://doi.org/10.18434/MDS2-2298
- yamdb.properties.dynamic_viscosity.Ohse1985(Temp, coef=None)[source]
Return dynamic viscosity according to Ohse (1985) p. 771.
\[ln(\eta) = a + b ln(T) + c/T\]eta in Pa s T in K
- Parameters:
Temp (float) – Temperature in K, single value or NumPy array.
coef (float) – List of coefficients, typically automatically extracted from YAML DB.
- Returns:
Dynamic viscosity in Pa s, single value or NumPy array.
- Return type:
float
- Raises:
LookupError – If not all required keys/values are present in the coef dictionary.
References
Ohse, R.W. (Ed.), 1985. Handbook of thermodynamic and transport properties of alkali metals, International union of pure and applied chemistry chemical data series. Blackwell Scientific Publications, Oxford, London, Edinburgh, Boston, Palo Alto, Melbourne.
- yamdb.properties.dynamic_viscosity.ToerklepOeye1982(Temp, coef=None)[source]
Return the dynamic viscosity according to Toerklep, Oeye (1982) eqs. (6-9).
\[\eta = A exp(B/T + C/T^4)\]T in K
- Parameters:
Temp (float) – Temperature in K, single value or NumPy array.
coef (float) – List of coefficients, typically automatically extracted from YAML DB.
- Returns:
Dynamic viscosity in Pa s, single value or NumPy array.
- Return type:
float
- Raises:
LookupError – If not all required keys/values are present in the coef dictionary.
References
Toerklep, K., Oeye, H.A., 1982. Viscostiy of molten alkaline-earth chlorides. Journal of Chemical & Engineering Data 27, 387–391. https://doi.org/10.1021/je00030a006
yamdb.properties.expansion_coefficient module
Implements the expansion_coefficient methods.
- yamdb.properties.expansion_coefficient.IAEA2008(Temp, coef=None)[source]
Return volumetric expansion coefficient according to IAEA (2008).
87, eq. (3.34)
\[\beta * 10^4 = a + b*t + c*t^2 + d*t^3\]- Parameters:
Temp (float) – Temperature in K, single value or NumPy array.
coef (float) – List of coefficients, typically automatically extracted from YAML DB.
- Returns:
Volumetric expansion coefficient in 1/K, single value or NumPy array.
- Return type:
float
- Raises:
LookupError – If not all required keys/values are present in the coef dictionary.
References
International Atomic Energy Agency, 2008. Thermophysical properties of materials for nuclear engineering: A tutorial and collection of data. International Atomic Energy Agency, Vienna.
- yamdb.properties.expansion_coefficient.OECDNEA2015(Temp, coef=None)[source]
Return volumetric expansion coefficient according to OECD/NEA (2015).
78, eq. (2.34)
\[\beta = 1/(a-T)\]- Parameters:
Temp (float) – Temperature in K, single value or NumPy array.
coef (float) – List of coefficients, typically automatically extracted from YAML DB.
- Returns:
Volumetric expansion coefficient in 1/K, single value or NumPy array.
- Return type:
float
- Raises:
LookupError – If not all required keys/values are present in the coef dictionary.
References
OECD Nuclear Energy Agency, Nuclear Science Committee, 2015. Handbook on lead-bismuth eutectic alloy and lead properties, materials compatibility, thermal-hydraulics and technologies. OECD/NEA/NSC.
- yamdb.properties.expansion_coefficient.Sobolev2011(Temp, coef=None)[source]
Return expansion coefficient according to Sobolev (2011).
67 effectively Eqs. (3-10) ff.
\[\beta = - 1/\rho \partial \rho / \partial T\]- Parameters:
Temp (float) – Temperature in K, single value or NumPy array.
coef (float) – List of coefficients, typically automatically extracted from YAML DB.
- Returns:
Volumetric expansion coefficient in 1/K, single value or NumPy array.
- Return type:
float
- Raises:
LookupError – If not all required keys/values are present in the coef dictionary.
References
Sobolev, V., 2011. Database of thermophysical properties of liquid metal coolants for GEN-IV (No. SCK•CEN-BLG-1069). SCK•CEN.
- yamdb.properties.expansion_coefficient.Steinberg1974(Temp, coef=None)[source]
Return expansion coefficient according to Iida, Guthrie (2015).
511 footnote \(\dagger\dagger\)
\[\beta = -\lambda / \rho\]tabulated \(\lambda\) is \(- \lambda\) !
- Parameters:
Temp (float) – Temperature in K, single value or NumPy array.
coef (float) – List of coefficients, typically automatically extracted from YAML DB.
- Returns:
Volumetric expansion coefficient in 1/K, single value or NumPy array.
- Return type:
float
- Raises:
LookupError – If not all required keys/values are present in the coef dictionary.
References
Steinberg, D.J., 1974. A simple relationship between the temperature dependence of the density of liquid metals and their boiling temperatures. Metallurgical Transactions 5, 1341–1343.
Iida, T., Guthrie, R.I.L., 2015. The thermophysical properties of metallic liquids. Oxford University Press, Oxford.
yamdb.properties.heat_capacity module
Implements the heat_capacity methods.
- yamdb.properties.heat_capacity.Gurvich1991(Temp, coef=None)[source]
Return heat capacity according to OECDNEA (2015) p. 91, eq. (2.47).
\[cp = cp_0 + a*T + b*T^2 + c*T^3 + d/T^2\]- Parameters:
Temp (float) – Temperature in K, single value or NumPy array.
coef (float) – List of coefficients, typically automatically extracted from YAML DB.
- Returns:
Heat capacity in J/(Kg K), single value or NumPy array.
- Return type:
float
- Raises:
LookupError – If not all required keys/values are present in the coef dictionary.
References
OECD Nuclear Energy Agency, Nuclear Science Committee, 2015. Handbook on lead-bismuth eutectic alloy and lead properties, materials compatibility, thermal-hydraulics and technologies. OECD/NEA/NSC.
- yamdb.properties.heat_capacity.IAEA2008(Temp, coef=None)[source]
Return heat capacity according to IAEA (2008), p. 87, eq. (3.30).
\[cp = cp_0 + a*T + b*T^2 + c/T\]value probably in kJ Kg^-1 K^-1 and _not_ in J Kg^-1 K^-1 cf. p. 83 Tab. 3.11
- Parameters:
Temp (float) – Temperature in K, single value or NumPy array.
coef (float) – List of coefficients, typically automatically extracted from YAML DB.
- Returns:
Heat capacity in J/(Kg K), single value or NumPy array.
- Return type:
float
- Raises:
LookupError – If not all required keys/values are present in the coef dictionary.
References
International Atomic Energy Agency, 2008. Thermophysical properties of materials for nuclear engineering: A tutorial and collection of data. International Atomic Energy Agency, Vienna.
- yamdb.properties.heat_capacity.IidaGuthrie1988(Temp, coef=None)[source]
Return heat capacity according to Iida Guthrie (1988), p. 91, Tab. 4.3.
cp_molar (J mol^-1 K^-1) = constant
- Parameters:
Temp (float) – Temperature in K, single value or NumPy array.
coef (float) – List of coefficients, typically automatically extracted from YAML DB.
- Returns:
Heat capacity in J/(Kg K), single value or NumPy array.
- Return type:
float
- Raises:
LookupError – If not all required keys/values are present in the coef dictionary.
References
Iida, T., Guthrie, R.I.L., 1988. The physical properties of liquid metals. Clarendon Press, Oxford.
- yamdb.properties.heat_capacity.IidaGuthrie2015(Temp, coef=None)[source]
Return heat capacity according to IidaGuthrie (2015), p. 524.
unified for all equation types
cp_molar (J mol^-1 K^-1) = \(cp_0 + a*T + b*T^2 + c*T^{-2}\)
set missing coefficients to 0 in yml database
- Parameters:
Temp (float) – Temperature in K, single value or NumPy array.
coef (float) – List of coefficients, typically automatically extracted from YAML DB.
- Returns:
Heat capacity in J/(Kg K), single value or NumPy array.
- Return type:
float
- Raises:
LookupError – If not all required keys/values are present in the coef dictionary.
References
Iida, T., Guthrie, R.I.L., 2015. The thermophysical properties of metallic liquids. Oxford University Press, Oxford.
- yamdb.properties.heat_capacity.Imbeni1998(Temp, coef=None)[source]
Return heat capacity according to OECDNEA (2015), p. 93, eq. (2.49).
\[cp = cp_0 + a*T + b/T^2\]- Parameters:
Temp (float) – Temperature in K, single value or NumPy array.
coef (float) – List of coefficients, typically automatically extracted from YAML DB.
- Returns:
Heat capacity in J/(Kg K), single value or NumPy array.
- Return type:
float
- Raises:
LookupError – If not all required keys/values are present in the coef dictionary.
References
OECD Nuclear Energy Agency, Nuclear Science Committee, 2015. Handbook on lead-bismuth eutectic alloy and lead properties, materials compatibility, thermal-hydraulics and technologies. OECD/NEA/NSC.
- yamdb.properties.heat_capacity.Ohse1985(Temp, coef=None)[source]
Return heat capacity according to Ohse (1985).
429, eq. (17), Tab. 14
cp/(J mol^-1 K^-1) = \(C1 + C2*T + C3*T^2\)
- Parameters:
Temp (float) – Temperature in K, single value or NumPy array.
coef (float) – List of coefficients, typically automatically extracted from YAML DB.
- Returns:
Heat capacity in J/(Kg K), single value or NumPy array.
- Return type:
float
- Raises:
LookupError – If not all required keys/values are present in the coef dictionary.
References
Ohse, R.W. (Ed.), 1985. Handbook of thermodynamic and transport properties of alkali metals, International union of pure and applied chemistry chemical data series. Blackwell Scientific Publications, Oxford, London, Edinburgh, Boston, Palo Alto, Melbourne.
- yamdb.properties.heat_capacity.Sobolev2011(Temp, coef=None)[source]
Return heat capacity according to OECDNEA (2015), p. 91, eq. (2.48).
\[cp = cp_0 + a*T + b*T^2 + c/T^2\]- Parameters:
Temp (float) – Temperature in K, single value or NumPy array.
coef (float) – List of coefficients, typically automatically extracted from YAML DB.
- Returns:
Heat capacity in J/(Kg K), single value or NumPy array.
- Return type:
float
- Raises:
LookupError – If not all required keys/values are present in the coef dictionary.
References
Sobolev, V., 2011. Database of thermophysical properties of liquid metal coolants for GEN-IV (No. SCK•CEN-BLG-1069). SCK•CEN.
yamdb.properties.resistivity module
Implements the resistivity methods.
- yamdb.properties.resistivity.Baker1968(Temp, coef=None)[source]
Return resistivity according to Baker (1968), p. 1091, eq. (2).
\[\log(\rho) = A/T - B\]- Parameters:
Temp (float) – Temperature in K, single value or NumPy array.
coef (float) – List of coefficients, typically automatically extracted from YAML DB.
- Returns:
Electrical resistivity in Ohm m, single value or NumPy array.
- Return type:
float
- Raises:
LookupError – If not all required keys/values are present in the coef dictionary.
References
Baker, E.H., 1968. The vapour pressure and resistivity of selenium at high temperatures. Journal of the Chemical Society A: Inorganic, Physical, Theoretical 1089–1092.
- yamdb.properties.resistivity.CusackEnderby1960(Temp, coef=None)[source]
Return resistivity according to Iida, Guthrie (1988), p. 232.
see Cusack, Enderby (1960)
\[\rho_e = \alpha * T + \beta\]- Parameters:
Temp (float) – Temperature in K, single value or NumPy array.
coef (float) – List of coefficients, typically automatically extracted from YAML DB.
- Returns:
Electrical resistivity in Ohm m, single value or NumPy array.
- Return type:
float
- Raises:
LookupError – If not all required keys/values are present in the coef dictionary.
References
Cusack, N., Enderby, J.E., 1960. A note on the resistivity of liquid alkali and noble metals. Proceedings of the Physical Society 75, 395–401.
- yamdb.properties.resistivity.Desaietal1984(Temp, coef=None)[source]
Return resistivity according to Desai et al. (1984).
\[\rho_e/ 10^{-8} \Omega m = a + b*T + c*T^2 + d*T^3\]- Parameters:
Temp (float) – Temperature in K, single value or NumPy array.
coef (float) – List of coefficients, typically automatically extracted from YAML DB.
- Returns:
Electrical resistivity in Ohm m, single value or NumPy array.
- Return type:
float
- Raises:
LookupError – If not all required keys/values are present in the coef dictionary.
References
Desai, P.D., Chu, T.K., James, H.M., Ho, C.Y., 1984. Electrical resistivity of selected elements. Journal of Physical and Chemical Reference Data 13, 1069–1096.
- yamdb.properties.resistivity.IAEA2008(Temp, coef=None)[source]
Return resistivity according to IAEA (2008).
\[\rho_e/\rho_{e0} = a + b*t + c*t^2 + d*t^3 + e*t^4 + f*t^5\]t in °C !
the 10E08 Ohm m in IAEA eq. (3.35) p. 87 is obviously in error
- Parameters:
Temp (float) – Temperature in K, single value or NumPy array.
coef (float) – List of coefficients, typically automatically extracted from YAML DB.
- Returns:
Electrical resistivity in Ohm m, single value or NumPy array.
- Return type:
float
- Raises:
LookupError – If not all required keys/values are present in the coef dictionary.
References
International Atomic Energy Agency, 2008. Thermophysical properties of materials for nuclear engineering: A tutorial and collection of data. International Atomic Energy Agency, Vienna.
- yamdb.properties.resistivity.Janz1967exp(Temp, coef=None)[source]
Return the resistivity according to Janz (1967) p. 290.
\[\kappa = A \exp(-E/R T)\]T in K
- Parameters:
Temp (float) – Temperature in K, single value or NumPy array.
coef (float) – List of coefficients, typically automatically extracted from YAML DB.
- Returns:
Electrical resistivity in Ohm m, single value or NumPy array.
- Return type:
float
- Raises:
LookupError – If not all required keys/values are present in the coef dictionary.
References
Janz, G.J., 1967. Molten salts handbook. Academic Press, New York.
- yamdb.properties.resistivity.Janzetal1968(Temp, coef=None)[source]
Return the resistivity according to Janz et al. (1968).
Calculated from the conductivity equation (kappa in 1/(Ohm cm)) for specific conductance p. 1 with polynomial containing all coefficients
\[\kappa = a + b*T + c*T^2 + d*T^3\]T in K
- Parameters:
Temp (float) – Temperature in K, single value or NumPy array.
coef (float) – List of coefficients, typically automatically extracted from YAML DB.
- Returns:
Electrical resistivity in Ohm m, single value or NumPy array.
- Return type:
float
- Raises:
LookupError – If not all required keys/values are present in the coef dictionary.
References
Janz, G.J., Dampier, F.W., Lakshminarayanan, G.R., Lorenz, P.K., Tomkins, R.P.T., 1968. Molten salts (No. 15), Nat. Stand. Ref. Data ser. National Bureau of Standards, Washington.
- yamdb.properties.resistivity.Linstrom1992DP(Temp, coef=None)[source]
Return the resistivity according to Linstrom (1992), eq. DP.
\[\kappa = D1\]T in K
- Parameters:
Temp (float) – Temperature in K, single value or NumPy array.
coef (float) – List of coefficients, typically automatically extracted from YAML DB.
- Returns:
Electrical resistivity in Ohm m, single value or NumPy array.
- Return type:
float
- Raises:
LookupError – If not all required keys/values are present in the coef dictionary.
References
Janz, G.J., 1992. Data from: NIST properties of molten salts database (formerly SRD 27). https://doi.org/10.18434/MDS2-2298
- yamdb.properties.resistivity.Linstrom1992E2(Temp, coef=None)[source]
Return the resistivity according to Linstrom (1992), eq. E2.
\[\kappa = D1 \exp(D2/(R * (T - D3)))\]T in K
- Parameters:
Temp (float) – Temperature in K, single value or NumPy array.
coef (float) – List of coefficients, typically automatically extracted from YAML DB.
- Returns:
Electrical resistivity in Ohm m, single value or NumPy array.
- Return type:
float
- Raises:
LookupError – If not all required keys/values are present in the coef dictionary.
References
Janz, G.J., 1992. Data from: NIST properties of molten salts database (formerly SRD 27). https://doi.org/10.18434/MDS2-2298
- yamdb.properties.resistivity.Linstrom1992I1(Temp, *args, coef=None)[source]
Return the resistivity according to Linstrom (1992) eq. I1.
\[\kappa = D1 + D2 C\]C is the fraction of the first component in mol%. T = Tmin (obtain by using get_equation_limits).
- Parameters:
Temp (float) – Temperature in K, single value or NumPy array, ignored.
*args (float) – Fraction of the first component in mol%.
coef (float) – List of coefficients, typically automatically extracted from YAML DB.
- Returns:
Electrical resistivity in Ohm m, single value or NumPy array.
- Return type:
float
- Raises:
LookupError – If not all required keys/values are present in the coef dictionary.
References
Janz, G.J., 1992. Data from: NIST properties of molten salts database (formerly SRD 27). https://doi.org/10.18434/MDS2-2298.
- yamdb.properties.resistivity.Linstrom1992I2(Temp, *args, coef=None)[source]
Return the resistivity according to Linstrom (1992) eq. I2.
\[\kappa = D1 + D2 C + D3 C^2\]C is the fraction of the first component in mol%. T = Tmin (obtain by using get_equation_limits).
- Parameters:
Temp (float) – Temperature in K, single value or NumPy array, ignored.
*args (float) – Fraction of the first component in mol%.
coef (float) – List of coefficients, typically automatically extracted from YAML DB.
- Returns:
Electrical resistivity in Ohm m, single value or NumPy array.
- Return type:
float
- Raises:
LookupError – If not all required keys/values are present in the coef dictionary.
References
Janz, G.J., 1992. Data from: NIST properties of molten salts database (formerly SRD 27). https://doi.org/10.18434/MDS2-2298.
- yamdb.properties.resistivity.Linstrom1992I3(Temp, *args, coef=None)[source]
Return the resistivity according to Linstrom (1992) eq. I3.
\[\kappa = D1 + D2 C + D3 C^2 + D4 C^3\]C is the fraction of the first component in mol%. T = Tmin (obtain by using get_equation_limits).
- Parameters:
Temp (float) – Temperature in K, single value or NumPy array, ignored.
*args (float) – Fraction of the first component in mol%.
coef (float) – List of coefficients, typically automatically extracted from YAML DB.
- Returns:
Electrical resistivity in Ohm m, single value or NumPy array.
- Return type:
float
- Raises:
LookupError – If not all required keys/values are present in the coef dictionary.
References
Janz, G.J., 1992. Data from: NIST properties of molten salts database (formerly SRD 27). https://doi.org/10.18434/MDS2-2298.
- yamdb.properties.resistivity.Linstrom1992I4(Temp, *args, coef=None)[source]
Return the resistivity according to Linstrom (1992) eq. I4.
\[\kappa = D1 + D2 C + D3 C^2 + D4 C^3 + D5 C^4\]C is the fraction of the first component in mol%. T = Tmin (obtain by using get_equation_limits).
- Parameters:
Temp (float) – Temperature in K, single value or NumPy array, ignored.
*args (float) – Fraction of the first component in mol%.
coef (float) – List of coefficients, typically automatically extracted from YAML DB.
- Returns:
Electrical resistivity in Ohm m, single value or NumPy array.
- Return type:
float
- Raises:
LookupError – If not all required keys/values are present in the coef dictionary.
References
Janz, G.J., 1992. Data from: NIST properties of molten salts database (formerly SRD 27). https://doi.org/10.18434/MDS2-2298.
- yamdb.properties.resistivity.Linstrom1992P1(Temp, coef=None)[source]
Return the resistivity according to Linstrom (1992), eq. P1.
\[\kappa = D1 + D2 * T\]T in K
- Parameters:
Temp (float) – Temperature in K, single value or NumPy array.
coef (float) – List of coefficients, typically automatically extracted from YAML DB.
- Returns:
Electrical resistivity in Ohm m, single value or NumPy array.
- Return type:
float
- Raises:
LookupError – If not all required keys/values are present in the coef dictionary.
References
Janz, G.J., 1992. Data from: NIST properties of molten salts database (formerly SRD 27). https://doi.org/10.18434/MDS2-2298
- yamdb.properties.resistivity.Linstrom1992P2(Temp, coef=None)[source]
Return the resistivity according to Linstrom (1992), eq. P2.
\[\kappa = D1 + D2 * T + D3 * T^2\]T in K
- Parameters:
Temp (float) – Temperature in K, single value or NumPy array.
coef (float) – List of coefficients, typically automatically extracted from YAML DB.
- Returns:
Electrical resistivity in Ohm m, single value or NumPy array.
- Return type:
float
- Raises:
LookupError – If not all required keys/values are present in the coef dictionary.
References
Janz, G.J., 1992. Data from: NIST properties of molten salts database (formerly SRD 27). https://doi.org/10.18434/MDS2-2298
- yamdb.properties.resistivity.Linstrom1992P3(Temp, coef=None)[source]
Return the resistivity according to Linstrom (1992), eq. P3.
\[\kappa = D1 + D2 * T + D3 * T^2 + D4 * T^3\]T in K
- Parameters:
Temp (float) – Temperature in K, single value or NumPy array.
coef (float) – List of coefficients, typically automatically extracted from YAML DB.
- Returns:
Electrical resistivity in Ohm m, single value or NumPy array.
- Return type:
float
- Raises:
LookupError – If not all required keys/values are present in the coef dictionary.
References
Janz, G.J., 1992. Data from: NIST properties of molten salts database (formerly SRD 27). https://doi.org/10.18434/MDS2-2298
- yamdb.properties.resistivity.Linstrom1992P4(Temp, coef=None)[source]
Return the resistivity according to Linstrom (1992), eq. P4.
\[\kappa = D1 + D2 * T + D3 * T^2 + D4 * T^3 + D5 * T^4\]T in K
- Parameters:
Temp (float) – Temperature in K, single value or NumPy array.
coef (float) – List of coefficients, typically automatically extracted from YAML DB.
- Returns:
Electrical resistivity in Ohm m, single value or NumPy array.
- Return type:
float
- Raises:
LookupError – If not all required keys/values are present in the coef dictionary.
References
Janz, G.J., 1992. Data from: NIST properties of molten salts database (formerly SRD 27). https://doi.org/10.18434/MDS2-2298
- yamdb.properties.resistivity.Linstrom1992plusE(Temp, coef=None)[source]
Return the resistivity according to Janz (1992) eq. E+.
\[\kappa = D1 \exp(D2/(8.31441 T))\]T in K
- Parameters:
Temp (float) – Temperature in K, single value or NumPy array.
coef (float) – List of coefficients, typically automatically extracted from YAML DB.
- Returns:
Electrical resistivity in Ohm m, single value or NumPy array.
- Return type:
float
- Raises:
LookupError – If not all required keys/values are present in the coef dictionary.
References
Janz, G.J., 1992. Data from: NIST properties of molten salts database (formerly SRD 27). https://doi.org/10.18434/MDS2-2298
- yamdb.properties.resistivity.Massetetal2006(Temp, coef=None)[source]
Return the resistivity according to Masset et al. (2006) p. 755 Tab. 2.
\[\kappa = A \exp(-E/T)\]T in K
- Parameters:
Temp (float) – Temperature in K, single value or NumPy array.
coef (float) – List of coefficients, typically automatically extracted from YAML DB.
- Returns:
Electrical resistivity in Ohm m, single value or NumPy array.
- Return type:
float
- Raises:
LookupError – If not all required keys/values are present in the coef dictionary.
References
Masset, P., Henry, A., Poinso, J.-Y., Poignet, J.-C., 2006. Ionic conductivity measurements of molten iodide-based electrolytes. Journal of Power Sources 160, 752–757.
- yamdb.properties.resistivity.Ohse1985(Temp, coef=None)[source]
Return resistivity according to Ohse (1985), p. 730, eq. (36).
\[\log(\rho_e) = a + b * \log(T/Tmin) + c * \log^2(T/Tmin) + d * \log^3(T/Tmin)\]\(\rho_e\) is in 10E-08 Ohm m
- Parameters:
Temp (float) – Temperature in K, single value or NumPy array.
coef (float) – List of coefficients, typically automatically extracted from YAML DB.
- Returns:
Electrical resistivity in Ohm m, single value or NumPy array.
- Return type:
float
- Raises:
LookupError – If not all required keys/values are present in the coef dictionary.
References
Ohse, R.W. (Ed.), 1985. Handbook of thermodynamic and transport properties of alkali metals, International union of pure and applied chemistry chemical data series. Blackwell Scientific Publications, Oxford, London, Edinburgh, Boston, Palo Alto, Melbourne.
- yamdb.properties.resistivity.Ohse1985_func(T, a, b, c, d, Tmin)[source]
Helper function to calculate the electrical resistivity.
According to Ohse (1985)
- Parameters:
T (float) – temperature (array or single value)
a (float) – coefficient a
b (float) – coefficient b
c (float) – coefficient c
d (float) – coefficient d
Tmin (float) – minimum Temperature
- Returns:
resistivity (array or single value)
- Return type:
float
References
Ohse, R.W. (Ed.), 1985. Handbook of thermodynamic and transport properties of alkali metals, International union of pure and applied chemistry chemical data series. Blackwell Scientific Publications, Oxford, London, Edinburgh, Boston, Palo Alto, Melbourne.
- yamdb.properties.resistivity.SalyulevPotapov2015(Temp, coef=None)[source]
Return resistivity according to Salyulev, Potapov (2015).
486 eq. (2).
\[log(\kappa) = a + b/T + c/T^2 + d/T^3\]\(\kappa\) is the conductivity in S/cm
- Parameters:
Temp (float) – Temperature in K, single value or NumPy array.
coef (float) – List of coefficients, typically automatically extracted from YAML DB.
- Returns:
Electrical resistivity in Ohm m, single value or NumPy array.
- Return type:
float
- Raises:
LookupError – If not all required keys/values are present in the coef dictionary.
References
Salyulev, A.B., Potapov, A.M., 2015. Conductivity of some molten chlorides at elevated temperatures i. Experimental and calculation techniques for BeCl2, ZnCl2, and PbCl2SalyulevPotapov2015. Journal of Chemical & Engineering Data 60, 484–492.
- yamdb.properties.resistivity.Sobolev2011(Temp, coef=None)[source]
Return resistivity according to Sobolev (2011).
156 Sobolev (2011)
\[\rho_e/(Ohm m) = a + b*T + c*T^2\]- Parameters:
Temp (float) – Temperature in K, single value or NumPy array.
coef (float) – List of coefficients, typically automatically extracted from YAML DB.
- Returns:
Electrical resistivity in Ohm m, single value or NumPy array.
- Return type:
float
- Raises:
LookupError – If not all required keys/values are present in the coef dictionary.
References
Sobolev, V., 2011. Database of thermophysical properties of liquid metal coolants for GEN-IV (No. SCK•CEN-BLG-1069). SCK•CEN.
- yamdb.properties.resistivity.Zinkle1998(Temp, coef=None)[source]
Return resistivity according to Ohse (1985), p. 2 Zinkle (1998).
\[\rho_e/(nOhm m) = a + b*T + c*T^2 + d*T^3 + e*T^4\]nano Ohm m !
- Parameters:
Temp (float) – Temperature in K, single value or NumPy array.
coef (float) – List of coefficients, typically automatically extracted from YAML DB.
- Returns:
Electrical resistivity in Ohm m, single value or NumPy array.
- Return type:
float
- Raises:
LookupError – If not all required keys/values are present in the coef dictionary.
References
Zinkle, S.J., 1998. Summary of physical properties for lithium, Pb-17Li, and (LiF)n.BeF2 coolants.
- yamdb.properties.resistivity.constant(Temp, coef=None)[source]
Return constant resistivity according to Iida, Guthrie (1988), p. 232.
rho_e = value
- Parameters:
Temp (float) – Temperature in K, single value or NumPy array.
coef (float) – List of coefficients, typically automatically extracted from YAML DB.
- Returns:
Electrical resistivity in Ohm m, single value or NumPy array.
- Return type:
float
- Raises:
LookupError – If not all required keys/values are present in the coef dictionary.
- yamdb.properties.resistivity.fractionalNegativeExponent(Temp, coef=None)[source]
Return resistivity according to the fit below.
\[\rho = a + b/x^c\]gave the best fit for the Te resistivity data from Iida Guthrie (2015) p. 541, Tab. 17.11 with
a = 3.76373e-06b = 6.55205e+12c = 6.5- Parameters:
Temp (float) – Temperature in K, single value or NumPy array.
coef (float) – List of coefficients, typically automatically extracted from YAML DB.
- Returns:
Electrical resistivity in Ohm m, single value or NumPy array.
- Return type:
float
- Raises:
LookupError – If not all required keys/values are present in the coef dictionary.
yamdb.properties.sound_velocity module
Implements the sound_velocity methods.
- yamdb.properties.sound_velocity.Blairs2007(Temp, coef=None)[source]
Return sound velocity according to Blairs (2007).
U = A + B * T
- Parameters:
Temp (float) – Temperature in K, single value or NumPy array.
coef (float) – List of coefficients, typically automatically extracted from YAML DB.
- Returns:
Sound velocity m/s, single value or NumPy array.
- Return type:
float
- Raises:
LookupError – If not all required keys/values are present in the coef dictionary.
References
Blairs, S., 2007. Review of data for velocity of sound in pure liquid metals and metalloids. International Materials Reviews 52, 321–344.
- yamdb.properties.sound_velocity.Blairs2007cubic(Temp, coef=None)[source]
Return sound velocity according to Blairs (2007).
cubic equation p. 337
\[U = A + B * T + C * T^2\]- Parameters:
Temp (float) – Temperature in K, single value or NumPy array.
coef (float) – List of coefficients, typically automatically extracted from YAML DB.
- Returns:
Sound velocity m/s, single value or NumPy array.
- Return type:
float
- Raises:
LookupError – If not all required keys/values are present in the coef dictionary.
References
Blairs, S., 2007. Review of data for velocity of sound in pure liquid metals and metalloids. International Materials Reviews 52, 321–344.
- yamdb.properties.sound_velocity.IAEA2008(Temp, coef=None)[source]
Return sound velocity according to IAEA (2008), p. 87, eq. (3.37).
U = a + b/T + c*(Tm - d)
quite strange to combine Kelvin and Celsius temperatures in one equation range
- Parameters:
Temp (float) – Temperature in K, single value or NumPy array.
coef (float) – List of coefficients, typically automatically extracted from YAML DB.
- Returns:
Sound velocity m/s, single value or NumPy array.
- Return type:
float
- Raises:
LookupError – If not all required keys/values are present in the coef dictionary.
References
International Atomic Energy Agency, 2008. Thermophysical properties of materials for nuclear engineering: A tutorial and collection of data. International Atomic Energy Agency, Vienna.
- yamdb.properties.sound_velocity.linearExperimental(Temp, coef=None)[source]
Return sound velocity according to Iida, Guthrie (1988).
U = Um - m_dUdT * T
- Parameters:
Temp (float) – Temperature in K, single value or NumPy array.
coef (float) – List of coefficients, typically automatically extracted from YAML DB.
- Returns:
Sound velocity m/s, single value or NumPy array.
- Return type:
float
- Raises:
LookupError – If not all required keys/values are present in the coef dictionary.
References
Iida, T., Guthrie, R.I.L., 1988. The physical properties of liquid metals. Clarendon Press, Oxford.
yamdb.properties.surface_tension module
Implements the surface_tension methods.
- yamdb.properties.surface_tension.IAEA2008(Temp, coef=None)[source]
Return surface tension according to IAEA (2008), p. 87, eq. (3.33).
\[\sigma = a + b*(T + c)\]- Parameters:
Temp (float) – Temperature in K, single value or NumPy array.
coef (float) – List of coefficients, typically automatically extracted from YAML DB.
- Returns:
Surface tension in N/m, single value or NumPy array.
- Return type:
float
- Raises:
LookupError – If not all required keys/values are present in the coef dictionary.
References
International Atomic Energy Agency, 2008. Thermophysical properties of materials for nuclear engineering: A tutorial and collection of data. International Atomic Energy Agency, Vienna.
- yamdb.properties.surface_tension.Linstrom1992DP(Temp, coef=None)[source]
Return the surface tension according to Linstrom (1992) eq. DP.
\[\sigma = D1\]T in K
- Parameters:
Temp (float) – Temperature in K, single value or NumPy array.
coef (float) – List of coefficients, typically automatically extracted from YAML DB.
- Returns:
Surface tension in N/m, single value or NumPy array.
- Return type:
float
- Raises:
LookupError – If not all required keys/values are present in the coef dictionary.
References
Janz, G.J., 1992. Data from: NIST properties of molten salts database (formerly SRD 27). https://doi.org/10.18434/MDS2-2298
- yamdb.properties.surface_tension.Linstrom1992I1(Temp, *args, coef=None)[source]
Return the surface tension according to Linstrom (1992) eq. I1.
\[\sigma = D1 + D2 C\]C is the fraction of the first component in mol%. T = Tmin (obtain by using get_equation_limits).
- Parameters:
Temp (float) – Temperature in K, single value or NumPy array, ignored.
*args (float) – Fraction of the first component in mol%.
coef (float) – List of coefficients, typically automatically extracted from YAML DB.
- Returns:
Surface tension in N/m, single value or NumPy array.
- Return type:
float
- Raises:
LookupError – If not all required keys/values are present in the coef dictionary.
References
Janz, G.J., 1992. Data from: NIST properties of molten salts database (formerly SRD 27). https://doi.org/10.18434/MDS2-2298.
- yamdb.properties.surface_tension.Linstrom1992I2(Temp, *args, coef=None)[source]
Return the surface tension according to Linstrom (1992) eq. I2.
\[\sigma = D1 + D2 C + D3 C^2\]C is the fraction of the first component in mol%. T = Tmin (obtain by using get_equation_limits).
- Parameters:
Temp (float) – Temperature in K, single value or NumPy array, ignored.
*args (float) – Fraction of the first component in mol%.
coef (float) – List of coefficients, typically automatically extracted from YAML DB.
- Returns:
Surface tension in N/m, single value or NumPy array.
- Return type:
float
- Raises:
LookupError – If not all required keys/values are present in the coef dictionary.
References
Janz, G.J., 1992. Data from: NIST properties of molten salts database (formerly SRD 27). https://doi.org/10.18434/MDS2-2298.
- yamdb.properties.surface_tension.Linstrom1992I3(Temp, *args, coef=None)[source]
Return the surface tension according to Linstrom (1992) eq. I3.
\[\sigma = D1 + D2 C + D3 C^2 + D4 C^3\]C is the fraction of the first component in mol%. T = Tmin (obtain by using get_equation_limits).
- Parameters:
Temp (float) – Temperature in K, single value or NumPy array, ignored.
*args (float) – Fraction of the first component in mol%.
coef (float) – List of coefficients, typically automatically extracted from YAML DB.
- Returns:
Surface tension in N/m, single value or NumPy array.
- Return type:
float
- Raises:
LookupError – If not all required keys/values are present in the coef dictionary.
References
Janz, G.J., 1992. Data from: NIST properties of molten salts database (formerly SRD 27). https://doi.org/10.18434/MDS2-2298.
- yamdb.properties.surface_tension.Linstrom1992I4(Temp, *args, coef=None)[source]
Return the surface tension according to Linstrom (1992) eq. I4.
\[\sigma = D1 + D2 C + D3 C^2 + D4 C^3 + D5 C^4\]C is the fraction of the first component in mol%. T = Tmin (obtain by using get_equation_limits).
- Parameters:
Temp (float) – Temperature in K, single value or NumPy array, ignored.
*args (float) – Fraction of the first component in mol%.
coef (float) – List of coefficients, typically automatically extracted from YAML DB.
- Returns:
Surface tension in N/m, single value or NumPy array.
- Return type:
float
- Raises:
LookupError – If not all required keys/values are present in the coef dictionary.
References
Janz, G.J., 1992. Data from: NIST properties of molten salts database (formerly SRD 27). https://doi.org/10.18434/MDS2-2298.
- yamdb.properties.surface_tension.Linstrom1992P1(Temp, coef=None)[source]
Return the surface tension according to Linstrom (1992), eq. P1.
\[\sigma = D1 + D2 * T\]T in K
- Parameters:
Temp (float) – Temperature in K, single value or NumPy array.
coef (float) – List of coefficients, typically automatically extracted from YAML DB.
- Returns:
Surface tension in N/m, single value or NumPy array.
- Return type:
float
- Raises:
LookupError – If not all required keys/values are present in the coef dictionary.
References
Janz, G.J., 1992. Data from: NIST properties of molten salts database (formerly SRD 27). https://doi.org/10.18434/MDS2-2298
- yamdb.properties.surface_tension.Linstrom1992P2(Temp, coef=None)[source]
Return the surface tension according to Linstrom (1992), eq. P2.
\[\sigma = D1 + D2 * T + D3 * T^2\]T in K
- Parameters:
Temp (float) – Temperature in K, single value or NumPy array.
coef (float) – List of coefficients, typically automatically extracted from YAML DB.
- Returns:
Surface tension in N/m, single value or NumPy array.
- Return type:
float
- Raises:
LookupError – If not all required keys/values are present in the coef dictionary.
References
Janz, G.J., 1992. Data from: NIST properties of molten salts database (formerly SRD 27). https://doi.org/10.18434/MDS2-2298
- yamdb.properties.surface_tension.Sobolev2011(Temp, coef=None)[source]
Return surface tension according to OECDNEA (2015), p. 67, eq. (2.26).
\[\sigma = (a + b*T)\]- Parameters:
Temp (float) – Temperature in K, single value or NumPy array.
coef (float) – List of coefficients, typically automatically extracted from YAML DB.
- Returns:
Surface tension in N/m, single value or NumPy array.
- Return type:
float
- Raises:
LookupError – If not all required keys/values are present in the coef dictionary.
References
Sobolev, V., 2011. Database of thermophysical properties of liquid metal coolants for GEN-IV (No. SCK•CEN-BLG-1069). SCK•CEN.
yamdb.properties.thermal_conductivity module
Implements the thermal_conductivity methods.
- yamdb.properties.thermal_conductivity.Assaeletal2017(Temp, coef)[source]
Return thermal conductivity according to Assael et al. (2017).
16, eq. (2)
\[\lambda = c1 + c2*(T - Tm)\]- Parameters:
Temp (float) – Temperature in K, single value or NumPy array.
coef (float) – List of coefficients, typically automatically extracted from YAML DB.
- Returns:
Thermal conductivity in W/(m K), single value or NumPy array.
- Return type:
float
- Raises:
LookupError – If not all required keys/values are present in the coef dictionary.
References
Assael, M.J., Chatzimichailidis, A., Antoniadis, K.D., Wakeham, W.A., Huber, M.L., Fukuyama, H., 2017. Reference correlations for the thermal conductivity of liquid copper, gallium, indium, iron, lead, nickel and tin. High Temperatures - High Pressures 46, 391–416.
- yamdb.properties.thermal_conductivity.Chliatzouetal2018(Temp, coef)[source]
Return thermal conductivity according to Chliatzou et al. (2018).
7, eq. (1), p. 8, Tab. 5
\[\lambda = c0 + c1*(T - Tm)\]thermal conductivity is computed in mW/(m K) in the original publication
- Parameters:
Temp (float) – Temperature in K, single value or NumPy array.
coef (float) – List of coefficients, typically automatically extracted from YAML DB.
- Returns:
Thermal conductivity in W/(m K), single value or NumPy array.
- Return type:
float
- Raises:
LookupError – If not all required keys/values are present in the coef dictionary.
References
Chliatzou, Ch.D., Assael, M.J., Antoniadis, K.D., Huber, M.L., Wakeham, W.A., 2018. Reference correlations for the thermal conductivity of 13 inorganic molten salts. Journal of Physical and Chemical Reference Data 47, 033104.
- yamdb.properties.thermal_conductivity.IAEA2008(Temp, coef)[source]
Return thermal conductivity according to IAEA (2008).
87, eq. (3.31)
\[\lambda = a + b*T + c*T^2\]- Parameters:
Temp (float) – Temperature in K, single value or NumPy array.
coef (float) – List of coefficients, typically automatically extracted from YAML DB.
- Returns:
Thermal conductivity in W/(m K), single value or NumPy array.
- Return type:
float
- Raises:
LookupError – If not all required keys/values are present in the coef dictionary.
References
International Atomic Energy Agency, 2008. Thermophysical properties of materials for nuclear engineering: A tutorial and collection of data. International Atomic Energy Agency, Vienna.
- yamdb.properties.thermal_conductivity.Sobolev2011(Temp, coef)[source]
Return thermal conductivity according to OECDNEA (2015).
126, eq. (2.91)
\[\lambda = a + b*T + c*T^2\]- Parameters:
Temp (float) – Temperature in K, single value or NumPy array.
coef (float) – List of coefficients, typically automatically extracted from YAML DB.
- Returns:
Thermal conductivity in W/(m K), single value or NumPy array.
- Return type:
float
- Raises:
LookupError – If not all required keys/values are present in the coef dictionary.
References
Sobolev, V., 2011. Database of thermophysical properties of liquid metal coolants for GEN-IV (No. SCK•CEN-BLG-1069). SCK•CEN.
- yamdb.properties.thermal_conductivity.SquareRoot(Temp, coef)[source]
Return fit function value of lambda.
originally for Cs data of Iida, Guthrie (2015) p. 536, Tab. 17.11
\[\lambda = a + b*T + c*\sqrt{T}\]- Parameters:
Temp (float) – Temperature in K, single value or NumPy array.
coef (float) – List of coefficients, typically automatically extracted from YAML DB.
- Returns:
Thermal conductivity in W/(m K), single value or NumPy array.
- Return type:
float
- Raises:
LookupError – If not all required keys/values are present in the coef dictionary.
References
Iida, T., Guthrie, R.I.L., 2015. The thermophysical properties of metallic liquids. Oxford University Press, Oxford.
- yamdb.properties.thermal_conductivity.Touloukian1970b(Temp, coef)[source]
Return thermal conductivity according to OECDNEA (2015).
125, eq. (2.90)
\[\lambda = a + b*T\]- Parameters:
Temp (float) – Temperature in K, single value or NumPy array.
coef (float) – List of coefficients, typically automatically extracted from YAML DB.
- Returns:
Thermal conductivity in W/(m K), single value or NumPy array.
- Return type:
float
- Raises:
LookupError – If not all required keys/values are present in the coef dictionary.
References
OECD Nuclear Energy Agency, Nuclear Science Committee, 2015. Handbook on lead-bismuth eutectic alloy and lead properties, materials compatibility, thermal-hydraulics and technologies. OECD/NEA/NSC.
yamdb.properties.vapour_pressure module
Implements the vapour_pressure methods.
- yamdb.properties.vapour_pressure.IAEA2008(Temp, coef)[source]
Return vapour pressure according to IAEA (2008).
87, eq. (3.36)
\[\ln(pv) = a + b/T + c*\ln(T) + d\]- Parameters:
Temp (float) – Temperature in K, single value or NumPy array.
coef (float) – List of coefficients, typically automatically extracted from YAML DB.
- Returns:
Vapour pressure in Pa, single value or NumPy array.
- Return type:
float
- Raises:
LookupError – If not all required keys/values are present in the coef dictionary.
References
International Atomic Energy Agency, 2008. Thermophysical properties of materials for nuclear engineering: A tutorial and collection of data. International Atomic Energy Agency, Vienna.
- yamdb.properties.vapour_pressure.IidaGuthrie2015(Temp, coef)[source]
Return vapour pressure according to Iida, Guthrie (2015).
514ff, Tab. 17.5
\[\log(pv) = A + B/T + C*\log(T)\]- Parameters:
Temp (float) – Temperature in K, single value or NumPy array.
coef (float) – List of coefficients, typically automatically extracted from YAML DB.
- Returns:
Vapour pressure in Pa, single value or NumPy array.
- Return type:
float
- Raises:
LookupError – If not all required keys/values are present in the coef dictionary.
References
Iida, T., Guthrie, R.I.L., 2015. The thermophysical properties of metallic liquids. Oxford University Press, Oxford.
- yamdb.properties.vapour_pressure.Ohse1985(Temp, coef)[source]
Return vapour pressure according to Ohse (1985).
355, Tab. 6
\[\ln(pv) = A + B/T + C*\ln(T)\]- Parameters:
Temp (float) – Temperature in K, single value or NumPy array.
coef (float) – List of coefficients, typically automatically extracted from YAML DB.
- Returns:
Vapour pressure in Pa, single value or NumPy array.
- Return type:
float
- Raises:
LookupError – If not all required keys/values are present in the coef dictionary.
References
Ohse, R.W. (Ed.), 1985. Handbook of thermodynamic and transport properties of alkali metals, International union of pure and applied chemistry chemical data series. Blackwell Scientific Publications, Oxford, London, Edinburgh, Boston, Palo Alto, Melbourne.
- yamdb.properties.vapour_pressure.Sobolev2011(Temp, coef)[source]
Return vapour pressure according to OECDNEA (2015).
53, eq. (2.17)
pv = a*exp(b/T)
- Parameters:
Temp (float) – Temperature in K, single value or NumPy array.
coef (float) – List of coefficients, typically automatically extracted from YAML DB.
- Returns:
Vapour pressure in Pa, single value or NumPy array.
- Return type:
float
- Raises:
LookupError – If not all required keys/values are present in the coef dictionary.
References
Sobolev, V., 2011. Database of thermophysical properties of liquid metal coolants for GEN-IV (No. SCK•CEN-BLG-1069). SCK•CEN.