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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: torch-fem-0.1.3.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.3.tar.gz
Algorithm Hash digest
SHA256 a2766c70f41b88cfd723442a82153a2c62d3a4ffaedc202828a727aef08bd76d
MD5 df2239cf04f6c61c060df593a927e150
BLAKE2b-256 e0f3325247642fdf18cd308cc1a861e6649224624c5ad6ca79b95c3f92b0cc6d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: torch_fem-0.1.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 9c2e14fe0e74c9f4e4e9d563e95b6238b578fd250276401d4035ffd2f5073ac8
MD5 56c5519eebdc3a81c4a481b62a558165
BLAKE2b-256 2181325cae3d24ff01ab12b8af6511a65bd955ff134bb2e2dc49c5f55eec21bd

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