diff --git a/src/data/C.json b/src/data/C.json new file mode 100755 index 0000000..90c4190 --- /dev/null +++ b/src/data/C.json @@ -0,0 +1,19 @@ +{ + "Name": "Diamond", + "Name_de": "Diamant", + "Formula": "C", + "Mechanical Properties": { + "T": ["20-25", "°C"], + "rho": ["3515±15", "kg/m³"], + "E": [800, "GPa"], + "R_m'": [442, "MPa"], + "Hardness": { + "HM": 10 + } + }, + "Thermodynamic Properties": { + "Crystal": { + "lambda": ["1610±710", "W/m/K"] + } + } +} diff --git a/src/data/Fe99.85.json b/src/data/Fe99.85.json new file mode 100755 index 0000000..880a5ae --- /dev/null +++ b/src/data/Fe99.85.json @@ -0,0 +1,16 @@ +{ + "Name": "Armco", + "Formula": "Fe99.85", + "Mechanical Properties": { + "T": ["20-25", "°C"], + "rho": [7860, "kg/m³"], + "Annotation": "Material way too soft for mechanical processing" + }, + "Source": [ + { + "Type": "Web", + "Author": "AK Steel International", + "URL": "http://www.aksteel.de/1-produkte/0-reineisen/0-eigenschaften.html" + } + ] +} diff --git a/src/data/FeC0.05Cr18Ni10.json b/src/data/FeC0.05Cr18Ni10.json new file mode 100755 index 0000000..d2eaa48 --- /dev/null +++ b/src/data/FeC0.05Cr18Ni10.json @@ -0,0 +1,21 @@ +{ + "Name": "FeC0.05Cr18Ni10", + "Name_de": "V2A", + "Formula": "FeC0.05Cr18Ni10", + "Standard": { + "ISO": "X5CrNi18-10", + "WERKSTOFFNUMMER": "1.4301", + "SAE": "304", + "Type": "Austenitic stainless steel grades" + }, + "Mechanical Properties": { + "T": ["20-25", "°C"], + "Annotation": "Most common type of alloy of a stainless steel (33%). Relatively soft, nickel-containing, non-ferromagnetic austenitic steel. Products: pots, cutlery (except knife blades), sink. See also 1.4307." + }, + "Source": [ + { + "Type": "Web", + "URL": "https://de.wikipedia.org/wiki/Rostfreier_Stahl#Werkstoffnummer_1.4301_%E2%80%93_X5CrNi18-10" + } + ] +} diff --git a/src/data/FeNi36.json b/src/data/FeNi36.json new file mode 100755 index 0000000..ecb85b8 --- /dev/null +++ b/src/data/FeNi36.json @@ -0,0 +1,23 @@ +{ + "Name": "Invar", + "Formula": "FeNi36", + "Standard": { + "ISO": "FeNi36", + "WERKSTOFFNUMMER": "1.3912" + }, + "Mechanical Properties": { + "T": ["20-25", "°C"], + "rho": [8000, "kg/m³"], + "E": ["145±5", "GPa"], + "R_m": ["520±70", "MPa"], + "Hardness": { + "HB": [160, "MPa"] + } + }, + "Thermodynamic Properties": { + "Crystal": { + "alpha": ["1.85±0.15", "µm/m/K"], + "lambda": [13, "W/m/K"] + } + } +} diff --git a/src/data/INFO.json b/src/data/INFO.json index c4a5c7e..b87b260 100644 --- a/src/data/INFO.json +++ b/src/data/INFO.json @@ -9,7 +9,7 @@ "DIN1725": "DIN 1725 number", "EN-AW": "DIN EN 573-3 Standard Aluminium and aluminium alloys", "WERKSTOFFNUMMER": "DIN Werkstoffnummer", - "SAE": "AISI/SAE steel grade", + "SAE": "AISI/SAE steel grade. The 'L' in SAE grades means that the carbon content of the alloy is below 0.03%.", "Type": [ "Aluminium:", "- Pure aluminium", diff --git a/src/data/Ti.json b/src/data/Ti.json new file mode 100755 index 0000000..05768e5 --- /dev/null +++ b/src/data/Ti.json @@ -0,0 +1,23 @@ +{ + "Name": "Titanium", + "Name_de": "Titan", + "Formula": "Ti", + "Mechanical Properties": { + "T": ["20-25", "°C"], + "rho": [4506, "kg/m³"], + "E": [116, "GPa"], + "G": [44, "GPa"], + "K": [110, "GPa"], + "nu": 0.32, + "Hardness": { + "HM": 6, + "HB": [716, "MPa"], + "HV": [970, "MPa"] + } + }, + "Thermodynamic Properties": { + "Crystal": { + "lambda": [21.9, "W/m/K"] + } + } +} diff --git a/src/data/example.json b/src/data/example.json index 56805c3..7295952 100644 --- a/src/data/example.json +++ b/src/data/example.json @@ -8,7 +8,7 @@ "DIN1725": "AlMg4.5Mn", "EN-AW": "5083", "WERKSTOFFNUMMER": "3.3547", - "SAE": "AISI/SAE steel grade", + "SAE": "304", "Type": "non heat-treatable" }, "Mol. weight": 26.982, @@ -75,6 +75,12 @@ "Title": "Handbuch Knetwerkstoffe", "Year": 2010, "URL": "http://www.eloxal-muenchen.de/downloads/Handbuch_Knetwerkstoffe.pdf" + }, + { + "Type": "Web", + "Author": "Anemo Engineering bvba", + "Title": "What is V2A and V4A stainless steel?", + "URL": "https://anemo.eu/what-v2a-and-v4a-stainless-steel" } ] } diff --git a/src/materials.py b/src/materials.py index ea2a65b..46cf42d 100755 --- a/src/materials.py +++ b/src/materials.py @@ -219,7 +219,7 @@ def main(): file, _ = os.path.splitext(os.path.basename(filename)) print(file) data = read_file(filename) - data_dict = search_keys(data, ['Name', 'EN-AW', 'WERKSTOFFNUMMER']) + data_dict = search_keys(data, ['Name', 'ISO', 'EN-AW', 'WERKSTOFFNUMMER', 'SAE']) print_dict(data_dict, False, 2) elif args.command == 'get':