Skip to main content

Matrix-based structural analysis module for triangulated thin shells

Project description

Matrix-based shape sensitivity analysis for linear strain energy of triangular thin shell elements

Source code of K. Hayashi and R. Mesnil, "Matrix-based shape sensitivity analysis for linear strain energy of triangular thin shell elements"

Install

The module can be installed through PyPI using the following command on the command prompt window:

pip install dktshell

How to use

algo = dktshell.DKTAnalysis()
displacement,internal_force,reaction = algo.RunStructuralAnalysis(vert,face_tri,dirichlet,load,thickness=0.25,elastic_modulus=4.32e8,poisson_ratio=0.0) # Use this input for Scordelis-Lo roof example
strain_energy,strain_energy_gradient = algo.StrainEnergy_with_Gradient(vert,face_tri,dirichlet,load,thickness=1,elastic_modulus=1,poisson_ratio=0.25)

For more detailed example, please find example.py in the GitHub repository. The input structural models required to run example.py are stored in the structural_models folder.

Note

If you run Python program in a directory and import this module for the first time, it will take several minutes for just-in-time (JIT) compilation using numba. This JIT compilation requires only once, and you can smoothly import this module from the second time.

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

dktshell-0.1.1.tar.gz (12.7 kB view details)

Uploaded Source

Built Distribution

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

dktshell-0.1.1-py3-none-any.whl (12.0 kB view details)

Uploaded Python 3

File details

Details for the file dktshell-0.1.1.tar.gz.

File metadata

  • Download URL: dktshell-0.1.1.tar.gz
  • Upload date:
  • Size: 12.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for dktshell-0.1.1.tar.gz
Algorithm Hash digest
SHA256 683154157da0f51bd29e8179fbfcaf23870140275eedbe1928ff287e2625334f
MD5 127105476557e7351a79a26c2f6eb56d
BLAKE2b-256 d0307eb9f4b28390760fa5982324c09b97e401cdead210fca4cbed2d48ad3a59

See more details on using hashes here.

File details

Details for the file dktshell-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: dktshell-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 12.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for dktshell-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 86bc360f456d0173462d8d9741a86ac3fd16c507c644c3678d0eb3962d9d6eca
MD5 5517fe2db6a58223f45f3916548b48f4
BLAKE2b-256 889b39bf6de3167c8d8a2bca9213b8d43fe5bee082adb48089d656a52fa1ca4f

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