The study used computational fluid dynamics to evaluate the hemodynamic and heat transfer effects of shape-memory polymer foam (SMPf) devices in six patient-specific aneurysm geometries. The SMPf device, modeled as a porous medium, significantly reduces intra-aneurysmal blood flow and demonstrates effective thermal behavior under worst-case conditions. The findings offered a validated, practical framework for optimizing personalized SMPf-based embolization therapies for improved treatment of intracranial aneurysms.