Skip to main content

felupe-studio

A graphical modeling environment for FElupe: build, solve and evaluate finite element models of solids, entirely in the browser.

Every node in the GUI is a FElupe object. Every action is a command; the command list is saved as a text-diffable project file and turned into a readable FElupe script, which runs in the browser with Pyodide and can be exported.

Open the app: https://adtzlr.github.io/felupe-studio/

FElupe Studio with the sample "Hyperelastic block with a rigid plate"

FElupe Studio builds models of solids, hyperelastic (e.g. rubber) or elastic-plastic (e.g. steel), in 3D, in plane strain or axisymmetric, from mesh files, Python scripts or the mesh tools of FElupe (also of the meshes of files and scripts), with parameters (also derived ones): cell sets from cell tags, materials (linear elastic for small or large strains; hyperelastic like Neo-Hooke, Mooney-Rivlin, Yeoh, Ogden, Arruda-Boyce, …, also with the Mullins effect; strain-based, also elastic-plastic; user-defined in a Python file: a constitutive model, a strain energy function or a strain-based function), sections with the u, u-isochoric (e.g. air as a third medium) or a nearly incompressible formulation (condensed per cell, mixed fields or the three-field variation of any material with a volumetric part), point sets (by a plane, at a bound, on a cylinder, on the outer surface, of a section, by picked surfaces or nodes), face sets, boundaries, symmetry planes and load cases, control points, multi-point constraints with rotation points (e.g. a rigid plate glued to a face), Cartesian constraints in a rotated coordinate system (e.g. a support on an inclined plane), cylindrical constraints about an axis (e.g. a rigid sleeve or a torsion), rigid planes and cylinders with contacts and friction, contacts between deformable bodies (two sections, the bodies of one section or a body with itself, e.g. a rubber buffer pressed on a plate that bends) with friction, point loads and pressures, and steps that ramp several items with their own values and switch boundaries on and off, in jobs that may repeat a step for a load cycle. Solve runs in the browser with live results; the results show the deformed shape with contours of the displacement, the strains and the stresses per substep (at the cells or smooth at the points), the equivalent plastic strain and the maximum strain energy density of the Mullins effect, their minimum and maximum, the range of the contour of all or of chosen sections (the others in one color or hidden), the force-displacement (or moment-rotation) curve with free axes and the displacements and forces of the control points, and play the substeps. A plane normal to x, y or z cuts the view, also of the results, so the inside of a model is seen. The FElupe script, the results (XDMF/VTU/CSV), the meshes and pictures of the view can be exported, and the XDMF results of a job imported again, whatever model is open; a project is saved as a text file or as an archive with its mesh files, with the save dialog of the system where the browser has one. The app has a dark and a light theme, and on a phone a compact layout.

Version 0.12 adds the contact between deformable bodies, with SolidBodyContact of felupe-contact:

  • Contacts between bodies: two sections pressed onto each other, e.g. a rubber buffer on a plate that bends; the bodies of one section that touch each other; or a body with itself, e.g. the walls of a slit that close. It is a penalty contact of the faces of hexahedrons and quads, with the arguments of the class in its form, e.g. the point sets of the faces that touch and the scale of the penalty.
  • Friction of a contact between bodies: Coulomb friction with an elastic slip, which a cutback restores, and a check that the iterative solvers, which need a symmetric matrix, take its symmetric part.
  • The menu Contact ▾ of Loads & BCs has both kinds of contact, with a rigid surface and between bodies; a selected contact between bodies shows its two surfaces.
  • The sample Rubber buffer on a plate. The app loads felupe-contact only for a model with a contact between bodies.

The sample "Rubber buffer on a plate": the von Mises stress of the steel plate bent under the rubber buffer, a quarter with two symmetry planes, and the force-displacement curve of the buffer pressed down

Version 0.11 added the formulation of a section in the Sections ribbon (nearly incompressible in three ways, or the isochoric part of a third medium), constraints in local coordinates (Cartesian and cylindrical), user-defined materials from a Python file, the mesh tools for every mesh, sections without volume and the results of an XDMF file shown again. Version 0.10 added a cut through the model, steps that switch boundaries on and off, more mesh tools (Stack, Circle and Triangle), the other sections of a range in one color or hidden and the save dialog of the system. Version 0.9 added pictures for reports with a light theme, own colors of sections and cell sets, the range of a contour from chosen sections and the app on a phone. Version 0.8 added your own deployment under the name of an institute or a company (your own deployment), load cycles with the Mullins effect and derived parameters. Version 0.7 added the mesh tools of FElupe in the app, PARDISO with Python on your computer and a fixed link of felupe-studio serve. Version 0.6 added expressions of parameters, Python on your computer (felupe-studio serve), agents on the open app and single precision. Version 0.5 added plasticity, the strains and stresses at the points, the samples of the engine mount and the metacone, and the MCP server. Version 0.4 added parameters and mesh scripts, 2D models, symmetry planes and contacts with rigid surfaces. See the changelog.

