Open lipelopesoliveira opened 7 months ago
@pcostacarvalho can you test this new workflow for Raman simulations with the HKUST-1 structure on CCC? In case you need some help just let me know and we can schedule a meeting.
@lipelopesoliveira Is it time already to merge this branch, or are you still working on it?
@lipelopesoliveira Is it time already to merge this branch, or are you still working on it?
I'm still working on this.
This PR introduces the new code to manually calculate the Raman intensity (total, perpendicular and parallel) using the small displacements approach and the polarizability tensor as a result of #4.
The code uses the Phono3py package to generate the dynamical matrix from the atomic forces and deal with the symmetry analysis.
There is now two scripts necessary to calculate the vibrational modes:
generate_shift.py
: Generates the input files for the cartesian displacements for all atoms in three directions (x, y, z) and in two polarizations (+, -);parse_phonon.py
: Reads the results and calculates the vibrational modes, irreductive representations, and Raman intensities (total, perpendicular and parallel).All the displacements generated by the first script are saved separately and can be executed independently.
Below there is an example of two scripts that can execute the workflow completely.
The first script generate the inputs and execute the simulations for all displacements. The line containing the command to execute CP2K can be replaced by a command to submit a job on a HPC cluster.
The second script parse de results and generate the files with the Raman information:
VIBRATION_FILES
folder containing the displacement vectors for all vibrational modes to be visualized onVESTA
. The of the files follows the pattern:{FrameworkName}_{ModeNumber}_{IrreductiveRepresentation}_{Freq}
;{FrameworkName}_all.axsf
file containing all the displacement vectors in a single file to be visualized byXCrysDen
;{FrameworkName}_RamanTable.csv
file containing the raman data;Closes #4