Skip to content

xdfem2D logo

xdfem2D

xdfem2D is a 2D finite-element structural analysis application — frames, walls, slabs and grillages — pairing a Python analysis library (xdfem2d) with a PySide6 desktop interface for building models, running analyses, and reviewing results interactively.

Units throughout are kN · m · kNm.

Two domains, one model type

Every model is either plane (a frame or wall in its own plane) or plate (a slab or grillage bending out of plane) — chosen once, in New model, and fixed for the model's life. The two share the same solver machinery but mean different things element by element: see Domains (plane vs plate) for the full comparison, then Plane models and Plate models for the elements, supports, loads and results of each.

AI: assistant and agent

Two optional ways to work with a model by talking to it (see AI in xdfem2D):

  • The Assistant is a panel in the application that answers questions about the open model and makes edits. It runs local models by default (gemma4:e4b through Ollama), or a remote one with your own API key.
  • The Agent tab lets a coding agent (Claude Code, or Ollama's cloud models) build, analyse and design on the model you have open while you watch it change. The same tools are an MCP server for any agent you use.

What it does

  • Models. Frames, trusses, arches and walls (plane), and slabs and grillages (plate). Beams, membrane triangles and quads, plate-bending triangles and quads, and grillage members with torsion. Supports, springs (including tension-only and compression-only), multi-point constraints, and parametric geometry objects that are meshed when the model is solved. See Modelling, Plane models and Plate models.
  • Loads and analysis. Load cases, point, distributed, area, thermal and settlement loads, and self-weight. Linear, non-linear, mass, modal, response-spectrum (EC8) and, in plane models, P-Delta analysis; automatic EN 1990 combinations; variants and construction sequences. A load case is only a definition of loads, an analysis case is what gets solved, and a combination combines analysis cases: see Analysis.
  • Results and design. Displacements, reactions, diagrams, stresses and slab moments, section cuts. Reinforced concrete (EC2, with crack width and punching), steel (EC3) and timber (EC5) design. See Results and Design.
  • Interchange. Reports (PDF, Word, Excel), drawings, DXF, SAP2000, IFC and Robot, and a model as a Python script. See Exporting.
  • AI, optional. An Assistant that answers about the open model and edits it, an Agent that does a job of several steps on it, and an MCP server for other agents. Nothing is turned on until you use it.
  • Scripting. The calculation engine is a Python library you can use without the interface. See Scripting with the engine.
  • Templates to start a model in seconds, and scenes (saved working subsets of a model): see Templates and Scenes.

Where to start