Simple finite element assemblers with torch.
Project description
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file torch_fem-0.1.12.tar.gz
.
File metadata
- Download URL: torch_fem-0.1.12.tar.gz
- Upload date:
- Size: 47.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 21f64c473e0366feaf1b1cd930fd371663b3d6dc7fc1a50e13ddbbc6d4675427 |
|
MD5 | 7e01c629a951027138c20115328996a7 |
|
BLAKE2b-256 | ed8215eafb71097be02feeb2e66a5c0f7ff1202b84869b63960bcba047871b87 |
File details
Details for the file torch_fem-0.1.12-py3-none-any.whl
.
File metadata
- Download URL: torch_fem-0.1.12-py3-none-any.whl
- Upload date:
- Size: 51.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 12b87900fc303dd1ddd2e6583dedf50166d61eddb742ed0f112cd130ac67cf7e |
|
MD5 | 59617309d799f934662e2c3b3eb5eee8 |
|
BLAKE2b-256 | 9f6de3940d880a4a64b63b32385d998babbc78fe1b3af9807659ab6118cb845f |