Skip to main content

General-purpose finite element solver for structural analysis and optimization based on Python and Cython

Project description

General-purpose finite element solver - pyfe3d

Github Actions status:

Actions Status

Coverage status:

Codecov Status

About pyfe3d

The pyfe3d module is a general-purpose finite element solver for structural analysis and optimization based on Python and Cython. The main principles guiding the development of pyfe3d are: simplicity, efficiency and compatibility. The aimed level of compatibility allows one to run this solver in any platform, including the Google Colab environment.

Citing this library

Saullo G. P. Castro. (2024). General-purpose finite element solver based on Python and Cython (Version 0.5.0). Zenodo. DOI: https://doi.org/10.5281/zenodo.6573489.

Documentation

The documentation is available on: https://saullocastro.github.io/pyfe3d.

Important features of this library

  • efficient and simple for linear and nonlinear analyses
  • importable and cimportable code
  • 6 degrees-of-freedom per node

Available finite elements

  • 'Quad4' - 4-node plate with linear interpolation, equivalent to Nastran's CQUAD4. The recommended quadrilateral plate element.

  • 'Quad4R' - 4-node plate with linear interpolation, equivalent to Abaqus' S4R. It has a not very robust hourglass control.

  • 'Tria3R' - 3-node plate with linear interpolation, equivalent to Abaqus' S3R or Nastran's CTRIA3.

  • 'BeamC' - 2-node Timoshenko beam element with consistent shape functions and analytical integration. The recommended beam element.

  • 'BeamLR' - 2-node Timoshenko beam element with linear interpolation and reduced integration.

  • 'Spring' - 2-node spring element with 6 stiffenesses defined in the element coordinate system.

  • 'Truss' - 2-node truss element with only axial and torsion stiffness. I recommend using the BeamLR instead, which is physically more consistent.

License

