Skip to main content

Simple finite element assemblers with torch.

Project description

License: MIT 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 by running

pip install .

in the torch-fem directory.

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.0.tar.gz (210.0 kB view details)

Uploaded Source

Built Distribution

torch_fem-0.1.0-py3-none-any.whl (214.0 kB view details)

Uploaded Python 3

File details

Details for the file torch-fem-0.1.0.tar.gz.

File metadata

  • Download URL: torch-fem-0.1.0.tar.gz
  • Upload date:
  • Size: 210.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for torch-fem-0.1.0.tar.gz
Algorithm Hash digest
SHA256 015a61fa261c0eb190f2f43a44ac47bbae026f15b8a1928b9c60d82d84b0ee1d
MD5 ea7cc478e24a0ae69a1a8f1e7b37dbfb
BLAKE2b-256 19d5a3b5ce2cf017dcc8717fa0566d85f084a09edc10c2a46fd7ba7f67207f24

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for torch_fem-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ceed8e525ccadd9ed8e0189b75b51795c345696a248123b2aff8327bcc8681ab
MD5 49c49643ff5a327e5a3edba4f36e26e5
BLAKE2b-256 2da3f077fbe20a8bd48d16fe887bca7ca49b8eb92b3b7594cfd8cc9a990dbb9e

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