Fabrication method for stainless steel foam block in directed energy deposition