The app on a phone in portrait: the model, and the results with the row of the contour, Play and the substep, and the curve below the view

The sample "Bushing with steel sleeves" turned by 30° about its axis by a cylindrical constraint of its inner sleeve: the von Mises stress of the rubber, cut through the axis, and the force around the axis over the arc length on the radius of the sleeve

The results of the sample "Bushing with the Mullins effect" back at the start after its first load cycle: the maximum strain energy density that the rubber keeps, and the force-displacement curve of the first loading, the softer unloading and second loading and the loading on to 9 mm

The results of the sample "Engine mount (FElupe ex07)": the von Mises stress at the points, with air in the cavities of the rubber, and the force-displacement curve of the horizontal shift

Python on your computer: pip install "felupe-studio[serve]", then felupe-studio serve opens the same app with the Python of your computer instead of Pyodide: native NumPy and SciPy for large models, and mesh scripts with your own packages (user guide).

AI agents: with pip install "felupe-studio[serve,mcp]", felupe-studio serve --agent lets an agent like Claude Code or GitHub Copilot work on the model that is open in your browser. Help ▸ Connect an agent connects the tab; you see every change in the history and undo it, and you read a mesh script of the agent before it runs (agents). Headless, felupe-studio-mcp builds, checks and solves models with CPython, and you open the saved project in the app.

An agent on the open app: it opened a sample, added a parameter and wrote a mesh script, which the user reads before it runs

Documentation: the user guide with tutorials, the command reference, how the commands become a FElupe script, the MCP server for AI agents, your own deployment under your own name, the architecture decision records, the changelog and the roadmap.

Non-goals: meshing from CAD, a server backend (the MCP server and felupe-studio serve run on your computer).

Repository layout

Path Content
app/ The web app (TypeScript, Vite)
python/felupe_studio/ Python package: command list → FElupe script (runs in Pyodide and CPython), the MCP server for AI agents (mcp.py, CPython) and the local runtime of the app (felupe-studio serve: serve.py, runtime.py, CPython)
tests/ Python tests
docs/adr/ Architecture decision records
docs/ User guide, command reference (generated by docs/make_reference.py), screenshots (docs/images, made by docs/make_screenshots.py), commands, your own deployment, benchmarks and the release checklist

Development

Web app:

cd app
npm install
npm run dev      # development server
npm test         # unit tests (Vitest)
npm run lint     # ESLint and Prettier
npm run build    # typecheck and production build

Python package:

pip install -e ".[test,mcp,serve]"
pytest            # the app in a browser: pytest -m e2e (Playwright, a built app)
ruff check . && ruff format --check .

License

felupe-studio is licensed under GPL-3.0-or-later, the same license as FElupe.

Metadata

Release files for felupe-studio 0.12.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for felupe-studio 0.12.0
File Size Uploaded Provenance Actions
felupe_studio-0.12.0.tar.gz 1.1 MB With provenance Details for felupe_studio-0.12.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for felupe-studio 0.12.0
File Interpreter ABI Platform Actions
felupe_studio-0.12.0-py3-none-any.whl Python 3 none any Details for felupe_studio-0.12.0-py3-none-any.whl

Total release size: 2.0 MB

Release files / felupe_studio-0.12.0.tar.gz

Download URL felupe_studio-0.12.0.tar.gz
Size 1.1 MB
Tags Source
SHA-256 checksum
How to use checksums
9aeb818dbd0e4f1ad3b420e4b38f7bc3e27dc33031c79941f9ace891acf18b6d
BLAKE2b-256 checksum
How to use checksums
0369086449ff8893a412d0b8a9565b2d44c73a848d9c24ca5b98fd4d1ad26c2c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.

Transparency log

Release files / felupe_studio-0.12.0-py3-none-any.whl

Download URL felupe_studio-0.12.0-py3-none-any.whl
Size 907.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9a4cab4f6373b5a21dc09dd6163f54d84dca384e62c2b0db75d7e17e5c42c3c1
BLAKE2b-256 checksum
How to use checksums
804abdd63492ad9248d201f3c119585010cbbb6791b8cebac1b79ecfa10c7bab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.

Transparency log

Security for felupe-studio 0.12.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for felupe_studio-0.12.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page