Skip to main content

Simple finite element assemblers with torch.

Project description

License: MIT PyPI - Python Version PyPI - Version Black Binder

torch-fem: differentiable linear elastic finite elements

Simple finite element assemblers for linear elasticity with PyTorch. The advantage of using PyTorch is the ability to efficiently compute sensitivities and use them in structural optimization.

Installation

Your may install torch-fem via pip with

pip install torch-fem

Examples

The subdirectory examples->basic contains a couple of Jupyter Notebooks demonstrating the use of torch-fem for trusses, planar problems and solid problems. The subdirectory examples->optimization demonstrates the use of torch-fem for optimization of structures (e.g. topology optimization, composite orientation optimization).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

torch_fem-0.1.11.tar.gz (210.5 kB view details)

Uploaded Source

Built Distribution

torch_fem-0.1.11-py3-none-any.whl (214.5 kB view details)

Uploaded Python 3

File details

Details for the file torch_fem-0.1.11.tar.gz.

File metadata

  • Download URL: torch_fem-0.1.11.tar.gz
  • Upload date:
  • Size: 210.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for torch_fem-0.1.11.tar.gz
Algorithm Hash digest
SHA256 65e2962f03dfc64ede84ed3ef64d5445a0c6addb3dada5d4473049902e75c106
MD5 13773067d830896563e2c1b0c76f09fd
BLAKE2b-256 8383fee0c10279e0fb7e286ce328ac4527523633cdebbceeb65ee0af9d0ef7b5

See more details on using hashes here.

File details

Details for the file torch_fem-0.1.11-py3-none-any.whl.

File metadata

  • Download URL: torch_fem-0.1.11-py3-none-any.whl
  • Upload date:
  • Size: 214.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for torch_fem-0.1.11-py3-none-any.whl
Algorithm Hash digest
SHA256 089352e007eb89b3a8aefcba646fac3dd6c27af863a1e67fb93d79f91f0d7585
MD5 5006e0294e5e703986d14049304935b6
BLAKE2b-256 0aa30f97c23d20a0a5775de22c9b5fbf8570734a281412a045a7ea0d1fca8a89

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page