Helmholtz free energy
where is the Helmholtz free energy and is the surface area of the rod: