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.0.tar.gz (2.5 MB view details)

Uploaded Source

Built Distributions

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

Uploaded CPython 3.12 Windows x86-64

pyfe3d-0.5.0-cp312-cp312-macosx_10_9_universal2.whl (2.5 MB view details)

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

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

Uploaded CPython 3.11 Windows x86-64

pyfe3d-0.5.0-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.0-cp310-cp310-win_amd64.whl (1.6 MB view details)

Uploaded CPython 3.10 Windows x86-64

pyfe3d-0.5.0-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.0-cp39-cp39-win_amd64.whl (1.6 MB view details)

Uploaded CPython 3.9 Windows x86-64

pyfe3d-0.5.0-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.0-cp38-cp38-win_amd64.whl (1.6 MB view details)

Uploaded CPython 3.8 Windows x86-64

pyfe3d-0.5.0-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.0.tar.gz.

File metadata

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

File hashes

Hashes for pyfe3d-0.5.0.tar.gz
Algorithm Hash digest
SHA256 66fdcd7c940ad5a2aed6f8a92742ba96a10a1b00df2350cb82a9664c0d6d9ce0
MD5 aa5140a00038012f4aa77a43041838bb
BLAKE2b-256 2fbf2cb8ef39eb3085c3ce782af6f52253c9fb31776a0e7c9898945088db4ae1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyfe3d-0.5.0-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.4

File hashes

Hashes for pyfe3d-0.5.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 77f893b002685e5affe17f39338b49da636c2642aec4aa8c73cd2d67692fa3bb
MD5 915ad3d61cb9dc342d17e746640edc70
BLAKE2b-256 58ff30abbb95dc18eea2b890b9f5c04ce13a6e63025c1491c3d97ad729978318

See more details on using hashes here.

File details

Details for the file pyfe3d-0.5.0-cp312-cp312-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for pyfe3d-0.5.0-cp312-cp312-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 213becb68a8eaca34c2c07e00636303306bd1203e62d343bb5a5003392431afd
MD5 c6ffc8d7cbe628eea5e81b66da4478e6
BLAKE2b-256 4c3611daba9a0b19a6131cc3fb74b11720113b1a376f14df5517aa944078d09b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyfe3d-0.5.0-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.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 e60b9e3a871f728bd43ff9950907f984ee4bb341bd8df92e9161f42779c51e02
MD5 5f8347c660bc3a4d15fe70df8d0d0722
BLAKE2b-256 1694a4850fa785a9ffaa366e4da5519e3bc4c6158d2c4d64cd2b3f514b73a4ec

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyfe3d-0.5.0-cp311-cp311-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 ac353da24cabb321e82db1245cefca83e7ea92779a7a09f4b211beb9f871bde1
MD5 2d4bbf0ce0b5fdc246817e0c6b8a2d85
BLAKE2b-256 896b26257c4f2a3c5ea2f2aa46b4bbdfb8595f71f9acdeff98c6266c9f866fd6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyfe3d-0.5.0-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.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 e5e1bd59b441da46f3524a13a54fe456efb194ad39b826ce5aeb9672e6fcd87e
MD5 fe0699817851dfbbd915ec51a86b5931
BLAKE2b-256 8b2c05656b2d1a3fe880fe0968da81eef52897216ea00b7214a8c7fc2aba40f7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyfe3d-0.5.0-cp310-cp310-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 5942d41bd11357ff63b4cd4c2e823883be6907d58055fcd58ffa0fcc971f431d
MD5 fe87ebe1151b0637a2edc1e929685c7a
BLAKE2b-256 0623044d32c3a1abfe541f6f43cc792ec071a0f0bf697b9ec2c7a5dbd97a8de9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyfe3d-0.5.0-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.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 b2ffa36ab5b865a3b48bea1be8971926e03080092b6d4e46be8ce7bec04dcb0d
MD5 aabaa999bbc94b9ddce6670026406074
BLAKE2b-256 3a6f51477f03c3e68503c589e88171e9f221aa73b034ed3ad60bc3bfb0c855a4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyfe3d-0.5.0-cp39-cp39-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 8f32fffb3ef3d1ffed4aa805004fbfa15478bc6c2df8442126e6d44c9f19526e
MD5 0030343a4dbd5035e28240ef8bdbbd06
BLAKE2b-256 724ed1fc72213be17e511d4e0e389fa344f277ab0c37749db7db7d216d530d02

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyfe3d-0.5.0-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.0-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 291c8f6cdd38a867aff34f83c9740a36519bfdfdf9cc578f3ed98ed29c72033b
MD5 68d23d43c0235923c4113643ee116e09
BLAKE2b-256 9814ca030756cb29142fcd971b2daa83a03517074dcebfc53295453301909db6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyfe3d-0.5.0-cp38-cp38-macosx_11_0_universal2.whl
Algorithm Hash digest
SHA256 69294d76ce768c4756f6d83d7e15e12fa4d6b1bc2a275425eae7e5af6ff321ed
MD5 3794dd0bf136fa6114ff89682dbad9b8
BLAKE2b-256 3b3b16aa5588937a72dd9e77ac34848f06a15dfbbc99a6f9034e5a0c41a7f7c2

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