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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: torch-fem-0.1.5.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.5.tar.gz
Algorithm Hash digest
SHA256 cf3c3467fea8c4d0614adbb09ccf76fa7d83648a63c314c38acbc236afd81b3f
MD5 7d8f6b39c5258e1ce090d4cc8514c1b1
BLAKE2b-256 2c063f83cdb521cf02bd586ac3b2b8c3c2c9c408c49fcc0b85bc362cd1be00ae

See more details on using hashes here.

File details

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

File metadata

  • Download URL: torch_fem-0.1.5-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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 a073c33e4113c6f66d29cdf8e15524c0650823c5d5606c5890e9de96a995547d
MD5 ab689ff2bc9bec41df08753a8131cf6c
BLAKE2b-256 879ca05a354433304336bfe6cce22c2e28ef4ab2f00225e9e888a57491b77f28

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