i want to calculate the formation energy and enthalpy of formation in CASTEP. i know the equations (attachment) but i dont know where i can find the values of these terms from CASTEP?
This is probably no longer relevant to the original poster, but for the benefit of future readers:
To compute the formation energy of a material (or chemical) you need to know first what you are going to form the material from. In the example in the question, we wish to form Pd_x Zr_y from pure Pd and pure Zr. The equation is:
E_f(Pd_x Zr_y) = E(Pd_x Zr_y) - x.E(Pd) - y.E(Zr)
so you need to perform three CASTEP calculations:
1. Compute the ground state energy per atom of bulk Pd metal; this is E(Pd)
2. Compute the ground state energy per atom of bulk Zr metal; this is E(Zr)
3. Compute the ground state energy per formula unit of Pd_x Zr_y; this is E(Pd_x Zr_y)
Once you have those three quantities, you can use the equation to compute the formation energy. (Note that we've neglected entropy etc. for simplicity.)
The cohesive energy is exactly the same calculation, except that your reference for Pd and Zr is the isolated atom, rather than the elemental solid.
Of course, you might be interested in the formation energy with respect to a different alloy composition Pd_a Zr_b, in which case you'd need to do something like either: