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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: torch-fem-0.1.4.tar.gz
  • Upload date:
  • Size: 209.9 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.4.tar.gz
Algorithm Hash digest
SHA256 ca1313675bfdf028d9acf7ebfc2d25c4701eff490c0e59a119c530fc4987d61a
MD5 d1a9f85c15e62af7aac5d8530b911af2
BLAKE2b-256 d96672858a0330f9520b617cd242be9f5c176663b41018bd30febba011390a56

See more details on using hashes here.

File details

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

File metadata

  • Download URL: torch_fem-0.1.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 7d87f876eb6f5a7cd1e8d75c19a337a253cdd29756a3ef45e45b7b42bdef3599
MD5 e222782614ddcd20b178e8a027ef0883
BLAKE2b-256 4ae81c261a3c7bca4a4b46787b774caa6ddea4e60ef156a25eda15b319fb2c2e

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