The connection between macroscopic nonconservative forces and microscopic conservative forces is described by detailed treatment with statistical mechanics.
In what treatment are nonconservative and conservative forces described?
statistical mechanics