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.0.tar.gz (12.6 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.0-py3-none-any.whl (12.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dktshell-0.1.0.tar.gz
  • Upload date:
  • Size: 12.6 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.0.tar.gz
Algorithm Hash digest
SHA256 d084c4a3296b6897ab3af58b1fdb29432433ab79517ff87dfb149b1df074223a
MD5 2d12997bf70736a5e42fcc3e88bfd85c
BLAKE2b-256 311e83c97d528e094370d6694a476ca6ca731f84e4454ab12c88ec94e5a9c72c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dktshell-0.1.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 119a045fe2b099fd3f438e3fbeeeaadee47cb48eea64db17c5a0456c969c926f
MD5 361c7f49c6dd137a3dad3a62bff5f357
BLAKE2b-256 6dd37b7e54907e788579e6a341a599567fa8c3146aba0be3b642c235b382f8af

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