A. You can use closed-cell spray foam that way if you want, although you should realize that the spray foam will prevent the roof sheathing from drying inward. This approach should only be used if the roof sheathing is bone dry, because it will never dry when sandwiched in this manner. Most building scientists would prefer to see fiberglass rather than closed-cell spray foam under the roof sheathing in this type of assembly.
Here's a simpler, less expensive alternative: Cut some 2-inch-thick rigid-foam insulation and glue it to the subfloor between the joists or support it with nails driven partway into the joists. Then fill any gaps between the edges of the foam boards and the joists using the canned spray foam sold at home centers or hardware stores. An even easier option is to nail the foam panels against the bottom edge of the joists and seal the joints with canned foam, but you'll lose some headroom and access to any pipes and wires between the joists. As with spray-foam kits, protect yourself and the floor from the dripping globs of canned foam. A full face shield, gloves, and a hat would be a good start.
A well-insulated and sealed building envelope can significantly contribute to optimal energy efficiency. As with any project, to fully utilize the benefits of spray foam, attention to detail and proper installation is crucial. It’s important to take appropriate time or seek aid through outside expertise to understand how all types of insulation products can work together within the construction of a home or building and the surrounding environment. When installed correctly, spray foam has the potential to be one of the most effective choices for insulation solutions. http://www.youtube.com/watch?feature=youtu.be&v=ggLAUsiuI_o
The problem was that the installer was doing his first spray foam job ever, and the thickness of the insulation varied from zero (visible roof deck) to about 9". Unfortunately, good average thickness doesn't cut it. The coverage needs to be uniform because a lot of heat will go through the under-insulated areas. (See my article on flat or lumpy insulation performance.)
Low-density foam is applied as low or high-pressure, two-component polyurethane spray foam. Low-density spray foam can be applied on walls, in unvented attics, to ducts and ceilings, and in vented attics and crawl spaces. It is known as an air barrier, but permeable to vapor and moisture. It is often used to fill cavities in walls during construction.