Skip to main content

"SMATool - Automated toolkit for computing zero and finite-temperature strength of materials",

Project description


SMATool - Strength of Materials Analysis Toolkit

SMATool -- Strength of Materials Analysis Toolkit is a comprehensive computational package developed to evaluate the tensile, shear, biaxial, and indentation strength (Vickers' hardness) of materials at zero temperature (using density functional theory) and finite temperature (using ab-initio molecular dynamics). Integrating advanced algorithms and leveraging the capabilities of well-established electronic structure codes like VASP and QE as the stress calculator, SMATool provides a robust platform for analyzing the strength of 1D, 2D, and 3D materials.

Importance of SMATool

The significance of SMATool lies in its ability to provide accurate and efficient strength parameters, which are crucial in material design and analysis. Understanding these mechanical properties helps in predicting material behavior under different loading conditions and in different environments, contributing to the development of materials with optimized performance characteristics.

Types of Strengths within SMATool

  1. Uniaxial Tensile Strength: The maximum stress a material can withstand while being stretched or pulled before failure. Tensile strength is crucial in applications where materials are subject to tension. The tensile strength can be computed along the various directions: x, y, and z, and along the critical plane directions.

  2. Biaxial Strength: The strength of a material when subjected to biaxial stress conditions. This is important for materials used in applications where they are exposed to stresses in two perpendicular directions.

  3. Shear Strength: This measures a material's ability to resist shear loads, which is vital in understanding how materials will behave when forces are applied parallel to a material's surface. The shear strength can be determined along the critical plane directions and slip directions.

  4. Indentation Strength: The measure of the resistance of a material to deformation under localized compressive forces. This can be used to quantify the Vickers' hardness of a material.

Additionally, the SMATool package computes the yield strength for each of the strengths above, and the corresponding energy storage capacity (in MJ/L and Wh/Kg) of the material at the ultimate strain.

SMATool Stress Calculators

SMATool utilizes VASP (Vienna Ab initio Simulation Package) and QE (Quantum Espresso) as its calculator, ensuring high accuracy and reliability. These powerful electronic structure codes, combined with the ASE (Atomic Simulation Environment) backend, enable detailed and precise material analysis. If you're interested in other electronic structure code as the stress calculation, we will be more than happy to collaborate in such implementations.

Installation

SMATool offers straightforward installation options suitable for various user preferences as explained below. We note that in all the installation options, all the libraries and dependables are automatically determined and installed alongside the SMATool.

  1. Using pip: Our recommended way to install the SMATool package is using pip.

    • Quickly install the latest version of the SMATool package with pip by executing:
      pip install -U smatool
      
  2. From Source Code:

    • Alternatively, users can download the source code with:
      git clone [git@github.com:gmp007/smatool.git]
      
    • Then, install SMATool by navigating to the master directory and running:
      pip install .
      
  3. Installation via setup.py:

    • SMATool can also be installed using the setup.py script:
      python setup.py install [--prefix=/path/to/install/]
      
    • The optional --prefix argument is useful for installations in environments like shared High-Performance Computing (HPC) systems, where administrative privileges might be restricted.
    • Please note that while this method remains supported, its usage is gradually declining in favor of more modern installation practices. We only recommend this installation option where standard installation methods like pip are not applicable.

Usage and Running SMATool

The best way to learn how to use the SMATool package is to start with the provided examples folder. The key steps for initializing SMATool follows:

  1. Create a Calculation Directory:

    • Start by creating a directory for your calculations.
    • Run smatool -0 to generate main input template of the SMATool, which is the smatool.in.
  2. Modify Input Files:

    • Customize the generated files according to your project's requirements, choose the code type between VASP and QE, and specify the directory of your potential files.
  3. Initialize the Job:

    • Execute smatool to begin the calculation process.
  4. Understanding SMATool Options:

    • The main input file smatool.in includes descriptive text for each flag, making it user-friendly.

Citing SMATool

If you have used the SMATool package in your research, please cite:

@article{Ekuma2024, title = {SMATool: Strength of Materials Analysis Toolkit}, journal = {XXX}, volume = {XXX}, pages = {XXX}, year = {2024}, doi = {https://doi.org/10.1016/XXXX}, url = {XXX}, author = {XXXX} }

SMATool Utility

ASP electronic structure calculations come with proprietary pseudopotentials included in the package. In contrast, Quantum Espresso (QE) is open source, offering a variety of sources for obtaining pseudopotentials. While no specific pseudopotential database is officially recommended for QE, we prefer the norm-conserving Pdojo pseudopentials. The SMATool computational toolkit includes an automated utility package, qepotential, located in the utility folder. This tool automates the generation of pseudopotentials from the Pdojo website for all materials required to run the SMATool package with QE as the calculator. Users can also specify custom requirements in the pseudo.info input file. The SMATool utility package saves the potentials of various elements as element_pdojo.upf in the qe_potentials folder.

Contact Information

Please if you find a bug, want to extend the SMATool computational toolkit, or have an idea that you would want us to incorporate, please reach out to us. Our team is dedicated to supporting your work and enhancing capabilities and efficiency of the SMATool package.

Feel free to contact us via email:

Your feedback and questions are invaluable to us, and we look forward to hearing from you.

License

This project is licensed under the GNU GPL version 3 - see the LICENSE file for details.

Acknowledgments

  • This work was supported by the U.S. Department of Energy, Office of Science, Basic Energy Sciences under Award DOE-SC0024099.

Project details


Release history Release notifications | RSS feed

This version

1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

smatool-1.0.tar.gz (10.7 MB view details)

Uploaded Source

Built Distribution

smatool-1.0-py3-none-any.whl (65.5 kB view details)

Uploaded Python 3

File details

Details for the file smatool-1.0.tar.gz.

File metadata

  • Download URL: smatool-1.0.tar.gz
  • Upload date:
  • Size: 10.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for smatool-1.0.tar.gz
Algorithm Hash digest
SHA256 3a740830cf721e97962980ba370441b077cbee5c35ddd145d2ce67032d08f439
MD5 18bff3718d3c18768d56ab6a9d45fa2a
BLAKE2b-256 f72ce444c5717ed8ad2cb6cf9ea499b27c26453d9614a1fad55baf5e7316e549

See more details on using hashes here.

File details

Details for the file smatool-1.0-py3-none-any.whl.

File metadata

  • Download URL: smatool-1.0-py3-none-any.whl
  • Upload date:
  • Size: 65.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for smatool-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4d9ec4d2b17baa0f6846c2eaca0cd90ca4f17384f0dc113adc7a2c086782f471
MD5 c32f6f8b6847040106dc3779939bd5f1
BLAKE2b-256 33f8a27d10e149fde11651d0a2bc48add990c5246a73ba8536e06cd1b20f2a7e

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