Systems and methods related to polymer foams are generally described. Some embodiments relate to compositions and methods for the preparation of polymer foams, and methods for using the polymer foams. The polymer foams can be applied to a body cavity and placed in contact with, for example, tissue, injured tissue, internal organs, etc. In some embodiments, the polymer foams can be formed within a body cavity (i.e., in situ foam formation). In addition, the foamed polymers may be capable of exerting a pressure on an internal surface of a body cavity and preventing or limiting movement of a bodily fluid (e.g., blood, etc.).