jax-modal-analysis

Solid

3D tetrahedral FEM modal analysis of a membrane STL. Takes a binary STL (mm units) + material properties JSON, repairs surface mesh, generates tetrahedral volume mesh via TetGen, assembles 3D stiffness/mass matrices with jax-fem, solves the generalised eigenvalue problem, and reports eigenfrequencies + mode shapes. Returns artifact JSON with eigenfrequencies_hz, eigenfrequencies_khz, modes_in_range, target_range_pass, and paths to summary PNG and CSV.

Data & Documents 204 stars 40 forks Updated 4 days ago Apache-2.0

Install

View on GitHub

Quality Score: 81/100

Stars 20%
77
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
0

Skill Content

# JAX 3D Modal Analysis Full 3D tetrahedral FEM eigenvalue solver for ribbed membrane resonators. Complements `fem-analysis` (2D Kirchhoff plate approximation) by accounting for 3D volumetric effects, frame stiffness, and out-of-plane deformation. ## Usage ```bash python3 {baseDir}/scripts/jax_modal_analysis.py \ --stl /path/to/membrane.stl \ --material '{"E_Pa":3e9,"nu":0.35,"rho_kg_m3":1500}' \ --num-modes 12 \ --solver-backend jax-iterative \ --stl-length-scale 1e-3 \ --target-freq-min 2000 \ --target-freq-max 8000 \ --output-dir /tmp/jax_modal_results ``` ## Arguments | Flag | Type | Default | Description | |------|------|---------|-------------| | `--stl` | path | required | Binary STL file (mm units assumed) | | `--material` | JSON str | required | `{"E_Pa":3e9,"nu":0.35,"rho_kg_m3":1500}` | | `--num-modes` | int | 12 | Number of modes to compute | | `--solver-backend` | str | `jax-iterative` | `arpack`, `jax-iterative`, or `jax-xla` | | `--stl-length-scale` | float | `1e-3` | Scale factor to convert STL units → metres | | `--target-freq-min` | float | 2000 | Lower bound of target frequency band (Hz) | | `--target-freq-max` | float | 8000 | Upper bound of target frequency band (Hz) | | `--output-dir` | path | auto | Directory for all output files | ## Output JSON ```json { "stl_path": "/path/to/membrane.stl", "topology": "v1_cricket_fine", "num_modes_computed": 12, "eigenfrequencies_hz": [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 2153.0, 2388.1, ...]...

Details

Author
lamm-mit
Repository
lamm-mit/scienceclaw
Created
3 months ago
Last Updated
4 days ago
Language
Python
License
Apache-2.0

Similar Skills

Semantically similar based on skill content — not just same category

Data & Documents Solid

clawdfolio

Quantitative portfolio toolkit — multi-broker aggregation (Longport, Moomoo/Futu), institutional risk analytics (Sharpe, Sortino, VaR, CVaR, Beta, RSI), options strategy lifecycle, 20+ finance workflows, and CSV/JSON export. Use when the user asks about portfolio analysis, risk metrics, stock quotes, DCA strategy, earnings, options, or financial data export.

11 Updated 1 months ago
YichengYang-Ethan
AI & Automation Featured

math

Unified math capabilities - computation, solving, and explanation. I route to the right tool.

3,685 Updated 3 months ago
parcadei
Web & Frontend Solid

mviz

A chart & report builder designed for use by AI.

214 Updated 1 months ago
matsonj
API & Backend Solid

vespera

Build APIs with Vespera - FastAPI-like DX for Rust/Axum. Covers route handlers, Schema derivation, and OpenAPI generation.

26 Updated today
dev-five-git
AI & Automation Solid

mermaid-studio

Expert Mermaid diagram creation, validation, and rendering with dual-engine output (SVG/PNG/ASCII). Supports all 20+ diagram types including C4 architecture, AWS architecture-beta with service icons, flowcharts, sequence, ERD, state, class, mindmap, timeline, git graph, sankey, and more. Features code-to-diagram analysis, batch rendering, 15+ themes, and syntax validation. Use when users ask to create diagrams, visualize architecture, render mermaid files, generate ASCII diagrams, document system flows, model databases, draw AWS infrastructure, analyze code structure, or anything involving "mermaid", "diagram", "flowchart", "architecture diagram", "sequence diagram", "ERD", "C4", "ASCII diagram". Do NOT use for non-Mermaid image generation, data plotting with chart libraries, or general documentation writing.

4,426 Updated 4 days ago
tech-leads-club