Entropy generation and endoscopic effects on peristalsis with modified Darcy’s law