Text this: Modeling of polymer foaming in viscoelastic media /