Development of a Mechanistic Foam Simulator: The Population Balance and Generation by Snap-Off | Synapse