Fluid flows and nonlocal damage accumulation in diatomites