Skip to content

About the pressure #75

@thangckt

Description

@thangckt

Dear Prof. Jochym,

Thank you for sharing your code to compute elastic constants.

May I have a question related to the usage of pressure in stress-strain relationship, at this line

https://github.com/jochym/Elastic/blob/820d9764303ad4df068d26e97c1c358d92fbab7d/elastic/elastic.py#L530C19-L530C59

  • Why we need pressure here, and normalize again after that (line 544)
  • Can we just simply use stress difference between deformed and reference structures instead, say sl.append(deform_cryst.get_stress()-ref_cryst.get_stress())

Thank you so much for your help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions