Abaqus-style simulation with mesh generation and structural, heat-transfer and fluid-analysis workflows.
Open-source alternatief voor Abaqus
Abaqus-style simulation with mesh generation and structural, heat-transfer and fluid-analysis workflows. Imports SolidCraft parts, generates tetrahedral and hexahedral meshes, and provides structural, nonlinear, thermal and fluid analyses with result visualization.
READMEtangency-labs/fieldcraft op GitHub
Status: early but working end to end — open a part, mesh it, define the analysis, solve, see the results — with a nonlinear implicit solver (large deformation, plasticity, rubber) now in place. Hex meshing is the centre of gravity. Next: buckling and arc-length, contact, then the wider material and multiphysics library. See ROADMAP.md. Want to help? Pick an issue labelled good first issue or help wanted and read CONTRIBUTING.md.
Claude driving FieldCraft through its MCP server: one prompt, and it opens the part, meshes it, defines and solves the analysis, then checks the tip deflection against beam theory. Real session, waits shortened. Full video.
An AI agent drives FieldCraft over MCP, each stage captioned with the tool it calls: it opens an I-beam, hex meshes it, defines the material, the clamp and a 1000 N tip load, solves, and shows the von Mises stress and the deformed shape (tip deflection 0.176 mm; beam theory with shear 0.177 mm). MP4 · regenerated by tools/demo-video.
fieldcraft.exe.develop each night it has moved and passed CI (docs/updates.md).fieldcraft-cli ships in every package; AI agents connect to it over MCP
(docs/mcp.md).Every release lists its checksums in SHA256SUMS.txt. Building from source is in
CONTRIBUTING.md.
A filleted L-bracket with a hole through each leg cannot be swept in one piece. Split into 30
cells in SolidCraft, FieldCraft meshes it all-hex as one conforming mesh — O-grids round the holes,
graded through the fillet — and its hex20 tip deflection matches a fine tet10 solution to 0.1 %.
The same part also meshes all-hex automatically with the octree mesher (mesh.hex.octree).
| Cells | Conforming hex mesh | Von Mises (clamp and load drawn) |
|---|---|---|
.sc, .solidcraft,
.solvecraft), STEP, IGES, and FreeCAD and Rhino files in the desktop app, from File → Open or by dropping it on
the viewport. CAD bodies keep their placement and faces for meshing and named sets. Triangle files (3MF with or
without face tags, STL, OBJ, PLY, glTF) import as surfaces for display, reference and fluid obstacles; volume
meshing needs the CAD file. Surfaces are checked for welding, manifoldness, orientation
and self-intersection. On Linux, choose All files in the picker if a mixed-case name such as part.StP is hidden.mesh.hex.blocks); unstructured octree all-hex for any part
(mesh.hex.octree); 2D quad and tri meshes; quality metrics per element and set..fieldcraft file.tests/oracle, with results frozen
so they cannot drift: 170 of 176 quantities pass in 50 cases, the 6 others documented known
failures (docs/oracle.md).Ready-to-solve samples: open one from File ▸ Samples (or the start screen), or start the app
with fieldcraft --sample NAME, and press Solve. Each opens and solves within half a minute and is checked
against a closed form or a reference solution (docs/examples.md).
cargo xtask ci # fmt, assets, layers, clippy, tests, wasm
cargo xtask test --heavy # the heavy (ignored) tests and the doc tests
cargo run -p fieldcraft-cli -- commands # every command and its parameters
cargo run -p fieldcraft-cli -- run script.json # run a command script
cargo run -p fieldcraft-cli -- snapshot script.json --out shot.png # draw it to a PNG, no window
cargo run -p fieldcraft-cli -- mcp # MCP server on stdio for AI agents (docs/mcp.md)
Rust 1.99.1 through rustup (rust-toolchain.toml, with the wasm32-unknown-unknown target cargo xtask ci needs); 1.95 or later also builds.
With Nix (flake.nix, Linux and macOS):
nix run github:tangency-labs/fieldcraft # the desktop app (package fieldcraft)
nix run github:tangency-labs/fieldcraft#fieldcraft-cli -- mcp # the CLI (package fieldcraft-cli)
nix develop # runtime libraries for `cargo run` (window, GPU, file dialogs); your own toolchain
nix develop .#rust # the same with rust-toolchain.toml's Rust (rust-overlay), building into target/nix
On Linux the GPU drivers come from the system: hardware.graphics.enable on NixOS, nixGL elsewhere.
The documentation site is at
tangency-labs.github.io/fieldcraft, built from
docs/ with each release (cargo xtask book). The main pages:
claude mcp add fieldcraft -- /path/to/fieldcraft-cli mcpFieldCraft sends nothing until you agree. The first start asks once whether to share anonymous
usage (which tools you use, nothing from your models); Help › Settings… changes it, and
FIELDCRAFT_TELEMETRY=0 turns it off. File names, paths, geometry, model contents, parameter
values and messages are never sent: docs/privacy.md lists every event and
property. Crash reports and the log stay on your computer; Help › Report a Bug opens a GitHub issue
you review and submit yourself, with your session or model attached only if you tick them
(docs/crash-reports.md).
FieldCraft's continuous integration runs on Blacksmith, which sponsors its CI minutes.
You can support FieldCraft's development with a Ko-fi membership or a one-time tip.
The files in this repository are provided as is, without warranty, liability or indemnity, and Tangency Labs and the contributors accept no responsibility for any harmful or unlawful use of them: read DISCLAIMER.md.
Dual-licensed under MIT or Apache-2.0, at your option. Notices
are in NOTICE; third-party licences in
THIRD-PARTY-LICENSES.txt, which every release package carries (cargo xtask licences writes it).
FieldCraft is an independent project, not affiliated with, sponsored or endorsed by Dassault Systèmes, MSC Software, Siemens or Ansys. Abaqus, Nastran, MSC Nastran, Simcenter Nastran and LS-DYNA are trademarks of their owners and are named only to describe file compatibility.
Laatst bijgewerkt vanaf GitHub: 4 uur geleden
GitHub-cijfers worden een paar keer per dag ververst.
Log in of maak een account aan om te reageren.
Nog geen reacties. Wees de eerste.
Laat het zien: een live kaart met je positie en beoordeling, die zichzelf bijwerkt.
Liever de kleine? Voeg toe: ?style=flat