Flow in Porous Media in the Energy Transition