quantum-espresso/PHonon/FD/example
Paolo Giannozzi ba5b95c389 Bad characters removed 2025-03-20 18:20:49 +01:00
..
Si_example Bad characters removed 2025-03-20 18:20:49 +01:00
README

README

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Illustrates the calulations needed to generate the interatomic force constants file
by using the finite displacements method

1) make a self-consistent calculation 
   cd $espresso_dir/PHonon/FD/example/inputfiles
   $espresso_dir/bin/pw.x < si.scf.in > si.scf.out
  
2) create finite displacements in a supercell
   $espresso_dir/bin/fd.x < fd.in > fd.out

3) run all the finite displacements and extract the forces
   sh ../../run_fd 

4) generate the file "si_ifc.fc" of the interatomic force constants
   $espresso_dir/bin/fd_ifc.x < fd_ifc.in
   cat ./fd_files/header.txt > si_ifc.fc
   echo "F" >> si_ifc.fc
   cat ./silicon_ifc.fc >> si_ifc.fc