There are many good books on geology-related thermodynamics that will help you with basic knowledge of the subject. Some books on Igneous and Metamorphic Petrology also give good summary of thermodynamics. Many of the geothermobarometers formulated theoretically or through experiments, can be applied usefully without having a deep knowledge of the theory. but it is good to know the basic principals.
Very sorry, Garry! that you could not see my question. I mean that surface geological/atmospheric processes following the laws like fluid dynamics, thermodynamics and so on. Similarly, these physical laws are also equally applicable for endogenetic processes (below the surface of earth/inside the earth) like earthquake wave propagation, heat transfer from core, mantle to crust and super heated water/fluid flow and so many other processes. As a student, I want the valuable comments from experts to know about.