Study Interview Mode is now the DEFAULT for all study creation requests. This intelligent Q&A system guides users through optimization setup with: - 7-phase interview flow: introspection → objectives → constraints → design_variables → validation → review → complete - Material-aware validation with 12 materials and fuzzy name matching - Anti-pattern detection for 12 common mistakes (mass-no-constraint, stress-over-yield, etc.) - Auto extractor mapping E1-E24 based on goal keywords - State persistence with JSON serialization and backup rotation - StudyBlueprint generation with full validation Triggers: "create a study", "new study", "optimize this", any study creation intent Skip with: "skip interview", "quick setup", "manual config" Components: - StudyInterviewEngine: Main orchestrator - QuestionEngine: Conditional logic evaluation - EngineeringValidator: MaterialsDatabase + AntiPatternDetector - InterviewPresenter: Markdown formatting for Claude - StudyBlueprint: Validated configuration output - InterviewState: Persistent state management All 129 tests passing. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
263 lines
8.0 KiB
JSON
263 lines
8.0 KiB
JSON
{
|
|
"version": "1.0",
|
|
"description": "Common engineering materials database for validation and guidance",
|
|
"materials": [
|
|
{
|
|
"id": "al_6061_t6",
|
|
"names": ["aluminum 6061-t6", "al6061-t6", "6061-t6", "al 6061", "6061 aluminum", "aa6061-t6"],
|
|
"category": "aluminum",
|
|
"properties": {
|
|
"density_kg_m3": 2700,
|
|
"yield_stress_mpa": 276,
|
|
"ultimate_stress_mpa": 310,
|
|
"elastic_modulus_gpa": 68.9,
|
|
"shear_modulus_gpa": 26,
|
|
"poisson_ratio": 0.33,
|
|
"fatigue_limit_mpa": 96,
|
|
"thermal_conductivity_w_mk": 167,
|
|
"cte_per_k": 23.6e-6
|
|
},
|
|
"notes": "Common aerospace aluminum alloy. Good machinability, corrosion resistance.",
|
|
"recommended_safety_factors": {
|
|
"static": 1.5,
|
|
"fatigue": 3.0,
|
|
"aerospace": 2.0
|
|
}
|
|
},
|
|
{
|
|
"id": "al_2024_t3",
|
|
"names": ["aluminum 2024-t3", "al2024-t3", "2024-t3", "al 2024", "2024 aluminum"],
|
|
"category": "aluminum",
|
|
"properties": {
|
|
"density_kg_m3": 2780,
|
|
"yield_stress_mpa": 345,
|
|
"ultimate_stress_mpa": 483,
|
|
"elastic_modulus_gpa": 73.1,
|
|
"shear_modulus_gpa": 28,
|
|
"poisson_ratio": 0.33,
|
|
"fatigue_limit_mpa": 138,
|
|
"thermal_conductivity_w_mk": 121,
|
|
"cte_per_k": 23.2e-6
|
|
},
|
|
"notes": "High-strength aerospace aluminum. Excellent fatigue resistance.",
|
|
"recommended_safety_factors": {
|
|
"static": 1.5,
|
|
"fatigue": 2.5,
|
|
"aerospace": 2.0
|
|
}
|
|
},
|
|
{
|
|
"id": "al_7075_t6",
|
|
"names": ["aluminum 7075-t6", "al7075-t6", "7075-t6", "al 7075", "7075 aluminum"],
|
|
"category": "aluminum",
|
|
"properties": {
|
|
"density_kg_m3": 2810,
|
|
"yield_stress_mpa": 503,
|
|
"ultimate_stress_mpa": 572,
|
|
"elastic_modulus_gpa": 71.7,
|
|
"shear_modulus_gpa": 26.9,
|
|
"poisson_ratio": 0.33,
|
|
"fatigue_limit_mpa": 159,
|
|
"thermal_conductivity_w_mk": 130,
|
|
"cte_per_k": 23.4e-6
|
|
},
|
|
"notes": "Very high strength aluminum. Used in aircraft structures.",
|
|
"recommended_safety_factors": {
|
|
"static": 1.5,
|
|
"fatigue": 2.5,
|
|
"aerospace": 2.0
|
|
}
|
|
},
|
|
{
|
|
"id": "steel_304",
|
|
"names": ["stainless steel 304", "ss304", "304 stainless", "304ss", "aisi 304"],
|
|
"category": "steel",
|
|
"properties": {
|
|
"density_kg_m3": 8000,
|
|
"yield_stress_mpa": 215,
|
|
"ultimate_stress_mpa": 505,
|
|
"elastic_modulus_gpa": 193,
|
|
"shear_modulus_gpa": 77,
|
|
"poisson_ratio": 0.29,
|
|
"fatigue_limit_mpa": 240,
|
|
"thermal_conductivity_w_mk": 16.2,
|
|
"cte_per_k": 17.3e-6
|
|
},
|
|
"notes": "Austenitic stainless steel. Excellent corrosion resistance.",
|
|
"recommended_safety_factors": {
|
|
"static": 1.5,
|
|
"fatigue": 2.5
|
|
}
|
|
},
|
|
{
|
|
"id": "steel_316",
|
|
"names": ["stainless steel 316", "ss316", "316 stainless", "316ss", "aisi 316"],
|
|
"category": "steel",
|
|
"properties": {
|
|
"density_kg_m3": 8000,
|
|
"yield_stress_mpa": 290,
|
|
"ultimate_stress_mpa": 580,
|
|
"elastic_modulus_gpa": 193,
|
|
"shear_modulus_gpa": 77,
|
|
"poisson_ratio": 0.29,
|
|
"fatigue_limit_mpa": 260,
|
|
"thermal_conductivity_w_mk": 16.3,
|
|
"cte_per_k": 16e-6
|
|
},
|
|
"notes": "Marine grade stainless steel. Superior corrosion resistance to 304.",
|
|
"recommended_safety_factors": {
|
|
"static": 1.5,
|
|
"fatigue": 2.5
|
|
}
|
|
},
|
|
{
|
|
"id": "steel_4340",
|
|
"names": ["steel 4340", "4340 steel", "aisi 4340", "4340"],
|
|
"category": "steel",
|
|
"properties": {
|
|
"density_kg_m3": 7850,
|
|
"yield_stress_mpa": 862,
|
|
"ultimate_stress_mpa": 1034,
|
|
"elastic_modulus_gpa": 205,
|
|
"shear_modulus_gpa": 80,
|
|
"poisson_ratio": 0.29,
|
|
"fatigue_limit_mpa": 480,
|
|
"thermal_conductivity_w_mk": 44.5,
|
|
"cte_per_k": 12.3e-6
|
|
},
|
|
"notes": "High strength alloy steel. Heat treatable.",
|
|
"recommended_safety_factors": {
|
|
"static": 1.5,
|
|
"fatigue": 2.5
|
|
}
|
|
},
|
|
{
|
|
"id": "steel_a36",
|
|
"names": ["steel a36", "a36 steel", "astm a36", "a36", "structural steel"],
|
|
"category": "steel",
|
|
"properties": {
|
|
"density_kg_m3": 7850,
|
|
"yield_stress_mpa": 250,
|
|
"ultimate_stress_mpa": 400,
|
|
"elastic_modulus_gpa": 200,
|
|
"shear_modulus_gpa": 79,
|
|
"poisson_ratio": 0.26,
|
|
"fatigue_limit_mpa": 160,
|
|
"thermal_conductivity_w_mk": 51.9,
|
|
"cte_per_k": 11.7e-6
|
|
},
|
|
"notes": "Common structural steel. Low cost, good weldability.",
|
|
"recommended_safety_factors": {
|
|
"static": 1.67,
|
|
"fatigue": 3.0
|
|
}
|
|
},
|
|
{
|
|
"id": "ti_6al_4v",
|
|
"names": ["titanium 6al-4v", "ti-6al-4v", "ti64", "ti 6-4", "grade 5 titanium"],
|
|
"category": "titanium",
|
|
"properties": {
|
|
"density_kg_m3": 4430,
|
|
"yield_stress_mpa": 880,
|
|
"ultimate_stress_mpa": 950,
|
|
"elastic_modulus_gpa": 113.8,
|
|
"shear_modulus_gpa": 44,
|
|
"poisson_ratio": 0.342,
|
|
"fatigue_limit_mpa": 500,
|
|
"thermal_conductivity_w_mk": 6.7,
|
|
"cte_per_k": 8.6e-6
|
|
},
|
|
"notes": "Common aerospace titanium alloy. Excellent strength-to-weight ratio.",
|
|
"recommended_safety_factors": {
|
|
"static": 1.5,
|
|
"fatigue": 2.5,
|
|
"aerospace": 2.0
|
|
}
|
|
},
|
|
{
|
|
"id": "ti_cp_grade2",
|
|
"names": ["titanium grade 2", "cp titanium", "commercially pure titanium", "ti grade 2"],
|
|
"category": "titanium",
|
|
"properties": {
|
|
"density_kg_m3": 4510,
|
|
"yield_stress_mpa": 275,
|
|
"ultimate_stress_mpa": 345,
|
|
"elastic_modulus_gpa": 105,
|
|
"shear_modulus_gpa": 40,
|
|
"poisson_ratio": 0.37,
|
|
"fatigue_limit_mpa": 160,
|
|
"thermal_conductivity_w_mk": 16.4,
|
|
"cte_per_k": 8.4e-6
|
|
},
|
|
"notes": "Commercially pure titanium. Good corrosion resistance, formability.",
|
|
"recommended_safety_factors": {
|
|
"static": 1.5,
|
|
"fatigue": 2.5
|
|
}
|
|
},
|
|
{
|
|
"id": "inconel_718",
|
|
"names": ["inconel 718", "in718", "alloy 718", "nickel 718"],
|
|
"category": "nickel_alloy",
|
|
"properties": {
|
|
"density_kg_m3": 8190,
|
|
"yield_stress_mpa": 1100,
|
|
"ultimate_stress_mpa": 1375,
|
|
"elastic_modulus_gpa": 200,
|
|
"shear_modulus_gpa": 77,
|
|
"poisson_ratio": 0.29,
|
|
"fatigue_limit_mpa": 600,
|
|
"thermal_conductivity_w_mk": 11.4,
|
|
"cte_per_k": 13e-6
|
|
},
|
|
"notes": "Nickel superalloy. Excellent high-temperature properties.",
|
|
"recommended_safety_factors": {
|
|
"static": 1.5,
|
|
"fatigue": 2.5
|
|
}
|
|
},
|
|
{
|
|
"id": "zerodur",
|
|
"names": ["zerodur", "schott zerodur", "zerodur glass ceramic"],
|
|
"category": "glass_ceramic",
|
|
"properties": {
|
|
"density_kg_m3": 2530,
|
|
"yield_stress_mpa": null,
|
|
"ultimate_stress_mpa": 50,
|
|
"elastic_modulus_gpa": 90.3,
|
|
"shear_modulus_gpa": 36.3,
|
|
"poisson_ratio": 0.24,
|
|
"fatigue_limit_mpa": null,
|
|
"thermal_conductivity_w_mk": 1.46,
|
|
"cte_per_k": 0.05e-6
|
|
},
|
|
"notes": "Ultra-low expansion glass ceramic for optics. Brittle - tensile stress limit only.",
|
|
"recommended_safety_factors": {
|
|
"static": 4.0,
|
|
"optical": 8.0
|
|
}
|
|
},
|
|
{
|
|
"id": "cfrp_unidirectional",
|
|
"names": ["carbon fiber", "cfrp", "carbon fiber reinforced polymer", "cfrp ud"],
|
|
"category": "composite",
|
|
"properties": {
|
|
"density_kg_m3": 1600,
|
|
"yield_stress_mpa": null,
|
|
"ultimate_stress_mpa": 1500,
|
|
"elastic_modulus_gpa": 135,
|
|
"shear_modulus_gpa": 5,
|
|
"poisson_ratio": 0.3,
|
|
"fatigue_limit_mpa": 600,
|
|
"thermal_conductivity_w_mk": 5,
|
|
"cte_per_k": -0.5e-6
|
|
},
|
|
"notes": "Unidirectional carbon fiber. Properties in fiber direction. Highly anisotropic.",
|
|
"recommended_safety_factors": {
|
|
"static": 2.0,
|
|
"fatigue": 3.0
|
|
}
|
|
}
|
|
]
|
|
}
|