Skip to main content

Demo library

Project description

debyetools

A little library for the implementation of a Debye approximation tool for calculating self-consistent thermodynamic properties.The software presented here is based in the Debye approximation of the QHA using the crystal internal energetics parametrized at ground-state to project the thermodynamics properties at high temperatures. We present here how each contribution to the free energy are considered and a description of the architecture of the calculation engine and of the GUI.

Requirements:

  • numpy
  • numpy
  • scipy
  • PySimpleGUI
  • matplotlib

Made by Javier Jofre: javier.jofre@polymtl.ca Please cite.

Installation

pip install --update debyetools

Get started

Example: heat capacity of Al fcc using 3rd order Birch-Murnaghan EOS

import numpy as np
from debyetools.ndeb import nDeb

nu, m = 0.32, 0.026981500000000002
Tmelting = 933

p_EOS = [-3.617047894e+05, 9.929931142e-06, 7.618619745e+10, 4.591924487e+00]
p_intanh = 0, 1, p_EOS[1]
p_electronic = [3.8027342892e-01, -1.8875015171e-02, 5.3071034596e-04, -7.0100707467e-06]
p_defects = 8.46, 1.69, Tmelting, 0.1, p_EOS[2],p_EOS[1]
p_anh = 0,0,0

EOS_name = 'BM'

ndeb_BM = nDeb(nu, m, p_intanh, p_EOS, p_electronic, p_defects,p_anh,EOS_name)

T,V = 9.33000000000e+02,1.07790131286e-05
                       #
result = ndeb_BM.eval_props(T,V)['Cp']

To Do's:

  • Add Examples to Documentation
  • Improve error handling
  • Add 'Compatible input files formats'

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

debyetools-1.0.4.tar.gz (38.4 kB view details)

Uploaded Source

File details

Details for the file debyetools-1.0.4.tar.gz.

File metadata

  • Download URL: debyetools-1.0.4.tar.gz
  • Upload date:
  • Size: 38.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.6

File hashes

Hashes for debyetools-1.0.4.tar.gz
Algorithm Hash digest
SHA256 3d6c2c3f953c49e97599dd41a2b37c96873a47cee9855da78b20323bdc4f7218
MD5 ba0972bdc9b2ad983614f2ac6c90e2da
BLAKE2b-256 013fbabc74c94d4a8d4754cc98e73de982f28f5a2e26bea71c879b8d6c79e5f3

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