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

Uploaded Source

Built Distributions

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

Uploaded CPython 3.12 Windows x86-64

pyfe3d-0.5.2-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.2-cp311-cp311-win_amd64.whl (1.6 MB view details)

Uploaded CPython 3.11 Windows x86-64

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

Uploaded CPython 3.10 Windows x86-64

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

Uploaded CPython 3.9 Windows x86-64

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

Uploaded CPython 3.8 Windows x86-64

pyfe3d-0.5.2-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.2.tar.gz.

File metadata

  • Download URL: pyfe3d-0.5.2.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.2.tar.gz
Algorithm Hash digest
SHA256 8aed3b9da489cc175a60d0e908ca457ad3991cb5974af91673ef893e534e856d
MD5 84d16febaa4f473fcbdc5c14c87f907d
BLAKE2b-256 d61dee476b84865052d2d18a4123449d172930f5d36c90a77a2d699d62981fb8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyfe3d-0.5.2-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.2-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 5ee3f9609e6ed8e2129050649e86966e1e1291b02f6a93a1fa42b2ca5ef9014b
MD5 4827557fe20893c9267f5492e4fc46b4
BLAKE2b-256 e6d810ac39e87dcf0936feb976b542b9aa30e0c0b0bf6e5f05a36feb09b3db6b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyfe3d-0.5.2-cp312-cp312-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 edda77596504b83214bad140bef0d1b7347321a782177764e96347136e9a54ad
MD5 9a6013a3d5a30d47f915e16dbefe57d6
BLAKE2b-256 c9aabddb1d0214f0c8e7f7bba34630c06546f26723dc00223da897febffedcdb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyfe3d-0.5.2-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.2-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 57cddd5e24f913c04d302c310661c898748e870b7bad16071521d2ca3dbda64b
MD5 7abf5e6d39d8c80f97a82974fe0ca0be
BLAKE2b-256 026cdc043c42c2c6b75084b4faa091065f608be54161a586c633e7c540b67e08

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyfe3d-0.5.2-cp311-cp311-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 eaf998305900ffb74a8beecb13f969fd623023f78a7dcdd6e9ad358539720b7b
MD5 478efbf2abbfe900137d45cc99a1fdef
BLAKE2b-256 9814fe629f8ba4376464982478f61b61d8182005e4e698af407792af598cdafc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyfe3d-0.5.2-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.2-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 ee39170d3aa612252a31d754512312ae448933a571889ab8ffb598c149cc2cc0
MD5 43fc45dd6ce58b056e87aae4ee86925a
BLAKE2b-256 44698a3bef6d0068e5ed31186b7434c13b443c1655be6b0cdd80e3ec3a078150

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyfe3d-0.5.2-cp310-cp310-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 ff670f421601a5fbc26143fd687155a62f1c1f05831afcfe33112af4472cbf23
MD5 5b3d94b358c083e647eaf26f1e470389
BLAKE2b-256 e631d9175b2e4933313c42ece78cc116307a00fba7c07afc148a87eae1852174

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyfe3d-0.5.2-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.2-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 f2d933d929238ad63df4ab4e7d7f59a5739ef5a89f81053d3cbe09969acdc9af
MD5 84659de060bbaf5cea7ef39b33f5afd7
BLAKE2b-256 7dcc3ed0c4fe65b8acb8ba9e7d6fb3a67160a8bfbe62cbf6d952f9caae4728e3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyfe3d-0.5.2-cp39-cp39-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 e576805f2194a3802b5bf778c411407d25978c6f5e9c6e10f9e7e06cc5fd3d21
MD5 612a926e3c21c2a58735e8c1d5609ca8
BLAKE2b-256 9fd736b4275b0ffbc39bf79bbb3606a1d10b4f7bd1ab768a996a92cbc02f648c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyfe3d-0.5.2-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.2-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 27e773063a33aea3fc7c49b2df06ed84c6bfcda89cbb4d2f373353fd552b7869
MD5 732b46b18b3e01dcbbe0fc0b9f96b17a
BLAKE2b-256 b5e0cf9bfe89e226943b2533e2ea27a0c80154947c9f47177cea3af659f6dd7f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyfe3d-0.5.2-cp38-cp38-macosx_11_0_universal2.whl
Algorithm Hash digest
SHA256 c5383a1d8f8fbbb6f6e5b6b41e820512b89c3b32c664e407aa6ed20eafee67c5
MD5 6a46c079649d163009a76c0807763857
BLAKE2b-256 bf5e3480f1894d8113257464197bf5e4506fe7f74f2e1b13ed0e98c26bcb7b6b

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