Expanding foam can generate significant mechanical pressure when constrained during expansion