Building a framework for flow through heterogeneous fractured media based on peridynamics.