Skip to content

How to covert the renormalized force constant file xxx.xml at a finite temperature to the format xxx.fcs #203

Answered by ttadano
LiuHaoXuan0403 asked this question in Q&A
Discussion options

You must be logged in to vote

The unit of force constants in *.xml is Ry/bohr^n for the n-th order force constant. The same unit is used also for the values in *.fcs.

Only irreducible sets of force constants are shown in *.fcs, where complete set of force constants are save in *.xml. To convert force constants in *.xml into the *.fcs format, we need to recover the information of force constant symmetry, so it would be quite tedious to achieve.

If you want to compare the difference between force constants in two different *.xml files, I recommend that you parse the values under <HARMONIC> using python, store them in a dictionary or Pandas dataframe, and then compare by taking a diff.

The meaning of pair1 and pair2 is a…

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
5 replies
@gangliu-github
Comment options

@LiuHaoXuan0403
Comment options

@gangliu-github
Comment options

@ttadano
Comment options

Answer selected by LiuHaoXuan0403
@ttadano
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants