Truss
A toy Finite Element Method (FEM) solver for linear elasticity written in C++20.
Install / Use
/learn @cyanray/TrussREADME
Truss
A toy FEM solver written in C++20.
Features
- [x] Ability to solve 3D problems.
- [x] Multiple elements:
- [x] Truss
- [x] Beam
- [x] Constant Strain/Stress Triangle
- [x] Quad4
- [ ] More...
- [x] Multiple materials:
- [x] Linear elastic
- [ ] More...
Project Structure
Truss
├──LibTrussDocument: Parser for parsing truss documents.
├──LibTrussSolver: The implementation of the solver.
├──TrussCLI: An executable program for loading truss document files and solving for the result.
└──Tools: Some useful tools.(Input file converter, Post-processing python scripts, etc.)
Dependencies
- Eigen: Liner algebra library. (vcpkg)
- magic_enum: Useful library for enum. (vcpkg)
- Catch2: For unit testing. (vcpkg)
- backward-cpp: For printing stack trace. (CMake FetchContent)
How to use it?
In progress...
Download and Compilation
...
Examples
Check out the files in the TrussCLI/example_truss directory.
License
MPL-2.0 license.
Related Skills
node-connect
346.8kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
107.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
346.8kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
346.8kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
