Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Elastic properties #16

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Conversation

Mellechowicz
Copy link
Contributor

From TODO list:
A new module elastic for calculation of the elastic properties
from the stress-strain relation based on VASP's vasprun.xml file.

Module elastic.CMatrix contains a class ElasticTensor
with all 9 different symmetry-based constrains 6x6 elastic tensors.

Submodule elastic.elastic contains two classes:
(i) Calculation containing the scipy-based engine,
fitting the elastic tensor C to the stress-strain relation.
(ii) Properites with the methods deriving the elastic properties
from the elastic tensor (within different approximations)

Module elastic.readdata contains a class XMLParser extracting
both stress and strain from the vasprun.xml

Additionally scripts/vasprun contains 3 new flags

  -E, --elastic         run calculations for the elastic properties (requires
                        IBRION >=5), default: false
  -C SYMMETRY, --elasticsymmetry=SYMMETRY
                        symmetry group of the supercell, default: Triclinic;
                        For calculation of elastic properties only!
                        choices: "Triclinic", "Monoclinic", "Orthorhombic",
                        "Trigonal6", "Trigonal7", "Hexagonal",
                        "Tetragonal6", "Tetragonal7", and "Cubic"
  -A APPROXIMATION, --approximation=APPROXIMATION
                        approximation used for the calculation of the elastic
                        moduli, default: voigt;
                        For calculation of elastic properties only!
                        choices: "voigt", "reuss", "hill", and "all"

enabling this new functionality.

TODO: An automatic scheme of determining the symmetry group directly from vasprun.xml.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant