The Kelvin–Helmholtz mechanism is an astronomical process that occurs when the surface of a star or a planet cools. Astronomy (from the Greek words astron (ἄστρον "star" and nomos (νόμος "law" is the scientific study A star is a massive luminous ball of plasma. The nearest star to Earth is the Sun, which is the source of most of the Energy on Earth A planet, as defined by the International Astronomical Union (IAU is a celestial body Orbiting a Star or stellar remnant that is As a result of this cooling, the pressure drops, and the star or planet compresses to compensate. This compression, in turn, heats up the core of the star/planet. This mechanism is evident on Jupiter and Saturn and on brown dwarves whose central temperatures are not high enough to undergo nuclear fusion. Brown dwarfs are sub- stellar objects with a mass below that necessary to maintain Hydrogen -burning Nuclear fusion reactions in their cores as do stars In Physics and Nuclear chemistry, nuclear fusion is the process by which multiple- like charged atomic nuclei join together to form a heavier nucleus It is estimated that Jupiter radiates more energy through this mechanism than it receives from the Sun, but Saturn may not. [1]
The mechanism was originally proposed by Kelvin and Helmholtz in the late 1800s to explain the source of energy of the sun. William Thomson 1st Baron Kelvin (or Lord Kelvin) OM, GCVO, PC, PRS, FRSE, (26 June 1824 &ndash 17 December 1907 The Sun (Sol is the Star at the center of the Solar System. By the mid 19th century, conservation of energy had been accepted, and one consequence of this law of physics is that the sun must have some energy source to continue to shine. In Physics, the law of conservation of energy states that the total amount of Energy in an isolated system remains constant and cannot be created although it may Because nuclear reactions were unknown, the main candidate for the source of solar energy was gravitational contraction.
However, it was soon was recognized by Sir Arthur Eddington and others that the total amount of energy available via this mechanism only allowed for the sun to shine for millions of years rather than the billions of years that the geological and biological evidence suggested for the age of the earth. Sir Arthur Stanley Eddington, OM (28 December 1882 – 22 November 1944 was an English Astrophysicist of the early 20th century This conflict was only resolved when as the true source of the Sun's energy remained uncertain until the 1930's in which it was shown to be nuclear fusion by Hans Bethe. In Physics and Nuclear chemistry, nuclear fusion is the process by which multiple- like charged atomic nuclei join together to form a heavier nucleus Hans Albrecht Bethe (/hans ˈalbʀɛçt ˈbeːtə/ ( July 2 1906 &ndash March 6, 2005) was a German - American Physicist
It was theorised that the gravitational potential energy from the contraction of the sun could be its source of power. Potential energy can be thought of as Energy stored within a physical system To calculate the total amount of energy that would be released by the sun in such a mechanism (assuming uniform density), it was approximated to a perfect sphere made up of concentric shells. The density of a material is defined as its Mass per unit Volume: \rho = \frac{m}{V} Different materials usually have different Concentric objects share the same center, axis or origin with one inside the other The gravitational potential energy could then be found as the integral over all the shells from the centre to its outer radius.
Gravitational potential energy from Newtonian mechanics is defined as:

Where G is the gravitational constant, and the two masses in this case are that of the thin shells of width dr, and the contained mass within radius r as one integrates between zero and the radius of the total sphere. Classical mechanics is used for describing the motion of Macroscopic objects from Projectiles to parts of Machinery, as well as Astronomical objects This gives:

Where R is the outer radius of the sphere, and m(r) is the mass contained within the radius r. Changing m(r) into a product of volume and density to satisfy the integral:

Recasting in terms of the mass of the sphere gives the final answer:

While uniform density is not correct, one can get a rough order of magnitude estimate of the expected lifetime of our star by inserting known values for the mass and radius of the sun, and then dividing by the known luminosity of the sun. Luminosity has different meanings in several different fields of science Note this will involve another approximation, as the power output of the sun has not always been constant.

Where L is the luminosity of the sun. While giving enough power for considerably longer than many other physical methods, such as electrochemical energy, this value was clearly still not long enough due to geological and biological evidence that the earth was billions of years old. In Electrochemistry, the electrochemical potential, \bar{\mu} sometimes confusingly abbreviated to ECP is a Thermodynamic measure that combines the It was eventually discovered that thermonuclear energy was responsible for the power output and long lifetimes of stars. In Physics and Nuclear chemistry, nuclear fusion is the process by which multiple- like charged atomic nuclei join together to form a heavier nucleus