Spaces:
Sleeping
Sleeping
| """Material preset database with real engineering alloy properties. | |
| All values from ASM International or manufacturer datasheets. | |
| Properties are at room temperature (20-25C) unless noted. | |
| """ | |
| MATERIAL_PRESETS: dict[str, dict[str, float]] = { | |
| "ASTM A36 Steel": { | |
| "elastic_modulus": 200e9, | |
| "poisson_ratio": 0.26, | |
| "yield_strength": 250e6, | |
| "density": 7850.0, | |
| }, | |
| "AISI 304 Stainless Steel": { | |
| "elastic_modulus": 193e9, | |
| "poisson_ratio": 0.29, | |
| "yield_strength": 215e6, | |
| "density": 8000.0, | |
| }, | |
| "AISI 316L Stainless Steel": { | |
| "elastic_modulus": 193e9, | |
| "poisson_ratio": 0.30, | |
| "yield_strength": 170e6, | |
| "density": 7990.0, | |
| }, | |
| "Aluminum 6061-T6": { | |
| "elastic_modulus": 68.9e9, | |
| "poisson_ratio": 0.33, | |
| "yield_strength": 276e6, | |
| "density": 2700.0, | |
| }, | |
| "Aluminum 7075-T6": { | |
| "elastic_modulus": 71.7e9, | |
| "poisson_ratio": 0.33, | |
| "yield_strength": 503e6, | |
| "density": 2810.0, | |
| }, | |
| "Ti-6Al-4V (Grade 5)": { | |
| "elastic_modulus": 113.8e9, | |
| "poisson_ratio": 0.342, | |
| "yield_strength": 880e6, | |
| "density": 4430.0, | |
| }, | |
| "Copper C11000": { | |
| "elastic_modulus": 115e9, | |
| "poisson_ratio": 0.34, | |
| "yield_strength": 69e6, | |
| "density": 8940.0, | |
| }, | |
| "Inconel 718": { | |
| "elastic_modulus": 200e9, | |
| "poisson_ratio": 0.30, | |
| "yield_strength": 1034e6, | |
| "density": 8190.0, | |
| }, | |
| "Custom": { | |
| "elastic_modulus": 200e9, | |
| "poisson_ratio": 0.30, | |
| "yield_strength": 250e6, | |
| "density": 7850.0, | |
| }, | |
| } | |
| MATERIAL_NAMES = list(MATERIAL_PRESETS.keys()) | |