In classical mechanics the concept of energy is very simple. If I have a bunch of particles $r_1$...$r_n$. Then the total energy is:
$$E=\frac{1}{2}m(\dot r_1^2+...\dot r_n^2)+U(r_1...r_n)$$
Now in thermodynamics; I read from callen's book that Energy is a function that dependa on volume ($V$); number of particles ($N$) and entropy($S$). That is:
$$E=f(S;V;N)$$
What is the connection between these two Es? How can I go from $r_1..r_n;r_1'...r_n'$ to $S;V;N$. Given that the potential energy function is known (suppose lennard jones).
Main purpose of this post:
I want to find the connection between classical mechanics and thermodynamics; without discretizing the phase space and going through the concept of entropy.