If a piece of precursor material is foamed in a furnace, the result will be a lump of metal foam with an undefined shape unless the expansion is limited. This is done by inserting the precursor material into a hollow mold and expanding it by heating, creating near-net shaped parts with a closed outer skin and a highly porous cellular core. Complicated parts can be manufactured by injecting the still-expanding foam from a reservoir into suitable molds