I am working on a subject that need to calculate electron affinity but i dont know how to calculate it. is there any way to determine EA with quantum espresso DFT code?
to calculate electronic affinity with quantum espresso you need to use a slab model for your material. then you need to calculate the electrostatic potential distribution along the Z direction (normal to the slab surfaace). the electronic affinity can be defined as the difference between the vaccum level and the LUMO level (Conduction band in the case of SC)