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. (2023). General-purpose finite element solver based on Python and Cython (Version 0.4.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

  • 'Quad4R' - 4-node plate with linear interpolation, equivalent to Abaqus' S4R or Nastran's CQUAD4.

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

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

  • 'BeamC' - 2-node Timoshenko beam element with consistent shape functions and analytical 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-2023, 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.4.0.tar.gz (2.1 MB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

pyfe3d-0.4.0-cp311-cp311-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.11Windows x86-64

pyfe3d-0.4.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.8 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

pyfe3d-0.4.0-cp311-cp311-macosx_10_9_universal2.whl (2.3 MB view details)

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

pyfe3d-0.4.0-cp310-cp310-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.10Windows x86-64

pyfe3d-0.4.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.3 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

pyfe3d-0.4.0-cp310-cp310-macosx_11_0_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.10macOS 11.0+ x86-64

pyfe3d-0.4.0-cp39-cp39-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.9Windows x86-64

pyfe3d-0.4.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.3 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

pyfe3d-0.4.0-cp39-cp39-macosx_11_0_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.9macOS 11.0+ x86-64

pyfe3d-0.4.0-cp38-cp38-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.8Windows x86-64

pyfe3d-0.4.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.4 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ x86-64

pyfe3d-0.4.0-cp38-cp38-macosx_11_0_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.8macOS 11.0+ x86-64

File details

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

File metadata

  • Download URL: pyfe3d-0.4.0.tar.gz
  • Upload date:
  • Size: 2.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for pyfe3d-0.4.0.tar.gz
Algorithm Hash digest
SHA256 efe08b731b968c2278d57190c585aa3dc72f7edfc30d663c13921181fec25277
MD5 a0708c09ed7e07b6057a5e67685d2258
BLAKE2b-256 fba56e545e9c2b5121e882e7b5c342916d09fd3eb0b8ef60164f7de5a8f46edd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyfe3d-0.4.0-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for pyfe3d-0.4.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 5e3fba2d7efb75d5c411c7ce38e9c41cdfd2ed2bac5889a8278069ffa2adcc4d
MD5 c26239e3cb626f34a5f78f5a55027701
BLAKE2b-256 70bf8148f3be84a703451d5ef4f755876b4637028aba3a4bdee04bcf9c81bdfb

See more details on using hashes here.

File details

Details for the file pyfe3d-0.4.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyfe3d-0.4.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9f93cd364c58977c08bec53f954a121e3d9914af4c5433123e8c82d484867afd
MD5 c6d0775030ba5eea57ccc307543fa457
BLAKE2b-256 fbc552f67d961a5316788777e9fcaf35cf1768e53fe86a806f47a593b1228262

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyfe3d-0.4.0-cp311-cp311-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 c062a99c78a4fa5176e777ee50527878a4bd91e6e0bbaa728f4ef7f6dd50e366
MD5 e75106b3e49dd5182952acca9ddc7394
BLAKE2b-256 c31a66e80f645e0795e6e0a624630aaec1e07ec1d68057c8c1aabae6144d928d

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pyfe3d-0.4.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 f20cd2539c5a55334af729a3c8930e4277748a76bce64632f1709d4a4843e224
MD5 4064d26e85341982602a44143a87826b
BLAKE2b-256 f01a22708d86ee3fa87e68f9cdaa08d5b4e7cefd6783d9a69f0600a98882a773

See more details on using hashes here.

File details

Details for the file pyfe3d-0.4.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyfe3d-0.4.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6d0cb95f1477bb1c027010b493ee94bea414fe361ccb27e6afbbd28090793f41
MD5 14eb27bcd060be7b3a912195a125974d
BLAKE2b-256 310cafaa58c7fe1bad3f1987a91964393b92f0d3524eb6b294fd88dd26815bdb

See more details on using hashes here.

File details

Details for the file pyfe3d-0.4.0-cp310-cp310-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for pyfe3d-0.4.0-cp310-cp310-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 1bb7136fbfd8b345766bdc909e6500bd5810a5fe4d6ce667212d7e331d0315ee
MD5 ba7a1da8186df6ed5ed0d64d890c8d8e
BLAKE2b-256 fa9f764e5cce0de497a352a1c4e379bb7ba7811c2084d86ae57f6448a6653e2f

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pyfe3d-0.4.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 72eb7138ab7b2ab5671ef4559ad1c46197e4595480f488a8039401d0ce8df042
MD5 e261b2cb2687f7af2355cf15903913a0
BLAKE2b-256 091660251084d74b305ffc6706ecb97b224a63447d05ac89b9ecfbaa240d4826

See more details on using hashes here.

File details

Details for the file pyfe3d-0.4.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyfe3d-0.4.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 86dbeb2c8d982f3cb7fd581975fb5c291511f801c33d9736c129dc31616bf518
MD5 605070161977d99ef532bbd5c7952da0
BLAKE2b-256 9433d0904f3808480bef260fdfa702d600099e417ba8d05b1354fa7a08898cc3

See more details on using hashes here.

File details

Details for the file pyfe3d-0.4.0-cp39-cp39-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for pyfe3d-0.4.0-cp39-cp39-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 3b17b41af8eccc30b220d036f3eee6e61a14885e526ca61e42232dfedc8142e3
MD5 a6a734c1476bc8e0466a3857495b9341
BLAKE2b-256 f4e78bed71c682d503d37c54f4f0aabff81946d7152e60dfc1aae9559979485f

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pyfe3d-0.4.0-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 bc459abcbd6e02026a35c8db417f6bbe4d225649621ebcef9c4011bbbb169755
MD5 81e3cc0e7cac69bea38f7d9c09d75676
BLAKE2b-256 52dce6aabd8a413753a42a980e04e80626ef5e284929aff0b12e78d82bd926f5

See more details on using hashes here.

File details

Details for the file pyfe3d-0.4.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyfe3d-0.4.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 77a06b3079b02aaebd7322d63d4439cf6a640725e03d56478a31469f3ae60b6f
MD5 6578fe12b78c05f1ae35a7a6ddbdd848
BLAKE2b-256 eba6945d1aecf5e20aeb4d0c6b129f889cedcc30bb0de13ff5086e93afe9a559

See more details on using hashes here.

File details

Details for the file pyfe3d-0.4.0-cp38-cp38-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for pyfe3d-0.4.0-cp38-cp38-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 ae9c47c169fd9069103d42d52877fba79f8f756b56f0ae8c50847f9189850fcf
MD5 547b7154b71bfc75e058065f06bc44c2
BLAKE2b-256 b7cfa9844c55c647ea0da53ca15a7b6fc1f7493ded78bc67ac16c806a63b51ac

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page