Modeling Techniques for Foam Flow in Porous Media