Modeling the classical nova outburst. I - Exploring the physics of a new mechanism