A numerical model of mechanical properties of cardiac tissue in heart-on-a-chip devices