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.2.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.2-py3-none-any.whl (12.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dktshell-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 2e0e1c1a04c3d37659452e24d379c81351cbbc53a83c955d4c5484de2a840419
MD5 79cdf0282f263aaee18323f002ab7e35
BLAKE2b-256 08badb1ad695424128c67d3a0390438c21a6401b905368989bbc4b11da0a0b14

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dktshell-0.1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 91d2dd29b5dbe6934e06300c4f00ce8512e6d360ed78de796a4d61f3e27f47e2
MD5 9b1a0b4776e9891ef3ab8b6195377504
BLAKE2b-256 3a025b0aa3701b0374f340078cc713207b470d4fa8f59ca11df10c15afd76b3e

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