The relationship between external and internal flow in a porous body using the penalisation method