Simulation of damage–permeability coupling for mortar under dynamic loads