Multiphysics Design and Development of Heterogeneous Functional Materials for Renewable Energy Devices: The HeteroFoaM Story