rename some keys

This commit is contained in:
2019-02-05 23:26:08 +01:00
parent 35f24942b6
commit 4b57622e51
3 changed files with 195 additions and 192 deletions

View File

@@ -15,25 +15,25 @@
"p": "pressure",
"rho": "Density at pressure p and temperature T",
"T": "Temperature",
"Tm": "Normal melting point at pressure p",
"Tb": "Normal boiling point at vapor pressure p"
"T_m": "Normal melting point at pressure p",
"T_b": "Normal boiling point at vapor pressure p"
},
"rho(T)": {
"rho_m": "Estimated density at higher temperatures (up to Tmax or about 20°C): \\[\\rho(T)=\\rho\\ti{m}-k(T-T_m)\\]",
"k": "",
"Tmax": "The maximum temperature for the estimated density"
"T_max": "The maximum temperature for the estimated density"
},
"p_b(T)": "Vapor pressure \\(p\\) in pascals: \\[\\log(p/Pa) = 5.006 + A + BT^{-1} + C\\log{T} + DT^3\\] where temperature T in K; p. 6-72",
"Electromagnetic Data": {
"chi_m": "Magnetic susceptibility; Molar susceptibility \\[\\chi\\ti{m} = \\kappa V\\ti{m} = \\kappa M / \\rho \\] where \\(\\kappa\\) is the volume susceptibility, \\(V\\ti{m}\\) is the molar volume of the substance, \\(M\\) the molar mass, and \\(\\rho\\) the mass density. \\(\\kappa = \\bold{M}/\\bold{H}\\) where \\(\\bold{H}\\) is the magnetic filed and \\(\\bold{M}\\) is magnetic moment per unit volume.",
"Electrical conductivity": ""
"sigma": "Electrical conductivity"
},
"Mechanical Properties": {
"Temperature": "Reference temperature",
"Density": "Density",
"Young modulus": "Module of elasticity",
"Yield strength": "R_{p0.2}",
"Ultimate tensile strength": "R_m",
"T": "Reference temperature",
"rho": "Density",
"E": "Young modulus, module of elasticity",
"R_p02": "Yield strength R_e, R_{p0.2}",
"R_m": "Ultimate tensile strength R_m",
"Elongation": "A_5",
"Hardness": {
"HBW": ""
@@ -41,7 +41,8 @@
},
"Thermodynamic Properties": {
"Crystal, Liquid, Gas": {
"Coefficient of thermal expansion": "",
"alpha": "Coefficient of thermal expansion",
"k": "Thermal conductivity",
"Delta_f H°": "Standard molar enthalpy (heat) of formation at 298.15 K in kJ/mol. 0.0 indicates the reference state.",
"Delta_f G°": "Standard molar Gibbs energy of formation at 298.15 K in kJ/mol",
"S°": "Standard molar entropy at 298.15 K in J/mol/K",
@@ -96,14 +97,14 @@
},
"Electromagnetic Data": {
"chi_m": [16.5e-6, "cm³/mol"],
"Electrical conductivity": ["16-18", "m/Ω/mm²"]
"sigma": ["16-18", "m/Ω/mm²"]
},
"Mechanical Properties": {
"Temperature": ["20-25", "°C"],
"Density": [2.66, "g/cm³"],
"Young modulus": [70, "GPa"],
"Yield strength": ["110-130", "MPa"],
"Ultimate tensile strength": ["230-290", "MPa"],
"T": ["20-25", "°C"],
"rho": [2.66, "g/cm³"],
"E": [70, "GPa"],
"R_p02": ["110-130", "MPa"],
"R_m": ["230-290", "MPa"],
"Elongation": ["10-15", "%"],
"Hardness": {
"HBW": ["68-75", "2.5/62.5"]
@@ -111,7 +112,9 @@
},
"Thermodynamic Properties": {
"Crystal": {
"Coefficient of thermal expansion": [23.3, "m/µm/K"]
"alpha": [23.3, "m/µm/K"],
"k": ["110-130", "W/m/K"],
"cp": [900, "J/kg/K"]
}
},
"Source": [

View File

@@ -1,5 +1,4 @@
[
{
[{
"Name": "Aluminum",
"Formula": "Al",
"CAS Reg No.": "7429-90-5",
@@ -11,40 +10,40 @@
"Equilibrium": [
{
"p": [1, "Pa"],
"Tb": [1209, "°C"]
"T_b": [1209, "°C"]
},
{
"p": [10, "Pa"],
"Tb": [1359, "°C"]
"T_b": [1359, "°C"]
},
{
"p": [100, "Pa"],
"Tb": [1544, "°C"]
"T_b": [1544, "°C"]
},
{
"p": [1, "kPa"],
"Tb": [1781, "°C"]
"T_b": [1781, "°C"]
},
{
"p": [10, "kPa"],
"Tb": [2091, "°C"]
"T_b": [2091, "°C"]
},
{
"p": [100, "kPa"],
"Tb": [2517, "°C"]
"T_b": [2517, "°C"]
},
{
"p": [101.325, "kPa"],
"rho": [2.70, "g/cm³"],
"T": [25, "°C"],
"Tm": [660.32, "°C"],
"Tb": [2519, "°C"]
"T_m": [660.32, "°C"],
"T_b": [2519, "°C"]
}
],
"rho(T)": {
"rho_m": [2.375, "g/cm³"],
"k": [0.000233, "g/cm³/°C"],
"Tmax": [1340, "°C"]
"T_max": [1340, "°C"]
},
"p_b(T)": {
"Solid": {
@@ -81,10 +80,10 @@
"Cp": [21.4, "J/mol/K"]
},
"Delta_vap H": [
[
[2519, "°C"],
[294, "kJ/mol"]
]
{
"T": [2519, "°C"],
"Delta_vap H": [294, "kJ/mol"]
}
],
"Delta_fus H": [10.71, "kJ/mol"]
},
@@ -107,22 +106,22 @@
"C44": [0.2834e11, "N/m²"]
},
"Dynamic viscosity mu(T)": [
[
[700, "°C"],
[1.289, "mPa s"]
],
[
[750, "°C"],
[1.200, "mPa s"]
],
[
[800, "°C"],
[1.115, "mPa s"]
],
[
[850, "°C"],
[1.028, "mPa s"]
]
{
"T": [700, "°C"],
"mu": [1.289, "mPa s"]
},
{
"T": [750, "°C"],
"mu": [1.200, "mPa s"]
},
{
"T": [800, "°C"],
"mu": [1.115, "mPa s"]
},
{
"T": [850, "°C"],
"mu": [1.028, "mPa s"]
}
],
"Human": {
"Constituents of Human Blood": {
@@ -163,14 +162,14 @@
"Temper": "homogenized and stress relieved, O3"
},
"Electromagnetic Data": {
"Electrical conductivity": ["16-18", "m/Ω/mm²"]
"sigma": ["16-18", "m/Ω/mm²"]
},
"Mechanical Properties": {
"Temperature": ["20-25", "°C"],
"Density": [2.66, "g/cm³"],
"Young modulus": [70, "GPa"],
"Yield strength": ["110-130", "MPa"],
"Ultimate tensile strength": ["230-290", "MPa"],
"T": ["20-25", "°C"],
"rho": [2.66, "g/cm³"],
"E": [70, "GPa"],
"R_p02": ["110-130", "MPa"],
"R_m": ["230-290", "MPa"],
"Elongation": ["10-15", "%"],
"Hardness": {
"HBW": ["68-75", "2.5/62.5"]
@@ -178,12 +177,13 @@
},
"Thermodynamic Properties": {
"Crystal": {
"Coefficient of thermal expansion": [23.3, "m/µm/K"]
"alpha": [23.3, "m/µm/K"],
"k": ["110-130", "W/m/K"],
"cp": [900, "J/kg/K"]
}
},
"Source": {
"Type": "Web",
"URL": "https://gleich.de/en/wp-content/uploads/sites/4/2016/10/en_g.al_c250.pdf"
}
}
]
}]

View File

@@ -112,7 +112,7 @@ def main():
action='append_const', const="rho",
help='get density from material')
parser_material.add_argument('-T', '--Tm', dest='const_collection',
action='append_const', const="Tm",
action='append_const', const="T_m",
help='get melting point temperature')
args = parser.parse_args()