SkillAgentSearch skills...

Truss

A toy Finite Element Method (FEM) solver for linear elasticity written in C++20.

Install / Use

/learn @cyanray/Truss
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

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

  1. Eigen: Liner algebra library. (vcpkg)
  2. magic_enum: Useful library for enum. (vcpkg)
  3. Catch2: For unit testing. (vcpkg)
  4. 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

View on GitHub
GitHub Stars8
CategoryDevelopment
Updated1mo ago
Forks1

Languages

C++

Security Score

90/100

Audited on Mar 3, 2026

No findings