I want to find the surface energy of a slab at different temperatures, I have calculated the bulk energies at each temperature by applying PBCs, and have the total energy value of the slab with the vacuum layer, how do i find the surface energy now.

Thanking You
Joydeep Datta
IIT Kanpur, India 208016

I want to find the surface energy of a slab at different temperatures, I

let us first make certain, we talk about the same thing here. surface
energy is a rather generic term.
i am assuming that you are asking about this entity: https://en.wikipedia.org/wiki/Surface_energy

have calculated the bulk energies at each temperature by applying PBCs, and
have the total energy value of the slab with the vacuum layer, how do i find
the surface energy now.

this description is rather vague and incomplete and in parts confusion.

would you mind explaining how you include temperature into your calculations?
and best describe your overall work flow in more detail.