Text this: Unlocking heat transfer potential in multi-sided porous geometries: A study on magnetothermal effects and entropy generation