Relaxation calculation gives us the ionic position of the relaxed structure. Now instead of doing a relaxation calculation, if I do fixed point self-consistent field (scf) calculation for varying ionic positions, and plot the ground state energies against the ionic positions, then from the minimum of this plot, we can find the relaxed ionic position. Is there any difference between these two methods? Are they supposed to give the same result?
A little background information: in Quantum ESPRESSO, one can perform a
calculation='scf'-type calculation to get the ground state energy of a fixed ionic position. In this case, only electronic relaxation/minimization is performed. One can also perform a
calculation='relax'-type calculation to find the relaxed structure with zero force (actually not precisely zero but a predefined minimum force). In this case, electronic relaxation and ionic positional relaxation are performed. Other codes also have similar features.
Let's say I ran a relaxation calculation and found the interatomic distance to be $x \;Å$. When I run scf calculation varying the interatomic distance, then I always observe that the energy vs interatomic distance plot has a minimum when the interatomic distance is $x \;Å$. That's why I used to think that they are the same. Yet in one particular case, when I plotted the energy against varying bond lengths, I found two minima (one local, and one global). But the relaxation calculation only relaxes the structure to the global minimum. It doesn't matter how close to the local minimum I am setting for the initial position. That's why I asked this question if there is any difference between these two methods.