transforming displacements (phonons) into XCrySDen axsf file  [SOLVED]

Phonons, DFPT, electron-phonon, electric-field response, mechanical response…

Moderators: mverstra, joaocarloscabreu

Locked
bmatt
Posts: 24
Joined: Tue Aug 27, 2013 9:46 pm

transforming displacements (phonons) into XCrySDen axsf file

Post by bmatt » Sun Aug 07, 2016 9:45 pm

Hello,
I have seen other topics asking questions how to visualize phonon modes, but nothing on how to transform info in the anaddb output file into an .axsf XCrySDen animation file.
I tried to find a pattern between eigendisplacements with anaddb output and an .axsf file generated using quantum espresso (same system with both abinit and QE) but with no luck.
the displacements are transformed some way into a value given in the .axsf file.
What are the units for the displacement vectors from anaddb? how are they normalized if they are? Is there some factor that involves the volume and/or $\pi$?

ebousquet
Posts: 469
Joined: Tue Apr 19, 2011 11:13 am
Location: University of Liege, Belgium

Re: transforming displacements (phonons) into XCrySDen axsf   [SOLVED]

Post by ebousquet » Tue Jan 24, 2017 9:30 am

Dear bmatt,
The phonon vectors printed in anaddb are the eigendisplacements (and not the eigeinvectors) and they are normalised with the mass matrix as follows: <e|M|e>=1 where |e> are the eigendisplacements and M_ij=sqrt(M_i*M_j) with M_i the mass of the atom i.
Hope this can help.
Best,
Eric

Locked