Distrubuted under the 3-Clause BSD license (https://raw.github.com/saullocastro/pyfe3d/main/LICENSE):

Copyright (c) 2021-2024, Saullo G. P. Castro (S.G.P.Castro@tudelft.nl)
All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Contacts:

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

pyfe3d-0.5.1.tar.gz (2.5 MB view details)

Uploaded Source

Built Distributions

pyfe3d-0.5.1-cp312-cp312-win_amd64.whl (1.6 MB view details)

Uploaded CPython 3.12 Windows x86-64

pyfe3d-0.5.1-cp312-cp312-macosx_10_13_universal2.whl (2.5 MB view details)

Uploaded CPython 3.12 macOS 10.13+ universal2 (ARM64, x86-64)

pyfe3d-0.5.1-cp311-cp311-win_amd64.whl (1.6 MB view details)

Uploaded CPython 3.11 Windows x86-64

pyfe3d-0.5.1-cp311-cp311-macosx_10_9_universal2.whl (2.5 MB view details)

Uploaded CPython 3.11 macOS 10.9+ universal2 (ARM64, x86-64)

pyfe3d-0.5.1-cp310-cp310-win_amd64.whl (1.6 MB view details)

Uploaded CPython 3.10 Windows x86-64

pyfe3d-0.5.1-cp310-cp310-macosx_10_9_universal2.whl (2.5 MB view details)

Uploaded CPython 3.10 macOS 10.9+ universal2 (ARM64, x86-64)

pyfe3d-0.5.1-cp39-cp39-win_amd64.whl (1.6 MB view details)

Uploaded CPython 3.9 Windows x86-64

pyfe3d-0.5.1-cp39-cp39-macosx_10_9_universal2.whl (2.5 MB view details)

Uploaded CPython 3.9 macOS 10.9+ universal2 (ARM64, x86-64)

pyfe3d-0.5.1-cp38-cp38-win_amd64.whl (1.6 MB view details)

Uploaded CPython 3.8 Windows x86-64

pyfe3d-0.5.1-cp38-cp38-macosx_11_0_universal2.whl (2.5 MB view details)

Uploaded CPython 3.8 macOS 11.0+ universal2 (ARM64, x86-64)

File details

Details for the file pyfe3d-0.5.1.tar.gz.

File metadata

  • Download URL: pyfe3d-0.5.1.tar.gz
  • Upload date:
  • Size: 2.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for pyfe3d-0.5.1.tar.gz
Algorithm Hash digest
SHA256 83a01263c1bc9014f0cc6224989c98ab86fbc1b60f0b327d4b37727d55c48b62
MD5 73fec8eb5a59cfe64a0db5191de1e871
BLAKE2b-256 0b7e146bef47604df058d4c4c3100a41eb900bb8bb9b1b67d5d32b43331afd81

See more details on using hashes here.

File details

Details for the file pyfe3d-0.5.1-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: pyfe3d-0.5.1-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 1.6 MB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for pyfe3d-0.5.1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 ce3389b5b5ef8add22582b861132adc5ad15b983d799df33f731f15242993429
MD5 2b3818fe0e47eebf8665c012c7eaf8b9
BLAKE2b-256 3f56429122f992805118b6ad42e5b4de4dd124791e0252b989232733d69eeace

See more details on using hashes here.

File details

Details for the file pyfe3d-0.5.1-cp312-cp312-macosx_10_13_universal2.whl.

File metadata

File hashes

Hashes for pyfe3d-0.5.1-cp312-cp312-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 f9cfd9b8e6ee43bc9d39ab11ec15650412563f4b8fedec6e402d0aeeffe9151a
MD5 cf0d4d973581eeba191d8467f5ece8cb
BLAKE2b-256 c7260e091388286888848b59ea5567cf76a0457f3b558354eb110d73186f2151

See more details on using hashes here.

File details

Details for the file pyfe3d-0.5.1-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: pyfe3d-0.5.1-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 1.6 MB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for pyfe3d-0.5.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 296fe5cf0cd977b8de8c46589d976f54fc1a85febe2dc97cc8798fe80b286c2b
MD5 9f74f7b17dbde18e6fd8d27eb9bd6dfc
BLAKE2b-256 94b6a31488a95fb0cce95ba7c3b5eaf7d053e644109f4a1ce644896928b3e402

See more details on using hashes here.

File details

Details for the file pyfe3d-0.5.1-cp311-cp311-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for pyfe3d-0.5.1-cp311-cp311-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 104958577553e5f83bbe3cbb6e8763fbf970727e81aac9d6d4f9c90b59500100
MD5 79882ef523348326eea01ca0bda74470
BLAKE2b-256 a16dcec2aca24ef091683e3d72883a1265fce1513e02a08787c346957855ed01

See more details on using hashes here.

File details

Details for the file pyfe3d-0.5.1-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: pyfe3d-0.5.1-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 1.6 MB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.11

File hashes

Hashes for pyfe3d-0.5.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 c47652413ec7a74b5b9c7438ec303df989db781572641fc446cdf9f0803c7951
MD5 9cb0034a5dc4498721cfe3a1793caef4
BLAKE2b-256 4e76cdbf88cbb8413b7fc91f4380339084894ded9fdef117fb042b8d64d566b8

See more details on using hashes here.

File details

Details for the file pyfe3d-0.5.1-cp310-cp310-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for pyfe3d-0.5.1-cp310-cp310-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 2b62753d5c7fd87c0e6605e4b4861f7524e26ef5fd374c5347e03f8b8a9a700c
MD5 4ea495a64cdeb8a1eca9cda197cccdc7
BLAKE2b-256 730d63b8c8ca06f0522fcaa36cb06c75c134579eb3125895a4c2534f53c931ca

See more details on using hashes here.

File details

Details for the file pyfe3d-0.5.1-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: pyfe3d-0.5.1-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 1.6 MB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.13

File hashes

Hashes for pyfe3d-0.5.1-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 4ebe95052bc1c8281ba6ca1b3f934d25b23943d85e6d5fb360e100ba618a9619
MD5 17c4b9b5ca0244035b12bb476386a0a0
BLAKE2b-256 8c97962aa8c77bfb0c2cff5ef8b86f99f3680ecf83e5509b62321f3b048a5607

See more details on using hashes here.

File details

Details for the file pyfe3d-0.5.1-cp39-cp39-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for pyfe3d-0.5.1-cp39-cp39-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 62203cc28860f9b88940c0f67ae5f583cc29e6fae1649ac3323ac865299167f5
MD5 cd07e9085ef8d33add5d17556757d1b1
BLAKE2b-256 3be762b4687f76c8b0d7084cd84ca9437a95e432170143877162799847ce6236

See more details on using hashes here.

File details

Details for the file pyfe3d-0.5.1-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: pyfe3d-0.5.1-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 1.6 MB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.8.10

File hashes

Hashes for pyfe3d-0.5.1-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 b72e67d645f44942ca92741d3f91e2dc44dc29caf1ea103649eb0b7872848f4b
MD5 ce929d0f23a3291b81f6025cc3774107
BLAKE2b-256 55117cbd7d5f921788660ddb1bb01ce37057f0d29908e04fc234b1d93870578a

See more details on using hashes here.

File details

Details for the file pyfe3d-0.5.1-cp38-cp38-macosx_11_0_universal2.whl.

File metadata

File hashes

Hashes for pyfe3d-0.5.1-cp38-cp38-macosx_11_0_universal2.whl
Algorithm Hash digest
SHA256 7b3799c12cae95053ad6e549de5a9b3ecd53ac3969eaf4420a916065ca8222e0
MD5 90c20d5747ef8b21ad0a7cb346e8559f
BLAKE2b-256 87310c42ce671edc9d5ed2054fc4a9521ac2da21bb2736274c071ff71e6c6ef0

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