Myocardial infarction is an increasing health problem worldwide. Because of an under-supply of blood, the cardiomyocytes in the affected region permanently lose their ability to contract. This in turn gradually weakens the overall heart function. A new therapeutic approach based on the injection of a gel into the infarcted area aims to support the healing and to inhibit adverse remodelling that can lead to heart failure. A computational model is the basis for obtaining a better understanding of the heart mechanics, in particular, how myocardial infarction and gel injections affect its pumping performance. A strain invariant-based stored energy function is proposed to account for the passive mechanical behaviour of the model, which also makes provision for active contraction. To incorporate injections an additive homogenization approach is introduced. The numerical framework is developed using an in-house code based on the element-free Galerkin method. The main focus of this contribution is to investigate the influence of gel injections on the mechanics of the left ventricle during the diastolic filling and systolic isovolumetric (isochoric) contraction phases. It is found that gel injections are able to reduce the elevated fibre stresses caused by an infarct.