import type { Damping, Material, PlateGeometry } from "./types"; /** * Material presets. Values are room-temperature handbook figures for the named * alloy (ASM Handbook, MatWeb, Copper Development Association) and are typical * rather than certified: real stock varies by a few percent in E and rho. * The damping values are illustrative starting points in the two-parameter * loss model, not measurements; damping in a real plate depends heavily on the * mounting. */ export interface MaterialPreset { id: string; material: Material; damping: Damping; /** Where the numbers come from and what they do not capture */ source: string; } export const MATERIAL_PRESETS: MaterialPreset[] = [ { id: "a36-steel", material: { name: "A36 structural steel", E: 200e9, nu: 0.26, rho: 7850 }, damping: { sigma0: 1.0, sigma1: 0.005 }, source: "ASTM A36 hot-rolled plate; E and nu typical of low-carbon steel.", }, { id: "304-stainless", material: { name: "304 stainless steel", E: 193e9, nu: 0.29, rho: 8000 }, damping: { sigma0: 1.0, sigma1: 0.005 }, source: "Annealed 304 sheet, typical values.", }, { id: "6061-t6", material: { name: "6061-T6 aluminium", E: 68.9e9, nu: 0.33, rho: 2700 }, damping: { sigma0: 1.2, sigma1: 0.006 }, source: "6061-T6 sheet and plate, typical values.", }, { id: "c260-brass", material: { name: "C260 cartridge brass", E: 110e9, nu: 0.375, rho: 8530 }, damping: { sigma0: 1.0, sigma1: 0.006 }, source: "70/30 brass, half-hard sheet, typical values.", }, { id: "ti-6al-4v", material: { name: "Ti-6Al-4V titanium", E: 113.8e9, nu: 0.342, rho: 4430 }, damping: { sigma0: 0.8, sigma1: 0.004 }, source: "Annealed Grade 5 titanium sheet, typical values.", }, { id: "b20-bronze", material: { name: "B20 bell bronze (CuSn20)", E: 105e9, nu: 0.34, rho: 8800 }, damping: { sigma0: 0.4, sigma1: 0.002 }, source: "Bell and cymbal bronze with about 20% tin; E ranges 100 to 110 GPa depending on the casting and working. Low damping is what makes it ring.", }, { id: "b8-bronze", material: { name: "B8 bronze (CuSn8)", E: 110e9, nu: 0.34, rho: 8800 }, damping: { sigma0: 0.5, sigma1: 0.0025 }, source: "8% tin bronze used for cymbals and as phosphor bronze sheet; typical values.", }, { id: "1095-spring-steel", material: { name: "1095 spring steel (bar stock)", E: 205e9, nu: 0.29, rho: 7850 }, damping: { sigma0: 0.5, sigma1: 0.003 }, source: "High-carbon steel used for glockenspiel and chime bars; E and rho typical of carbon steel.", }, ]; export interface PlatePreset { id: string; name: string; plate: PlateGeometry; /** Notes on what this stands in for */ note: string; } const inch = 0.0254; export const PLATE_PRESETS: PlatePreset[] = [ { id: "sheet-300x200x2", name: "300 x 200 x 2 mm sheet", plate: { shape: "rectangle", Lx: 0.3, Ly: 0.2, h: 0.002 }, note: "A common cut-to-size sheet; the default problem.", }, { id: "sheet-12x12x1-8in", name: "12 x 12 x 1/8 in plate", plate: { shape: "rectangle", Lx: 12 * inch, Ly: 12 * inch, h: inch / 8 }, note: "Square stock in imperial sizes.", }, { id: "sheet-500x300x1", name: "500 x 300 x 1 mm sheet", plate: { shape: "rectangle", Lx: 0.5, Ly: 0.3, h: 0.001 }, note: "Thin and large: many modes below 20 kHz, expensive for finite differences.", }, { id: "disk-300x2", name: "Disk, 300 mm diameter x 2 mm", plate: { shape: "ellipse", Lx: 0.3, Ly: 0.3, h: 0.002 }, note: "A round blank. Free edges and an off-centre strike give the classic Chladni disk; only the finite-difference methods handle the shape.", }, { id: "ellipse-300x200x2", name: "Elliptical plate, 300 x 200 x 2 mm", plate: { shape: "ellipse", Lx: 0.3, Ly: 0.2, h: 0.002 }, note: "The default sheet cut to an ellipse: same box, same strike, less plate. Compare the two.", }, { id: "cymbal-flat-400x1p2", name: "Flat cymbal stand-in, 400 mm diameter x 1.2 mm", plate: { shape: "ellipse", Lx: 0.4, Ly: 0.4, h: 0.0012 }, note: "A cymbal is a disk, free at the rim and held at the centre: choose the pinned-centre edge condition. What this flat disk leaves out is the curvature (a real cymbal is a shallow cone with a raised bell) and the taper in thickness.", }, { id: "glockenspiel-bar", name: "Glockenspiel bar, 200 x 32 x 6 mm", plate: { shape: "rectangle", Lx: 0.2, Ly: 0.032, h: 0.006 }, note: "Real bars are free at both ends and rest on nodal supports; supported or clamped edges give different frequencies. Thickness is a fifth of the width, at the edge of thin-plate validity.", }, ];